Updated ch. 3
This commit is contained in:
parent
74ff53aee6
commit
5ba7600b5c
@ -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
|
||||
|
|
@ -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
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
@ -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{<XXfamily>} commands. \verb|\textrm{<text>}| 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{<text>}|.
|
||||
|
||||
\verb|\textmd{<text>}| 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{<text>}| \\
|
||||
Sans-Serif & \verb|\sffamily| & \verb|\textsf{<text>}| \\
|
||||
Monospace & \verb|\ttfamily| & \verb|\texttt{<text>}| \\
|
||||
Italic & \verb|\itshape| & \verb|\textit{<text>}| \\
|
||||
Upright & \verb|\upshape| & \verb|\textup{<text>}| \\
|
||||
Slanted & \verb|\slshape| & \verb|\textsl{<text>}| \\
|
||||
Small Caps & \verb|\scshape| & \verb|\textsc{<text>}| \\
|
||||
Boldface & \verb|\bfseries| & \verb|\textbf{<text>}| \\
|
||||
Medium & \verb|\mdseries| & \verb|\textmd{<text>}| \\
|
||||
Return to normal for the class & \verb|\normalfont| & \verb|textnormal{<text>}| \\
|
||||
& Characteristic & Command & Environment \\
|
||||
\rotatebox[origin=c]{90}{Family} & Roman & \verb|\rmfamily| & \verb|\textrm{<text>}| \\
|
||||
& Sans-Serif & \verb|\sffamily| & \verb|\textsf{<text>}| \\
|
||||
& Monospace & \verb|\ttfamily| & \verb|\texttt{<text>}| \\
|
||||
\rotatebox[origin=c]{90}{Shape} & Italic & \verb|\itshape| & \verb|\textit{<text>}| \\
|
||||
& Upright & \verb|\upshape| & \verb|\textup{<text>}| \\
|
||||
& Slanted & \verb|\slshape| & \verb|\textsl{<text>}| \\
|
||||
& Small Caps & \verb|\scshape| & \verb|\textsc{<text>}| \\
|
||||
\rotatebox[origin=c]{90}{Series} & Boldface & \verb|\bfseries| & \verb|\textbf{<text>}| \\
|
||||
& Medium & \verb|\mdseries| & \verb|\textmd{<text>}| \\
|
||||
{Return to normal\\for the class} & & \verb|\normalfont| & \verb|\textnormal{<text>}| \\
|
||||
\end{longtblr}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user