├── README.markdown ├── cv.tex ├── default.asciidoc ├── default.beamer ├── default.context ├── default.docbook ├── default.dokuwiki ├── default.dzslides ├── default.epub ├── default.epub3 ├── default.haddock ├── default.html ├── default.html5 ├── default.icml ├── default.latex ├── default.man ├── default.markdown ├── default.mediawiki ├── default.opendocument ├── default.opml ├── default.org ├── default.plain ├── default.revealjs ├── default.rst ├── default.rtf ├── default.s5 ├── default.slideous ├── default.slidy ├── default.texinfo ├── default.textile ├── email.tex ├── fancyvita.tex ├── handout.tex ├── pdfletter.tex ├── printletter.tex ├── slidenotes.tex ├── syllabus.tex └── website.html /README.markdown: -------------------------------------------------------------------------------- 1 | Templates for [pandoc](http://github.com/jgm/pandoc). 2 | 3 | If you use custom templates, we recommend forking this repository, 4 | so that you can integrate changes to the default templates in future 5 | pandoc releases. 6 | -------------------------------------------------------------------------------- /cv.tex: -------------------------------------------------------------------------------- 1 | \documentclass[12pt]{article} 2 | 3 | %%% Create handing indent after first line 4 | %%% Based on template by Kieran Healy 5 | %%% Most recent version of his is at http://kjhealy.github.com/kjh-vita 6 | \def\ind{\hangindent=1 true cm\hangafter=1 \noindent} 7 | 8 | %%% Change with your own information 9 | \def\myauthor{W. Caleb McDaniel} 10 | \def\mytitle{Vita} 11 | \def\mycopyright{\myauthor} 12 | \def\mykeywords{} 13 | \def\mybibliostyle{plain} 14 | \def\mybibliocommand{} 15 | \def\mysubtitle{} 16 | \def\myaffiliation{Rice University} 17 | \def\myaddress{History Department} 18 | \def\myemail{caleb.mcdaniel@rice.edu} 19 | \def\myweb{http://wcm1.web.rice.edu} 20 | \def\myphone{(713) 348-2556} 21 | \def\myfax{(713) 348-5207} 22 | \def\myversion{} 23 | \def\myrevision{} 24 | \def\myaffiliation{Rice University} 25 | \def\myauthor{W. Caleb McDaniel} 26 | \def\mykeywords{McDaniel, Caleb, Caleb McDaniel, History, Vita, CV} 27 | 28 | \usepackage{amssymb,amsmath} 29 | \usepackage{ifxetex,ifluatex} 30 | \usepackage{fancyhdr} 31 | \pagestyle{plain} 32 | \frenchspacing 33 | \ifxetex 34 | \usepackage{fontspec,xltxtra,xunicode} 35 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 36 | \setmainfont{Linux Libertine O} 37 | \setmonofont{Inconsolata} 38 | \else 39 | \ifluatex 40 | \usepackage{fontspec} 41 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 42 | \else 43 | \usepackage[utf8]{inputenc} 44 | \fi 45 | \fi 46 | $if(listings)$ 47 | \usepackage{listings} 48 | $endif$ 49 | $if(verbatim-in-note)$ 50 | \usepackage{fancyvrb} 51 | $endif$ 52 | $if(fancy-enums)$ 53 | % Redefine labelwidth for lists; otherwise, the enumerate package will cause 54 | % markers to extend beyond the left margin. 55 | \makeatletter\AtBeginDocument{% 56 | \renewcommand{\@listi} 57 | {\setlength{\labelwidth}{4em}} 58 | }\makeatother 59 | \usepackage{enumerate} 60 | $endif$ 61 | $if(tables)$ 62 | \usepackage{ctable} 63 | \usepackage{float} % provides the H option for float placement 64 | $endif$ 65 | $if(url)$ 66 | \usepackage{url} 67 | $endif$ 68 | $if(graphics)$ 69 | \usepackage{graphicx} 70 | % We will generate all images so they have a width \maxwidth. This means 71 | % that they will get their normal width if they fit onto the page, but 72 | % are scaled down if they would overflow the margins. 73 | \makeatletter 74 | \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth 75 | \else\Gin@nat@width\fi} 76 | \makeatother 77 | \let\Oldincludegraphics\includegraphics 78 | \renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} 79 | $endif$ 80 | \ifxetex 81 | \usepackage[setpagesize=false, % page size defined by xetex 82 | unicode=false, % unicode breaks when used with xetex 83 | xetex, 84 | colorlinks=true, 85 | linkcolor=blue]{hyperref} 86 | \else 87 | \usepackage[unicode=true, 88 | colorlinks=true, 89 | linkcolor=blue]{hyperref} 90 | \fi 91 | \hypersetup{breaklinks=true, colorlinks=false, pdfborder={0 0 0}} 92 | $if(strikeout)$ 93 | \usepackage[normalem]{ulem} 94 | % avoid problems with \sout in headers with hyperref: 95 | \pdfstringdefDisableCommands{\renewcommand{\sout}{}} 96 | $endif$ 97 | $if(subscript)$ 98 | \newcommand{\textsubscr}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}} 99 | $endif$ 100 | % \setlength{\parindent}{0pt} 101 | % \setlength{\parskip}{6pt plus 2pt minus 1pt} 102 | \setlength{\emergencystretch}{3em} % prevent overfull lines 103 | $if(numbersections)$ 104 | $else$ 105 | \setcounter{secnumdepth}{0} 106 | $endif$ 107 | $if(verbatim-in-note)$ 108 | \VerbatimFootnotes % allows verbatim text in footnotes 109 | $endif$ 110 | $if(lang)$ 111 | \usepackage[$lang$]{babel} 112 | $endif$ 113 | $for(header-includes)$ 114 | $header-includes$ 115 | $endfor$ 116 | 117 | \widowpenalty=2000 118 | \clubpenalty=2000 119 | \begin{document} 120 | \thispagestyle{fancy} 121 | \fancyfoot{} 122 | \fancyhead{} 123 | \renewcommand{\headrulewidth}{0pt} 124 | %%% The next line will put the date revised in footer of first page 125 | \rfoot{\texttt{\scriptsize Current as of \today}} 126 | 127 | \begin{minipage}[t]{2.95in} 128 | \flushright {\footnotesize \href{http://history.rice.edu}{Department of History} \\ Rice University - MS 42 \\ P.O. Box 1892 \\ \vspace{-0.05in} Houston, TX 77251-1892} 129 | \end{minipage} 130 | \hfill 131 | %\begin{minipage}[t]{0.0in} 132 | % dummy (needed here) 133 | %\end{minipage} 134 | \hfill 135 | \begin{minipage}[t]{1.7in} 136 | \flushright \footnotesize Phone: \myphone \\ 137 | Fax: \myfax \\ 138 | {\footnotesize \texttt{\href{mailto:\myemail}{\myemail}}} \\ 139 | \vspace{-0.1em}{\footnotesize \texttt{\href{\myweb}{\myweb}}} 140 | \end{minipage} 141 | 142 | %% Name 143 | \vspace{0.5in} 144 | \noindent{\LARGE{\textbf{W. Caleb McDaniel}}} 145 | \reversemarginpar 146 | 147 | %% Positions 148 | \section{Positions} 149 | \ind Rice University, Assistant Professor of History (2008-Present) 150 | 151 | \ind University of Denver, Assistant Professor of History (2006-2008) 152 | 153 | %% Education 154 | \section{Education} 155 | 156 | \ind Ph.D, History, Johns Hopkins University 2006. Dissertation: \emph{Our Country is the World: Radical American Abolitionists Abroad}. %\vspace{-0.1in} 157 | 158 | \ind M.A., Philosophy, Texas A\&M University, 2001. 159 | 160 | \ind B.A., History, Texas A\&M University, 2000. \emph{Summa Cum Laude} 161 | 162 | %% Current Research 163 | \section{Current Research} 164 | 165 | \noindent{I am currently conducting research for an article called ``Confederate Rehearsal for Reconstruction: The Trans-Mississippi and the Wartime Genesis of Forced Labor, 1862-1876,'' part of a larger book project on slavery, emancipation, and their legacies in Texas and neighboring states.} 166 | 167 | \indent Visit \url{http://wiki.wcaleb.rice.edu} for more information. 168 | 169 | %% Book 170 | \section{Publications} 171 | 172 | \subsection{Book} 173 | 174 | \ind \emph{The Problem of Democracy in the Age of Slavery: Garrisonian Abolitionists and Transatlantic Reform} (Louisiana State University Press, 2013). 175 | 176 | \ind Winner of the 2014 Merle Curti Award for Best Book in American Intellectual History from the Organization of American Historians. 177 | 178 | $for(include-before)$ 179 | $include-before$ 180 | 181 | $endfor$ 182 | $if(toc)$ 183 | \tableofcontents 184 | $endif$ 185 | 186 | $body$ 187 | 188 | $for(include-after)$ 189 | $include-after$ 190 | 191 | $endfor$ 192 | \end{document} 193 | -------------------------------------------------------------------------------- /default.asciidoc: -------------------------------------------------------------------------------- 1 | $if(titleblock)$ 2 | $title$ 3 | $for(author)$ 4 | :author: $author$ 5 | $endfor$ 6 | $if(date)$ 7 | :date: $date$ 8 | $endif$ 9 | $if(toc)$ 10 | :toc: 11 | $endif$ 12 | 13 | $endif$ 14 | $for(header-includes)$ 15 | $header-includes$ 16 | 17 | $endfor$ 18 | $for(include-before)$ 19 | $include-before$ 20 | 21 | $endfor$ 22 | $body$ 23 | $for(include-after)$ 24 | 25 | $include-after$ 26 | $endfor$ 27 | -------------------------------------------------------------------------------- /default.beamer: -------------------------------------------------------------------------------- 1 | \documentclass[$if(fontsize)$$fontsize$,$endif$$if(handout)$handout,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} 2 | $if(theme)$ 3 | \usetheme{$theme$} 4 | $endif$ 5 | \setbeamertemplate{navigation symbols}{} 6 | $if(colortheme)$ 7 | \usecolortheme{$colortheme$} 8 | $endif$ 9 | $if(fonttheme)$ 10 | \usefonttheme{$fonttheme$} 11 | $endif$ 12 | \setbeamertemplate{caption}[numbered] 13 | \setbeamertemplate{caption label separator}{:} 14 | \setbeamercolor{caption name}{fg=normal text.fg} 15 | \usepackage{amssymb,amsmath} 16 | \usepackage{ifxetex,ifluatex} 17 | \usepackage{fixltx2e} % provides \textsubscript 18 | \usepackage{lmodern} 19 | \ifxetex 20 | \usepackage{fontspec,xltxtra,xunicode} 21 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 22 | \newcommand{\euro}{€} 23 | \else 24 | \ifluatex 25 | \usepackage{fontspec} 26 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 27 | \newcommand{\euro}{€} 28 | \else 29 | \usepackage[T1]{fontenc} 30 | \usepackage[utf8]{inputenc} 31 | $if(euro)$ 32 | \usepackage{eurosym} 33 | $endif$ 34 | \fi 35 | \fi 36 | % use upquote if available, for straight quotes in verbatim environments 37 | \IfFileExists{upquote.sty}{\usepackage{upquote}}{} 38 | % use microtype if available 39 | \IfFileExists{microtype.sty}{\usepackage{microtype}}{} 40 | $if(natbib)$ 41 | \usepackage{natbib} 42 | \bibliographystyle{plainnat} 43 | $endif$ 44 | $if(biblatex)$ 45 | \usepackage{biblatex} 46 | $if(biblio-files)$ 47 | \bibliography{$biblio-files$} 48 | $endif$ 49 | $endif$ 50 | $if(listings)$ 51 | \usepackage{listings} 52 | $endif$ 53 | $if(lhs)$ 54 | \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} 55 | $endif$ 56 | $if(highlighting-macros)$ 57 | $highlighting-macros$ 58 | $endif$ 59 | $if(verbatim-in-note)$ 60 | \usepackage{fancyvrb} 61 | $endif$ 62 | $if(tables)$ 63 | \usepackage{longtable,booktabs} 64 | \usepackage{caption} 65 | % These lines are needed to make table captions work with longtable: 66 | \makeatletter 67 | \def\fnum@table{\tablename~\thetable} 68 | \makeatother 69 | $endif$ 70 | $if(url)$ 71 | \usepackage{url} 72 | $endif$ 73 | $if(graphics)$ 74 | \usepackage{graphicx} 75 | % <<<<<<< HEAD 76 | % Remove prefix from captions 77 | \usepackage[labelformat=empty]{caption} 78 | % \makeatletter 79 | % \def\ScaleIfNeededW{% 80 | % \ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} 81 | % \def\ScaleIfNeededH{% 82 | % \ifdim\Gin@nat@height>\textheight0.9\textheight\else\Gin@nat@height\fi} 83 | % \makeatother 84 | % \setkeys{Gin}{width=\ScaleIfNeededW,height=\ScaleIfNeededH,keepaspectratio} 85 | \usepackage{letltxmacro} 86 | \makeatletter 87 | \def\maxheight{\ifdim\Gin@nat@height>550pt\550pt\else\Gin@nat@height\fi} 88 | \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} 89 | \makeatother 90 | \AtBeginDocument{ 91 | \LetLtxMacro\Oldincludegraphics\includegraphics 92 | \renewcommand{\includegraphics}[2][]{% 93 | \Oldincludegraphics[#1,width=\maxwidth]{#2}} 94 | } 95 | $endif$ 96 | % ======= 97 | % \makeatletter 98 | % \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} 99 | % \def\maxheight{\ifdim\Gin@nat@height>\textheight0.8\textheight\else\Gin@nat@height\fi} 100 | % \makeatother 101 | % Scale images if necessary, so that they will not overflow the page 102 | % margins by default, and it is still possible to overwrite the defaults 103 | % using explicit options in \includegraphics[width, height, ...]{} 104 | % \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} 105 | % >>>>>>> upstream/master 106 | 107 | % Comment these out if you don't want a slide with just the 108 | % part/section/subsection/subsubsection title: 109 | \AtBeginPart{ 110 | \let\insertpartnumber\relax 111 | \let\partname\relax 112 | \frame{\partpage} 113 | } 114 | \AtBeginSection{ 115 | \let\insertsectionnumber\relax 116 | \let\sectionname\relax 117 | \frame{\sectionpage} 118 | } 119 | \AtBeginSubsection{ 120 | \let\insertsubsectionnumber\relax 121 | \let\subsectionname\relax 122 | \frame{\subsectionpage} 123 | } 124 | 125 | $if(strikeout)$ 126 | \usepackage[normalem]{ulem} 127 | % avoid problems with \sout in headers with hyperref: 128 | \pdfstringdefDisableCommands{\renewcommand{\sout}{}} 129 | $endif$ 130 | \setlength{\parindent}{0pt} 131 | \setlength{\parskip}{6pt plus 2pt minus 1pt} 132 | \setlength{\emergencystretch}{3em} % prevent overfull lines 133 | $if(numbersections)$ 134 | $else$ 135 | \setcounter{secnumdepth}{0} 136 | $endif$ 137 | $if(verbatim-in-note)$ 138 | \VerbatimFootnotes % allows verbatim text in footnotes 139 | $endif$ 140 | $if(lang)$ 141 | \usepackage[$lang$]{babel} 142 | $endif$ 143 | $for(header-includes)$ 144 | $header-includes$ 145 | $endfor$ 146 | 147 | $if(title)$ 148 | \title{$title$} 149 | $endif$ 150 | $if(subtitle)$ 151 | \subtitle{$subtitle$} 152 | $endif$ 153 | $if(author)$ 154 | \author{$for(author)$$author$$sep$ \and $endfor$} 155 | $endif$ 156 | \date{$date$} 157 | 158 | % Turn off section headlines 159 | \setbeamertemplate{headline} 160 | 161 | 162 | \begin{document} 163 | $if(title)$ 164 | \frame{\titlepage} 165 | $endif$ 166 | 167 | $for(include-before)$ 168 | $include-before$ 169 | 170 | $endfor$ 171 | $if(toc)$ 172 | \begin{frame} 173 | \tableofcontents[hideallsubsections] 174 | \end{frame} 175 | 176 | $endif$ 177 | $body$ 178 | 179 | $if(natbib)$ 180 | $if(biblio-files)$ 181 | $if(biblio-title)$ 182 | $if(book-class)$ 183 | \renewcommand\bibname{$biblio-title$} 184 | $else$ 185 | \renewcommand\refname{$biblio-title$} 186 | $endif$ 187 | $endif$ 188 | \begin{frame}[allowframebreaks]{$biblio-title$} 189 | \bibliography{$biblio-files$} 190 | \end{frame} 191 | 192 | $endif$ 193 | $endif$ 194 | $if(biblatex)$ 195 | \begin{frame}[allowframebreaks]{$biblio-title$} 196 | \printbibliography[heading=none] 197 | \end{frame} 198 | 199 | $endif$ 200 | $for(include-after)$ 201 | $include-after$ 202 | 203 | $endfor$ 204 | \end{document} 205 | -------------------------------------------------------------------------------- /default.context: -------------------------------------------------------------------------------- 1 | \startmode[*mkii] 2 | \enableregime[utf-8] 3 | \setupcolors[state=start] 4 | \stopmode 5 | $if(mainlang)$ 6 | \mainlanguage[$mainlang$] 7 | $endif$ 8 | 9 | % Enable hyperlinks 10 | \setupinteraction[state=start, color=middleblue] 11 | 12 | \setuppapersize [$if(papersize)$$papersize$$else$letter$endif$][$if(papersize)$$papersize$$else$letter$endif$] 13 | \setuplayout [width=middle, backspace=1.5in, cutspace=1.5in, 14 | height=middle, topspace=0.75in, bottomspace=0.75in] 15 | 16 | \setuppagenumbering[location={footer,center}] 17 | 18 | \setupbodyfont[11pt] 19 | 20 | \setupwhitespace[medium] 21 | 22 | \setuphead[chapter] [style=\tfd] 23 | \setuphead[section] [style=\tfc] 24 | \setuphead[subsection] [style=\tfb] 25 | \setuphead[subsubsection][style=\bf] 26 | 27 | $if(number-sections)$ 28 | $else$ 29 | \setuphead[chapter, section, subsection, subsubsection][number=no] 30 | $endif$ 31 | 32 | \definedescription 33 | [description] 34 | [headstyle=bold, style=normal, location=hanging, width=broad, margin=1cm] 35 | 36 | \setupitemize[autointro] % prevent orphan list intro 37 | \setupitemize[indentnext=no] 38 | 39 | \setupfloat[figure][default={here,nonumber}] 40 | \setupfloat[table][default={here,nonumber}] 41 | 42 | \setupthinrules[width=15em] % width of horizontal rules 43 | 44 | \setupdelimitedtext 45 | [blockquote] 46 | [before={\blank[medium]}, 47 | after={\blank[medium]}, 48 | indentnext=no, 49 | ] 50 | 51 | $if(toc)$ 52 | \setupcombinedlist[content][list={$placelist$}] 53 | 54 | $endif$ 55 | $for(header-includes)$ 56 | $header-includes$ 57 | $endfor$ 58 | 59 | \starttext 60 | $if(title)$ 61 | \startalignment[center] 62 | \blank[2*big] 63 | {\tfd $title$} 64 | $if(author)$ 65 | \blank[3*medium] 66 | {\tfa $for(author)$$author$$sep$\crlf $endfor$} 67 | $endif$ 68 | $if(date)$ 69 | \blank[2*medium] 70 | {\tfa $date$} 71 | $endif$ 72 | \blank[3*medium] 73 | \stopalignment 74 | $endif$ 75 | $for(include-before)$ 76 | $include-before$ 77 | $endfor$ 78 | $if(toc)$ 79 | \placecontent 80 | $endif$ 81 | 82 | $body$ 83 | 84 | $for(include-after)$ 85 | $include-after$ 86 | $endfor$ 87 | \stoptext 88 | -------------------------------------------------------------------------------- /default.docbook: -------------------------------------------------------------------------------- 1 | 2 | $if(mathml)$ 3 | 5 | $else$ 6 | 8 | $endif$ 9 |
10 | 11 | $title$ 12 | $if(author)$ 13 | 14 | $for(author)$ 15 | 16 | $author$ 17 | 18 | $endfor$ 19 | 20 | $endif$ 21 | $if(date)$ 22 | $date$ 23 | $endif$ 24 | 25 | $for(include-before)$ 26 | $include-before$ 27 | $endfor$ 28 | $body$ 29 | $for(include-after)$ 30 | $include-after$ 31 | $endfor$ 32 |
33 | -------------------------------------------------------------------------------- /default.dokuwiki: -------------------------------------------------------------------------------- 1 | $for(include-before)$ 2 | $include-before$ 3 | 4 | $endfor$ 5 | $if(toc)$ 6 | __TOC__ 7 | 8 | $endif$ 9 | $body$ 10 | $for(include-after)$ 11 | 12 | $include-after$ 13 | $endfor$ 14 | -------------------------------------------------------------------------------- /default.dzslides: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $for(author-meta)$ 5 | 6 | $endfor$ 7 | $if(date-meta)$ 8 | 9 | $endif$ 10 | $if(title-prefix)$$title-prefix$ - $endif$$pagetitle$ 11 | 12 | $if(highlighting-css)$ 13 | 16 | $endif$ 17 | $if(css)$ 18 | $for(css)$ 19 | 20 | $endfor$ 21 | $else$ 22 | 93 | $endif$ 94 | $if(math)$ 95 | $math$ 96 | $endif$ 97 | $for(header-includes)$ 98 | $header-includes$ 99 | $endfor$ 100 | 101 | 102 | $if(title)$ 103 |
104 |

$title$

105 | $if(subtitle)$ 106 |

$subtitle$

107 | $endif$ 108 | $for(author)$ 109 |

$author$

110 | $endfor$ 111 |

$date$

112 |
113 | $endif$ 114 | $for(include-before)$ 115 | $include-before$ 116 | $endfor$ 117 | $body$ 118 | $for(include-after)$ 119 | $include-after$ 120 | $endfor$ 121 | $dzslides-core$ 122 | 123 | 124 | -------------------------------------------------------------------------------- /default.epub: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | $pagetitle$ 9 | $if(highlighting-css)$ 10 | 13 | $endif$ 14 | $for(css)$ 15 | 16 | $endfor$ 17 | 18 | 19 | $if(titlepage)$ 20 |

$title$

21 | $if(subtitle)$ 22 |

$subtitle$

23 | $endif$ 24 | $for(author)$ 25 |

$author$

26 | $endfor$ 27 | $if(date)$ 28 |

$date$

29 | $endif$ 30 | $else$ 31 | $body$ 32 | $endif$ 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /default.epub3: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | $pagetitle$ 8 | $if(quotes)$ 9 | 12 | $endif$ 13 | $if(highlighting-css)$ 14 | 17 | $endif$ 18 | $for(css)$ 19 | 20 | $endfor$ 21 | 22 | 23 | $if(titlepage)$ 24 |

$title$

25 | $if(subtitle)$ 26 |

$subtitle$

27 | $endif$ 28 | $for(author)$ 29 |

$author$

30 | $endfor$ 31 | $if(date)$ 32 |

$date$

33 | $endif$ 34 | $else$ 35 | $body$ 36 | $endif$ 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /default.haddock: -------------------------------------------------------------------------------- 1 | $body$ 2 | -------------------------------------------------------------------------------- /default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | $for(author-meta)$ 8 | 9 | $endfor$ 10 | $if(date-meta)$ 11 | 12 | $endif$ 13 | $if(title-prefix)$$title-prefix$ - $endif$$pagetitle$ 14 | 15 | $if(quotes)$ 16 | 17 | $endif$ 18 | $if(highlighting-css)$ 19 | 22 | $endif$ 23 | $for(css)$ 24 | 25 | $endfor$ 26 | $if(math)$ 27 | $math$ 28 | $endif$ 29 | $for(header-includes)$ 30 | $header-includes$ 31 | $endfor$ 32 | 33 | 34 | $for(include-before)$ 35 | $include-before$ 36 | $endfor$ 37 | $if(title)$ 38 |
39 |

$title$

40 | $if(subtitle)$ 41 |

$subtitle$

42 | $endif$ 43 | $for(author)$ 44 |

$author$

45 | $endfor$ 46 | $if(date)$ 47 |

$date$

48 | $endif$ 49 |
50 | $endif$ 51 | $if(toc)$ 52 |
53 | $toc$ 54 |
55 | $endif$ 56 | $body$ 57 | $for(include-after)$ 58 | $include-after$ 59 | $endfor$ 60 | 61 | 62 | -------------------------------------------------------------------------------- /default.html5: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | $for(author-meta)$ 8 | 9 | $endfor$ 10 | $if(date-meta)$ 11 | 12 | $endif$ 13 | $if(title-prefix)$$title-prefix$ - $endif$$pagetitle$ 14 | 15 | 18 | $if(quotes)$ 19 | 20 | $endif$ 21 | $if(highlighting-css)$ 22 | 25 | $endif$ 26 | $for(css)$ 27 | 28 | $endfor$ 29 | $if(math)$ 30 | $math$ 31 | $endif$ 32 | $for(header-includes)$ 33 | $header-includes$ 34 | $endfor$ 35 | 36 | 37 | $for(include-before)$ 38 | $include-before$ 39 | $endfor$ 40 | $if(title)$ 41 |
42 |

$title$

43 | $if(subtitle)$ 44 |

$subtitle$

45 | $endif$ 46 | $for(author)$ 47 |

$author$

48 | $endfor$ 49 | $if(date)$ 50 |

$date$

51 | $endif$ 52 |
53 | $endif$ 54 | $if(toc)$ 55 | 58 | $endif$ 59 | $body$ 60 | $for(include-after)$ 61 | $include-after$ 62 | $endfor$ 63 | 64 | 65 | -------------------------------------------------------------------------------- /default.icml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | $charStyles$ 8 | 9 | 10 | 12 | 13 | 14 | 15 | LeftAlign 16 | . 17 | 18 | 10 19 | 20 | 21 | 22 | 23 | $parStyles$ 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 36 | 37 | 38 | 39 | $body$ 40 | 41 | 42 | $hyperlinks$ 43 | 44 | -------------------------------------------------------------------------------- /default.latex: -------------------------------------------------------------------------------- 1 | \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} 2 | 3 | 4 | $if(fullpage)$ 5 | \usepackage{fullpage} 6 | $endif$ 7 | $if(lineno)$ 8 | \usepackage[modulo]{lineno} 9 | \linenumbers 10 | $endif$ 11 | \usepackage{fancyhdr} 12 | \pagestyle{plain} 13 | 14 | 15 | $if(fontfamily)$ 16 | \usepackage{$fontfamily$} 17 | $else$ 18 | \usepackage{lmodern} 19 | $endif$ 20 | $if(linestretch)$ 21 | \usepackage{setspace} 22 | \setstretch{$linestretch$} 23 | $endif$ 24 | \usepackage{amssymb,amsmath} 25 | \usepackage{ifxetex,ifluatex} 26 | \usepackage{fixltx2e} % provides \textsubscript 27 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex 28 | \usepackage[T1]{fontenc} 29 | \usepackage[utf8]{inputenc} 30 | $if(euro)$ 31 | \usepackage{eurosym} 32 | $endif$ 33 | \else % if luatex or xelatex 34 | \ifxetex 35 | \usepackage{mathspec} 36 | \usepackage{xltxtra,xunicode} 37 | \else 38 | \usepackage{fontspec} 39 | \fi 40 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 41 | \newcommand{\euro}{€} 42 | $if(mainfont)$ 43 | \setmainfont{$mainfont$} 44 | $endif$ 45 | $if(sansfont)$ 46 | \setsansfont{$sansfont$} 47 | $endif$ 48 | $if(monofont)$ 49 | \setmonofont[Mapping=tex-ansi]{$monofont$} 50 | $endif$ 51 | $if(mathfont)$ 52 | \setmathfont(Digits,Latin,Greek){$mathfont$} 53 | $endif$ 54 | \fi 55 | % use upquote if available, for straight quotes in verbatim environments 56 | \IfFileExists{upquote.sty}{\usepackage{upquote}}{} 57 | % use microtype if available 58 | \IfFileExists{microtype.sty}{\usepackage{microtype}}{} 59 | $if(geometry)$ 60 | \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} 61 | $endif$ 62 | $if(natbib)$ 63 | \usepackage{natbib} 64 | \bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} 65 | $endif$ 66 | $if(biblatex)$ 67 | \usepackage{biblatex} 68 | $if(biblio-files)$ 69 | \bibliography{$biblio-files$} 70 | $endif$ 71 | $endif$ 72 | $if(listings)$ 73 | \usepackage{listings} 74 | $endif$ 75 | $if(lhs)$ 76 | \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} 77 | $endif$ 78 | $if(highlighting-macros)$ 79 | $highlighting-macros$ 80 | $endif$ 81 | $if(verbatim-in-note)$ 82 | \usepackage{fancyvrb} 83 | $endif$ 84 | $if(tables)$ 85 | \usepackage{longtable,booktabs} 86 | $endif$ 87 | \usepackage{float} % provides the H option for float placement 88 | $if(url)$ 89 | \usepackage{url} 90 | $endif$ 91 | $if(graphics)$ 92 | \usepackage{graphicx} 93 | \makeatletter 94 | \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} 95 | \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} 96 | \makeatother 97 | % Scale images if necessary, so that they will not overflow the page 98 | % margins by default, and it is still possible to overwrite the defaults 99 | % using explicit options in \includegraphics[width, height, ...]{} 100 | \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} 101 | $endif$ 102 | \ifxetex 103 | \usepackage[setpagesize=false, % page size defined by xetex 104 | unicode=false, % unicode breaks when used with xetex 105 | xetex]{hyperref} 106 | \else 107 | \usepackage[unicode=true]{hyperref} 108 | \fi 109 | \hypersetup{breaklinks=true, 110 | bookmarks=true, 111 | pdfauthor={$author-meta$}, 112 | pdftitle={$title-meta$}, 113 | colorlinks=true, 114 | citecolor=$if(citecolor)$$citecolor$$else$blue$endif$, 115 | urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$, 116 | linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$, 117 | pdfborder={0 0 0}} 118 | \urlstyle{same} % don't use monospace font for urls 119 | $if(links-as-notes)$ 120 | % Make links footnotes instead of hotlinks: 121 | \renewcommand{\href}[2]{#2\footnote{\url{#1}}} 122 | $endif$ 123 | $if(strikeout)$ 124 | \usepackage[normalem]{ulem} 125 | % avoid problems with \sout in headers with hyperref: 126 | \pdfstringdefDisableCommands{\renewcommand{\sout}{}} 127 | $endif$ 128 | % \setlength{\parindent}{0pt} 129 | % \setlength{\parskip}{6pt plus 2pt minus 1pt} 130 | \setlength{\emergencystretch}{3em} % prevent overfull lines 131 | $if(numbersections)$ 132 | \setcounter{secnumdepth}{5} 133 | $else$ 134 | \setcounter{secnumdepth}{0} 135 | $endif$ 136 | $if(verbatim-in-note)$ 137 | \VerbatimFootnotes % allows verbatim text in footnotes 138 | $endif$ 139 | $if(lang)$ 140 | \ifxetex 141 | \usepackage{polyglossia} 142 | \setmainlanguage{$mainlang$} 143 | \else 144 | \usepackage[$lang$]{babel} 145 | \fi 146 | $endif$ 147 | 148 | $if(title)$ 149 | \title{$title$$if(subtitle)$\\\vspace{0.5em}{\large $subtitle$}$endif$} 150 | $endif$ 151 | $if(author)$ 152 | \author{$for(author)$$author$$sep$ \and $endfor$} 153 | $endif$ 154 | \date{$date$} 155 | $for(header-includes)$ 156 | $header-includes$ 157 | $endfor$ 158 | 159 | 160 | \widowpenalty=2000 161 | \clubpenalty=2000 162 | \begin{document} 163 | $if(title)$ 164 | \maketitle 165 | $endif$ 166 | $if(abstract)$ 167 | \begin{abstract} 168 | $abstract$ 169 | \end{abstract} 170 | $endif$ 171 | 172 | $for(include-before)$ 173 | $include-before$ 174 | 175 | $endfor$ 176 | $if(toc)$ 177 | { 178 | \hypersetup{linkcolor=black} 179 | \setcounter{tocdepth}{$toc-depth$} 180 | \tableofcontents 181 | } 182 | $endif$ 183 | $body$ 184 | 185 | $if(natbib)$ 186 | $if(biblio-files)$ 187 | $if(biblio-title)$ 188 | $if(book-class)$ 189 | \renewcommand\bibname{$biblio-title$} 190 | $else$ 191 | \renewcommand\refname{$biblio-title$} 192 | $endif$ 193 | $endif$ 194 | \bibliography{$biblio-files$} 195 | 196 | $endif$ 197 | $endif$ 198 | $if(biblatex)$ 199 | \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ 200 | 201 | $endif$ 202 | $for(include-after)$ 203 | $include-after$ 204 | 205 | $endfor$ 206 | \end{document} 207 | -------------------------------------------------------------------------------- /default.man: -------------------------------------------------------------------------------- 1 | $if(has-tables)$ 2 | .\"t 3 | $endif$ 4 | .TH "$title$" "$section$" "$date$" "$footer$" "$header$" 5 | $for(header-includes)$ 6 | $header-includes$ 7 | $endfor$ 8 | $for(include-before)$ 9 | $include-before$ 10 | $endfor$ 11 | $body$ 12 | $for(include-after)$ 13 | $include-after$ 14 | $endfor$ 15 | $if(author)$ 16 | .SH AUTHORS 17 | $for(author)$$author$$sep$; $endfor$. 18 | $endif$ 19 | -------------------------------------------------------------------------------- /default.markdown: -------------------------------------------------------------------------------- 1 | $if(titleblock)$ 2 | $titleblock$ 3 | 4 | $endif$ 5 | $for(header-includes)$ 6 | $header-includes$ 7 | 8 | $endfor$ 9 | $for(include-before)$ 10 | $include-before$ 11 | 12 | $endfor$ 13 | $if(toc)$ 14 | $toc$ 15 | 16 | $endif$ 17 | $body$ 18 | $for(include-after)$ 19 | 20 | $include-after$ 21 | $endfor$ 22 | -------------------------------------------------------------------------------- /default.mediawiki: -------------------------------------------------------------------------------- 1 | $for(include-before)$ 2 | $include-before$ 3 | 4 | $endfor$ 5 | $if(toc)$ 6 | __TOC__ 7 | 8 | $endif$ 9 | $body$ 10 | $for(include-after)$ 11 | 12 | $include-after$ 13 | $endfor$ 14 | -------------------------------------------------------------------------------- /default.opendocument: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | $automatic-styles$ 7 | $for(header-includes)$ 8 | $header-includes$ 9 | $endfor$ 10 | 11 | 12 | $if(title)$ 13 | $title$ 14 | $endif$ 15 | $for(author)$ 16 | $author$ 17 | $endfor$ 18 | $if(date)$ 19 | $date$ 20 | $endif$ 21 | $for(include-before)$ 22 | $include-before$ 23 | $endfor$ 24 | $body$ 25 | $for(include-after)$ 26 | $include-after$ 27 | $endfor$ 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /default.opml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $title$ 5 | $date$ 6 | $for(author)$$author$$sep$; $endfor$ 7 | 8 | 9 | $body$ 10 | 11 | 12 | -------------------------------------------------------------------------------- /default.org: -------------------------------------------------------------------------------- 1 | $if(title)$ 2 | #+TITLE: $title$ 3 | 4 | $endif$ 5 | $if(author)$ 6 | #+AUTHOR: $for(author)$$author$$sep$; $endfor$ 7 | $endif$ 8 | $if(date)$ 9 | #+DATE: $date$ 10 | 11 | $endif$ 12 | $for(header-includes)$ 13 | $header-includes$ 14 | 15 | $endfor$ 16 | $for(include-before)$ 17 | $include-before$ 18 | 19 | $endfor$ 20 | $body$ 21 | $for(include-after)$ 22 | 23 | $include-after$ 24 | $endfor$ 25 | -------------------------------------------------------------------------------- /default.plain: -------------------------------------------------------------------------------- 1 | $if(titleblock)$ 2 | $titleblock$ 3 | 4 | $endif$ 5 | $for(header-includes)$ 6 | $header-includes$ 7 | 8 | $endfor$ 9 | $for(include-before)$ 10 | $include-before$ 11 | 12 | $endfor$ 13 | $if(toc)$ 14 | $toc$ 15 | 16 | $endif$ 17 | $body$ 18 | $for(include-after)$ 19 | 20 | $include-after$ 21 | $endfor$ 22 | -------------------------------------------------------------------------------- /default.revealjs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | $for(author-meta)$ 7 | 8 | $endfor$ 9 | $if(date-meta)$ 10 | 11 | $endif$ 12 | $if(title-prefix)$$title-prefix$ - $endif$$pagetitle$ 13 | 14 | 15 | 16 | 17 | 18 | $if(highlighting-css)$ 19 | 22 | $endif$ 23 | $if(css)$ 24 | $for(css)$ 25 | 26 | $endfor$ 27 | $else$ 28 | 29 | $endif$ 30 | 31 | 40 | 43 | $if(math)$ 44 | $math$ 45 | $endif$ 46 | $for(header-includes)$ 47 | $header-includes$ 48 | $endfor$ 49 | 50 | 51 | $for(include-before)$ 52 | $include-before$ 53 | $endfor$ 54 |
55 |
56 | 57 | $if(title)$ 58 |
59 |

$title$

60 | $if(subtitle)$ 61 |

$subtitle$

62 | $endif$ 63 | $for(author)$ 64 |

$author$

65 | $endfor$ 66 |

$date$

67 |
68 | $endif$ 69 | $if(toc)$ 70 |
71 | $toc$ 72 |
73 | $endif$ 74 | 75 | $body$ 76 |
77 |
78 | 79 | 80 | 81 | 102 | $for(include-after)$ 103 | $include-after$ 104 | $endfor$ 105 | 106 | 107 | -------------------------------------------------------------------------------- /default.rst: -------------------------------------------------------------------------------- 1 | $if(title)$ 2 | $title$ 3 | 4 | $endif$ 5 | $for(author)$ 6 | :Author: $author$ 7 | $endfor$ 8 | $if(date)$ 9 | :Date: $date$ 10 | $endif$ 11 | $if(author)$ 12 | 13 | $else$ 14 | $if(date)$ 15 | 16 | $endif$ 17 | $endif$ 18 | $if(math)$ 19 | .. role:: math(raw) 20 | :format: html latex 21 | .. 22 | 23 | $endif$ 24 | $for(include-before)$ 25 | $include-before$ 26 | 27 | $endfor$ 28 | $if(toc)$ 29 | .. contents:: 30 | :depth: $toc-depth$ 31 | .. 32 | 33 | $endif$ 34 | $for(header-includes)$ 35 | $header-includes$ 36 | 37 | $endfor$ 38 | $body$ 39 | $for(include-after)$ 40 | 41 | $include-after$ 42 | $endfor$ 43 | -------------------------------------------------------------------------------- /default.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 Courier;}} 2 | {\colortbl;\red255\green0\blue0;\red0\green0\blue255;} 3 | \widowctrl\hyphauto 4 | $for(header-includes)$ 5 | $header-includes$ 6 | $endfor$ 7 | 8 | $if(title)$ 9 | {\pard \qc \f0 \sa180 \li0 \fi0 \b \fs36 $title$\par} 10 | $endif$ 11 | $for(author)$ 12 | {\pard \qc \f0 \sa180 \li0 \fi0 $author$\par} 13 | $endfor$ 14 | $if(date)$ 15 | {\pard \qc \f0 \sa180 \li0 \fi0 $date$\par} 16 | $endif$ 17 | $if(spacer)$ 18 | {\pard \ql \f0 \sa180 \li0 \fi0 \par} 19 | $endif$ 20 | $if(toc)$ 21 | $toc$ 22 | $endif$ 23 | $for(include-before)$ 24 | $include-before$ 25 | $endfor$ 26 | $body$ 27 | $for(include-after)$ 28 | $include-after$ 29 | $endfor$ 30 | } 31 | -------------------------------------------------------------------------------- /default.s5: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | $for(author-meta)$ 8 | 9 | $endfor$ 10 | $if(date-meta)$ 11 | 12 | $endif$ 13 | $if(title-prefix)$$title-prefix$ - $endif$$pagetitle$ 14 | 15 | 16 | 17 | 18 | $if(highlighting-css)$ 19 | 22 | $endif$ 23 | $for(css)$ 24 | 25 | $endfor$ 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | $if(math)$ 34 | $math$ 35 | $endif$ 36 | $for(header-includes)$ 37 | $header-includes$ 38 | $endfor$ 39 | 40 | 41 | $for(include-before)$ 42 | $include-before$ 43 | $endfor$ 44 |
45 |
46 |
47 | 48 | 52 |
53 |
54 | $if(title)$ 55 |
56 |

$title$

57 | $if(subtitle)$ 58 |

$subtitle$

59 | $endif$ 60 |

$for(author)$$author$$sep$
$endfor$

61 |

$date$

62 |
63 | $endif$ 64 | $body$ 65 | $for(include-after)$ 66 | $include-after$ 67 | $endfor$ 68 |
69 | 70 | 71 | -------------------------------------------------------------------------------- /default.slideous: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | $for(author-meta)$ 10 | 11 | $endfor$ 12 | $if(date-meta)$ 13 | 14 | $endif$ 15 | $if(title-prefix)$$title-prefix$ - $endif$$pagetitle$ 16 | 17 | $if(highlighting-css)$ 18 | 21 | $endif$ 22 | 24 | $for(css)$ 25 | 27 | $endfor$ 28 | $if(math)$ 29 | $math$ 30 | $endif$ 31 | $for(header-includes)$ 32 | $header-includes$ 33 | $endfor$ 34 | 36 | $if(duration)$ 37 | 38 | $endif$ 39 | 40 | 41 | $for(include-before)$ 42 | $include-before$ 43 | $endfor$ 44 |
45 | 46 | of {$$slidecount} 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | ½ 58 | {$$title}, {$$author} 59 |
60 | $if(title)$ 61 |
62 |

$title$

63 | $if(subtitle)$ 64 |

$subtitle$

65 | $endif$ 66 |

67 | $for(author)$$author$$sep$
$endfor$ 68 |

69 | $if(date)$ 70 |

$date$

71 | $endif$ 72 |
73 | $endif$ 74 | $body$ 75 | $for(include-after)$ 76 | $include-after$ 77 | $endfor$ 78 | 79 | 80 | -------------------------------------------------------------------------------- /default.slidy: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | $for(author-meta)$ 10 | 11 | $endfor$ 12 | $if(date-meta)$ 13 | 14 | $endif$ 15 | $if(title-prefix)$$title-prefix$ - $endif$$pagetitle$ 16 | 17 | $if(highlighting-css)$ 18 | 21 | $endif$ 22 | 24 | $for(css)$ 25 | 27 | $endfor$ 28 | $if(math)$ 29 | $math$ 30 | $endif$ 31 | $for(header-includes)$ 32 | $header-includes$ 33 | $endfor$ 34 | 36 | $if(duration)$ 37 | 38 | $endif$ 39 | 40 | 41 | $for(include-before)$ 42 | $include-before$ 43 | $endfor$ 44 | $if(title)$ 45 |
46 |

$title$

47 | $if(subtitle)$ 48 |

$subtitle$

49 | $endif$ 50 |

51 | $for(author)$$author$$sep$
$endfor$ 52 |

53 | $if(date)$ 54 |

$date$

55 | $endif$ 56 |
57 | $endif$ 58 | $body$ 59 | $for(include-after)$ 60 | $include-after$ 61 | $endfor$ 62 | 63 | 64 | -------------------------------------------------------------------------------- /default.texinfo: -------------------------------------------------------------------------------- 1 | \input texinfo 2 | @documentencoding UTF-8 3 | $for(header-includes)$ 4 | $header-includes$ 5 | $endfor$ 6 | 7 | $if(strikeout)$ 8 | @macro textstrikeout{text} 9 | ~~\text\~~ 10 | @end macro 11 | 12 | $endif$ 13 | $if(subscript)$ 14 | @macro textsubscript{text} 15 | @iftex 16 | @textsubscript{\text\} 17 | @end iftex 18 | @ifnottex 19 | _@{\text\@} 20 | @end ifnottex 21 | @end macro 22 | 23 | $endif$ 24 | $if(superscript)$ 25 | @macro textsuperscript{text} 26 | @iftex 27 | @textsuperscript{\text\} 28 | @end iftex 29 | @ifnottex 30 | ^@{\text\@} 31 | @end ifnottex 32 | @end macro 33 | 34 | $endif$ 35 | @ifnottex 36 | @paragraphindent 0 37 | @end ifnottex 38 | $if(titlepage)$ 39 | @titlepage 40 | @title $title$ 41 | $for(author)$ 42 | @author $author$ 43 | $endfor$ 44 | $if(date)$ 45 | $date$ 46 | $endif$ 47 | @end titlepage 48 | 49 | $endif$ 50 | $for(include-before)$ 51 | $include-before$ 52 | 53 | $endfor$ 54 | $if(toc)$ 55 | @contents 56 | 57 | $endif$ 58 | $body$ 59 | $for(include-after)$ 60 | 61 | $include-after$ 62 | $endfor$ 63 | 64 | @bye 65 | -------------------------------------------------------------------------------- /default.textile: -------------------------------------------------------------------------------- 1 | $for(include-before)$ 2 | $include-before$ 3 | 4 | $endfor$ 5 | $body$ 6 | $for(include-after)$ 7 | 8 | $include-after$ 9 | $endfor$ 10 | -------------------------------------------------------------------------------- /email.tex: -------------------------------------------------------------------------------- 1 | \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$]{$documentclass$} 2 | 3 | $if(lineno)$ 4 | \usepackage[modulo]{lineno} 5 | \linenumbers 6 | $endif$ 7 | \usepackage{amssymb,amsmath,} 8 | \usepackage{ifxetex,ifluatex} 9 | 10 | %%% Things added to default template for muttdoc %%% 11 | 12 | \usepackage{lastpage} 13 | $if(fullpage)$ 14 | \usepackage{fullpage} 15 | $endif$ 16 | \usepackage{fancyhdr} 17 | \newlength{\parboxwidth} 18 | \setlength{\parboxwidth}{\textwidth} 19 | \addtolength{\parboxwidth}{-5pt} 20 | \pagestyle{fancy} 21 | \fancyhf{} 22 | \renewcommand{\headrulewidth}{0pt} 23 | \lfoot{\today} 24 | \rfoot{Page \thepage\ of \pageref{LastPage}} 25 | 26 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 27 | 28 | \ifxetex 29 | \usepackage{fontspec,xltxtra,xunicode} 30 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 31 | \newcommand{\euro}{€} 32 | $if(mainfont)$ 33 | \setmainfont{$mainfont$} 34 | $endif$ 35 | $if(sansfont)$ 36 | \setsansfont{$sansfont$} 37 | $endif$ 38 | $if(monofont)$ 39 | \setmonofont{$monofont$} 40 | $endif$ 41 | $if(mathfont)$ 42 | \setmathfont{$mathfont$} 43 | $endif$ 44 | \else 45 | \ifluatex 46 | \usepackage{fontspec} 47 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 48 | \newcommand{\euro}{€} 49 | $if(mainfont)$ 50 | \setmainfont{$mainfont$} 51 | $endif$ 52 | $if(sansfont)$ 53 | \setsansfont{$sansfont$} 54 | $endif$ 55 | $if(monofont)$ 56 | \setmonofont{$monofont$} 57 | $endif$ 58 | $if(mathfont)$ 59 | \setmathfont{$mathfont$} 60 | $endif$ 61 | \else 62 | \usepackage[utf8]{inputenc} 63 | $if(euro)$ 64 | \usepackage{eurosym} 65 | $endif$ 66 | \fi 67 | \fi 68 | $if(geometry)$ 69 | \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} 70 | $endif$ 71 | $if(natbib)$ 72 | \usepackage{natbib} 73 | \bibliographystyle{plainnat} 74 | $endif$ 75 | $if(biblatex)$ 76 | \usepackage{biblatex} 77 | $if(biblio-files)$ 78 | \bibliography{$biblio-files$} 79 | $endif$ 80 | $endif$ 81 | $if(lhs)$ 82 | \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} 83 | $endif$ 84 | $if(highlighting-macros)$ 85 | $highlighting-macros$ 86 | $endif$ 87 | $if(verbatim-in-note)$ 88 | \usepackage{fancyvrb} 89 | $endif$ 90 | $if(fancy-enums)$ 91 | % Redefine labelwidth for lists; otherwise, the enumerate package will cause 92 | % markers to extend beyond the left margin. 93 | \makeatletter\AtBeginDocument{% 94 | \renewcommand{\@listi} 95 | {\setlength{\labelwidth}{4em}} 96 | }\makeatother 97 | \usepackage{enumerate} 98 | $endif$ 99 | $if(tables)$ 100 | \usepackage{longtable} 101 | \usepackage{float} % provides the H option for float placement 102 | $endif$ 103 | $if(url)$ 104 | \usepackage{url} 105 | $endif$ 106 | $if(graphics)$ 107 | \usepackage{graphicx} 108 | % We will generate all images so they have a width \maxwidth. This means 109 | % that they will get their normal width if they fit onto the page, but 110 | % are scaled down if they would overflow the margins. 111 | \makeatletter 112 | \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth 113 | \else\Gin@nat@width\fi} 114 | \makeatother 115 | \let\Oldincludegraphics\includegraphics 116 | \renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} 117 | $endif$ 118 | \ifxetex 119 | \usepackage[setpagesize=false, % page size defined by xetex 120 | unicode=false, % unicode breaks when used with xetex 121 | xetex, 122 | bookmarks=true, 123 | pdfauthor={$author-meta$}, 124 | pdftitle={$title-meta$}, 125 | colorlinks=true, 126 | urlcolor=blue, 127 | linkcolor=blue]{hyperref} 128 | \else 129 | \usepackage[unicode=true, 130 | bookmarks=true, 131 | pdfauthor={$author-meta$}, 132 | pdftitle={$title-meta$}, 133 | colorlinks=false, 134 | urlcolor=blue, 135 | linkcolor=blue]{hyperref} 136 | \fi 137 | \hypersetup{breaklinks=true, pdfborder={0 0 0}} 138 | $if(strikeout)$ 139 | \usepackage[normalem]{ulem} 140 | % avoid problems with \sout in headers with hyperref: 141 | \pdfstringdefDisableCommands{\renewcommand{\sout}{}} 142 | $endif$ 143 | % \setlength{\parindent}{0pt} 144 | % \setlength{\parskip}{6pt plus 2pt minus 1pt} 145 | \setlength{\emergencystretch}{3em} % prevent overfull lines 146 | $if(numbersections)$ 147 | $else$ 148 | \setcounter{secnumdepth}{0} 149 | $endif$ 150 | $if(verbatim-in-note)$ 151 | \VerbatimFootnotes % allows verbatim text in footnotes 152 | $endif$ 153 | $if(lang)$ 154 | \ifxetex 155 | \usepackage{polyglossia} 156 | \setmainlanguage{$mainlang$} 157 | \else 158 | \usepackage[$lang$]{babel} 159 | \fi 160 | $endif$ 161 | $for(header-includes)$ 162 | $header-includes$ 163 | $endfor$ 164 | 165 | $if(title)$ 166 | \title{$title$} 167 | $endif$ 168 | $if(author)$ 169 | \author{$for(author)$$author$$sep$ \and $endfor$} 170 | $endif$ 171 | $if(date)$ 172 | \date{$date$} 173 | $endif$ 174 | 175 | %%% Things added to default template for muttdoc %%% 176 | 177 | \usepackage{listings} 178 | \lstset{breaklines, basicstyle=\small\ttfamily, breakindent=0pt, breakatwhitespace=true} 179 | \pagestyle{fancy} 180 | \fancyhf{} 181 | \renewcommand{\headrulewidth}{0pt} 182 | \lfoot{\today} 183 | \rfoot{Page \thepage\ of \pageref{LastPage}} 184 | 185 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 186 | 187 | 188 | \widowpenalty=2000 189 | \clubpenalty=2000 190 | \begin{document} 191 | 192 | 193 | $if(title)$ 194 | \maketitle 195 | $endif$ 196 | 197 | $for(include-before)$ 198 | $include-before$ 199 | 200 | $endfor$ 201 | $if(toc)$ 202 | \tableofcontents 203 | 204 | $endif$ 205 | 206 | %%% Things added to default template for muttdoc %%% 207 | 208 | \parbox{\textwidth}{{\large 209 | \begin{tabular}[t]{@{}r@{\hspace{3mm}}p{150mm}@{}} 210 | 211 | $if(Date)$Date: & $Date$$endif$\\ 212 | From: & $From$\\ 213 | $if(To)$To: & $To$$endif$\\ 214 | \textbf{Subject:} & \textbf{$Subject$}\\ 215 | 216 | \end{tabular}}} 217 | 218 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 219 | 220 | \vspace{5mm} \hrule \vspace{5mm} 221 | 222 | $body$ 223 | 224 | 225 | \end{document} 226 | -------------------------------------------------------------------------------- /fancyvita.tex: -------------------------------------------------------------------------------- 1 | %%% A template to produce a nice-looking Curriculum Vitae. 2 | %%% 3 | %%% Authored by Caleb McDaniel 4 | %%% Based on design by Kieran Healy 5 | %%% Most recent version of his is at http://kjhealy.github.com/kjh-vita 6 | %%% 7 | %%% This template differs from Healy's by using the marginnote package to make 8 | %%% section titles and using titlesec package to aid the conversion of a 9 | %%% markdown file to PDF using pandoc and this template. An advantage of this 10 | %%% approach is that it requires less manual tweaking of spaces. A disadvantage is 11 | %%% that section titles must be short: a section title longer than "Publications" 12 | %%% could cause spacing problems. 13 | %%% 14 | %%% ------------------------------------------------------------------------ 15 | %%% Requirements (should be included in a modern tex distribution): 16 | %%% ------------------------------------------------------------------------ 17 | %%% 18 | %%% xelatex 19 | %%% fontspec.sty 20 | %%% hyperrref.sty 21 | %%% xunicode.sty 22 | %%% color.sty 23 | %%% url.sty 24 | %%% fancyhdr.sty 25 | %%% marginnote.sty 26 | %%% titlesec.sty 27 | %%% 28 | %%% ------------------------------------------------------------------------ 29 | %%% Optional 30 | %%% ------------------------------------------------------------------------ 31 | %%% 32 | %%% Fonts 33 | %%% 34 | 35 | \documentclass[11pt]{article} 36 | 37 | %%%------------------------------------------------------------------------ 38 | %%% Metadata 39 | %%%------------------------------------------------------------------------ 40 | 41 | %%% Change with your own information 42 | \def\myauthor{W. Caleb McDaniel} 43 | \def\mytitle{Vita} 44 | \def\mycopyright{\myauthor} 45 | \def\mykeywords{} 46 | \def\mybibliostyle{plain} 47 | \def\mybibliocommand{} 48 | \def\mysubtitle{} 49 | \def\myaffiliation{Rice University} 50 | \def\myaddress{History Department} 51 | \def\myemail{caleb.mcdaniel@rice.edu} 52 | \def\myweb{http://wcm1.web.rice.edu} 53 | \def\myphone{(713) 348-2556} 54 | \def\myfax{(713) 348-5207} 55 | \def\myversion{} 56 | \def\myrevision{} 57 | 58 | 59 | \def\myaffiliation{Rice University} 60 | \def\myauthor{W. Caleb McDaniel} 61 | \def\mykeywords{McDaniel, Caleb, Caleb McDaniel, History, Vita, CV} 62 | 63 | 64 | %%%------------------------------------------------------------------------ 65 | %%% Required style files 66 | %%%------------------------------------------------------------------------ 67 | \usepackage{url,fancyhdr} 68 | \pagestyle{plain} 69 | 70 | %% needed for xelatex to work 71 | \usepackage{fontspec} 72 | \usepackage{xunicode} 73 | 74 | %% color for the links 75 | \usepackage[usenames,dvipsnames]{color} 76 | 77 | %% hyperlinks 78 | \usepackage[xetex, 79 | colorlinks=false, 80 | urlcolor=Blue, 81 | plainpages=false, 82 | pdfpagelabels, 83 | bookmarksnumbered, 84 | pdftitle={\mytitle}, 85 | pagebackref, 86 | pdfauthor={\myauthor}, 87 | pdfkeywords={\mykeywords} 88 | ]{hyperref} 89 | 90 | \usepackage{marginnote} 91 | 92 | \usepackage[explicit]{titlesec} 93 | \titleformat{\subsection}[block]{\small}{}{0em}{\marginnote{\textsf{ #1}}}{} 94 | \titleformat{\subsubsection}[hang]{}{}{0em}{\smallskip\noindent\emph{ #1}}{} 95 | \titlespacing{\subsection}{0pt}{0pt}{0pt} 96 | \titlespacing{\subsubsection}{0pt}{0pt}{0pt} 97 | 98 | %%%------------------------------------------------------------------------ 99 | %%% Document 100 | %%%------------------------------------------------------------------------ 101 | \begin{document} 102 | 103 | %% Choose fonts for use with xelatex 104 | \setromanfont[Mapping={tex-text},Numbers={OldStyle},Ligatures={Common}]{Baskerville} 105 | \setsansfont[Mapping=tex-text,Colour=AA0000]{Optima Bold} 106 | \setmonofont[Mapping=tex-text,Scale=0.9]{Inconsolata} 107 | 108 | 109 | %%%------------------------------------------------------------------------ 110 | %%% Local commands 111 | %%%------------------------------------------------------------------------ 112 | 113 | %% custom ampersand (font consistent with the one chosen above) 114 | \newcommand{\amper}{{\fontspec[Scale=.95,Colour=AA0000]{Baskerville}\selectfont\&\,}} 115 | 116 | %% No bullets on labels 117 | \renewcommand{\labelitemi}{~} 118 | 119 | %% Custom hanging indent for vita items 120 | \def\ind{\hangindent=1 true cm\hangafter=1 \noindent} 121 | %\def\ind{\hangindent=18pt\hangafter=1 \noindent} 122 | \def\labelitemi{~} 123 | \renewcommand{\labelitemii}{~} 124 | 125 | %%%------------------------------------------------------------------------ 126 | %%% Page layout 127 | %%%------------------------------------------------------------------------ 128 | \thispagestyle{fancy} 129 | \fancyfoot{} 130 | \fancyhead{} 131 | \renewcommand{\headrulewidth}{0pt} 132 | %%% The next line will put the date revised in footer of first page 133 | \rfoot{\texttt{\scriptsize Current as of \today}} 134 | \widowpenalty=2000 135 | \clubpenalty=2000 136 | 137 | %%%------------------------------------------------------------------------ 138 | %%% Address and contact block 139 | %%%------------------------------------------------------------------------ 140 | \begin{minipage}[t]{2.95in} 141 | \flushright {\footnotesize \href{http://history.rice.edu}{Department of History} \\ Rice University - MS 42 \\ P.O. Box 1892 \\ \vspace{-0.05in} Houston, TX 77251-1892} 142 | 143 | \end{minipage} 144 | \hfill 145 | %\begin{minipage}[t]{0.0in} 146 | % dummy (needed here) 147 | %\end{minipage} 148 | \hfill 149 | \begin{minipage}[t]{1.7in} 150 | \flushright \footnotesize Phone: \myphone \\ 151 | Fax: \myfax \\ 152 | {\scriptsize \texttt{\href{mailto:\myemail}{\myemail}}} \\ 153 | \vspace{-0.1em}{\scriptsize \texttt{\href{\myweb}{\myweb}}} 154 | \end{minipage} 155 | 156 | %% Name 157 | \bigskip\bigskip 158 | \noindent{\huge{W. Caleb McDaniel}} 159 | \reversemarginpar 160 | \bigskip\medskip 161 | 162 | %% Positions 163 | \subsection{Positions} 164 | 165 | \subsubsection{Rice University} 166 | \ind Assistant Professor of History (2008-Present) 167 | \medskip 168 | \subsubsection{University of Denver} 169 | \ind Assistant Professor of History (2006-2008) 170 | 171 | \medskip 172 | 173 | %% Education 174 | \subsection{Education} 175 | 176 | \subsubsection{Johns Hopkins University} 177 | 178 | \ind Ph.D, History, 2006. Dissertation: \emph{Our Country is the World: Radical American Abolitionists Abroad}. %\vspace{-0.1in} 179 | \medskip 180 | \subsubsection{Texas A\&M University} 181 | 182 | \ind B.A., History, 2000. \emph{Summa Cum Laude} 183 | 184 | \ind M.A., Philosophy, 2001. Thesis: \emph{An Extraordinary Reversal: Hermeneutics and the Divide between the Sciences} %\vspace{0.01in} 185 | 186 | \medskip 187 | 188 | $body$ 189 | 190 | \end{document} 191 | -------------------------------------------------------------------------------- /handout.tex: -------------------------------------------------------------------------------- 1 | % Based on tufte-handout.tex - DESC 2 | % Iago Mosqueira - JRC. 2013 3 | % https://gist.github.com/reinholdsson/7426608/566d8104363cd2fef2d6dd50e90aceab377b4a45 4 | 5 | % Example input file: https://t.co/Jl73l6p8rA 6 | % Example output file: https://t.co/udpLlvml8X 7 | 8 | \documentclass{tufte-handout} 9 | 10 | \providecommand{\note}{\textsf} 11 | \renewcommand{\large}{\normalsize} 12 | \renewcommand{\huge}{\normalsize} 13 | \renewcommand{\Huge}{\normalsize} 14 | 15 | % optionally, change all figures to margin figures (Caleb McDaniel) 16 | $if(marginfigures)$ 17 | \renewenvironment{figure}[1][]{\begin{marginfigure}}{\end{marginfigure}} 18 | $endif$ 19 | 20 | % optionally, make links footnotes instead of hotlinks 21 | $if(links-as-notes)$ 22 | \renewcommand{\href}[2]{#2\footnote{\url{#1}}} 23 | $endif$ 24 | 25 | % ams 26 | \usepackage{amssymb,amsmath} 27 | 28 | \usepackage{ifxetex,ifluatex} 29 | \usepackage{fixltx2e} % provides \textsubscript 30 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex 31 | \usepackage[T1]{fontenc} 32 | \usepackage[utf8]{inputenc} 33 | \fi 34 | 35 | % add line numbers (Caleb McDaniel) 36 | $if(linenos)$ 37 | \usepackage[modulo]{lineno} 38 | \linenumbers 39 | % Uncomment next line to make line numbers font match text font (Andrew Dunning) 40 | % \def\linenumberfont{\normalfont\small} 41 | $endif$ 42 | 43 | % use symbols instead of numbers for footnotes (Caleb McDaniel) 44 | % http://tex.stackexchange.com/questions/826/symbols-instead-of-numbers-as-footnote-markers 45 | $if(symbol)$ 46 | \usepackage{perpage} 47 | \MakePerPage{footnote} 48 | \renewcommand*{\thefootnote}{\fnsymbol{footnote}} 49 | $endif$ 50 | 51 | % Set up the images/graphics package 52 | \usepackage{graphicx} 53 | \setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio} 54 | \graphicspath{{graphics/}} 55 | 56 | % \let\Oldincludegraphics\includegraphics 57 | % \renewcommand{\includegraphics}[1]{\Oldincludegraphics[trim={0 3in 0 0},clip,width=\textwidth]{#1}} 58 | 59 | % natbib 60 | \usepackage{natbib} 61 | \bibliographystyle{plainnat} 62 | 63 | % biblatex 64 | $if(biblatex)$ 65 | \usepackage{biblatex} 66 | $if(biblio-files)$ 67 | \bibliography{$biblio-files$} 68 | $endif$ 69 | $endif$ 70 | 71 | % booktabs 72 | \usepackage{longtable,booktabs} 73 | 74 | % url 75 | \usepackage{url} 76 | 77 | % hyperref 78 | \usepackage{hyperref} 79 | 80 | % units. 81 | \usepackage{units} 82 | 83 | % fancyvrb 84 | \usepackage{fancyvrb} 85 | \fvset{fontsize=\normalsize} 86 | \DefineShortVerb[commandchars=\\\{\}]{\|} 87 | \DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}} 88 | 89 | 90 | % multiplecol 91 | \usepackage{multicol} 92 | 93 | % lipsum 94 | \usepackage{lipsum} 95 | 96 | % These commands are used to pretty-print LaTeX commands 97 | \newcommand{\doccmd}[1]{\texttt{\textbackslash#1}}% command name -- adds backslash automatically 98 | \newcommand{\docopt}[1]{\ensuremath{\langle}\textrm{\textit{#1}}\ensuremath{\rangle}}% optional command argument 99 | \newcommand{\docarg}[1]{\textrm{\textit{#1}}}% (required) command argument 100 | \newenvironment{docspec}{\begin{quote}\noindent}{\end{quote}}% command specification environment 101 | \newcommand{\docenv}[1]{\textsf{#1}}% environment name 102 | \newcommand{\docpkg}[1]{\texttt{#1}}% package name 103 | \newcommand{\doccls}[1]{\texttt{#1}}% document class name 104 | \newcommand{\docclsopt}[1]{\texttt{#1}}% document class option name 105 | 106 | % Shaded 107 | \newenvironment{Shaded}{}{} 108 | \newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{{#1}}}} 109 | \newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.56,0.13,0.00}{{#1}}} 110 | \newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}} 111 | \newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}} 112 | \newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}} 113 | \newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} 114 | \newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}} 115 | \newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{{#1}}}} 116 | \newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{{#1}}} 117 | \newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}} 118 | \newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{{#1}}} 119 | \newcommand{\RegionMarkerTok}[1]{{#1}} 120 | \newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}} 121 | \newcommand{\NormalTok}[1]{{#1}} 122 | 123 | % Support pandoc's -H/--include-in-header option 124 | $for(header-includes)$ 125 | $header-includes$ 126 | $endfor$ 127 | 128 | $if(title)$ 129 | \title{$title$} 130 | $endif$ 131 | $if(author)$ 132 | \author{$for(author)$$author$$sep$ \and $endfor$} 133 | $endif$ 134 | $if(date)$ 135 | \date{$date$} 136 | $endif$ 137 | 138 | \providecommand{\tightlist}{% 139 | \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} 140 | 141 | \begin{document} 142 | $if(title)$ 143 | \maketitle 144 | $endif$ 145 | 146 | \bigskip 147 | 148 | $if(abstract)$ 149 | \begin{abstract} 150 | $abstract$ 151 | \end{abstract} 152 | $endif$ 153 | 154 | $body$ 155 | 156 | $if(natbib)$ 157 | $if(biblio-files)$ 158 | $if(biblio-title)$ 159 | $if(book-class)$ 160 | \renewcommand\bibname{$biblio-title$} 161 | $else$ 162 | \renewcommand\refname{$biblio-title$} 163 | $endif$ 164 | $endif$ 165 | \bibliography{$biblio-files$} 166 | \bibliographystyle{plainnat} 167 | 168 | $endif$ 169 | $endif$ 170 | $if(biblatex)$ 171 | \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ 172 | 173 | $endif$ 174 | $for(include-after)$ 175 | $include-after$ 176 | 177 | $endfor$ 178 | \end{document} 179 | -------------------------------------------------------------------------------- /pdfletter.tex: -------------------------------------------------------------------------------- 1 | \documentclass[$if(fontsize)$$fontsize$$else$12pt$endif$]{article} 2 | \usepackage{fullpage,fancyhdr,ifxetex} 3 | \ifxetex 4 | \usepackage{fontspec,xltxtra,xunicode} 5 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 6 | \newcommand{\euro}{€} 7 | \setromanfont{TeX Gyre Pagella} 8 | \fi 9 | \usepackage[usenames,dvipsnames]{color} 10 | \usepackage[breaklinks=true,colorlinks=false,unicode=true,pdfborder={0 0 0}]{hyperref} 11 | \setlength{\parindent}{0pt} 12 | \addtolength{\parskip}{\baselineskip} 13 | \setcounter{secnumdepth}{0} 14 | \widowpenalty=2000 15 | \clubpenalty=2000 16 | \usepackage{graphicx} 17 | \pagestyle{plain} 18 | 19 | \begin{document} 20 | \thispagestyle{fancy} 21 | \renewcommand{\headrulewidth}{0pt} 22 | \fancyfoot{} 23 | \lfoot{\scriptsize\textcolor{Gray}{\textsf {Dr. W. Caleb McDaniel \textcolor{MidnightBlue}{Email} caleb.mcdaniel@rice.edu / \textcolor{MidnightBlue}{Office} 713-348-2556 / \textcolor{MidnightBlue}{Fax} 713-348-5207 / Rice University Department of History-MS42 / P.O. Box 1892 / Houston, TX 77005-1892 / \textcolor{MidnightBlue}{http://wcm1.web.rice.edu}}}} 24 | \includegraphics{/Users/wcm1/Pictures/letterhead.png} 25 | 26 | $if(date)$$date$$else$\today$endif$ 27 | \begin{flushleft} 28 | $body$ 29 | \end{flushleft} 30 | 31 | Sincerely,\\\includegraphics[scale=0.35]{/Users/wcm1/Pictures/signature.png}\\Dr. W. Caleb McDaniel\\Associate Professor of History 32 | \end{document} 33 | -------------------------------------------------------------------------------- /printletter.tex: -------------------------------------------------------------------------------- 1 | \documentclass[$if(fontsize)$$fontsize$$else$12pt$endif$]{article} 2 | \usepackage{fullpage} 3 | \usepackage[breaklinks=true,colorlinks=false,unicode=true,pdfborder={0 0 0}]{hyperref} 4 | \setlength{\parindent}{0pt} 5 | \addtolength{\parskip}{\baselineskip} 6 | \setcounter{secnumdepth}{0} 7 | \widowpenalty=2000 8 | \clubpenalty=2000 9 | \usepackage{graphicx} 10 | \providecommand{\tightlist}{% 11 | \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} 12 | 13 | 14 | \begin{document} 15 | \thispagestyle{empty} 16 | \vspace*{0.5in} 17 | 18 | $if(date)$$date$$else$\today$endif$ 19 | \begin{flushleft} 20 | $body$ 21 | \end{flushleft} 22 | 23 | Sincerely, 24 | \par% 25 | W. Caleb McDaniel\\Associate Professor of History\\caleb.mcdaniel@rice.edu\\713-348-2556 26 | 27 | \end{document} 28 | -------------------------------------------------------------------------------- /slidenotes.tex: -------------------------------------------------------------------------------- 1 | \documentclass[$if(fontsize)$$fontsize$$endif$]{article} 2 | \usepackage{fullpage} 3 | \usepackage{amssymb,amsmath} 4 | \usepackage{ifxetex,ifluatex} 5 | \usepackage{fancyhdr} 6 | \pagestyle{plain} 7 | \ifxetex 8 | \usepackage{fontspec,xltxtra,xunicode} 9 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 10 | \newcommand{\euro}{€} 11 | $if(mainfont)$ 12 | \setmainfont{$mainfont$} 13 | $endif$ 14 | $if(sansfont)$ 15 | \setsansfont{$sansfont$} 16 | $endif$ 17 | $if(monofont)$ 18 | \setmonofont{$monofont$} 19 | $endif$ 20 | $if(mathfont)$ 21 | \setmathfont{$mathfont$} 22 | $endif$ 23 | \else 24 | \ifluatex 25 | \usepackage{fontspec} 26 | \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} 27 | \newcommand{\euro}{€} 28 | $if(mainfont)$ 29 | \setmainfont{$mainfont$} 30 | $endif$ 31 | $if(sansfont)$ 32 | \setsansfont{$sansfont$} 33 | $endif$ 34 | $if(monofont)$ 35 | \setmonofont{$monofont$} 36 | $endif$ 37 | $if(mathfont)$ 38 | \setmathfont{$mathfont$} 39 | $endif$ 40 | \else 41 | \usepackage[utf8]{inputenc} 42 | $if(euro)$ 43 | \usepackage{eurosym} 44 | $endif$ 45 | \fi 46 | \fi 47 | $if(geometry)$ 48 | \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} 49 | $endif$ 50 | $if(natbib)$ 51 | \usepackage{natbib} 52 | \bibliographystyle{plainnat} 53 | $endif$ 54 | $if(biblatex)$ 55 | \usepackage{biblatex} 56 | $if(biblio-files)$ 57 | \bibliography{$biblio-files$} 58 | $endif$ 59 | $endif$ 60 | $if(listings)$ 61 | \usepackage{listings} 62 | $endif$ 63 | $if(lhs)$ 64 | \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} 65 | $endif$ 66 | $if(highlighting-macros)$ 67 | $highlighting-macros$ 68 | $endif$ 69 | $if(verbatim-in-note)$ 70 | \usepackage{fancyvrb} 71 | $endif$ 72 | $if(fancy-enums)$ 73 | % Redefine labelwidth for lists; otherwise, the enumerate package will cause 74 | % markers to extend beyond the left margin. 75 | \makeatletter\AtBeginDocument{% 76 | \renewcommand{\@listi} 77 | {\setlength{\labelwidth}{4em}} 78 | }\makeatother 79 | \usepackage{enumerate} 80 | $endif$ 81 | $if(tables)$ 82 | \usepackage{ctable} 83 | \usepackage{float} % provides the H option for float placement 84 | $endif$ 85 | $if(url)$ 86 | \usepackage{url} 87 | $endif$ 88 | $if(graphics)$ 89 | \usepackage{graphicx} 90 | \makeatletter 91 | \def\maxwidth{2in} 92 | \makeatother 93 | \let\Oldincludegraphics\includegraphics 94 | \renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} 95 | $endif$ 96 | % Remove figure prefix from captions 97 | \usepackage[labelformat=empty]{caption} 98 | \providecommand{\note}{\textsf} 99 | \renewcommand{\large}{\normalsize} 100 | \renewcommand{\huge}{\normalsize} 101 | \renewcommand{\Huge}{\normalsize} 102 | \ifxetex 103 | \usepackage[setpagesize=false, % page size defined by xetex 104 | unicode=false, % unicode breaks when used with xetex 105 | xetex, 106 | bookmarks=true, 107 | pdfauthor={$author-meta$}, 108 | pdftitle={$title-meta$}, 109 | colorlinks=true, 110 | urlcolor=blue, 111 | linkcolor=blue]{hyperref} 112 | \else 113 | \usepackage[unicode=true, 114 | bookmarks=true, 115 | pdfauthor={$author-meta$}, 116 | pdftitle={$title-meta$}, 117 | colorlinks=true, 118 | urlcolor=blue, 119 | linkcolor=blue]{hyperref} 120 | \fi 121 | \hypersetup{breaklinks=true, pdfborder={0 0 0}} 122 | $if(strikeout)$ 123 | \usepackage[normalem]{ulem} 124 | % avoid problems with \sout in headers with hyperref: 125 | \pdfstringdefDisableCommands{\renewcommand{\sout}{}} 126 | $endif$ 127 | \setlength{\parindent}{0pt} 128 | \setlength{\parskip}{6pt plus 2pt minus 1pt} 129 | \setlength{\emergencystretch}{3em} % prevent overfull lines 130 | $if(numbersections)$ 131 | $else$ 132 | \setcounter{secnumdepth}{0} 133 | $endif$ 134 | $if(verbatim-in-note)$ 135 | \VerbatimFootnotes % allows verbatim text in footnotes 136 | $endif$ 137 | $if(lang)$ 138 | \ifxetex 139 | \usepackage{polyglossia} 140 | \setmainlanguage{$mainlang$} 141 | \else 142 | \usepackage[$lang$]{babel} 143 | \fi 144 | $endif$ 145 | $for(header-includes)$ 146 | $header-includes$ 147 | $endfor$ 148 | 149 | $if(title)$ 150 | \title{$title$} 151 | $endif$ 152 | $if(author)$ 153 | \author{$for(author)$$author$$sep$ \and $endfor$} 154 | $endif$ 155 | $if(date)$ 156 | \date{$date$} 157 | $endif$ 158 | 159 | 160 | \widowpenalty=2000 161 | \clubpenalty=2000 162 | \begin{document} 163 | $if(title)$ 164 | \maketitle 165 | $endif$ 166 | 167 | $for(include-before)$ 168 | $include-before$ 169 | 170 | $endfor$ 171 | $if(toc)$ 172 | \tableofcontents 173 | 174 | $endif$ 175 | $body$ 176 | 177 | $if(natbib)$ 178 | $if(biblio-files)$ 179 | $if(biblio-title)$ 180 | $if(book-class)$ 181 | \renewcommand\bibname{$biblio-title$} 182 | $else$ 183 | \renewcommand\refname{$biblio-title$} 184 | $endif$ 185 | $endif$ 186 | \bibliography{$biblio-files$} 187 | 188 | $endif$ 189 | $endif$ 190 | $if(biblatex)$ 191 | \printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ 192 | 193 | $endif$ 194 | $for(include-after)$ 195 | $include-after$ 196 | 197 | $endfor$ 198 | \end{document} 199 | -------------------------------------------------------------------------------- /syllabus.tex: -------------------------------------------------------------------------------- 1 | \documentclass[11pt]{article} 2 | \usepackage{fullpage,fancyhdr} 3 | %% color for the links 4 | \usepackage[usenames,dvipsnames]{color} 5 | \usepackage{longtable} 6 | \usepackage{graphicx} 7 | % We will generate all images so they have a width \maxwidth. This means 8 | % that they will get their normal width if they fit onto the page, but 9 | % are scaled down if they would overflow the margins. 10 | \makeatletter 11 | \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth 12 | \else\Gin@nat@width\fi} 13 | \makeatother 14 | \let\Oldincludegraphics\includegraphics 15 | % \renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} 16 | %% hyperlinks 17 | \usepackage[ 18 | colorlinks=true, 19 | urlcolor=MidnightBlue, 20 | plainpages=false, 21 | ]{hyperref}% color for the links 22 | \setlength{\parindent}{0pt} 23 | \setlength{\parskip}{6pt plus 2pt minus 1pt} 24 | \setlength{\emergencystretch}{3em} % prevent overfull lines 25 | $if(numbersections)$ 26 | $else$ 27 | \setcounter{secnumdepth}{0} 28 | $endif$ 29 | $if(verbatim-in-note)$ 30 | \VerbatimFootnotes % allows verbatim text in footnotes 31 | $endif$ 32 | $for(header-includes)$ 33 | $header-includes$ 34 | $endfor$ 35 | 36 | \renewcommand{\headrulewidth}{0pt} 37 | \fancyhead[C]{\includegraphics[width=2cm]{/Users/wcm1/Pictures/ricelogo.png}} 38 | \fancyhead[L]{} 39 | \fancyhead[R]{} 40 | \pagestyle{plain} 41 | 42 | $if(title)$ 43 | \title{$title$} 44 | $endif$ 45 | $if(author)$ 46 | \author{$for(author)$$author$$sep$ \and $endfor$} 47 | $endif$ 48 | $if(date)$ 49 | \date{$date$} 50 | $endif$ 51 | 52 | $if(listings)$ 53 | \usepackage{listings} 54 | $endif$ 55 | 56 | $if(tables)$ 57 | \usepackage{ctable} 58 | \usepackage{float} % provides the H option for float placement 59 | $endif$ 60 | 61 | $if(fancy-enums)$ 62 | % Redefine labelwidth for lists; otherwise, the enumerate package will cause 63 | % markers to extend beyond the left margin. 64 | \makeatletter\AtBeginDocument{% 65 | \renewcommand{\@listi} 66 | {\setlength{\labelwidth}{4em}} 67 | }\makeatother 68 | \usepackage{enumerate} 69 | $endif$ 70 | 71 | \begin{document} 72 | 73 | $if(title)$ 74 | \maketitle 75 | $endif$ 76 | \thispagestyle{fancy} 77 | $for(include-before)$ 78 | $include-before$ 79 | $endfor$ 80 | 81 | \begin{flushleft} 82 | $body$ 83 | \end{flushleft} 84 | 85 | $for(include-after)$ 86 | $include-after$ 87 | $endfor$ 88 | \end{document} 89 | -------------------------------------------------------------------------------- /website.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | $for(author-meta)$ 10 | 11 | $endfor$ 12 | $if(date-meta)$ 13 | 14 | $endif$ 15 | $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$ | $endif$W. Caleb McDaniel 16 | $if(highlighting-css)$ 17 | 20 | $endif$ 21 | $for(css)$ 22 | 23 | $endfor$ 24 | $if(math)$ 25 | $math$ 26 | $endif$ 27 | $for(header-includes)$ 28 | $header-includes$ 29 | $endfor$ 30 | 31 | 32 | 33 | 34 | 35 | 36 |
37 |
38 |
 
39 |
40 | 41 | $for(include-before)$ 42 | $include-before$ 43 | $endfor$ 44 | 45 |
46 | 47 | $if(category)$ 48 | 49 |
$category$
$endif$ 50 | $if(title)$ 51 | 52 |

$title$

53 | $endif$ 54 | $if(author)$ 55 | 56 |
57 | Posted by $author$ 58 | $if(date)$ 59 | 60 | on $date$$endif$ 61 |
62 | $endif$ 63 | 64 | 65 | 66 | $body$ 67 | 68 | 69 | 70 |
71 | 72 | $for(include-after)$ 73 | $include-after$ 74 | $endfor$ 75 | 76 |
77 | 78 |
 
79 | 80 |
81 |
82 | 83 | 84 | --------------------------------------------------------------------------------