Added two items to «Coda»

This commit is contained in:
Kenneth John Odle 2024-06-07 14:36:04 -04:00
parent 40e995dd9d
commit f625c3db0d

View File

@ -221,7 +221,7 @@ I admit, I am pretty invested in Ubuntu. But I don't have to be that way. There
This also omits Edubuntu which, as a former teacher, I am very interested in. This also omits Edubuntu which, as a former teacher, I am very interested in.
\chapter{What's to Like About Linux} \chapter{More Fun with bash}
As I get older, I find that I want to spend less time doing repetitive tasks that need to be done, and spend more time doing the stuff I want to do, like writing. As I get older, I find that I want to spend less time doing repetitive tasks that need to be done, and spend more time doing the stuff I want to do, like writing.
@ -763,6 +763,24 @@ Once you understand the basics, it's fairly straightforward to construct even mo
\subsection{How to Create Macros} \subsection{How to Create Macros}
\subsection{How to Get More Font Sizes}
One of the things that has bugged me for some time about this zine is that I was not creating the cover in \LaTeX{}. The reason for that was simple: I didn't know how. But we're now at the fourth issue, and so it was time to finally figure it out.\footnote{So if this cover looks a little different than previous covers, this is the reason why. But they will look like this going forward.}
One of the issues that I encountered is that your standard document classes give you a limited number of font sizes, and I needed the title to be fairly large. Larger than I could get with the \verb|\begin{Huge}\end{Huge}| command, anyway.
As it turns out, if you are using Type 1 fonts, you can just use the \texttt{fontsize} command to make this work. This is what I used for the front cover:
\begin{Verbatim}[frame=lines, numbers=left, xleftmargin=5mm, framesep=3mm, breaklines=true, label=\fbox{fontsize example}]
{\fontsize{50}{60}\selectfont \textbf{the codex}}
\end{Verbatim}
The first number (50) represents the font size, while the second one (60) specifies the line spacing, which is generally irrelevant if you are only using this on a single line of text.\footnote{I found this at \kref{https://tex.stackexchange.com/a/716/245702}{https://tex.stackexchange.com/a/716/245702}.}
\subsection{Adding Space at the Top of a Page}
Another issue that I ran into when creating the cover in \LaTeX{} is that I needed space at the top of the page, before the text. Normally, I use something like \verb|\vspace{50mm}| for something like that, but any \verb|\vspace| is automatically deleted at the top of a page. The solution is to use it with an asterisk, like this: \verb|\vspace*{50mm}|.
\section{What I learned About \LaTeX{} While Creating Something Else} \section{What I learned About \LaTeX{} While Creating Something Else}
\end{document} \end{document}