summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/achemso/achemso-demo.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-16 23:45:27 +0000
committerKarl Berry <karl@freefriends.org>2010-01-16 23:45:27 +0000
commit073661b413b5683c65ca049724362422a931bfd8 (patch)
tree38761986672f223c7af2b8985e651c18fffb2b56 /Master/texmf-dist/doc/latex/achemso/achemso-demo.tex
parent4d12c3875aa543d42fc585b4771c9b9ef6981424 (diff)
achemso update (16jan10)
git-svn-id: svn://tug.org/texlive/trunk@16750 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/achemso/achemso-demo.tex')
-rw-r--r--Master/texmf-dist/doc/latex/achemso/achemso-demo.tex85
1 files changed, 53 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/latex/achemso/achemso-demo.tex b/Master/texmf-dist/doc/latex/achemso/achemso-demo.tex
index 925cb66fb0c..4c2bd832885 100644
--- a/Master/texmf-dist/doc/latex/achemso/achemso-demo.tex
+++ b/Master/texmf-dist/doc/latex/achemso/achemso-demo.tex
@@ -27,7 +27,7 @@
%% possible, and avoid layout-changing macros (which are not used
%% when typesetting).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand*{\mycommand}[1]{\texttt{\emph{#1}}}
+\newcommand*\mycommand[1]{\texttt{\emph{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Meta-data block
@@ -145,7 +145,9 @@ Ref.~\citenum{Mena2000}. Long lists of authors will be
automatically truncated in most article formats, but not in
supplementary information or reviews \cite{Pople2003}. If you
encounter problems with the citation macros, please check that
-your copy of \textsf{natbib} is up to date.
+your copy of \textsf{natbib} is up to date. The demonstration
+database file \texttt{achemso-demo.bib} shows how to complete
+entries correctly.
Multiple citations to be combined into a list can be given as
a single citation. This uses the \textsf{mciteplus} package
@@ -172,7 +174,7 @@ illustrated, the float is ``here'' if possible.
\begin{scheme}
Your scheme graphic would go here: \texttt{.eps} format\\
for \LaTeX\, or \texttt{.pdf} (or \texttt{.png}) for pdf\LaTeX\\
- \textsc{ChemDraw} files are best saved as \texttt{.eps} files;\\
+ \textsc{ChemDraw} files are best saved as \texttt{.eps} files:\\
these can be scaled without loss of quality, and can be\\
converted to \texttt{.pdf} files easily using \texttt{eps2pdf}.\\
%\includegraphics{graphic}
@@ -202,14 +204,15 @@ sense; the production process will move them if needed.
\subsection{Math(s)}
The \textsf{achemso} class does not load any particular additional
-support for mathematics. If the author \emph{needs} things like
-\textsf{amsmath}, they should be loaded in the preamble. However,
-the basics should work fine. Some inline material $ y = mx + c$
+support for mathematics. If packages such as \textsf{amsmath} are
+required, they should be loaded in the preamble. However,
+the basic \LaTeX\ math(s) input should work correctly without
+this. Some inline material \( y = mx + c \) or $ 1 + 1 = 2 $
followed by some display. \[ A = \pi r^2 \]
-It is possible to label equations in the usual way.
+It is possible to label equations in the usual way (\ref{eqn:example}).
\begin{equation}
- \frac{\mathrm{d}}{\mathrm{d}x} \, r^2 = 2r
+ \frac{\mathrm{d}}{\mathrm{d}x} \, r^2 = 2r \label{eqn:example}
\end{equation}
This can also be used to have equations containing graphical
content. To align the equation number with the middle of the graphic,
@@ -229,19 +232,17 @@ rather than the bottom, a minipage may be used.
The usual experimental details should appear here. This could
include a table, which can be referenced as \ref{tbl:example}. Notice
-that the caption is positioned at the top of the table. Do not worry
-too much about the appearance of the table: this will be altered
-during production.
+that the caption is positioned at the top of the table.
\begin{table}
\caption{An example table}
\label{tbl:example}
\begin{tabular}{ll}
\hline
- Header one & Header two \\
+ Header one & Header two \\
\hline
- Entry one & Entry two \\
- Entry three & Entry four \\
- Entry five & Entry five \\
+ Entry one & Entry two \\
+ Entry three & Entry four \\
+ Entry five & Entry five \\
Entry seven & Entry eight \\
\hline
\end{tabular}
@@ -250,19 +251,16 @@ during production.
Adding notes to tables can be complicated. Perhaps the easiest
method is to generate these using the basic
\texttt{\textbackslash textsuperscript} and
-\texttt{\textbackslash emph} macros, as illustrated
-(\ref{tbl:notes}).
+\texttt{\textbackslash emph} macros, as illustrated (\ref{tbl:notes}).
\begin{table}
\caption{A table with notes}
\label{tbl:notes}
\begin{tabular}{ll}
\hline
- Header one & Header two \\
+ Header one & Header two \\
\hline
- Entry one\textsuperscript{\emph{a}}
- & Entry two \\
- Entry three\textsuperscript{\emph{b}}
- & Entry four \\
+ Entry one\textsuperscript{\emph{a}} & Entry two \\
+ Entry three\textsuperscript{\emph{b}} & Entry four \\
\hline
\end{tabular}
@@ -270,16 +268,41 @@ method is to generate these using the basic
\textsuperscript{\emph{b}} Some more text.
\end{table}
-The example file also loads the \textsf{mhchem} package, so
-that formulas are easy to input: \texttt{\textbackslash
-\ce\{H2SO4\}} gives \ce{H2SO4}. See the use in the
-bibliography file (when using titles in the references
-section).
+The example file also loads the optional \textsf{mhchem} package, so
+that formulas are easy to input: \texttt{\textbackslash ce\{H2SO4\}}
+gives \ce{H2SO4}. See the use in the bibliography file (when using
+titles in the references section).
The use of new commands should be limited to simple things which will
not interfere with the production process. For example,
\texttt{\textbackslash mycommand} has been defined in this example,
-to give italic, monospaced text: \mycommand{some text}.
+to give italic, mono-spaced text: \mycommand{some text}.
+
+\section{Cross-referencing material}
+
+Items such as figures, schemes and tables will need to be referred to
+in the main text. The class loads the \textsf{cleveref} package,
+which means that text such as
+``\ref{fgr:example,fgr:example:2,fgr:example:3}'' can be created
+automatically. This is achieved by modifying the behaviour of the
+\texttt{\textbackslash ref} macro: plain numerical references with
+no preceding text are available using the
+\texttt{\textbackslash plainref} macro. For example, compare
+``\ref{fgr:example}'' and ``\plainref{fgr:example}''.
+
+\begin{figure}
+ This figure is used to demonstrate \\
+ cross-referencing.
+ \caption{A second example figure}
+ \label{fgr:example:2}
+\end{figure}
+
+\begin{figure}
+ This figure is used to demonstrate \\
+ cross-referencing.
+ \caption{A third example figure}
+ \label{fgr:example:3}
+\end{figure}
\section{Extra information when writing JACS Communications}
@@ -336,7 +359,7 @@ automatically add a sentence pointing to the information on-line:
%% Notice that the class file automatically sets \bibliographystyle
%% and also names the section correctly.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\bibliography{achemso}
+\bibliography{achemso-demo}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The "tocentry" environment can be used to create an entry for the
@@ -359,9 +382,7 @@ graphical table of content entries. The box will not resize if the
content is too big: instead it will overflow the edge of the box.
This box and the associated title will always be printed on a
-separate page from the rest of the document. It is best to place the
-graphical TOC entry as the last item in the draft so that the page
-break is not a problem.
+separate page at the end of the document.
\end{tocentry}