Created
April 23, 2012 21:33
-
-
Save codeincontext/2474011 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,abstract=on,12pt]{scrartcl} | |
\usepackage{amssymb,amsmath} | |
\usepackage[a4paper]{geometry} | |
\geometry{margin=1in} | |
\usepackage{setspace} | |
\onehalfspacing | |
% These commands keep the koma system from making sans serif section headings | |
% \setkomafont{title}{\rmfamily\mdseries\upshape\normalsize} | |
% \setkomafont{sectioning}{\rmfamily\mdseries\upshape\normalsize} | |
% \setkomafont{descriptionlabel}{\rmfamily\mdseries\upshape\normalsize} | |
\usepackage{natbib} | |
\bibliographystyle{plainnat} | |
\bibpunct{(}{)}{;}{a}{,}{,} | |
% \renewcommand\bibname{$biblio-title$} | |
% \renewcommand\refname{$biblio-title$} | |
\author{Adam Howard} | |
% \usepackage{booktabs} %tables | |
% \usepackage{listings} % code | |
% \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} | |
% \usepackage{fancyvrb} % verbatim footnote things | |
% \VerbatimFootnotes % allows verbatim text in footnotes | |
% \usepackage{ctable} % tables | |
% \usepackage{float} % provides the H option for float placement | |
% \usepackage{url} % urls | |
% Redefine labelwidth for lists; otherwise, the enumerate package will cause | |
% markers to extend beyond the left margin. | |
\makeatletter\AtBeginDocument{% | |
\renewcommand{\@listi} | |
{\setlength{\labelwidth}{4em}} | |
}\makeatother | |
\usepackage{enumerate} | |
\usepackage{graphicx} | |
\makeatletter | |
\def\maxwidth{\ifdim\Gin@nat@width>.6\linewidth.6\linewidth | |
\else\Gin@nat@width\fi} | |
\def\maxheight{\ifdim\Gin@nat@height>.6\linewidth.6\linewidth | |
\else\Gin@nat@height\fi} | |
\makeatother | |
\let\Oldincludegraphics\includegraphics | |
\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth,height=\maxheight,keepaspectratio]{#1}} | |
\usepackage[unicode=true, | |
bookmarks=true, | |
pdfauthor={$author-meta$}, | |
pdftitle={$title-meta$}, | |
colorlinks=true, | |
linkcolor=blue]{hyperref} | |
\hypersetup{breaklinks=true, pdfborder={0 0 0}} | |
% \usepackage[normalem]{ulem} %strikeout | |
% \pdfstringdefDisableCommands{\renewcommand{\sout}{}} % avoid problems with \sout in headers with hyperref | |
% \newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}} % subscript | |
\setlength{\parindent}{0pt} | |
\setlength{\parskip}{6pt plus 2pt minus 1pt} | |
\setlength{\emergencystretch}{3em} % prevent overfull lines | |
% \setcounter{secnumdepth}{0} % remove numbered sections | |
\begin{document} | |
$body$ | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment