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

Community Data Science Collective || Want to submit a patch?