summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex')
-rw-r--r--Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex42
1 files changed, 34 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex b/Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex
index dbcdea387eb..bc75627cc50 100644
--- a/Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex
+++ b/Master/texmf-dist/doc/latex/ascelike/ascexmpl.tex
@@ -1,7 +1,7 @@
%
\documentclass[Proceedings]{ascelike}
%
-% Aug. 20, 2011
+% Nov. 7, 2011
%
% Some useful packages...
%
@@ -15,12 +15,12 @@
%
%
% Place hyperlinks within the pdf file (works only with pdflatex, not latex)
-% \usepackage[colorlinks=true,citecolor=red,linkcolor=black]{hyperref}
+\usepackage[colorlinks=true,citecolor=red,linkcolor=black]{hyperref}
%
%
% NOTE: Don't include the \NameTag{<your name>} if you have selected
% the NoPageNumbers option: this leads to an inconsistency.
-\NameTag{Kuhn, August 20, 2011}
+\NameTag{Kuhn, November 7, 2011}
%
%
\begin{document}
@@ -37,6 +37,10 @@ Donald P.\ Shiley School of Engrg., Univ.\ of Portland,
Portland, OR 97203. E-mail: kuhn@up.edu.},
\ Member, ASCE
%
+% Here, we add a second author with the same affiliation
+%% \\
+%% Ima Colleague,\footnotemark[1] Member, ASCE%
+%
% I have found that the \and command doesn't quite work, so just use "and"
% such as the following (and don't forget the ending curly brace `}').
%\\
@@ -96,7 +100,7 @@ The document class ``\texttt{ascelike.cls}'' requires the following
supplementary packages:
\texttt{ifthen.sty}, \texttt{setspace.sty}, and \texttt{endfloat.sty}
\emph{Without these files,} \texttt{ascelike.cls} \emph{won't work}.
-These files are typically included in \LaTeX\ distribution, such as the
+These files are typically included in \LaTeX\ distributions, such as the
\textsf{TexLive} and \textsf{MikTex} distributions.
All of these files are also freely available
from the Comprehensive \TeX\ Archive Network (CTAN) archive,
@@ -127,6 +131,9 @@ encapsulated post\-script (figure) files into the document
\texttt{amsmath.sty} and its companion files for the AMS extensions
to mathematical formatting (\texttt{amsfonts.sty}, \texttt{amssymb.sty},
and \texttt{amsbsy.sty}).
+\item
+\texttt{url.sty} can be used to embed the underscore ``\_'' and
+ampersand ``\&'' symbols with web addresses.
\end{itemize}
%
All of these packages are also freely
@@ -174,7 +181,7 @@ sections, subsections, subsubsections, appendices, and the abstract.
Pages are numbered, and the bottom left corner can be ``tagged'' with
the author's name (this can be done by inserting the command
\verb+\NameTag{<+\emph{your name}\verb+>}+ within the preamble of your
-document.
+document).
\item
Options \verb+BackFigs|InsideFigs+ can be used to override
the default placement of tables
@@ -240,24 +247,26 @@ as in ``An Example Subsection.''
No automatic capitalization occurs with subsubsections;
you will need to capitalize only the first letter of subsubsection
headings.
+\par
And now we include an example of a displayed equation (Eq.~\ref{eq:Einstein})
%
\begin{equation} \label{eq:Einstein}
E = m c^{2} \;,
\end{equation}
%
-a figure (Fig.~\ref{fig:box_fig}),
+a figure (Fig.~\ref{fig:box_fig}),%
%
\begin{figure}
\centering
\framebox[3.00in]{\rule[0in]{0in}{1.00in}}
\caption{An example figure (just a box).
This particular figure has a caption with more information
-than the figure itself, a very poor practice indeed.}
+than the figure itself, a very poor practice indeed.
+A reference here \protect\cite{Stahl:2004a}.}
\label{fig:box_fig}
\end{figure}
%
-and a table (Table~\ref{table:assembly}).
+and a table (Table~\ref{table:assembly}).%
%
\begin{table}
\caption{An example table}
@@ -284,6 +293,16 @@ Assembly size & $54D_{50} \times 54D_{50} \times 54D_{50}$ \\
\normalsize
\end{table}
%
+Notice that the caption of Fig.~\ref{fig:box_fig} contains
+a citation of a bibliographic item \cite{Stahl:2004a}.
+This can lead to the following errors:
+\begin{verbatim}
+! Illegal parameter number in definition of \reserved@a.
+! Missing control sequence inserted
+\end{verbatim}
+These errors are avoided by protecting citations within captions,
+as \verb|\protect\cite{...}|.
+%
\par
A new command \verb+\KeyWords{<your key words>}+ can be used to produce
a labeled list of key words.
@@ -407,6 +426,13 @@ online web documentation.)
\par
Authors' addresses can be placed below the title (instead of
in a footnote) by \emph{not} using the \verb+\thanks+ command.
+Multiple authors from the same institution can be handled within
+the \verb|\author{...}| command by using the \verb|\footnotemark| command:
+\begin{verbatim}
+\\
+Ima Colleague,\footnotemark[1] Member, ASCE%
+\end{verbatim}
+\pagebreak
%
%
% Now we start the appendices, with the new section name, "Appendix", and a