From bccfb001ad3c250c2fd7c11b92c247abefe8233e Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 18 Apr 2015 13:59:29 -0700 Subject: Move frontmatter to front-matter; add colophon --- tex/autocento.tex | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 tex/autocento.tex (limited to 'tex') diff --git a/tex/autocento.tex b/tex/autocento.tex new file mode 100644 index 0000000..d549159 --- /dev/null +++ b/tex/autocento.tex @@ -0,0 +1,60 @@ +% Autocento book LaTeX. For compiling all of the smaller LaTeX files +% into one big book file (for proper pagination, etc). Use this to +% include all the other files & run latex on it (or xelatex?). Yeah. +\documentclass{book} +% Font specifications +\usepackage{fontspec} +\usepackage{xunicode} +\usepackage{xltxtra} +\setmainfont{Linux Libertine} +\setmonofont{Courier Prime} +\newfontfamily{\titlefont}{Playfair Display} +\newfontfamily{\typewrite}{Courier Prime} +% TOC & LOF (t?) +\usepackage{tocloft} +% Page geometry +\usepackage[letterpaper, inner=1in, outer=1in, top=1in, bottom=1in]{geometry} +% Fancy header +\usepackage{fancyhdr} +\fancyhead{} +\fancyhead[RO,LE]{\thepage} +% \leftmark = chapter number +% \rightmark = section number +\fancyhead[LO,RE]{\nouppercase{\leftmark} -- \nouppercase{\rightmark}} +\fancyfoot{} +\fancyfoot[RO,LE]{} +\fancyfoot[LO,RE]{} +% Document information +\title{Autocento of the breakfast table} +\author{Case Duckworth} +% new commands for pages' metadata +\newcommand{page}[2]{% + \pagebreak + \label{#2} + \section{#1} +} +%\newcommand{subt}[1]{{\large \emph{#1}}} +\newcommand{epigraph}[2]{content, attrib#1#2} +\newcommand{dedication}[1]{\emph{for #1}} +\newcommand{ekphrastic}[1]{image#1} +% renew commands for other stuff +\renewcommand{href}[2]{target, text#1#2} +% new environments for prose, etc. +\newenvironment{prose}{}{} +% \newenvironment{list}{}{} +\newenvironment{table}{}{} + +\begin{document} + +\begin{titlepage} + fancy title page goes here +\end{titlepage} + +\pagestyle{fancy} +\frontmatter + include front-matter stuff here + +\mainmatter + include all pages here + +\end{document} -- cgit 1.4.1-21-gabe81