latex paper

63
Using L A T E X to prepare manuscript for submission Fairuz Abdullah [email protected] [email protected] College of Engineering February 14, 2012 Fairuz Abd (TuGUNITEN) February 14, 2012 1 / 63

Upload: kesvinder-singh

Post on 24-Oct-2014

72 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Latex Paper

Using LATEX to prepare manuscript for submission

Fairuz [email protected]

[email protected]

College of Engineering

February 14, 2012

Fairuz Abd (TuGUNITEN) February 14, 2012 1 / 63

Page 2: Latex Paper

Agenda

1 Why?

2 BasicsPackage installation

3 Typesetting Text

4 Structuring and Cross-referencing Text

5 Typesetting Mathematics

6 Graphics, Figures and Tables

7 Citations and References

8 Journal formating

Fairuz Abd (TuGUNITEN) February 14, 2012 2 / 63

Page 3: Latex Paper

Why?

Agenda

1 Why?

2 BasicsPackage installation

3 Typesetting Text

4 Structuring and Cross-referencing Text

5 Typesetting Mathematics

6 Graphics, Figures and Tables

7 Citations and References

8 Journal formating

Fairuz Abd (TuGUNITEN) February 14, 2012 3 / 63

Page 4: Latex Paper

Why?

Concerns when writing a paper/thesis. . .

Is my lit survey strong enough to support my hypothesis?My bibliography/citation formatting got inconsistent.My citation and bibliography aren’t synchronised!My math equations don’t display/print correctly.Should this discussion go under this section or that?What formatting did I use for my subsection headings again?Didn’t I set that heading to bold and italic 5 minutes ago?My section/figure/page numbering’s gone all wrong!Does this subsection go together with this section?Oops, I forgot to update the TOC.What results should I put in this table?How do I fit/split this huge table on/across page(s)?My figure jumped off the page again!The application crashed!MY FILE WAS CORRUPTED!!!

Fairuz Abd (TuGUNITEN) February 14, 2012 4 / 63

Page 5: Latex Paper

Why?

What is LATEX?

Donald Knuth created TEX = TeX (from Greek τεχνη ‘art’; ‘craft’)

pronounced ‘tech’, like Scottish ‘loch’a computer typesetting systemfor “the creation of beautiful books”

Leslie Lamport wrote LATEX = LaTeX = “Layman’s TEX”pronounced ‘lay-tech’ or ‘lah-tech’a document preparation system: plain text + markupa macro package on top of TEXseparation of content and style

Preferred by many academic journals

Many, many “distros” (TeXLive, MiKTeX, MacTeX. . . )

More history at http://www.ctan.org/what_is_tex.html

Fairuz Abd (TuGUNITEN) February 14, 2012 5 / 63

Page 6: Latex Paper

Why?

Pros and Cons

Pros

Free software + Free-of-chargePortable (plain text input; DVI/PS/PDF. . . output)Light, robust, secure, stable, consistentSupports multilingual typesetting, international charactersGood for complex, structured documents or lots of mathsGood for batch-processing jobs

ConsLearning curveOverkill for simple documentsNot as suitable for graphic-intensive material (e.g. advertising)

Fairuz Abd (TuGUNITEN) February 14, 2012 6 / 63

Page 7: Latex Paper

Why?

Disclaimer

This is not a Word Processors vs LATEX debate.

It’s a hands-on demonstration of an alternative tool.

Some word processors also provide mechanisms to handle same routinetasks (with varying degrees of ease, consistency and stability)

Use the best tool for the task at hand.

You are the best judge to decide for yourself.

Fairuz Abd (TuGUNITEN) February 14, 2012 7 / 63

Page 8: Latex Paper

Basics

Agenda

1 Why?

2 BasicsPackage installation

3 Typesetting Text

4 Structuring and Cross-referencing Text

5 Typesetting Mathematics

6 Graphics, Figures and Tables

7 Citations and References

8 Journal formating

Fairuz Abd (TuGUNITEN) February 14, 2012 8 / 63

Page 9: Latex Paper

Basics

What to Install? (for Windows)

(FOC options here; commercial solutions are available)

EssentialMiKTEX: LATEX engine for Windows (includes LATEX-friendly editor andPDF previewer)TeXMaker : Another simple editorJabRef: Java-based GUI bibliography and reference manager

OptionalLaTable: visual table editor to help with complex tablesGhostScript, GSView if you work with PostScript outputs

Fairuz Abd (TuGUNITEN) February 14, 2012 9 / 63

Page 10: Latex Paper

Basics

Configure MikTeX

We need to configure MikTeX so that it can update & install packages usingUNITEN’s network

Fairuz Abd (TuGUNITEN) February 14, 2012 10 / 63

Page 11: Latex Paper

Basics

Proxy setting

Set proxy to tmg.uniten.edu.my with port 8080 and checked authentication boxFairuz Abd (TuGUNITEN) February 14, 2012 11 / 63

Page 12: Latex Paper

Basics

Authentication

When it asks username and password, enter your UNITEN’s login

Fairuz Abd (TuGUNITEN) February 14, 2012 12 / 63

Page 13: Latex Paper

Basics Package installation

Install new package

Open package manager and search for ieeetran and elsarticle. Click + toinstall the selected packages.

Fairuz Abd (TuGUNITEN) February 14, 2012 13 / 63

Page 14: Latex Paper

Basics Package installation

Minimal Document Structure

%% helloworld.tex − First LaTeX document

\documentclass{article}

\begin{document}Hello World!\end{document}

Standard document classes:article: for short reports, articles in proceedings or journals, etc.book: for real books.report, letter, . . .

Other document classes: beamer, scrartcl, memoir, recipe, resume,leaflet, exam, beamerposter. . .

Fairuz Abd (TuGUNITEN) February 14, 2012 14 / 63

Page 15: Latex Paper

Basics Package installation

LATEX Workflow

1 Create, edit, save .tex file2 To publish click in front of PDFLaTeX3 or you can press F6

4 Correct errors, repeat publishing (click ) again5 To view output, click in front of View PDF6 or you can press F7

Fairuz Abd (TuGUNITEN) February 14, 2012 15 / 63

Page 16: Latex Paper

Text

Agenda

1 Why?

2 BasicsPackage installation

3 Typesetting Text

4 Structuring and Cross-referencing Text

5 Typesetting Mathematics

6 Graphics, Figures and Tables

7 Citations and References

8 Journal formating

Fairuz Abd (TuGUNITEN) February 14, 2012 16 / 63

Page 17: Latex Paper

Text

White Space and New Lines

Space and tab charactersWhite space does not (usually) matterTEX determines inter-word spacing to ensure legibility

Paragraph breakingLeave a blank line between text to break paragraphMultiple blank lines won’t give more vertical spacingTEX determines inter-line spacing to ensure legibility

Manual line- and page-breaking?(are you sure?)TEX decides where to break lines, pages to ensure legibilityif you insist: \\, \pagebreak

Fairuz Abd (TuGUNITEN) February 14, 2012 17 / 63

Page 18: Latex Paper

Text

Special Characters

# (hash, pound) : \#$ (dollar) : \$% (percent) : \%ˆ (“hat”) : \^{}& (ampersand) : \&_ (underscore) : \_{ (left brace) : \{} (right brace) : \}˜ (tilde) : \~{}∼ (wide tilde) : $\sim$“ (open double quotes) : ``” (close double quotes) : ''@ (alias) : \string@

Fairuz Abd (TuGUNITEN) February 14, 2012 18 / 63

Page 19: Latex Paper

Text

Font Families and Effects

\textrm{roman} → roman\textsf{sans serif} → sans serif\texttt{typewriter} → typewriter

\textbf{bold} → bold\textit{italics} → italics\underline{underline}→ underline\textsc{Small Caps} → SMALL CAPS

\emph{emphasis} → emphasis

Commands can be nested:\texttt{\emph{Like this.}}→ Like this.

Fairuz Abd (TuGUNITEN) February 14, 2012 19 / 63

Page 20: Latex Paper

Text

Font Sizes

Font size changing commands relative to base font size given indocumentclass option

{\tiny Text} → Text

{\scriptsize Text} → Text

{\footnotesize Text}→ Text

{\small Text} → Text{\normalsize Text} → Text{\large Text} → Text{\Large Text} → Text{\LARGE Text} →Text{\huge Text} →Text{\Huge Text} →Text

Fairuz Abd (TuGUNITEN) February 14, 2012 20 / 63

Page 21: Latex Paper

Text

List-like Environments

Bulleted Lists

\begin{itemize}\item one\item two\end{itemize}

Numbered Lists

\begin{enumerate}\item one\item two\end{enumerate}

Description Lists

\begin{description}\item[one] is here\item[two] is there\end{description}

Lists can be nested up to 6 levels deep.

Fairuz Abd (TuGUNITEN) February 14, 2012 21 / 63

Page 22: Latex Paper

Structure

Agenda

1 Why?

2 BasicsPackage installation

3 Typesetting Text

4 Structuring and Cross-referencing Text

5 Typesetting Mathematics

6 Graphics, Figures and Tables

7 Citations and References

8 Journal formating

Fairuz Abd (TuGUNITEN) February 14, 2012 22 / 63

Page 23: Latex Paper

Structure

Sectioning Commands

article: section, subsection, subsubsection.book: part (not usually used), chapter, section, . . .

\documentclass{article}

\begin{document}\section{Introduction}Introduce your topic here.

\section{Background}A line or two.

\subsection{Related Work}Review others' work.

\subsection{Problems}Unresolved issues.\end{document}

Fairuz Abd (TuGUNITEN) February 14, 2012 23 / 63

Page 24: Latex Paper

Structure

Cross-referencing

\documentclass{article}\begin{document}\section{Introduction}\label{sec:intro}Introduce your topic here.

\section{Background}\label{sec:background}Mention section \ref{sec:intro} again.

\subsection{Related Work}\label{sec:related}Review others' work.

\subsection{Problems}\label{sec:problems}In section \ref{sec:related} on page\pageref{sec:related}\ldots\end{document}

“Bookmark” with \label, referencewith \ref, \pageref

Fairuz Abd (TuGUNITEN) February 14, 2012 24 / 63

Page 25: Latex Paper

Structure

Other Goodies

Author information (in preamble)\author: Name(s) of authors\title: Title of the article/book/report\date: Specify a dateOther custom fields for respective journals, conference styles (see later)

Routine tasks (in document body)Abstract:

\begin{abstract}My abstract text here.\end{abstract}

Fairuz Abd (TuGUNITEN) February 14, 2012 25 / 63

Page 26: Latex Paper

Structure

Other Goodies (cont’d)

Footnote: ...why?\footnote{why not?}Margin notes: ...why?\marginpar{why not?}Auto-generate title: \maketitleAuto-generate TOC: \tableofcontents(\listoffigures,\listoftables – we’ll try later)

Try \documentclass{scrartcl} for a “modern” look

Non-English: e.g. \usepackage[bahasam]{babel}(Remove aux files before typesetting if you modify this line!)

PDF hyperlinks and bookmarks: hyperref package

Fairuz Abd (TuGUNITEN) February 14, 2012 26 / 63

Page 27: Latex Paper

Maths

Agenda

1 Why?

2 BasicsPackage installation

3 Typesetting Text

4 Structuring and Cross-referencing Text

5 Typesetting Mathematics

6 Graphics, Figures and Tables

7 Citations and References

8 Journal formating

Fairuz Abd (TuGUNITEN) February 14, 2012 27 / 63

Page 28: Latex Paper

Maths

Mathematics with amsmath package

\eqref{eq:golden:ratio:fibonacci} relates the golden ratio and theFibonacci series. Recall that the golden ratio, $\phi = \frac{1}{2} (1+ \sqrt{5})$.

\begin{equation}\label{eq:golden:ratio:fibonacci}\phi = 1 + \sum^{\infty} _{n=1}

\frac{ (-1)^{n+1} }{ F_n F_{n+1} }\end{equation}

(1) relates the golden ratio and the Fibonacci series. Recallthat the golden ratio, φ = 1

2 (1+√

5).

φ = 1+∞

∑n=1

(−1)n+1

FnFn+1(1)

Source: http://mathworld.wolfram.com/GoldenRatio.html

Fairuz Abd (TuGUNITEN) February 14, 2012 28 / 63

Page 29: Latex Paper

Figures & Tables

Agenda

1 Why?

2 BasicsPackage installation

3 Typesetting Text

4 Structuring and Cross-referencing Text

5 Typesetting Mathematics

6 Graphics, Figures and Tables

7 Citations and References

8 Journal formating

Fairuz Abd (TuGUNITEN) February 14, 2012 29 / 63

Page 30: Latex Paper

Figures & Tables

Graphics File Format

pdflatex embeds JPG, PNG and PDF graphic files

\usepackage{graphicx}...\includegraphics[width=.3\textwidth]{logouniten}

(no file extension→ automatically looks for .jpg, .png, .pdf)

Other ways to specify the size:width=5cm, height=120mm, scale=1.1 . . .

Fairuz Abd (TuGUNITEN) February 14, 2012 30 / 63

Page 31: Latex Paper

Figures & Tables

Figures

\begin{figure}[hbt!]\centering\includegraphics[width=.3\textwidth]{logouniten}\caption{UNITEN's logo}\label{fig:uniten:logo}\end{figure}

Figure \ref{fig:uniten:logo} depicts UNITEN's logo.

Fairuz Abd (TuGUNITEN) February 14, 2012 31 / 63

Page 32: Latex Paper

Figures & Tables

Tabular Material

\begin{tabular}{| l | c || r |}\hlineone & two two & three three tree \\ \hlineone one & two two two & three \\ \hlineone one one & two & three three \\ \hline\hline\multicolumn{2}{|l||}{In the end} & What?! \\ \hline\end{tabular}

one two two three three treeone one two two two threeone one one two three threeIn the end What?!

Prefer a visual editor? Try LaTable

(http://tug.ctan.org/tex-archive/support/latable/)

Fairuz Abd (TuGUNITEN) February 14, 2012 32 / 63

Page 33: Latex Paper

Figures & Tables

Tables

\begin{table}[hbt!]\centering\caption{Sample table}\label{tab:sample}\begin{tabular}{| l | c || r |}\hlineone & two two & three three tree \\ \hlineone one & two two two & three \\ \hline\end{tabular}\end{table}

Table \ref{tab:sample} is a very simple example.

Fairuz Abd (TuGUNITEN) February 14, 2012 33 / 63

Page 34: Latex Paper

References

Agenda

1 Why?

2 BasicsPackage installation

3 Typesetting Text

4 Structuring and Cross-referencing Text

5 Typesetting Mathematics

6 Graphics, Figures and Tables

7 Citations and References

8 Journal formating

Fairuz Abd (TuGUNITEN) February 14, 2012 34 / 63

Page 35: Latex Paper

References

External (Centralised) Reference Database

latex-refs.bib@ARTICLE{knuth:1984,

author = {Donald E. Knuth},title = {Literate programming},journal = {The Computer Journal},year = {1984},volume = {27},number = {2},pages = {97--111},address = {Oxford, UK},publisher = {Oxford University Press}

}

JabRef: Java-based reference managerhttp://jabref.sourceforge.net

Fairuz Abd (TuGUNITEN) February 14, 2012 35 / 63

Page 36: Latex Paper

References

Citing from External .bib File

\documentclass{article}\bibliographystyle{plain}\begin{document}\cite{latex:companion} is a useful book. Knuth introduced theliterate programming paradigm while developing \TeX\ \cite{knuth:1984}.\bibliography{latex-refs}\end{document}

Fairuz Abd (TuGUNITEN) February 14, 2012 36 / 63

Page 37: Latex Paper

References

Citation & Bibliography StylesNumber System

plain

unsrt

acm

ieeetr

Fairuz Abd (TuGUNITEN) February 14, 2012 37 / 63

Page 38: Latex Paper

References

Citation & Bibliography StylesAuthor-Year System

alpha

apacite (with apacite package)

agsm (with natbib package)

dcu (with natbib package)

Fairuz Abd (TuGUNITEN) February 14, 2012 38 / 63

Page 39: Latex Paper

Journal formating

Agenda

1 Why?

2 BasicsPackage installation

3 Typesetting Text

4 Structuring and Cross-referencing Text

5 Typesetting Mathematics

6 Graphics, Figures and Tables

7 Citations and References

8 Journal formating

Fairuz Abd (TuGUNITEN) February 14, 2012 39 / 63

Page 40: Latex Paper

Journal formating

IEEE Transactions

\documentclass{IEEEtran}\usepackage{graphicx}

\author{Lim Lian Tze and Another Author}\thanks{This work was received January 20, 2010; revised January 30,2010.}\thanks{Lim Lian Tze is with the Multimedia University. Another Authoris with Another University. See http://fit.mmu.edu.my/sig/nlp/ forcontact details.}

\title{My First Paper}\IEEEpubid{0000--0000/00\$00.00 \copyright 2007 IEEE}

\begin{document}\maketitle

\begin{abstract}This should be a succinct paragraph summarising your paper.

Fairuz Abd (TuGUNITEN) February 14, 2012 40 / 63

Page 41: Latex Paper

Journal formating

IEEE Transactions (cont’d)

\end{abstract}

\begin{IEEEkeywords}\LaTeX, typesetting, learning by example.\end{IEEEkeywords}

%% Now your paper begins...

\section{Introduction}...

%% Use IEEEtran bibliography style

\bibliographystyle{IEEEtran}\bibliography{bibliography-file}

%% Author biographies

\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in]{llt-grayscale}}]{Lim Lian Tze} is currently a Ph.D.\ student at the MultimediaUniversity studying Natural Language Processing.

Fairuz Abd (TuGUNITEN) February 14, 2012 41 / 63

Page 42: Latex Paper

Journal formating

IEEE Transactions (cont’d)

\end{IEEEbiography}

\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in]{another-grayscale}}]{Another Author} is Associate Professor at Another University with aresearch interest in Natural Language Processing.\end{IEEEbiography}\end{document}

Fairuz Abd (TuGUNITEN) February 14, 2012 42 / 63

Page 43: Latex Paper

Journal formating

OSA Journal - Applied Optics

\documentclass[letterpaper,12pt]{article} %% LaTeX 2e (preferred)

\usepackage{osajnl2} %% do not use with REVTeX4

\usepackage[draft]{hyperref} %% optional

\begin{document}

\title{Preparing a manuscriptfor the Optical Society of America journals JOSA A, JOSA B,, and\textit{Applied Optics} }

%% For REVTeX it is possible to automate superscript and e−mail callouts with the superscriptaddress option;

see REVTeX4 documentation.

\author{Joe Richardson,$^{1,*}$ Antoinette Wrighton,$^2$ and JenniferMayfield$^{2,3}$}\address{$^1$Peer Review Department, Optical Society of America, \\2010 Massachusetts Avenue, NW,

Fairuz Abd (TuGUNITEN) February 14, 2012 43 / 63

Page 44: Latex Paper

Journal formating

OSA Journal - Applied Optics (cont’d)

Washington, D.C. 20036, USA}\address{$^2$Editorial Services Department, Optical Society of America,\\ 2010 Massachusetts Avenue, NW,

Washington, D.C. 20036, USA}\address{$^3$Currently with the Electronic Journals Department, OpticalSociety of America, \\ 2010 Massachusetts Avenue, NW,

Washington, D.C. 20036, USA}\address{$^*$Corresponding author: [email protected]}

\begin{abstract}Authorsshould note the new affiliation, reference, and reference calloutstyles introduced as of 2007. See \texttt{osastyle.tex} for fulldetails.\end{abstract}

\ocis{000.0000, 999.9999.}% REPLACE WITH CORRECT OCIS CODES FOR YOUR ARTICLE

% NOTE: \ocis{} IS ALIASED TO \pacs{} BUT MUST

% FORMAT THE TERMS CORRECTLY FOR EACH JOURNAL

Fairuz Abd (TuGUNITEN) February 14, 2012 44 / 63

Page 45: Latex Paper

Journal formating

OSA Journal - Applied Optics (cont’d)

\maketitle %% null function with osajnl.sty

\begin{thebibliography}{99}

\bibitem[1] . . .

\end{thebibliography}

\end{document}

Fairuz Abd (TuGUNITEN) February 14, 2012 45 / 63

Page 46: Latex Paper

Journal formating

Laser Physics Letter

\documentclass[10pt]{wiley2sp}\usepackage{url}\usepackage{helvet}\usepackage{psfig}\usepackage{times}\def\sectcounterend{.}\def\figurename{Figure}

\setcounter{page}{1} %First page

\def\pages{1--5} %Total pages

\def\thevol{1} %Vol.−Number

\def\thenumber{1} %Vol. Sub−Number

\def\theyear{2004} %Year of publication

\def\thedoi{20040001} %DOI−Number

\begin{document}

Fairuz Abd (TuGUNITEN) February 14, 2012 46 / 63

Page 47: Latex Paper

Journal formating

Laser Physics Letter (cont’d)

\titlefigure[clip,width=.8\columnwidth]{fig2.eps} %<−−−−−−−−−−−−−−−−− insert figure name

\abstract{%% <−−−−−−−−−−−−−−−−−insert abstract text

}

\titlefigurecaption{%<−−−−−−−−−insert figure text

}

\title{%%<−−−−−−−−−−−−−−−−−−−−−insert title text

}

\author{%First author,\inst{1}<−−−−insert author names

%Second Author\inst{2}

}

\institute{%Address of first author

\and

Fairuz Abd (TuGUNITEN) February 14, 2012 47 / 63

Page 48: Latex Paper

Journal formating

Laser Physics Letter (cont’d)

%Address of second author

\and%Address of third author

}

\mail{e-mail: [email protected]}%<−−−−−−−insert Email address

%of corresponding author

\received{$\clubsuit$%<−−−−−−−−−−−−−date to be completed by publisher

}

\keywords{%<−−−−−−−−−−−−−−−−−−−−−−−−insert some Keywords

}

\titlerunning{%<−−−−−−−−−−−−−−−−−−−−insert a short−title

}

\authorrunning{%First author, second author

Fairuz Abd (TuGUNITEN) February 14, 2012 48 / 63

Page 49: Latex Paper

Journal formating

Laser Physics Letter (cont’d)

}

\pacs{%<−−−−−−−−−−−−−−insert some PACS−numbers

}\published{$\clubsuit$%<−−−−−−−−−−−−date to be completed by publisher

}

\maketitle\sloppy

\section{%Chapter 1

}%Text...

\subsection{%Chapter 1.1

}%Text

\subsubsection{%Chapter 1.1.1

Fairuz Abd (TuGUNITEN) February 14, 2012 49 / 63

Page 50: Latex Paper

Journal formating

Laser Physics Letter (cont’d)

}%Text

%%%%%%%%%%%%%%%%%%%Float environment (Figures and tables)%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%One−column figures%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{figure}[t]%One−column figure on top of the page

\begin{figure}[b]%One−column figure at the bottom of the page

\begin{figure}[h]%One−column figure right here (if possible)

\caption{%<−−−−−−−−insert figure caption (optional)

}\end{figure}

%%%%%%%%%%%%%%%Two−column figures (use "{figure*}"

\begin{figure*}\caption{%<−−−−−−−−insert figure caption (optional)

}\end{figure*}

Fairuz Abd (TuGUNITEN) February 14, 2012 50 / 63

Page 51: Latex Paper

Journal formating

Laser Physics Letter (cont’d)

%%%%%%%%%%%%%%%One−column tables%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{table}[t]%One−column table on top of the page

\begin{table}[b]%One−column table at the bottom of the page

\begin{table}[h]%One−column table right here (if possible)

\caption{%<−−−−−−−−insert table caption (optional)

}%Table−text

\end{table}

%%%%%%%%%%%%%%%Two−column tables (produced with "{table*}"

\begin{table*}\caption{%<−−−−−−−−insert table caption (optional)

}%Table−text

\end{table*}

%%%%%%%%%%%%%%%%Bibliography environment%%%%%%%%%%%%%%%

Fairuz Abd (TuGUNITEN) February 14, 2012 51 / 63

Page 52: Latex Paper

Journal formating

Laser Physics Letter (cont’d)

\begin{thebibliography}{26}<--------total number of citations\bibitem{a}\bibitem{b}...\bibitem{z}\end{thebibliography}\end{document}

Fairuz Abd (TuGUNITEN) February 14, 2012 52 / 63

Page 53: Latex Paper

Journal formating

IOP

\documentclass[12pt]{iopart}\newcommand{\gguide}{{\it Preparing graphics for IOP journals}}%Uncomment next line if AMS fonts required

%\usepackage{iopams}

\begin{document}

\title[Author guidelines for IOP journals in \LaTeXe]{How to prepareand submit an article forpublication in an IOP journal using \LaTeXe}

\author{}

\address{IOPPublishing, DiracHouse, Temple Back, Bristol BS1 6BE, UK}\ead{[email protected]}\begin{abstract}

Fairuz Abd (TuGUNITEN) February 14, 2012 53 / 63

Page 54: Latex Paper

Journal formating

IOP (cont’d)

\end{abstract}

%Uncomment for PACS numbers title message

%\pacs{00.00, 20.00, 42.10}

% Keywords required only for MST, PB, PMB, PM, JOA, JOB?

%\vspace{2pc}

%\noindent{\it Keywords}: Article preparation, IOP journals

% Uncomment for Submitted to journal title message

%\submitto{\JPA}

% Comment out if separate title page not required

\maketitle

\section{Introduction: file preparation and submission}...

\section*{References}\begin{thebibliography}{10}

Fairuz Abd (TuGUNITEN) February 14, 2012 54 / 63

Page 55: Latex Paper

Journal formating

IOP (cont’d)

\bibitem{book1} Goosens M, Rahtz S and Mittelbach F 1997 {\it The\LaTeX\ Graphics Companion\/}(Reading, MA: Addison-Wesley)\bibitem{eps} Reckdahl K 1997 {\it Using Imported Graphics in \LaTeX\ }(search CTAN for the file `epslatex.pdf')

\end{thebibliography}

\end{document}

Fairuz Abd (TuGUNITEN) February 14, 2012 55 / 63

Page 56: Latex Paper

Journal formating

Elsevier

\documentclass[preprint,12pt]{elsarticle}

%% Use the option review to obtain double line spacing

%% \documentclass[authoryear,preprint,review,12pt]{elsarticle}

%% Use the options 1p,twocolumn; 3p; 3p,twocolumn; 5p; or 5p,twocolumn

%% for a journal layout:

%% \documentclass[final,1p,times]{elsarticle}

%% \documentclass[final,1p,times,twocolumn]{elsarticle}

%% \documentclass[final,3p,times]{elsarticle}

%% \documentclass[final,3p,times,twocolumn]{elsarticle}

%% \documentclass[final,5p,times]{elsarticle}

%% \documentclass[final,5p,times,twocolumn]{elsarticle}

%% For including figures, graphicx.sty has been loaded in

%% elsarticle.cls. If you prefer to use the old commands

%% please give \usepackage{epsfig}

Fairuz Abd (TuGUNITEN) February 14, 2012 56 / 63

Page 57: Latex Paper

Journal formating

Elsevier (cont’d)

%% The amssymb package provides various useful mathematical symbols

\usepackage{amssymb}%% The amsthm package provides extended theorem environments

%% \usepackage{amsthm}

%% The lineno packages adds line numbers. Start line numbering with

%% \begin{linenumbers}, end it with \end{linenumbers}. Or switch it on

%% for the whole article with \linenumbers.

%% \usepackage{lineno}

\journal{Nuclear Physics B}

\begin{document}

\begin{frontmatter}

%% Title, authors and addresses

%% use the tnoteref command within \title for footnotes;

Fairuz Abd (TuGUNITEN) February 14, 2012 57 / 63

Page 58: Latex Paper

Journal formating

Elsevier (cont’d)

%% use the tnotetext command for theassociated footnote;

%% use the fnref command within \author or \address for footnotes;

%% use the fntext command for theassociated footnote;

%% use the corref command within \author for corresponding author footnotes;

%% use the cortext command for theassociated footnote;

%% use the ead command for the email address,

%% and the form \ead[url] for the home page:

%% \title{Title\tnoteref{label1}}

%% \tnotetext[label1]{}

%% \author{Name\corref{cor1}\fnref{label2}}

%% \ead{email address}

%% \ead[url]{home page}

%% \fntext[label2]{}

%% \cortext[cor1]{}

%% \address{Address\fnref{label3}}

%% \fntext[label3]{}

\title{}

Fairuz Abd (TuGUNITEN) February 14, 2012 58 / 63

Page 59: Latex Paper

Journal formating

Elsevier (cont’d)

%% use optional labels to link authors explicitly to addresses:

%% \author[label1,label2]{}

%% \address[label1]{}

%% \address[label2]{}

\author{}

\address{}

\begin{abstract}%% Text of abstract

\end{abstract}

\begin{keyword}%% keywords here, in the form: keyword \sep keyword

%% PACS codes here, in the form: \PACS code \sep code

Fairuz Abd (TuGUNITEN) February 14, 2012 59 / 63

Page 60: Latex Paper

Journal formating

Elsevier (cont’d)

%% MSC codes here, in the form: \MSC code \sep code

%% or \MSC[2008] code \sep code (2000 is the default)

\end{keyword}

\end{frontmatter}

%% \linenumbers

%% main text

\section{}\label{}

%% The Appendices part is started with the command \appendix;

%% appendix sections are then done as normal sections

%% \appendix

%% \section{}

%% \label{}

Fairuz Abd (TuGUNITEN) February 14, 2012 60 / 63

Page 61: Latex Paper

Journal formating

Elsevier (cont’d)

%% If you have bibdatabase file and want bibtex to generate the

%% bibitems, please use

%%

%% \bibliographystyle{elsarticle−num}

%% \bibliography{<your bibdatabase>}

%% else use the following coding to input the bibitems directly in the

%% TeX file.

\begin{thebibliography}{00}

%% \bibitem{label}

%% Text of bibliographic item

\bibitem{}

\end{thebibliography}\end{document}

Fairuz Abd (TuGUNITEN) February 14, 2012 61 / 63

Page 62: Latex Paper

Journal formating

Elsevier (cont’d)

Fairuz Abd (TuGUNITEN) February 14, 2012 62 / 63

Page 63: Latex Paper

Journal formating

Credit roll

Credit goes to Lim Lian Tze (USM) for the slides’ content and formatting

This presentation is created with LATEX with Beamer package usingCambridgeUS and dolphin theme.

THANK YOU!

Fairuz Abd (TuGUNITEN) February 14, 2012 63 / 63