Browse Source

Added TOC; removed page numbers on «Part» pages

main
Kenneth John Odle 11 months ago
parent
commit
f23af97e65
  1. 35
      main.tex

35
main.tex

@ -39,6 +39,17 @@
\usepackage[]{titlesec}
\assignpagestyle{\chapter}{fancy}
% Insert blank pages
% See https://tex.stackexchange.com/questions/36880/insert-a-blank-page-after-current-page
\usepackage{afterpage}
\newcommand\blankpage{%
\null
\thispagestyle{empty}%
\newpage}
% Remove pages numbers from "part" pages
\usepackage{nonumonpart}
\urlstyle{same}
\begin{document} % \maketitle
@ -54,7 +65,7 @@
\clearpage
% \frontmatter
\thispagestyle{empty}
\noindent{} This work is in the public domain in the United States because it was
published before January 1, 1923.
The author died in 1926, so this work is also in the public domain in
@ -68,10 +79,11 @@ term to foreign works.
\emph{Illustrated by} Edwin A. Abbott \\
\emph{Typeset by} Ives van der Flaas\\
\emph{Additional typesetting by} Kenneth John Odle\\ \\
\null
\vfill
Fifth edition
\chapter*{A Note From The Typesetter}
\thispagestyle{empty}
Although Edwin A. Abbott's essay ``Flatland'' is readily available on the
internet, I failed to find a nicely typeset version. At this time,
the rendering quality of internet browsers doesn't come anywhere near the
@ -103,11 +115,17 @@ The source can be found on \texttt{\url{https://git.kjodle.net/kjodle/Flatland}}
\end{flushright}
\newpage \ \newpage
%\newpage \ \newpage
%\thispagestyle{empty}
\afterpage{\blankpage}
\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents{}
\thispagestyle{empty}
% \addcontentsline{toc}{chapter}{Dedication}
\chapter*{Dedication}
\thispagestyle{empty}
\begin{center}
To\\
@ -131,8 +149,12 @@ Among the Superior Races\\
Of \textsc{Solid Humanity}\\
\end{center}
\afterpage{\blankpage}
% \addcontentsline{toc}{chapter}{Preface}
\chapter*{Preface}
\thispagestyle{empty}
If my poor Flatland friend retained the vigour of mind which he enjoyed when
he began to compose these Memoirs, I should not now need to represent him in
this preface, in which he desires, fully, to return his thanks to his readers
@ -250,6 +272,7 @@ needs be precisely thus, and we know all about it.''
%b\mainmatter
\part{This World}
\chapter{Of the Nature of Flatland} I call our world Flatland, not because we
call it so, but to make its nature clearer to you, my happy readers, who are
privileged to live in Space.
@ -1781,8 +1804,6 @@ reconsider the regulations of Female education.
\part{Other Worlds}
\chapter{How I had a Vision of Lineland}
It was the last day but one of the 1999th year of our era, and the first day
of the Long Vacation. Having amused myself till a late hour with my favourite

Loading…
Cancel
Save