Debian Codegraph @

texmf-dist/doc/latex/achemso/achemso-demo.tex

raw
1
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% This is a (brief) model paper using the achemso class
4 %% The document class accepts keyval options, which should include
5 %% the target journal and optionally the manuscript type.
6 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7 \documentclass[journal=jacsat,manuscript=article]{achemso}
8
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10 %% Place any additional packages needed here. Only include packages
11 %% which are essential, to avoid problems later.
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13 \usepackage{chemformula} % Formula subscripts using \ch{}
14 \usepackage[T1]{fontenc} % Use modern font encodings
15
16 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17 %% If issues arise when submitting your manuscript, you may want to
18 %% un-comment the next line. This provides information on the
19 %% version of every file you have used.
20 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
21 %%\listfiles
22
23 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
24 %% Place any additional macros here. Please use \newcommand* where
25 %% possible, and avoid layout-changing macros (which are not used
26 %% when typesetting).
27 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
28 \newcommand*\mycommand[1]{\texttt{\emph{#1}}}
29
30 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
31 %% Meta-data block
32 %% ---------------
33 %% Each author should be given as a separate \author command.
34 %%
35 %% Corresponding authors should have an e-mail given after the author
36 %% name as an \email command. Phone and fax numbers can be given
37 %% using \phone and \fax, respectively; this information is optional.
38 %%
39 %% The affiliation of authors is given after the authors; each
40 %% \affiliation command applies to all preceding authors not already
41 %% assigned an affiliation.
42 %%
43 %% The affiliation takes an option argument for the short name. This
44 %% will typically be something like "University of Somewhere".
45 %%
46 %% The \altaffiliation macro should be used for new address, etc.
47 %% On the other hand, \alsoaffiliation is used on a per author basis
48 %% when authors are associated with multiple institutions.
49 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
50 \author{Andrew N. Other}
51 \altaffiliation{A shared footnote}
52 \author{Fred T. Secondauthor}
53 \altaffiliation{Current address: Some other place, Othert\"own,
54 Germany}
55 \author{I. Ken Groupleader}
56 \altaffiliation{A shared footnote}
57 \email{[email protected]}
58 \phone{+123 (0)123 4445556}
59 \fax{+123 (0)123 4445557}
60 \affiliation[Unknown University]
61 {Department of Chemistry, Unknown University, Unknown Town}
62 \alsoaffiliation[Second University]
63 {Department of Chemistry, Second University, Nearby Town}
64 \author{Susanne K. Laborator}
65 \email{[email protected]}
66 \affiliation[BigPharma]
67 {Lead Discovery, BigPharma, Big Town, USA}
68 \author{Kay T. Finally}
69 \affiliation[Unknown University]
70 {Department of Chemistry, Unknown University, Unknown Town}
71 \alsoaffiliation[Second University]
72 {Department of Chemistry, Second University, Nearby Town}
73
74 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
75 %% The document title should be given as usual. Some journals require
76 %% a running title from the author: this should be supplied as an
77 %% optional argument to \title.
78 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
79 \title[An \textsf{achemso} demo]
80 {A demonstration of the \textsf{achemso} \LaTeX\
81 class\footnote{A footnote for the title}}
82
83 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
84 %% Some journals require a list of abbreviations or keywords to be
85 %% supplied. These should be set up here, and will be printed after
86 %% the title and author information, if needed.
87 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
88 \abbreviations{IR,NMR,UV}
89 \keywords{American Chemical Society, \LaTeX}
90
91 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
92 %% The manuscript does not need to include \maketitle, which is
93 %% executed automatically.
94 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
95 \begin{document}
96
97 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
98 %% The "tocentry" environment can be used to create an entry for the
99 %% graphical table of contents. It is given here as some journals
100 %% require that it is printed as part of the abstract page. It will
101 %% be automatically moved as appropriate.
102 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
103 \begin{tocentry}
104
105 Some journals require a graphical entry for the Table of Contents.
106 This should be laid out ``print ready'' so that the sizing of the
107 text is correct.
108
109 Inside the \texttt{tocentry} environment, the font used is Helvetica
110 8\,pt, as required by \emph{Journal of the American Chemical
111 Society}.
112
113 The surrounding frame is 9\,cm by 3.5\,cm, which is the maximum
114 permitted for \emph{Journal of the American Chemical Society}
115 graphical table of content entries. The box will not resize if the
116 content is too big: instead it will overflow the edge of the box.
117
118 This box and the associated title will always be printed on a
119 separate page at the end of the document.
120
121 \end{tocentry}
122
123 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
124 %% The abstract environment will automatically gobble the contents
125 %% if an abstract is not used by the target journal.
126 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
127 \begin{abstract}
128 This is an example document for the \textsf{achemso} document
129 class, intended for submissions to the American Chemical Society
130 for publication. The class is based on the standard \LaTeXe\
131 \textsf{report} file, and does not seek to reproduce the appearance
132 of a published paper.
133
134 This is an abstract for the \textsf{achemso} document class
135 demonstration document. An abstract is only allowed for certain
136 manuscript types. The selection of \texttt{journal} and
137 \texttt{manuscript} will determine if an abstract is valid. If
138 not, the class will issue an appropriate error.
139 \end{abstract}
140
141 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
142 %% Start the main part of the manuscript here.
143 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
144 \section{Introduction}
145 This is a paragraph of text to fill the introduction of the
146 demonstration file. The demonstration file attempts to show the
147 modifications of the standard \LaTeX\ macros that are implemented by
148 the \textsf{achemso} class. These are mainly concerned with content,
149 as opposed to appearance.
150
151 \section{Results and discussion}
152
153 \subsection{Outline}
154
155 The document layout should follow the style of the journal concerned.
156 Where appropriate, sections and subsections should be added in the
157 normal way. If the class options are set correctly, warnings will be
158 given if these should not be present.
159
160 \subsection{References}
161
162 The class makes various changes to the way that references are
163 handled. The class loads \textsf{natbib}, and also the
164 appropriate bibliography style. References can be made using
165 the normal method; the citation should be placed before any
166 punctuation, as the class will move it if using a superscript
167 citation style
168 \cite{Mena2000,Abernethy2003,Friedman-Hill2003,EuropeanCommission2008}.
169 The use of \textsf{natbib} allows the use of the various citation
170 commands of that package: \citeauthor{Abernethy2003} have shown
171 something, in \citeyear{Cotton1999}, or as given by
172 Ref.~\citenum{Mena2000}. Long lists of authors will be
173 automatically truncated in most article formats, but not in
174 supplementary information or reviews \cite{Pople2003}. If you
175 encounter problems with the citation macros, please check that
176 your copy of \textsf{natbib} is up to date. The demonstration
177 database file \texttt{achemso-demo.bib} shows how to complete
178 entries correctly. Notice that ``\latin{et al.}'' is auto-formatted
179 using the \texttt{\textbackslash latin} command.
180
181 Multiple citations to be combined into a list can be given as
182 a single citation. This uses the \textsf{mciteplus} package
183 \cite{Johnson1972,*Arduengo1992,*Eisenstein2005,*Arduengo1994}.
184 Citations other than the first of the list should be indicated
185 with a star. If the \textsf{mciteplus} package is not installed,
186 the standard bibliography tools will still work but starred
187 references will be ignored. Individual references can be referred
188 to using \texttt{\textbackslash mciteSubRef}:
189 ``ref.~\mciteSubRef{Eisenstein2005}''.
190
191 The class also handles notes to be added to the bibliography. These
192 should be given in place in the document \bibnote{This is a note.
193 The text will be moved the the references section. The title of the
194 section will change to ``Notes and References''.}. As with
195 citations, the text should be placed before punctuation. A note is
196 also generated if a citation has an optional note. This assumes that
197 the whole work has already been cited: odd numbering will result if
198 this is not the case \cite[p.~1]{Cotton1999}.
199
200 \subsection{Floats}
201
202 New float types are automatically set up by the class file. The
203 means graphics are included as follows (Scheme~\ref{sch:example}). As
204 illustrated, the float is ``here'' if possible.
205 \begin{scheme}
206 Your scheme graphic would go here: \texttt{.eps} format\\
207 for \LaTeX\, or \texttt{.pdf} (or \texttt{.png}) for pdf\LaTeX\\
208 \textsc{ChemDraw} files are best saved as \texttt{.eps} files:\\
209 these can be scaled without loss of quality, and can be\\
210 converted to \texttt{.pdf} files easily using \texttt{eps2pdf}.\\
211 %\includegraphics{graphic}
212 \caption{An example scheme}
213 \label{sch:example}
214 \end{scheme}
215
216 \begin{figure}
217 As well as the standard float types \texttt{table}\\
218 and \texttt{figure}, the class also recognises\\
219 \texttt{scheme}, \texttt{chart} and \texttt{graph}.
220 \caption{An example figure}
221 \label{fgr:example}
222 \end{figure}
223
224 Charts, figures and schemes do not necessarily have to be labelled or
225 captioned. However, tables should always have a title. It is
226 possible to include a number and label for a graphic without any
227 title, using an empty argument to the \texttt{\textbackslash caption}
228 macro.
229
230 The use of the different floating environments is not required, but
231 it is intended to make document preparation easier for authors. In
232 general, you should place your graphics where they make logical
233 sense; the production process will move them if needed.
234
235 \subsection{Math(s)}
236
237 The \textsf{achemso} class does not load any particular additional
238 support for mathematics. If packages such as \textsf{amsmath} are
239 required, they should be loaded in the preamble. However,
240 the basic \LaTeX\ math(s) input should work correctly without
241 this. Some inline material \( y = mx + c \) or $ 1 + 1 = 2 $
242 followed by some display. \[ A = \pi r^2 \]
243
244 It is possible to label equations in the usual way (Eq.~\ref{eqn:example}).
245 \begin{equation}
246 \frac{\mathrm{d}}{\mathrm{d}x} \, r^2 = 2r \label{eqn:example}
247 \end{equation}
248 This can also be used to have equations containing graphical
249 content. To align the equation number with the middle of the graphic,
250 rather than the bottom, a minipage may be used.
251 \begin{equation}
252 \begin{minipage}[c]{0.80\linewidth}
253 \centering
254 As illustrated here, the width of \\
255 the minipage needs to allow some \\
256 space for the number to fit in to.
257 %\includegraphics{graphic}
258 \end{minipage}
259 \label{eqn:graphic}
260 \end{equation}
261
262 \section{Experimental}
263
264 The usual experimental details should appear here. This could
265 include a table, which can be referenced as Table~\ref{tbl:example}.
266 Notice that the caption is positioned at the top of the table.
267 \begin{table}
268 \caption{An example table}
269 \label{tbl:example}
270 \begin{tabular}{ll}
271 \hline
272 Header one & Header two \\
273 \hline
274 Entry one & Entry two \\
275 Entry three & Entry four \\
276 Entry five & Entry five \\
277 Entry seven & Entry eight \\
278 \hline
279 \end{tabular}
280 \end{table}
281
282 Adding notes to tables can be complicated. Perhaps the easiest
283 method is to generate these using the basic
284 \texttt{\textbackslash textsuperscript} and
285 \texttt{\textbackslash emph} macros, as illustrated (Table~\ref{tbl:notes}).
286 \begin{table}
287 \caption{A table with notes}
288 \label{tbl:notes}
289 \begin{tabular}{ll}
290 \hline
291 Header one & Header two \\
292 \hline
293 Entry one\textsuperscript{\emph{a}} & Entry two \\
294 Entry three\textsuperscript{\emph{b}} & Entry four \\
295 \hline
296 \end{tabular}
297
298 \textsuperscript{\emph{a}} Some text;
299 \textsuperscript{\emph{b}} Some more text.
300 \end{table}
301
302 The example file also loads the optional \textsf{mhchem} package, so
303 that formulas are easy to input: \texttt{\textbackslash ch\{H2SO4\}}
304 gives \ch{H2SO4}. See the use in the bibliography file (when using
305 titles in the references section).
306
307 The use of new commands should be limited to simple things which will
308 not interfere with the production process. For example,
309 \texttt{\textbackslash mycommand} has been defined in this example,
310 to give italic, mono-spaced text: \mycommand{some text}.
311
312 \section{Extra information when writing JACS Communications}
313
314 When producing communications for \emph{J.~Am.\ Chem.\ Soc.}, the
315 class will automatically lay the text out in the style of the
316 journal. This gives a guide to the length of text that can be
317 accommodated in such a publication. There are some points to bear in
318 mind when preparing a JACS Communication in this way. The layout
319 produced here is a \emph{model} for the published result, and the
320 outcome should be taken as a \emph{guide} to the final length. The
321 spacing and sizing of graphical content is an area where there is
322 some flexibility in the process. You should not worry about the
323 space before and after graphics, which is set to give a guide to the
324 published size. This is very dependant on the final published layout.
325
326 You should be able to use the same source to produce a JACS
327 Communication and a normal article. For example, this demonstration
328 file will work with both \texttt{type=article} and
329 \texttt{type=communication}. Sections and any abstract are
330 automatically ignored, although you will get warnings to this effect.
331
332 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
333 %% The "Acknowledgement" section can be given in all manuscript
334 %% classes. This should be given within the "acknowledgement"
335 %% environment, which will make the correct section or running title.
336 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
337 \begin{acknowledgement}
338
339 Please use ``The authors thank \ldots'' rather than ``The
340 authors would like to thank \ldots''.
341
342 The author thanks Mats Dahlgren for version one of \textsf{achemso},
343 and Donald Arseneau for the code taken from \textsf{cite} to move
344 citations after punctuation. Many users have provided feedback on the
345 class, which is reflected in all of the different demonstrations
346 shown in this document.
347
348 \end{acknowledgement}
349
350 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
351 %% The same is true for Supporting Information, which should use the
352 %% suppinfo environment.
353 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
354 \begin{suppinfo}
355
356 A listing of the contents of each file supplied as Supporting Information
357 should be included. For instructions on what should be included in the
358 Supporting Information as well as how to prepare this material for
359 publications, refer to the journal's Instructions for Authors.
360
361 The following files are available free of charge.
362 \begin{itemize}
363 \item Filename: brief description
364 \item Filename: brief description
365 \end{itemize}
366
367 \end{suppinfo}
368
369 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
370 %% The appropriate \bibliography command should be placed here.
371 %% Notice that the class file automatically sets \bibliographystyle
372 %% and also names the section correctly.
373 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
374 \bibliography{achemso-demo}
375
376 \end{document}