From e909a27e917b6968e2865778e18e3430704e494f Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Mon, 10 Jul 2023 15:55:09 -0400 Subject: [PATCH] =?UTF-8?q?Added=20=C2=ABnameref=C2=BB=20package;=20update?= =?UTF-8?q?d=20into=20to=20=C2=ABenvironments=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lbol.tex | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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}