Added note about compiling twice for cross-references

This commit is contained in:
Kenneth John Odle 2023-10-28 15:48:14 -04:00
parent a7909bf726
commit c5d7f05fa1

View File

@ -701,10 +701,9 @@ As usefule as \verb+\verb+ is, it has one drawback: it does not wrap. That is, i
The only way around that is to break that text into two parts like this: The only way around that is to break that text into two parts like this:
\begin{verbatim} \begin{Verbatim}[breaklines=true]
\verb|This text is longer| \\ \verb|than the line length and w \verb|This text is longer than the line length| \\ \verb| and will simply go off the page|
ill simply go off the page| \end{Verbatim}
\end{verbatim}
It works, but it's clunky. If you change anything around those two \texttt{verb} commands, you'll need to adjust what is contained within each of them. It works, but it's clunky. If you change anything around those two \texttt{verb} commands, you'll need to adjust what is contained within each of them.
@ -953,6 +952,8 @@ Internal references (i.e., cross-references) are explained in section \ref{examp
jI very rarely use cross references and so I am not terribly adept at their many uses. They are a powerful feature of \LaTeX{} though, so if you are interested, I urge you to visit \kref{https://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing}{https://en.wikibooks.org/wiki/LaTeX/Labels\_and\_Cross-referencing} for more detailed information. jI very rarely use cross references and so I am not terribly adept at their many uses. They are a powerful feature of \LaTeX{} though, so if you are interested, I urge you to visit \kref{https://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing}{https://en.wikibooks.org/wiki/LaTeX/Labels\_and\_Cross-referencing} for more detailed information.
Keep in mind that you will need to compile your document \textbf{twice}. The first time \LaTeX{} will figure out which page each \texttt{label} is on. The second time, it will plug those pages numbers into the \texttt{ref} and \texttt{pageref} commands.
\section{Bibliographies} \section{Bibliographies}
\LaTeX{} has two major ways of handling bibliographies: an embedded system using the \texttt{bibitem} command, and an external system using \texttt{BibTeX}. Both systems have their advantages and disadvantages. \LaTeX{} has two major ways of handling bibliographies: an embedded system using the \texttt{bibitem} command, and an external system using \texttt{BibTeX}. Both systems have their advantages and disadvantages.
@ -1112,8 +1113,6 @@ But yeah, you should definitely resize your images before including them in any
\item If you want to add a degree symbol to inline text, the simplest way I've found (so far) is to just pop in and out of math mode with this: \verb|$^{\circ}$| which gives you this: $^{\circ}$ \item If you want to add a degree symbol to inline text, the simplest way I've found (so far) is to just pop in and out of math mode with this: \verb|$^{\circ}$| which gives you this: $^{\circ}$
\end{itemize} \end{itemize}
\chapter{Miscellaneous Things}
\chapter{Troubleshooting} \chapter{Troubleshooting}
\section{Minimal Working Examples} \section{Minimal Working Examples}