source: doc/papers/AMA/AMA-stix/Documents/wileyNJD-Doc.tex @ 73f1b1c

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 73f1b1c was d046db2, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

relocate AMA paper macros

  • Property mode set to 100644
File size: 12.4 KB
Line 
1\documentclass[AMA,STIX1COL]{WileyNJD-v2}
2\usepackage{moreverb}
3
4
5\newcommand\BibTeX{{\rmfamily B\kern-.05em \textsc{i\kern-.025em b}\kern-.08em
6T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
7
8\articletype{Article Type}%
9
10\received{<day> <Month>, <year>}
11\revised{<day> <Month>, <year>}
12\accepted{<day> <Month>, <year>}
13
14%\raggedbottom
15
16\begin{document}
17
18\title{A demonstration of the \LaTeX\ class file for Wiley NJD Journals\protect\thanks{This is an example for title footnote.}}
19
20\author[1]{Author One*}
21
22\author[2,3]{Author Two}
23
24\author[3]{Author Three}
25
26\authormark{AUTHOR ONE \textsc{et al}}
27
28
29\address[1]{\orgdiv{Org Division}, \orgname{Org name}, \orgaddress{\state{State name}, \country{Country name}}}
30
31\address[2]{\orgdiv{Org Division}, \orgname{Org name}, \orgaddress{\state{State name}, \country{Country name}}}
32
33\address[3]{\orgdiv{Org Division}, \orgname{Org name}, \orgaddress{\state{State name}, \country{Country name}}}
34
35\corres{*Corresponding author name, Corresponding address. \email{authorone@Email.com}}
36
37\presentaddress{Present address}
38
39\abstract[Abstract]{This paper describes the use of the \LaTeXe\ \textsf{WileyNJD-v2.cls}
40class file for setting papers for \emph{Mathematical Methods in the Applied Sciences}.}
41
42\keywords{Class file; \LaTeXe; \emph{Wiley NJD}}
43
44\jnlcitation{\cname{%
45\author{Williams K.},
46\author{B. Hoskins},
47\author{R. Lee},
48\author{G. Masato}, and
49\author{T. Woollings}} (\cyear{2016}),
50\ctitle{A regime analysis of Atlantic winter jet variability applied to evaluate HadGEM3-GC2}, \cjournal{Q.J.R. Meteorol. Soc.}, \cvol{2017;00:1--6}.}
51
52\maketitle
53
54\footnotetext{\textbf{Abbreviations:} ANA, anti-nuclear antibodies; APC, antigen-presenting cells; IRF, interferon regulatory factor}
55
56
57\section{Introduction}\label{sec1}
58
59Many authors submitting \( \sin \cos \tan \inf_{x} \) to NJD journals use \LaTeXe\ to
60prepare their papers. This paper describes the
61\textsf{WileyNJD-v2.cls} class file which can be used to convert
62articles produced with other \LaTeXe\ class files into the correct
63form for publication in \emph{Wiley NJD Journals}.
64
65The \textsf{WileyNJD-v2.cls} class file preserves much of the standard
66\LaTeXe\ interface so that any document which was produced using
67the standard \LaTeXe\ \textsf{article} style can easily be
68converted to work with the \textsf{WileyNJD-v2} style. However, the
69width of text and typesize will vary from that of
70\textsf{article.cls}; therefore, \emph{line breaks will change}
71and it is likely that displayed mathematics and tabular material
72will need re-setting.
73
74In the following sections we describe how to lay out your code to
75use \textsf{WileyNJD-v2.cls} to reproduce the typographical look of
76\emph{Wiley NJD Journals}.
77
78\subsection{Procedure to install fonts}
79 
80\begin{enumerate}
81\item All font files are available under the Stix-fonts folder
82\item Font installer is available under the same folder Windows-Stix-fontinstaller.exe
83\item Execute (double click the EXE file) the EXE file that will install all fonts/map files to your local drive.
84\end{enumerate}
85
86\subsection{The Three Golden Rules} 
87
88Before we proceed, we would like to
89stress \emph{three golden rules} that need to be followed to
90enable the most efficient use of your code at the typesetting
91stage:
92\begin{enumerate}
93\item[(i)] keep your own macros to an absolute minimum;
94
95\item[(ii)] as \TeX\ is designed to make sensible spacing
96decisions by itself, do \emph{not} use explicit horizontal or
97vertical spacing commands, except in a few accepted (mostly
98mathematical) situations, such as \verb"\," before a
99differential~d, or \verb"\quad" to separate an equation from its
100qualifier;
101
102\item[(iii)] follow the \emph{NJD} reference style.
103\begin{enumerate}[a.]
104\item Chemistry --- Use the ``AMA'' option as \verb"\documentclass[AMA]{WileyNJD-v2.cls}"
105
106\end{enumerate}
107\end{enumerate}
108
109
110\section{Getting Started} The \textsf{WileyNJD-v2.cls} class file should run
111on any standard \LaTeXe\ installation. If any of the fonts, class
112files or packages it requires are missing from your installation,
113they can be found on the \emph{\TeX\ Live} CD-ROMs or from CTAN.
114
115LaTeX document class options
116
117\begin{flushleft}
118\begin{enumerate}[a.]
119\item STIX1COL--- For STIX font large one column layout use the ``STIX1COL'' option as \verb"\documentclass[AMA,STIX1COL]{WileyNJD-v2}"
120\item STIX2COL--- For STIX font large two column layout use the ``STIX2COL'' option as \verb"\documentclass[AMA,STIX2COL]{WileyNJD-v2}"
121\item STIXSMALL--- For STIX font small layout use the ``STIXSMALL'' option as \verb"\documentclass[AMA,STIXSMALL]{WileyNJD-v2}"
122\end{enumerate}
123\end{flushleft}
124
125
126
127\section{The Article Header Information}
128The heading for any file using \textsf{WileyNJD-v2.cls} is shown in
129Figure~\ref{F1}.
130
131\subsection{Remarks}
132
133\begin{enumerate}[(I).]
134
135\item Use \verb"\title{<title> \protect\thanks{<title footnotes}}" for article title and title footnote.
136\item Use \verb"\authormark{}" for running heads.
137
138\item Note the use of \verb"\author[<link>]{<name>}" and \verb"\address[<link>]{<name>}" to
139link names and addresses. The author for correspondence is marked
140by ``*'' and \verb"\corres{}" is used to give that
141author's address, which will be printed besides abstract, prefaced by
142`Correspondence to:'.
143
144\item For submitting a double-spaced manuscript, add
145\verb"doublespace" as an option to the documentclass line. \verb"\documentclass[doublespace]{WileyNJD-v2}"
146
147\item Use \verb"\presentaddress{}" for present address.
148
149\item In abstract \verb"\abstract[<title>]{abstract paragraph}" use optional parameter for title followed by abstract paragraph.
150
151\item For Key words use \verb"\keywords{}".
152
153\item For how to site use \verb"\jnlcitation{\cname{\author{<author name>},"
154
155\verb"\ctitle{<title>}, \cjournal{<Journal name>}, \cvol{<vol>}.}}".
156
157\item For title page abbreviations use \verb"\footnotetext{<\textbf{Abbreviation title:} Abreviations>}"
158
159\item Use \verb"\articletype{<article category}" for article header information
160
161\item Use \verb"\received{<received date>} \revised{<revised date>} \accepted{<accepted date>}" for history dates.
162
163\end{enumerate}
164
165
166
167\begin{figure}[p]
168\setlength{\fboxsep}{0pt}%
169\setlength{\fboxrule}{0pt}%
170\begin{center}
171\begin{boxedverbatim}
172
173\documentclass[AMA,STIX1COL]{WileyNJD-v2}
174
175\articletype{Article Type}%
176
177\received{26 April 2016}
178\revised{6 June 2016}
179\accepted{6 June 2016}
180
181\begin{document}
182
183\title{<Initial cap, lower case>\protect\thanks{<title footnote.>}}
184
185\author[<address link>]{<Author name><corresponding author*>}
186
187\author[<address link>,<address link>]{Author Name}
188
189\authormark{AUTHOR ONE \textsc{et al}}
190
191\address[<address link>]{\orgdiv{<Org Division>}, \orgname{<Org name>},
192\orgaddress{\state{<State name>}, \country{<Country name>}}}
193\address[<address link>]{\orgdiv{<Org Division>}, \orgname{<Org name>},
194 \orgaddress{\state{<State name>}, \country{<Country name>}}}
195
196\corres{<corresponding author link*> <author name, address.
197 \email{<authorone@email.com>}}
198
199\presentaddress{<Present address>}
200
201\abstract[<Abstract heading>]{<Abstract paragraph>}
202
203\keywords{<keyword1>, <keyword2>,...}
204
205\jnlcitation{\cname{%
206\author{<aurhor name>},
207\author{<aurhor name>},
208\author{<aurhor name>},
209\author{<aurhor name>},  and
210\author{<aurhor name>}} (\cyear{<year>}),
211\ctitle{<journal title>}, \cjournal{<journal name>} <year> <vol> Page <xxx>-<xxx>}
212
213\footnotetext{\textbf{<abbreviation head:>} <abbreviations> ..}
214
215\maketitle
216
217\section{Introduction}
218.
219.
220.
221\end{boxedverbatim}
222\end{center}
223\caption{Example for title page.\label{F1}}
224\end{figure}
225
226\section{The Body of the Article}
227
228\subsection{Section headings}
229
230\begin{enumerate}[(H1)]
231\item Section --- use \verb"\section{}"
232\item SubSection--- use \verb"\subsection{}"
233\item SubSubSectioin--- use \verb"\subsubsection{}"
234\item Paragraph--- use \verb"\paragraph{}"
235\item Subparagraph--- use \verb"\subparagraph{}"
236\end{enumerate}
237
238\subsection{Mathematics} \textsf{WileyNJD-v2.cls} makes the full
239functionality of \AmS\/\TeX\ available. We encourage the use of
240the \verb"align", \verb"gather" and \verb"multline" environments
241for displayed mathematics.
242
243\subsection{Figures and Tables}
244
245\textsf{WileyNJD-v2.cls} uses the
246\textsf{graphicx} package for handling figures.
247
248Figures are called in as follows:
249\begin{verbatim}
250\begin{figure}
251\centering
252\includegraphics{<figure name>}
253\caption{<Figure caption>}
254\end{figure}
255\end{verbatim}
256
257The standard coding for a table is shown in Figure~\ref{F2}.
258
259\begin{figure}[h]
260\setlength{\fboxsep}{0pt}%
261\setlength{\fboxrule}{0pt}%
262\begin{center}
263\begin{boxedverbatim}
264\begin{table}
265\caption{<Table caption>}
266\centering
267\begin{tabular}{<table alignment>}
268\toprule
269<column headings>\\
270\midrule
271<table entries
272(separated by & as usual)>\\
273<table entries>\\
274.
275.
276.\\
277\bottomrule
278\end{tabular}
279\begin{tablenotes}
280\item Source: xxx.
281\item[1] xxx.
282\item[2] xxx.
283\end{tablenotes}
284\end{table}
285\end{boxedverbatim}
286\end{center}
287\caption{Example for table layout.\label{F2}}
288\end{figure}
289
290\subsection{Cross-referencing}
291The use of the \LaTeX\ cross-reference system
292for figures, tables, equations, etc., is encouraged
293(using \verb"\ref{<name>}" and \verb"\label{<name>}").
294
295\subsection{Box text}
296
297\begin{verbatim}
298\begin{boxtext}
299\section*{<title>}%
300Paragraph
301\end{boxtext}
302\end{verbatim}
303
304\subsection{List items}
305
306\subsubsection{Enumerate list styles}
307\begin{verbatim}
308\begin{enumerate}[1]
309\item 
310\end{enumerate}
311
312\begin{enumerate}[1.]
313\item 
314\end{enumerate}
315
316\begin{enumerate}[(1)]
317\item 
318\end{enumerate}
319
320\begin{enumerate}[I]
321\item 
322\end{enumerate}
323
324\begin{enumerate}[i]
325\item 
326\end{enumerate}
327
328\begin{enumerate}[a]
329\item 
330\end{enumerate}
331
332\end{verbatim}
333
334\subsubsection{Bullet list styles}
335
336\begin{verbatim}
337\begin{itemize}
338\item 
339\end{itemize}
340\end{verbatim}
341
342\subsubsection{Description list}
343
344\begin{verbatim}
345\begin{description}
346\item[<entry>] description text.
347\end{description}
348\end{verbatim}
349
350\subsection{Enunciations}
351
352\begin{verbatim}
353\begin{theorem}[<Theorem subhead>]\label{thm1}
354<theorem text>.
355\end{theorem}
356
357\begin{proposition}[<proposition subhead>]\label{pro1}
358<proposition text>.
359\end{proposition}
360
361\begin{definition}[<definition subhead>]\label{dfn1}
362<definition text>.
363\end{definition}
364
365\begin{proof}
366<proof text>.
367\end{proof}
368
369\begin{proof}[Proof of Theorem~\ref{thm1}]
370<proof text>.
371\end{proof}
372
373\end{verbatim}
374
375\subsection{Program codes}
376
377Use \verb+\begin{verbatim}...\end{verbatim}+ for program codes without math. Use \verb+\begin{alltt}...\end{alltt}+ for program codes with math. Based on the text provided inside the optional argument of \verb+\begin{code}[Psecode|Listing|Box|Code|+\hfill\break \verb+Specification|Procedure|Sourcecode|Program]...+ \verb+\end{code}+ tag corresponding boxed like floats are generated. Also note that \verb+\begin{code}[Code|Listing]...+ \verb+\end{code}+ tag with either Code or Listing text as optional argument text are set with computer modern typewriter font.  All other code environments are set with normal text font. Refer below example:
378
379\begin{verbatim}
380\begin{lstlisting}[caption={Descriptive Caption Text},label=DescriptiveLabel]
381for i:=maxint to 0 do
382begin
383{ do nothing }
384end;
385Write('Case insensitive ');
386WritE('Pascal keywords.');
387\end{lstlisting}
388\end{verbatim}
389
390
391\subsection{Acknowledgements} An Acknowledgements section is started with \verb"\ack" or
392\verb"\acks" for \textit{Acknowledgement} or
393\textit{Acknowledgements}, respectively. It must be placed just
394before the References.
395
396\subsection{Bibliography}
397
398\begin{enumerate}[1]
399\item Use \verb"\bibliography{wileyNJD-AMA}" BST file for AMA reference style
400\item Use \verb"\bibliography{wileyNJD-APA}" BST file for APA reference style
401\item Use \verb"\bibliography{wileyNJD-AMS}" BST file for AMS reference style
402\item Use \verb"\bibliography{wileyNJD-VANCOUVER}" BST file for Vancouver reference style
403\item Use \verb"\bibliography{wileyNJD-ACS}" BST file for Chemistry reference style
404\end{enumerate}
405
406The normal commands for producing the reference list are:
407
408\begin{verbatim}
409\begin{thebibliography}{99}
410\bibitem{<x-ref label>}
411         <Reference details>
412.
413.
414.
415\end{thebibliography}
416\end{verbatim}
417
418\subsection{Appendix Section}
419
420\begin{verbatim}
421\appendix
422
423\section{Section title of first appendix\label{app1}}
424.
425.
426.
427
428\end{verbatim}
429
430\end{document}
Note: See TracBrowser for help on using the repository browser.