-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpandoc-template.tex
61 lines (47 loc) · 1.5 KB
/
pandoc-template.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
% -*- TeX-engine: xetex -*-
\documentclass[a4paper,fontsize=12pt,parskip=full*]{scrartcl}
\usepackage{libertine}
\usepackage[scale=.85]{sourcecodepro}
\usepackage[svgnames,hyperref]{xcolor}
\usepackage{url}
\usepackage{graphicx}
\usepackage{fullpage}
\usepackage[%
unicode=true,
hyperindex=true,
bookmarks=true,
colorlinks=true, % change to false for final
pdfborder=0,
allcolors=DarkBlue,
% plainpages=false,
pdfpagelabels,
hyperfootnotes=true]{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% some of these handy pandoc->latex tricks from %
% https://github.com/craigbass76/pandoc_latex_template/blob/master/templates/fossfolks.latex %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\tightlist{}
\usepackage{longtable}
\def\toprule{\hline}
\def\midrule{\hline}
\def\bottomrule{\hline}
% ----------------------------------------------------------------------
% Get rid of 1, 1.2, 3.1.5 types of heading numbers
% ----------------------------------------------------------------------
\makeatletter
\renewcommand\thesection{}
\renewcommand\thesubsection{}
\renewcommand\thesubsubsection{}
\renewcommand\theparagraph{}
\renewcommand\thesubparagraph{}
\makeatother
\makeatletter
\def\@seccntformat#1{\protect\makebox[0pt][r]{{\csname the#1\endcsname\quad}}}
\makeatother
\author{$author$}
\date{\today}
\title{$title$}
\begin{document}
\maketitle
$body$
\end{document}