]> projects.mako.cc - latex_mako/blobdiff - paper_template/text.tex
buildstamp alternative to git markings
[latex_mako] / paper_template / text.tex
index 2ae4f9513fa6a5985ecffe0b40500f070f57fdd7..fa5cb320ae130a04e6f4655e6c9ebb5cca655649 100644 (file)
@@ -8,8 +8,7 @@
 % with article-3 \chapterstyle, change to: \pagestyle{memo}
 \pagestyle{mako-mem}
 
-\usepackage{ucs}
-\usepackage[utf8x]{inputenc}
+\usepackage[utf8]{inputenc}
 
 \usepackage[T1]{fontenc}
 \usepackage{textcomp}
     urlcolor=Blue, unicode=true}
 
 % add bibliographic stuff 
-\usepackage[round]{natbib}
+\usepackage[american]{babel}
+\usepackage{csquotes}
+\usepackage[natbib=true, style=apa, backend=biber]{biblatex}
+\addbibresource{refs.bib}
+\DeclareLanguageMapping{american}{american-apa}
+
+\defbibheading{secbib}[\bibname]{%
+  \section*{#1}%
+  \markboth{#1}{#1}%
+  \baselineskip 14.2pt%
+  \prebibhook}
+
 \def\citepos#1{\citeauthor{#1}'s (\citeyear{#1})}
 \def\citespos#1{\citeauthor{#1}' (\citeyear{#1})}
 
 % \input{vc}
 % \pagestyle{mako-mem-git}
 
+% LATEX NOTE: this alternative line will just input a timestamp at the
+% build process, useful for sharelatex
+% \pagestyle{mako-mem-sharelatex}
+
 \begin{document}
 
 \setlength{\parskip}{4.5pt}
@@ -162,10 +176,8 @@ lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
 fox jumps over the lazy dog \citep{989866}.
 
 % bibliography here
-\renewcommand{\bibsection}{\section{\bibname}\prebibhook}
-\baselineskip 14.2pt
-\bibliography{refs-processed}
-\bibliographystyle{apalike}
+\printbibliography[title = {References}, heading=secbib]
+
 
 \end{document}
 

Benjamin Mako Hill || Want to submit a patch?