buildstamp alternative to git markings
[latex_mako] / paper_template / text.tex
1 \documentclass[12pt]{memoir}
2
3 % article-1 and article-2 styles were originally based on kieran healy's
4 % templates
5 \usepackage{mako-mem}
6 \chapterstyle{article-2}
7
8 % with article-3 \chapterstyle, change to: \pagestyle{memo}
9 \pagestyle{mako-mem}
10
11 \usepackage[utf8]{inputenc}
12
13 \usepackage[T1]{fontenc}
14 \usepackage{textcomp}
15 \usepackage[garamond]{mathdesign}
16
17 \usepackage[letterpaper,left=1.65in,right=1.65in,top=1.3in,bottom=1.2in]{geometry}
18
19 % packages i use in essentially every document
20 \usepackage{graphicx}
21 \usepackage{enumerate}
22
23 % packages i use in many documents but leave off by default
24 % \usepackage{amsmath, amsthm, amssymb}
25 % \usepackage{dcolumn}
26 % \usepackage{endfloat}
27
28 % import and customize urls
29 \usepackage[usenames,dvipsnames]{color}
30 \usepackage[breaklinks]{hyperref}
31
32 \hypersetup{colorlinks=true, linkcolor=Black, citecolor=Black, filecolor=Blue,
33     urlcolor=Blue, unicode=true}
34
35 % add bibliographic stuff 
36 \usepackage[american]{babel}
37 \usepackage{csquotes}
38 \usepackage[natbib=true, style=apa, backend=biber]{biblatex}
39 \addbibresource{refs.bib}
40 \DeclareLanguageMapping{american}{american-apa}
41
42 \defbibheading{secbib}[\bibname]{%
43   \section*{#1}%
44   \markboth{#1}{#1}%
45   \baselineskip 14.2pt%
46   \prebibhook}
47
48 \def\citepos#1{\citeauthor{#1}'s (\citeyear{#1})}
49 \def\citespos#1{\citeauthor{#1}' (\citeyear{#1})}
50
51 % memoir function to take out of the space out of the whitespace lists
52 \firmlists
53
54 % LATEX NOTE: these lines will import vc stuff after running `make vc` which
55 % will add version control information to the bottom of each page. This can be
56 % useful for keeping track of which version of a document somebody has:
57 % \input{vc}
58 % \pagestyle{mako-mem-git}
59
60 % LATEX NOTE: this alternative line will just input a timestamp at the
61 % build process, useful for sharelatex
62 % \pagestyle{mako-mem-sharelatex}
63
64 \begin{document}
65
66 \setlength{\parskip}{4.5pt}
67 % LATEX NOTE: Ideal linespacing is usually said to be between 120-140% the
68 % typeface size. So, for 12pt (default in this document, we're looking for
69 % somewhere between a 14.4-17.4pt \baselineskip.  Single; 1.5 lines; and Double
70 % in MSWord are equivalent to ~117%, 175%, and 233%.
71
72 \baselineskip 16pt
73
74 \title{Title}
75 \author{Benjamin Mako Hill\\
76         \href{mailto:makohill@uw.edu}{makohill@uw.edu}}
77 \date{}
78
79 \published{\textsc{\textcolor{BrickRed}{This document is an
80   unpublished draft.\\ Please do not distribute or cite without
81   permission.}}}
82
83 \maketitle
84
85 \begin{abstract}
86 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
87 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
88 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
89 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
90 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
91 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
92 fox jumps over the lazy dog.
93 \end{abstract}
94
95 \section{Section}
96
97 % LATEX NOTE: This alphabet below is here so we can measure the line-length of
98 % different layouts.  Typesetters suggest that an average line-length of
99 % between 45-90 characters and a rule of thumb for typesetting is that you
100 % should be able to fit between 2-3 alphabets on one line.  Generally speaking,
101 % the shorter the line length, the better -- and the smaller the linespacing
102 % can become.  The following line is 3 alphabets (73 characters). 
103
104 abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
105
106 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
107 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
108 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
109 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
110 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
111 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
112 fox jumps over the lazy dog \citep{989866}.
113
114 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
115 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
116 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
117 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
118 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
119 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
120 fox jumps over the lazy dog \citep{989866}.
121
122 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
123 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
124 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
125 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
126 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
127 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
128 fox jumps over the lazy dog \citep{989866}.
129
130 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
131 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
132 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
133 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
134 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
135 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
136 fox jumps over the lazy dog \citep{989866}.
137
138 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
139 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
140 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
141 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
142 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
143 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
144 fox jumps over the lazy dog \citep{989866}.
145
146 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
147 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
148 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
149 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
150 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
151 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
152 fox jumps over the lazy dog \citep{989866}.
153
154 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
155 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
156 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
157 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
158 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
159 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
160 fox jumps over the lazy dog \citep{989866}.
161
162 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
163 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
164 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
165 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
166 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
167 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
168 fox jumps over the lazy dog \citep{989866}.
169
170 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
171 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
172 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
173 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
174 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
175 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
176 fox jumps over the lazy dog \citep{989866}.
177
178 % bibliography here
179 \printbibliography[title = {References}, heading=secbib]
180
181
182 \end{document}
183
184 %  LocalWords:  

Benjamin Mako Hill || Want to submit a patch?