Added section about local size changes

This commit is contained in:
Kenneth John Odle 2023-10-29 13:30:43 -04:00
parent 4c11f10d7f
commit d32507e0f4

View File

@ -433,6 +433,34 @@ You can also add the \texttt{extsizes} package, which gives you these additional
\subsection{Local}
You can also change the size of a portion of text locally. These are the defaults that are built into \LaTeX{}:
\begin{longtblr}
[
caption = {Local Size Commands},
label = {tbl:localsizecommands}
]{
width = {8cm},
colspec = { X[1,l] X[1,c] },
hlines = {0.75pt,solid},
vlines = {0.75pt,solid},
rows = {5mm, m, rowsep=1.5pt}
}
\textbf{Markup} & \textbf{Renders as} \\
\Verb+{{\tiny example}}+ & {\tiny example} \\
\Verb+{{\scriptsize example}}+ & {\scriptsize example} \\
\Verb+{{\footnotesize example}}+ & {\footnotesize example} \\
\Verb+{{\small example}}+ & {\small example} \\
\Verb+{{\normalsize example}}+ & {\normalsize example} \\
\Verb+{{\large example}}+ & {\large example} \\
\Verb+{{\Large example}}+ & {\Large example} \\
\Verb+{{\LARGE example}}+ & {\LARGE example} \\
\Verb+{{\huge example}}+ & {\huge example} \\
\Verb+{{\Huge example}}+ & {\Huge example} \\
\end{longtblr}
Note that all of these sizes are relative to the base size you set up in your preamble when declaring your document class.
\section{Displaying Code}
For more information, see the section ``\nameref{codeexp}'' on page \pageref{codeexp}.