From 5ba7600b5cb2201b3bc38df807fdf3c28f504535 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Tue, 18 Feb 2025 16:19:32 -0500 Subject: [PATCH] Updated ch. 3 --- 006/006 time.csv | 2 ++ 006/codex-006.tex | 2 +- 006/include/chap03.tex | 44 ++++++++++++++++++++++++++++-------------- 3 files changed, 33 insertions(+), 15 deletions(-) diff --git a/006/006 time.csv b/006/006 time.csv index c2e1240..68a4b88 100644 --- a/006/006 time.csv +++ b/006/006 time.csv @@ -42,3 +42,5 @@ Date,Topic,Minutes ,ch. 1 edits,20 2025.02.17,ch. 1 edits and additions,30 ,ch. 3 writing,60 +2025.02.18,ch. 3 writing,90 +,,45 diff --git a/006/codex-006.tex b/006/codex-006.tex index 06b8d36..8308ddf 100644 --- a/006/codex-006.tex +++ b/006/codex-006.tex @@ -139,7 +139,7 @@ %% Include URLS %%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Be sure to load this package last % [hidelinks option to hide big red box. Thanks /u/0b0101011001001011 -\usepackage[hidelinks]{hyperref} % Inlcude URLs, but load this package last +\usepackage[hidelinks]{hyperref} % Include URLs, but load this package last %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/006/include/chap03.tex b/006/include/chap03.tex index 97f2007..4140b18 100644 --- a/006/include/chap03.tex +++ b/006/include/chap03.tex @@ -67,7 +67,17 @@ Size is easy to figure out: it just refers to how large a bit of text appears, e \section{Commands and Environments} -\LaTeX{} has both modal commands that change \textit{all} the text following that command, and environments that change the text only within that environment. Here's a summary: +\LaTeX{} has both modal commands that change \textit{all} the text following that command, and environments that change the text only within that environment. + +\paragraph{Notes:} Most document classes use a roman font by default, to set entire passages in a different shape, use one of the three shape \texttt{} commands. \verb|\textrm{}| can be used to return to a roman font in an extended passage of either sans-serif or monospace text. + +Likewide, \verb|\upshape| can be used to return a regular shape in an extended passage of italic, slanted, or small caps text. Similarly, to return to a regular shape in a shorter passage of italic, slanted, or small caps text, you can use \verb|\textup{}|. + +\verb|\textmd{}| can be used in the middle of a long passage of bold faced text to omit a word or two from being bold. + +The commands and environments are summarized in the following table. Notice that it's a lot easier to remember them when you know what characteristic (family, shape, series) you are targeting, and what the two-letter code (\texttt{rm}, \texttt{bf}, etc.) stands for. + +\newpage \begin{longtblr} [ @@ -76,24 +86,30 @@ Size is easy to figure out: it just refers to how large a bit of text appears, e % theme = {custom1} ]{ width = {\textwidth}, - colspec = { X[1,l] X[2,c] X[2,c] }, + colspec = { X[0.2,c] X[1,l] X[2,c] X[2,c] }, hlines = {0.5pt,solid}, - vline{1,4} = {0.5pt,solid}, + vline{1,5} = {0.5pt,solid}, + vline{2} = {2-10}{0.5pt,solid}, rows = {5mm, m, rowsep=1.5pt}, rowhead = 1, cells = {font=\sffamily\fontsize{8pt}{10pt}\selectfont}, row{1} = {font=\bfseries}, verb, + cell{2}{1} = {r=3}{c}, + cell{5}{1} = {r=4}{c}, + cell{9}{1} = {r=2}{c}, + cell{11}{1}= {c=2}{l}, } -Characteristic & Command & Environment \\ -Roman & \verb|\rmfamily| & \verb|\textrm{}| \\ -Sans-Serif & \verb|\sffamily| & \verb|\textsf{}| \\ -Monospace & \verb|\ttfamily| & \verb|\texttt{}| \\ -Italic & \verb|\itshape| & \verb|\textit{}| \\ -Upright & \verb|\upshape| & \verb|\textup{}| \\ -Slanted & \verb|\slshape| & \verb|\textsl{}| \\ -Small Caps & \verb|\scshape| & \verb|\textsc{}| \\ -Boldface & \verb|\bfseries| & \verb|\textbf{}| \\ -Medium & \verb|\mdseries| & \verb|\textmd{}| \\ -Return to normal for the class & \verb|\normalfont| & \verb|textnormal{}| \\ +& Characteristic & Command & Environment \\ +\rotatebox[origin=c]{90}{Family} & Roman & \verb|\rmfamily| & \verb|\textrm{}| \\ + & Sans-Serif & \verb|\sffamily| & \verb|\textsf{}| \\ + & Monospace & \verb|\ttfamily| & \verb|\texttt{}| \\ +\rotatebox[origin=c]{90}{Shape} & Italic & \verb|\itshape| & \verb|\textit{}| \\ + & Upright & \verb|\upshape| & \verb|\textup{}| \\ + & Slanted & \verb|\slshape| & \verb|\textsl{}| \\ + & Small Caps & \verb|\scshape| & \verb|\textsc{}| \\ +\rotatebox[origin=c]{90}{Series} & Boldface & \verb|\bfseries| & \verb|\textbf{}| \\ + & Medium & \verb|\mdseries| & \verb|\textmd{}| \\ +{Return to normal\\for the class} & & \verb|\normalfont| & \verb|\textnormal{}| \\ \end{longtblr} +