Created
December 29, 2011 00:10
-
-
Save anonymous/1530605 to your computer and use it in GitHub Desktop.
Testing newlablst.sty
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\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- produce | |
list 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} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment