]> projects.mako.cc - latex_mako/blobdiff - text.tex
moved over to the new memoir-based template from kjh
[latex_mako] / text.tex
index 74c86dd31c356744ebbf1daef88c5cc2a1af326b..dbed9c41fa0f0a2cf87377a42de7a686a9af6acc 100644 (file)
--- a/text.tex
+++ b/text.tex
@@ -1,4 +1,9 @@
-\documentclass[12pt]{scrartcl}
+\documentclass[12pt]{memoir}
+
+% based on kieran healy's memoir modifications
+\usepackage{mako-mem}
+\chapterstyle{article-2}
+\pagestyle{kjh}
 
 \usepackage{ucs}
 \usepackage[utf8x]{inputenc}
 
 \usepackage{ucs}
 \usepackage[utf8x]{inputenc}
 \usepackage[garamond]{mathdesign}
 
 \usepackage[letterpaper,left=1.2in,right=1.2in,top=1.2in,bottom=1.2in]{geometry}
 \usepackage[garamond]{mathdesign}
 
 \usepackage[letterpaper,left=1.2in,right=1.2in,top=1.2in,bottom=1.2in]{geometry}
-\usepackage{fancyhdr}
 
 
-% \usepackage{url}
-% \usepackage{graphicx}
+% packages i use in essentially every document
+\usepackage{graphicx}
+\usepackage{enumerate}
+
+% packages i use in many documents but leave off by default
 % \usepackage{amsmath, amsthm, amssymb}
 % \usepackage{dcolumn}
 % \usepackage{endfloat}
 
 % \usepackage{amsmath, amsthm, amssymb}
 % \usepackage{dcolumn}
 % \usepackage{endfloat}
 
+% import and customize urls (kjh does this as well, it seems)
+\usepackage[usenames,dvipsnames]{color}
+\usepackage[breaklinks]{hyperref}
+
+\hypersetup{colorlinks=true, linkcolor=Blue, citecolor=Black, filecolor=Blue,
+    urlcolor=Blue, unicode=true}
+
 % add bibliographic stuff 
 \usepackage[round]{natbib}
 % add bibliographic stuff 
 \usepackage[round]{natbib}
-\def\citeapos#1{\citeauthor{#1}'s (\citeyear{#1})}
-
-\newcommand{\titleref}[1]{\textsl{#1}}
+\def\citepos#1{\citeauthor{#1}'s (\citeyear{#1})}
+\def\citespos#1{\citeauthor{#1}' (\citeyear{#1})}
 
 
-\newenvironment{narrow}[2]{%
-  \begin{list}{}{%
-      \setlength{\topsep}{0pt}%
-      \setlength{\leftmargin}{#1}%
-      \setlength{\rightmargin}{#2}%
-      \setlength{\listparindent}{0pt}%
-      \setlength{\itemindent}{0pt}%
-      \setlength{\parsep}{\parskip}}%
-  \item[]}{\end{list}}
+% import vc stuff after running `make vc`: \input{vc} \pagestyle{kjhgit}
 
 \begin{document}
 
 
 \begin{document}
 
-\pagestyle{fancy}
-\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
-\fancyhead{}
-\fancyfoot{}
-\fancyhead[R]{\rm \thepage}
-\fancyhead[L]{\bf \rightmark}
-
 \setlength{\parskip}{4.5pt}
 
 \baselineskip 18.5pt
 
 \title{Title}
 \setlength{\parskip}{4.5pt}
 
 \baselineskip 18.5pt
 
 \title{Title}
-\author{Benjamin Mako Hill}
+\author{Benjamin Mako Hill\\
+        \href{mailto:mako@mit.edu}{mako@mit.edu}}
+
+% \published{\textsc{\textcolor{BrickRed}{This document is an
+% unpublished draft.\\ Please do not distribute or cite with
+% persmission.}}}
+
 \maketitle
 
 \section{Section}
 \maketitle
 
 \section{Section}
@@ -61,6 +65,9 @@ brown fox jumps over the lazy dog.  The quick brown fox jumps over the
 lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown
 fox jumps over the lazy dog \citep{989866}.
 
 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}
 \bibliography{refs}
 \bibliographystyle{chicago}
 
 \bibliography{refs}
 \bibliographystyle{chicago}
 

Benjamin Mako Hill || Want to submit a patch?