Added section on global font sizes

This commit is contained in:
Kenneth John Odle 2023-07-10 15:31:19 -04:00
parent 3614720477
commit e9f1885c84

View File

@ -257,7 +257,7 @@ spaces.
Comments are created by adding a \texttt{\%} to the line. Anything beyond the percent sign will be ignored when your document is compiled. Comments are created by adding a \texttt{\%} to the line. Anything beyond the percent sign will be ignored when your document is compiled.
To create multi-line comments, surround those lines with \verb|\iffalse| and \verb|fi|: To create multi-line comments, surround those lines with \verb|\iffalse| and \verb|\fi|:
\begin{Verbatim}[frame=lines, numbers=left, xleftmargin=5mm, framesep=3mm, breaklines=true, label=Multi-line Comment Block] \begin{Verbatim}[frame=lines, numbers=left, xleftmargin=5mm, framesep=3mm, breaklines=true, label=Multi-line Comment Block]
\iffalse \iffalse
@ -269,7 +269,7 @@ If you didn't use that construction, you would need to put a \% in front of each
\section{Environments} \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{<environment>}+ and ends with \verb+\end{<environment>}+. 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{<environ\\ment>}+ and ends with \verb+\end{<environment>}+. In fact, we've already seen one environment: the \texttt{document} environment, which encompasses our entire document. Here are a few other useful ones:
\chapter{Formatting Words} \chapter{Formatting Words}
@ -315,6 +315,17 @@ It is possible to combine these. For example, to write \textit{\textsc{Italic te
\section{Size Variations} \section{Size Variations}
\subsection{Global}
To set the overall size of text in your document, pass it to your \texttt{documentclass} command as an option. For most classes (\texttt{article}, \texttt{book}, \texttt{report}, \texttt{letter}, and \texttt{proc}), the default font size is 10 pt, but 11pt and 12 pt are also available.
These same classes also have \texttt{ext} versions (\texttt{extarticle}, \texttt{extbook}, and so forth). With these classes, the other available size options are 8pt, 9pt, 11pt, 12pt, 14pt, 17pt, and 20pt.
The default for the \texttt{memoir} class is 10pt, and the other available options are 9pt, 11pt, 12pt, 14pt, 17pt, 20pt, 25pt, 30pt, 36pt, 48pt, and 60pt.
The default for the the \texttt{beamer} class is 11pt, and the other available options are 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, and 20pt.
\subsection{Local}
\section{Displaying Code} \section{Displaying Code}
@ -361,7 +372,7 @@ Your widely spaced text goes here.
\section{Customizing Pages} \section{Customizing Pages}
\subsection{Omitting headers and footers on a Page} \subsection{Omitting Headers and Footers on a Page}
To \textit{omit} the headers and footers on a given page, include the \texttt{titlesec} and package in the preamble, and add this somewhere \textit{after} the start of the page. To \textit{omit} the headers and footers on a given page, include the \texttt{titlesec} and package in the preamble, and add this somewhere \textit{after} the start of the page.