Added section on special characters

This commit is contained in:
Kenneth John Odle 2023-11-01 11:04:08 -04:00
parent 1850763fe4
commit c9b188c323

View File

@ -1740,6 +1740,28 @@ $ texhash ~/texmf
\chapter{Miscellaneous}
\section{Special Characters in \LaTeX{}}
There are ten characters that have special meaning in \LaTeX{}. To typeset:
\begin{center}
\& \; \% \; \$ \; \# \; \_ \; \{ \; \}
\end{center}
\noindent{}you have to prepend them with a backslash (\textbackslash).
\medskip
\noindent{}To typeset:
\begin{center}
\textasciitilde \hspace{2mm} \textasciicircum \hspace{2mm} \textbackslash
\end{center}
\noindent{}you have to use the macros \verb|\textasciitilde|, \verb|\textasciicircum|, and \\ \verb|\textbackslash|.
You can also dip in and out of math mode to get these characters, but the font will be different, and so they will have a different appearance to the rest of your text. See the next section for some examples.
\section{\LaTeX{} Units}
\LaTeX{} is pretty loose about which unit you use. You can use any of the following pretty much interchangeably, depending on what you are measuring.
@ -1775,7 +1797,7 @@ em & the width of the letter \texttt{m} in the current font \\
As you might expect, \LaTeX{} excels at typesetting symbols. Below is a \textbf{short} list of the symbols available in \LaTeX{}. Keep in mind that they may have different commands in text mode than in math mode, and that they will also appear differently in those two modes due to the different fonts those modes use.
For additional information, consult the \textit{very} extensive ``Comprehensive \LaTeX{} Symbol List'' which you can find at \kref{https://ctan.org/pkg/comprehensive?lang=\\en}{https://ctan.org/pkg/comprehensive?lang=en}.
For additional information, consult the \textit{very} extensive ``Comprehensive \LaTeX{} Symbol List'' which you can find at \kref{https://ctan.org/pkg/comprehensive?lang=en}{https://ctan.org/pkg/comprehensive?lang=\\en}.
\NewTblrTheme{symbols}{
\SetTblrStyle{contfoot-text}{\small}