Added section on page numbers in chapters
This commit is contained in:
parent
52c9d78357
commit
b9f2916e4c
23
lbol.tex
23
lbol.tex
@ -384,6 +384,15 @@ In actual books, a ``part'' pages often contain some sort of epigraph. You can m
|
||||
|
||||
The rest of it (that is, the \texttt{renewcommand} part) redefines the \texttt{endpart} to now include a \verb|\quote| environment, which is quite appropriate for an epigraph.
|
||||
|
||||
\subsection{Include Page Numbers on ``Chapter'' Pages}
|
||||
|
||||
In most document classes, the ``chapter'' pages do not contain page numbers. If you would like them to have page numbers, add this to the preamble:
|
||||
|
||||
\begin{verbatim}
|
||||
\usepackage[]{titlesec}
|
||||
\assignpagestyle{\chapter}{fancy}
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
\chapter{List Environments}
|
||||
|
||||
@ -690,20 +699,6 @@ Mischief managed!
|
||||
|
||||
\section{What I learned About \LaTeX{} While Creating Something Else}
|
||||
|
||||
For reasons I don't understand I went down an internet rabbit hole reading about the book \textit{Flatland}, by Edwin A. Abbott. This is a book I had purchased years ago in my youth (thank you, Dover Thrift Editions!) but had never gotten around to reading. I found a copy in \LaTeX{} at \href{https://github.com/Ivesvdf/flatland}{\texttt{https://github.com/Ivesvdf/flatland}}. It was old---twelve years old, in fact---and it was set up as a single-sided A4 document. If you've been following this journey this far, you know that I'm pretty fond of booklets, and that I'm in North America, so everything has to be lettersize paper.\footnote{As an American citizen, I am bound by the U.S. Constitution to both completely disavow the metric system and be utterly confused by it, and to decry it as terribly confusing despite the fact that is based on dividing and multiplying by the number 10. This is part of our constitutional duty to vehemently oppose anything which makes sense and also makes life better, such as universal health care. I don't know, something about eagles and gravy and guns.}
|
||||
|
||||
So I downloaded it, and decided to play around with it to see how much I could make it look like an actual book. My original purpose for starting this zine was to learn how to typeset things in \LaTeX{}, but it can be limiting since I've already figured out the format. Since I learn best from projects, another project was in order. This one fell into my lap at the perfect time.
|
||||
|
||||
|
||||
|
||||
\subsection{Include Page Numbers on ``Chapter'' Pages}
|
||||
|
||||
I set up my version of \textit{Flatland} to have the page numbers in the header and to completely suppress the footers. But I wanted those headers to appear on the chapter pages (you'll notice in this zine that they don't appear), because this is how the book was originally typeset back in the nineteenth century. As it turns out, the \texttt{titlesec} package makes this very easy:
|
||||
|
||||
\begin{verbatim}
|
||||
\usepackage[]{titlesec}
|
||||
\assignpagestyle{\chapter}{fancy}
|
||||
\end{verbatim}
|
||||
|
||||
For what it's worth, if you want to \textit{omit} the headers and footers on a given page, just add
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user