Permalink
Browse files

Added \frontmatter, \mainmatter, and \backmatter commands.

  • Loading branch information...
1 parent 154a8bb commit 72c4ef21e45f0dca337316dbdba298dbe87f57d7 @godbyk godbyk committed Aug 12, 2011
Showing with 13 additions and 6 deletions.
  1. +13 −6 gitt.tex
View
@@ -2,19 +2,22 @@
\documentclass[\mediaformat]{gitt}
% Title/author/date
-\title{Git In the Trenches}
+\title{Git in the Trenches}
\author{Peter Savage}
\date{August 2011}
\begin{document}
-% Preamble stuff
+% Front cover
\coverpage{images/fcover-new.pdf}
+
+% Front matter
+\frontmatter
\maketitle
\cleardoublepage
\tableofcontents
-% Include all the individual chapters
+% Main matter
\include{intro}
\include{setup}
\include{chap1}
@@ -34,11 +37,15 @@
\include{chap8}
\include{afterhours8}
\include{chap9}
+
+% Back matter
+\backmatter
\include{ack}
\include{index}
-\newpage
-\mbox{}
-\newpage
+
+% Back cover
+\clearpage
\coverpage{images/bcover-new.pdf}
+
\end{document}

0 comments on commit 72c4ef2

Please sign in to comment.