@@ -1,130 +0,0 @@
1−\documentclass$if(fontsize)$[$fontsize$]$endif${article}
2−\usepackage{amssymb,amsmath}
3−$if(xetex)$
4−\usepackage{ifxetex}
5−\ifxetex
6− \usepackage{fontspec,xltxtra,xunicode}
7− \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
8−\else
9− \usepackage[mathletters]{ucs}
10− \usepackage[utf8x]{inputenc}
11−\fi
12−$else$
13−\usepackage[mathletters]{ucs}
14−\usepackage[utf8x]{inputenc}
15−$endif$
16−$if(natbib)$
17−\usepackage{natbib}
18−\bibliographystyle{plainnat}
19−$endif$
20−$if(biblatex)$
21−\usepackage{biblatex}
22−$if(biblio-files)$
23−\bibliography{$biblio-files$}
24−$endif$
25−$endif$
26−$if(lhs)$
27−\usepackage{listings}
28−\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
29−$endif$
30−$if(verbatim-in-note)$
31−\usepackage{fancyvrb}
32−$endif$
33−$if(fancy-enums)$
34−% Redefine labelwidth for lists; otherwise, the enumerate package will cause
35−% markers to extend beyond the left margin.
36−\makeatletter\AtBeginDocument{%
37− \renewcommand{\@listi}
38− {\setlength{\labelwidth}{4em}}
39−}\makeatother
40−\usepackage{enumerate}
41−$endif$
42−$if(tables)$
43−\usepackage{ctable}
44−\usepackage{float} % provides the H option for float placement
45−$endif$
46−$if(strikeout)$
47−\usepackage[normalem]{ulem}
48−% avoid problems with \sout in headers with hyperref:
49−\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
50−$endif$
51−$if(subscript)$
52−\newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
53−$endif$
54−$if(url)$
55−\usepackage{url}
56−$endif$
57−$if(graphics)$
58−\usepackage{graphicx}
59−% We will generate all images so they have a width \maxwidth. This means
60−% that they will get their normal width if they fit onto the page, but
61−% are scaled down if they would overflow the margins.
62−\makeatletter
63−\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth
64−\else\Gin@nat@width\fi}
65−\makeatother
66−\let\Oldincludegraphics\includegraphics
67−\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
68−$endif$
69−\usepackage[breaklinks=true,unicode=true,pdfborder={0 0 0}]{hyperref}
70−\setlength{\parindent}{0pt}
71−\setlength{\parskip}{6pt plus 2pt minus 1pt}
72−$if(listings)$
73−\usepackage{listings}
74−$endif$
75−$if(numbersections)$
76−$else$
77−\setcounter{secnumdepth}{0}
78−$endif$
79−$if(verbatim-in-note)$
80−\VerbatimFootnotes % allows verbatim text in footnotes
81−$endif$
82−$for(header-includes)$
83−$header-includes$
84−$endfor$
85−
86−$if(title)$
87−\title{$title$}
88−$endif$
89−$if(author)$
90−\author{$for(author)$$author$$sep$\\$endfor$}
91−$endif$
92−$if(date)$
93−\date{$date$}
94−$endif$
95−
96−\begin{document}
97−$if(title)$
98−\maketitle
99−$endif$
100−
101−$for(include-before)$
102−$include-before$
103−
104−$endfor$
105−$if(toc)$
106−\tableofcontents
107−
108−$endif$
109−$body$
110−$if(biblio-files)$
111−$if(natbib)$
112−$if(biblio-title)$
113−$if(book-class)$
114−\renewcommand\bibname{$biblio-title$}
115−$else$
116−\renewcommand\refname{$biblio-title$}
117−$endif$
118−$endif$
119−\bibliography{$biblio-files$}
120−$endif$
121−$endif$
122−$if(biblatex)$
123−\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
124−$endif$
125−$for(include-after)$
126−
127−$include-after$
128−$endfor$
129−
130−\end{document}