From d32507e0f42bb7e90d10eb304eca897a418d4340 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Sun, 29 Oct 2023 13:30:43 -0400 Subject: [PATCH] Added section about local size changes --- lbol.tex | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/lbol.tex b/lbol.tex index 8901e45..1b43fd5 100644 --- a/lbol.tex +++ b/lbol.tex @@ -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}.