Updates to ch. 3 (again)
This commit is contained in:
parent
7eeb2a7aeb
commit
c2b4c2feff
@ -46,3 +46,4 @@ Date,Topic,Minutes
|
|||||||
,,45
|
,,45
|
||||||
2025.02.19,ch. 4 writing & bugfixing,60
|
2025.02.19,ch. 4 writing & bugfixing,60
|
||||||
2025.02.21,ch. 3 edits,75
|
2025.02.21,ch. 3 edits,75
|
||||||
|
2025.02.22,ch. 3 updates,10
|
||||||
|
|
@ -87,7 +87,13 @@ Size is easy to figure out: it just refers to how large a bit of text appears, e
|
|||||||
|
|
||||||
``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.).
|
``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)
|
In \LaTeX{}, the command for emphasizing text is \verb|\emph{<text>}|. This generally gets rendered as italic text, although not always. If you are working in a document class that formats \verb|\emph{<text>}| in some way other than italic, you can always change it to italic by adding this to your preamble:
|
||||||
|
|
||||||
|
\begin{Verbatim}[frame=lines, numbers=left, xleftmargin=5mm, framesep=3mm, breaklines=true, label=\fbox{Redefining emph}]
|
||||||
|
\let\emph\relax
|
||||||
|
\DeclareTextFontCommand{\emph}{\itseries}
|
||||||
|
\end{Verbatim}
|
||||||
|
|
||||||
|
|
||||||
\section{Commands and Environments}
|
\section{Commands and Environments}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user