diff --git a/lbol.tex b/lbol.tex index 0f9bd7c..33e7d28 100644 --- a/lbol.tex +++ b/lbol.tex @@ -101,6 +101,9 @@ % Add custom widths to tables \usepackage{array} +% Use chapter names in references +\usepackage{nameref} + % Include URLs, but hide the big red box it puts around them in the pdf. \usepackage[hidelinks]{hyperref} @@ -300,7 +303,11 @@ If you didn't use that construction, you would need to put a \% in front of each \section{Environments} -\noindent{} This is where \LaTeX{} shows its power, as environments are used to to take care of typesetting tasks. Every environment begins with \verb+\begin{}+ and ends with \verb+\end{}+. In fact, we've already seen one environment: the \texttt{document} environment, which encompasses our entire document. Here are a few other useful ones: +\noindent{} This is where \LaTeX{} shows its power, as environments are used to to take care of typesetting tasks. Every environment begins with \verb+\begin{}+ and ends with \verb+\end{}+. In fact, we've already seen one environment: the \texttt{document} environment, which encompasses our entire document. + +Many packages introduce additional environments. Here are a few useful ones that do not require additional packages: + +\texttt{enumerate} and \texttt{itemize} are used for creating lists. See the chapter ``\nameref{listenv}'' on \pageref{listenv} for more information. \chapter{Formatting Words} @@ -444,7 +451,7 @@ In most document classes, the ``chapter'' pages do not contain page numbers. If \end{verbatim} -\chapter{List Environments} +\chapter{List Environments}\label{listenv} \section{Enumerate}