public anonymous / test.tex Created 2011-12-29

Testing newlablst.sty

test.tex
TeX
 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 \documentclass[12pt]{article}\usepackage{newlablst}\begin{document} \section{Table of Contents}\label{toc}The \verb-\tableofcontents- command produces table of contents. \subsection{List of figures\label{list} and Tables}\label{lof}The commands \verb-\listoffigures- and \verb-\listoftables- producelist of figures and list of tables, respectively.  \section{Cross Referencing}You can assign a \textit{key} of your choice to a \verb-figure-, a \verb-table-, an \verb-equation-, \verb-equation array-, \verb-enumerate-, \verb-theorems- or a \verb-section-. The key is assigned a number by the \verb-\label- command and the number is printed by the \verb-\ref- command. For example, see section~\ref{toc} for table of contents" can be produced by \verb-see section~\ref{toc} for table of contents-. \verb-toc- is the key assigned to section 1 by \verb-\label{toc}-.  \subsection*{labeling words}You can label a word with a key and refer to it back using \verb-\pageref- command. For example, the list of figures sub-section appears on page~\pageref{list}. \begin{thebibliography}{9}\bibitem{lamport94} Leslie Lamport, \emph{\LaTeX: A Document Preparation System}. Addison Wesley, Massachusetts, 2nd Edition, 1994.\end{thebibliography}  \end{document}