aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-05-06 09:54:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-05-06 09:54:00 -0700
commit04e59d4df89bedfecea159efdf34cc2e6d56a409 (patch)
treeab9c29806c2e44c952b8fd4800a6cd1b4c96cc1a /default.latex
parentfc5229df167aa61cdbcf14ce24581b36bb0a5b90 (diff)
downloadpandoc-04e59d4df89bedfecea159efdf34cc2e6d56a409.tar.gz
latex template: Added fontfamily variable.
Thanks to tlvince for the patch. Closes #50.
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex4
1 files changed, 4 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index 0364eea45..db73b59a5 100644
--- a/default.latex
+++ b/default.latex
@@ -1,5 +1,9 @@
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
+$if(fontfamily)$
+\usepackage{$fontfamily$}
+$else$
\usepackage{lmodern}
+$endif$
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript