about summary refs log tree commit diff stats
path: root/tex/autocento.tex
diff options
context:
space:
mode:
authorCase Duckworth2015-04-18 13:59:29 -0700
committerCase Duckworth2015-04-18 13:59:29 -0700
commitbccfb001ad3c250c2fd7c11b92c247abefe8233e (patch)
treea1ca5693c9d350bfd1d38ddf503539633b508607 /tex/autocento.tex
parentRevise abstract & add to index.html (diff)
downloadautocento-bccfb001ad3c250c2fd7c11b92c247abefe8233e.tar.gz
autocento-bccfb001ad3c250c2fd7c11b92c247abefe8233e.zip
Move frontmatter to front-matter; add colophon
Diffstat (limited to 'tex/autocento.tex')
-rw-r--r--tex/autocento.tex60
1 files changed, 60 insertions, 0 deletions
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 @@
1% Autocento book LaTeX. For compiling all of the smaller LaTeX files
2% into one big book file (for proper pagination, etc). Use this to
3% include all the other files & run latex on it (or xelatex?). Yeah.
4\documentclass{book}
5% Font specifications
6\usepackage{fontspec}
7\usepackage{xunicode}
8\usepackage{xltxtra}
9\setmainfont{Linux Libertine}
10\setmonofont{Courier Prime}
11\newfontfamily{\titlefont}{Playfair Display}
12\newfontfamily{\typewrite}{Courier Prime}
13% TOC & LOF (t?)
14\usepackage{tocloft}
15% Page geometry
16\usepackage[letterpaper, inner=1in, outer=1in, top=1in, bottom=1in]{geometry}
17% Fancy header
18\usepackage{fancyhdr}
19\fancyhead{}
20\fancyhead[RO,LE]{\thepage}
21% \leftmark = chapter number
22% \rightmark = section number
23\fancyhead[LO,RE]{\nouppercase{\leftmark} -- \nouppercase{\rightmark}}
24\fancyfoot{}
25\fancyfoot[RO,LE]{}
26\fancyfoot[LO,RE]{}
27% Document information
28\title{Autocento of the breakfast table}
29\author{Case Duckworth}
30% new commands for pages' metadata
31\newcommand{page}[2]{%
32 \pagebreak
33 \label{#2}
34 \section{#1}
35}
36%\newcommand{subt}[1]{{\large \emph{#1}}}
37\newcommand{epigraph}[2]{content, attrib#1#2}
38\newcommand{dedication}[1]{\emph{for #1}}
39\newcommand{ekphrastic}[1]{image#1}
40% renew commands for other stuff
41\renewcommand{href}[2]{target, text#1#2}
42% new environments for prose, etc.
43\newenvironment{prose}{}{}
44% \newenvironment{list}{}{}
45\newenvironment{table}{}{}
46
47\begin{document}
48
49\begin{titlepage}
50 fancy title page goes here
51\end{titlepage}
52
53\pagestyle{fancy}
54\frontmatter
55 include front-matter stuff here
56
57\mainmatter
58 include all pages here
59
60\end{document}