Initial commit of issue #004
This commit is contained in:
parent
a4df7ee225
commit
b5d9a3eb97
152
004/codex-004.tex
Normal file
152
004/codex-004.tex
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
\documentclass[twoside]{report}
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
\usepackage{amsmath}
|
||||||
|
\usepackage{amssymb}
|
||||||
|
\usepackage{makeidx}
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\usepackage{kpfonts}
|
||||||
|
\usepackage{float}
|
||||||
|
\raggedbottom
|
||||||
|
|
||||||
|
% Where are our images?
|
||||||
|
\graphicspath{{images/}}
|
||||||
|
|
||||||
|
% Let's set this as a half-letter sized sheet
|
||||||
|
\usepackage{geometry}
|
||||||
|
\geometry{
|
||||||
|
paperheight=8.5in,
|
||||||
|
paperwidth=5.5in,
|
||||||
|
% heightrounded,
|
||||||
|
margin=0.5in
|
||||||
|
}
|
||||||
|
|
||||||
|
% Adjust the top and bottom margins
|
||||||
|
\addtolength{\topmargin}{0.4in}
|
||||||
|
\addtolength{\textheight}{-0.75in}
|
||||||
|
|
||||||
|
% Set the header style
|
||||||
|
\usepackage{fancyhdr}
|
||||||
|
\pagestyle{fancy}
|
||||||
|
\fancyhf{}
|
||||||
|
\fancyhead[LE,RO]{\textit{the codex}}
|
||||||
|
\fancyhead[RE,LO]{Issue \#003}
|
||||||
|
\cfoot{Page \thepage}
|
||||||
|
\renewcommand{\footrulewidth}{0.5pt}
|
||||||
|
|
||||||
|
% Includ two- or three-column sections
|
||||||
|
\usepackage{multicol}
|
||||||
|
|
||||||
|
% Stop resetting the footnote count after each chapter
|
||||||
|
\counterwithout{footnote}{chapter}
|
||||||
|
|
||||||
|
% Let's wrap some images
|
||||||
|
\usepackage{wrapfig}
|
||||||
|
|
||||||
|
% Use tab stops when we need to (especially in footnotes)
|
||||||
|
\usepackage{tabto}
|
||||||
|
% Define 18 tab stops (at 1/4" intervals)
|
||||||
|
\NumTabs{18}
|
||||||
|
|
||||||
|
% Make things neater. Thanks /u/-LeopardShark-
|
||||||
|
\usepackage{microtype}
|
||||||
|
|
||||||
|
% Make a nice border and box for the tops of our examples
|
||||||
|
\newcommand\klab[3]{\vspace{#1}\noindent{}\hrulefill\fbox{\texttt{~#2~}}\hrulefill\vspace{#3}}
|
||||||
|
|
||||||
|
% Add an \hrule with space above and below
|
||||||
|
\newcommand\krule[2]{\vspace{#1}\hrule\vspace{#2}}
|
||||||
|
|
||||||
|
% Make hrefs easier (must load package hyperref}
|
||||||
|
\newcommand\kref[2]{\href{#1}{{\texttt{#2}}}}
|
||||||
|
|
||||||
|
% Use line numbers with code samples
|
||||||
|
% \begin{Verbatim}...\end{Verbatim} <-- Note the capitalization!
|
||||||
|
\usepackage{fancyvrb}
|
||||||
|
% Break lines inside this environment:
|
||||||
|
\usepackage{fvextra}
|
||||||
|
|
||||||
|
% Control spacing in lists
|
||||||
|
\usepackage{enumitem}
|
||||||
|
|
||||||
|
% Don't force text to fill page
|
||||||
|
\raggedbottom
|
||||||
|
|
||||||
|
% Better control over line-spacing
|
||||||
|
\usepackage{setspace}
|
||||||
|
|
||||||
|
% Use nice fractions
|
||||||
|
\usepackage{nicefrac}
|
||||||
|
|
||||||
|
% Keep the footnotes at the bottom of the page
|
||||||
|
\usepackage[bottom]{footmisc}
|
||||||
|
|
||||||
|
% Do we want to include URLs?
|
||||||
|
% Yes, but we also want to hide the big red box it puts around them in the pdf. Thanks /u/0b0101011001001011
|
||||||
|
\usepackage[hidelinks]{hyperref}
|
||||||
|
|
||||||
|
%%%% Document Information %%%%%
|
||||||
|
\author{Kenneth John Odle}
|
||||||
|
\title{
|
||||||
|
{\Huge the codex} \\
|
||||||
|
{\footnotesize Life with Linux — A Zine \\
|
||||||
|
\bigskip
|
||||||
|
Typeset in \LaTeX{} \\
|
||||||
|
Issue \#004}
|
||||||
|
}
|
||||||
|
\date{\begin{small}\today{}\end{small}}
|
||||||
|
|
||||||
|
% Change the name of the TOC
|
||||||
|
\renewcommand*\contentsname{In This Issue…}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\section*{Impressum}
|
||||||
|
All contents \copyright2023 Kenneth John Odle
|
||||||
|
|
||||||
|
Although this is now in your hands, and it's also on the web, so if you really wanted to steal this, I've made it pretty darn easy. I can't imagine why anyone would want to, though. However, you don't need to, because this is licenced under a CC BY-NA-SA 4.0 Creative Commons license. More information is at \href{https://creativecommons.org/licenses/by-nc-sa/4.0/}{\texttt{https://creativecommons.org/licenses/by-nc-sa/4.0/}} \includegraphics[scale=0.30]{ncsa4-0}
|
||||||
|
|
||||||
|
FYI, this is made in \LaTeX \,using the report document class. It then gets exported to a letterhalf (5.5 in x 8.5 in) pdf, which then gets made into a booklet using PDF Booklet (\kref{https://pdfbooklet.sourceforge.io/wordpress/}{https://pdfbooklet.sourceforge.io/word\\press/}).
|
||||||
|
|
||||||
|
The image of Linus Torvalds on the front cover is courtesy JericoDelayah from the WikiMedia Commons. The image is from \kref{https://commons.wikimedia.org/wiki/File:4_RETAT_04_Linus_Torvalds.jpg}{https://commons.wiki\\media.org/wiki/File:4\_RETAT\_04\_Linus\_Torvalds.jpg} where you can also find a link to the Creative Commons CC BY-SA 3.0 license there, as well.
|
||||||
|
|
||||||
|
I'm pushing this to my own git server as I write this. You can find it \href{https://git.kjodle.net/kjodle/the-codex}{here}: \texttt{https://git.kjodle.net/kjodle/the-codex}. New issues will be pushed after they are complete.
|
||||||
|
|
||||||
|
You can just skip over all the diversions in here if you want. It's just how my mind works. (And yes, there will be politics in this. \textit{You have been warned.}) Also, I use a lot of em-dashes, parentheses, and footnotes because that is also how my mind works. It's just one big long stream of consciousness up in here most days.
|
||||||
|
|
||||||
|
\medskip
|
||||||
|
|
||||||
|
\noindent \textbf{Errata:} To err is human, to document those errors is divine. A list of errata can be found at \kref{https://git.kjodle.net/kjodle/the-codex/wiki/Errata}{https://git.kjodle.net/kjodle/the-codex/wiki/Err\\ata}.
|
||||||
|
|
||||||
|
\medskip
|
||||||
|
|
||||||
|
\noindent \textbf{Credit where credit is due:} A lot of people have come forth (mostly from Reddit) to help me out in various ways. See the preamble to this document in the source code to see them. One aspect of our society is that nobody \textit{has} to help you. It is wonderful when it happens, and I am grateful for their help.
|
||||||
|
|
||||||
|
|
||||||
|
\tableofcontents
|
||||||
|
|
||||||
|
\chapter{The Final Salad Days}
|
||||||
|
|
||||||
|
\section{College, 2008}
|
||||||
|
|
||||||
|
Bush II decided to tank the economy for ordinary people so that rich people could get richer.\footnote{This is the second of three "once in a lifetime" recessions I have lived through. Yay, capitalism!} I decided to go back into teaching (which, thanks to current conservative political policies\footnote{Along with the asshole behavior of parents who approve of those policies.} there will always be a demand for), which meant I needed to go back to college to renew my teaching license. But this is a whole other story for which I have run out of space, so it will have to go in a future issue.
|
||||||
|
|
||||||
|
\section{Today}
|
||||||
|
|
||||||
|
\chapter{Math in \LaTeX{} with \texttt{align} and \texttt{array}}
|
||||||
|
|
||||||
|
\chapter{What's to Like About Linux}
|
||||||
|
|
||||||
|
\chapter{More about those folders in \texttt{root}}
|
||||||
|
|
||||||
|
\chapter{Coda}
|
||||||
|
|
||||||
|
\section{What I Learned About \LaTeX{} While Creating This Issue}
|
||||||
|
|
||||||
|
\subsection{Page Count using \texttt{detex}}
|
||||||
|
|
||||||
|
\subsection{How to Create Macros}
|
||||||
|
|
||||||
|
\section{What I learned About \LaTeX{} While Creating Something Else}
|
||||||
|
|
||||||
|
\end{document}
|
BIN
004/images/codeck.png
Normal file
BIN
004/images/codeck.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
004/images/ncsa4-0.png
Normal file
BIN
004/images/ncsa4-0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue
Block a user