fixed footnote symbols for \thanks
[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 % list of footnote symbols for \thanks{}
36 \makeatletter
37 \renewcommand*{\@fnsymbol}[1]{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or
38  \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger
39   \or \ddagger\ddagger \else\@ctrerr\fi}}
40 \makeatother
41
42 % add bibliographic stuff 
43 \usepackage[american]{babel}
44 \usepackage{csquotes}
45 \usepackage[natbib=true, style=apa, backend=biber]{biblatex}
46 \addbibresource{refs.bib}
47 \DeclareLanguageMapping{american}{american-apa}
48
49 \defbibheading{secbib}[\bibname]{%
50   \section*{#1}%
51   \markboth{#1}{#1}%
52   \baselineskip 14.2pt%
53   \prebibhook}
54
55 \def\citepos#1{\citeauthor{#1}'s (\citeyear{#1})}
56 \def\citespos#1{\citeauthor{#1}' (\citeyear{#1})}
57
58 % memoir function to take out of the space out of the whitespace lists
59 \firmlists
60
61 % LATEX NOTE: these lines will import vc stuff after running `make vc` which
62 % will add version control information to the bottom of each page. This can be
63 % useful for keeping track of which version of a document somebody has:
64 % \input{vc}
65 % \pagestyle{mako-mem-git}
66
67 % LATEX NOTE: this alternative line will just input a timestamp at the
68 % build process, useful for sharelatex
69 % \pagestyle{mako-mem-sharelatex}
70
71 \begin{document}
72
73 \setlength{\parskip}{4.5pt}
74 % LATEX NOTE: Ideal linespacing is usually said to be between 120-140% the
75 % typeface size. So, for 12pt (default in this document, we're looking for
76 % somewhere between a 14.4-17.4pt \baselineskip.  Single; 1.5 lines; and Double
77 % in MSWord are equivalent to ~117%, 175%, and 233%.
78
79 \baselineskip 16pt
80
81 \title{Title}
82 \author{Benjamin Mako Hill\\
83         \href{mailto:makohill@uw.edu}{makohill@uw.edu}}
84 \date{}
85
86 \published{\textsc{\textcolor{BrickRed}{This document is an
87   unpublished draft.\\ Please do not distribute or cite without
88   permission.}}}
89
90 \maketitle
91
92 \begin{abstract}
93 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
94 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
95 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
96 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
97 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
98 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
99 fox jumps over the lazy dog.
100 \end{abstract}
101
102 \section{Section}
103
104 % LATEX NOTE: This alphabet below is here so we can measure the line-length of
105 % different layouts.  Typesetters suggest that an average line-length of
106 % between 45-90 characters and a rule of thumb for typesetting is that you
107 % should be able to fit between 2-3 alphabets on one line.  Generally speaking,
108 % the shorter the line length, the better -- and the smaller the linespacing
109 % can become.  The following line is 3 alphabets (73 characters). 
110
111 abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
112
113 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
114 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
115 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
116 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
117 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
118 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
119 fox jumps over the lazy dog \citep{989866}.
120
121 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
122 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
123 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
124 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
125 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
126 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
127 fox jumps over the lazy dog \citep{989866}.
128
129 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
130 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
131 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
132 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
133 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
134 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
135 fox jumps over the lazy dog \citep{989866}.
136
137 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
138 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
139 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
140 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
141 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
142 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
143 fox jumps over the lazy dog \citep{989866}.
144
145 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
146 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
147 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
148 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
149 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
150 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
151 fox jumps over the lazy dog \citep{989866}.
152
153 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
154 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
155 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
156 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
157 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
158 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
159 fox jumps over the lazy dog \citep{989866}.
160
161 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
162 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
163 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
164 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
165 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
166 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
167 fox jumps over the lazy dog \citep{989866}.
168
169 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
170 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
171 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
172 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
173 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
174 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
175 fox jumps over the lazy dog \citep{989866}.
176
177 The quick brown fox jumps over the lazy dog.  The quick brown fox jumps
178 over the lazy dog.  The quick brown fox jumps over the lazy dog.  The
179 quick brown fox jumps over the lazy dog.  The quick brown fox jumps over
180 the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick
181 brown fox jumps over the lazy dog.  The quick brown fox jumps over the
182 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
183 fox jumps over the lazy dog \citep{989866}.
184
185 % bibliography here
186 \printbibliography[title = {References}, heading=secbib]
187
188
189 \end{document}
190
191 %  LocalWords:  

Benjamin Mako Hill || Want to submit a patch?