Updated ch 3 with semantic (emph) information

This commit is contained in:
Kenneth John Odle 2025-02-21 16:47:25 -05:00
parent b56dba32a2
commit 7eeb2a7aeb
2 changed files with 7 additions and 1 deletions

View File

@ -45,4 +45,4 @@ Date,Topic,Minutes
2025.02.18,ch. 3 writing,90
,,45
2025.02.19,ch. 4 writing & bugfixing,60
2025.02.21,ch. 3 edits,65
2025.02.21,ch. 3 edits,75

1 Issue #6
45 ,,45
46 2025.02.19,ch. 4 writing & bugfixing,60
47 2025.02.21,ch. 3 edits,65 2025.02.21,ch. 3 edits,75
48

View File

@ -83,6 +83,12 @@ Almost all of the text you read is ``normal'' weight, but \textbf{this bit is in
Size is easy to figure out: it just refers to how large a bit of text appears, either on screen or on paper. In reality, a typeface's size is much more complicated than that. Font sizes are usually measured in \textbf{points}, the size of which has varied over the years. With digital printing, points are usually defined as being \nicefrac{1}{72} of an inch, or exactly $0.352\bar{7}$ millimeters. (I could go on at length about this, but I won't. If you are interested, you might want to read \kref{https://en.wikipedia.org/wiki/Point_(typography)}{https://en.wikipedia.org/wiki/Point\_(typography)}.\footnote{I'm not going to talk about type size here, because it's fairly straightforward in \LaTeX{} and I also mentioned how to get specific font sizes in issue \#4.}
\section{Semantic Formatting}
``Semantic'' formatting means that your code should \textit{mean} something. It other words, you need to distinguish between when you are emphasizing something (i.e., ``This is \textit{very} good cake.'') or merely when you are marking something as italic or bold as a convention, such as book and movie titles or vocabulary words (i.e., \textit{The Grapes of Wrath}, \textit{Star Wars}, ``\textbf{mitosis} is the process of cell division'', etc.).
In \LaTeX{}, the command for emphasizing text is \verb|\emph{<text>}|. This generally gets rendered as italic text, although not always. For example, the \textsf{beamer} document class renders it as red text, rather than italic text, as this work better in most presentations. (check this)
\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.