about summary refs log tree commit diff stats
path: root/tex/autocento.tex
blob: d5491598ba8eebd67d92edb417f69be27118eeb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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}