From fdb493a5cf1d9559ea652a08af06e63131ebef9a Mon Sep 17 00:00:00 2001 From: Ivo Clarysse Date: Sat, 30 Apr 2016 08:11:14 -0700 Subject: Add docbook5 template --- default.docbook5 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 default.docbook5 diff --git a/default.docbook5 b/default.docbook5 new file mode 100644 index 000000000..b3a0b6def --- /dev/null +++ b/default.docbook5 @@ -0,0 +1,30 @@ + + +$if(mathml)$ +
+$else$ +
+$endif$ + + $title$ +$if(author)$ + +$for(author)$ + + $author$ + +$endfor$ + +$endif$ +$if(date)$ + $date$ +$endif$ + +$for(include-before)$ +$include-before$ +$endfor$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ +
-- cgit v1.2.3 From fd4ba42666314d851da89619b5d05924c093046e Mon Sep 17 00:00:00 2001 From: Vladislav Turbanov Date: Wed, 18 May 2016 22:02:09 +0400 Subject: Custom font families Adding ability to define custom font families. Needed for correct polyglossia operation with Cyrillic fonts and perhaps can find some other usages. Example usage in YAML metadata: ``` fontfamilies: - name: \cyrillicfont font: Liberation Serif - name: \cyrillicfonttt options: Scale=MatchLowercase font: Liberation Mono ``` --- default.latex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.latex b/default.latex index 0a1c47391..bc84520a3 100644 --- a/default.latex +++ b/default.latex @@ -24,6 +24,9 @@ $endif$ \usepackage{fontspec} \fi \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase} +$for(fontfamilies)$ + \newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$} +$endfor$ $if(euro)$ \newcommand{\euro}{€} $endif$ -- cgit v1.2.3 From feffd7c64abab863abd3f6458d1c445d6bfe7fc4 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 7 Jun 2016 10:07:02 -0700 Subject: Fix for obscure hyperref/xelatex issue. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Here's a minimal case: \documentclass[]{article} \usepackage{hyperref} \begin{document} \section{\%á} \end{document} Without this change, this fails on the second invocation of xelatex. See https://tex.stackexchange.com/questions/313266/and-non-ascii-characters-in-headings This affects inputs this like # %á with pdf output via xelatex. --- default.latex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.latex b/default.latex index bc84520a3..219756982 100644 --- a/default.latex +++ b/default.latex @@ -57,11 +57,11 @@ $endif$ $if(geometry)$ \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} $endif$ -\usepackage{hyperref} +\usepackage[unicode=true]{hyperref} $if(colorlinks)$ \PassOptionsToPackage{usenames,dvipsnames}{color} % color is loaded by hyperref $endif$ -\hypersetup{unicode=true, +\hypersetup{ $if(title-meta)$ pdftitle={$title-meta$}, $endif$ -- cgit v1.2.3 From 856a5093269cc8e5aaa429fc1775157ff5857c30 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 25 Jun 2016 13:11:30 -0700 Subject: Added secnumdepth variable to LaTeX template. --- default.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.latex b/default.latex index 219756982..3d31a5731 100644 --- a/default.latex +++ b/default.latex @@ -155,7 +155,7 @@ $endif$ \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} $if(numbersections)$ -\setcounter{secnumdepth}{5} +\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$} $else$ \setcounter{secnumdepth}{0} $endif$ -- cgit v1.2.3 From 29aff5175439411c7ec25b239dc45e8ff84ddd26 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 29 Jun 2016 15:56:30 -0700 Subject: ZimWiki template --- default.zimwiki | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 default.zimwiki diff --git a/default.zimwiki b/default.zimwiki new file mode 100644 index 000000000..30824bd9f --- /dev/null +++ b/default.zimwiki @@ -0,0 +1,16 @@ +Content-Type: text/x-zim-wiki +Wiki-Format: zim 0.4 + +$for(include-before)$ +$include-before$ + +$endfor$ +$if(toc)$ +__TOC__ + +$endif$ +$body$ +$for(include-after)$ + +$include-after$ +$endfor$ -- cgit v1.2.3 From 9ce3d114126006b94583973f1cf00110e9d2e95b Mon Sep 17 00:00:00 2001 From: Thomas Hodgson Date: Fri, 1 Jul 2016 23:01:09 +0100 Subject: Pass $biblatexoptions$ directly to biblatex Addresses https://github.com/jgm/pandoc-templates/issues/201 --- default.beamer | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/default.beamer b/default.beamer index ccd0862d1..191903c95 100644 --- a/default.beamer +++ b/default.beamer @@ -89,8 +89,7 @@ $if(natbib)$ \bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} $endif$ $if(biblatex)$ -\usepackage$if(biblio-style)$[style=$biblio-style$]$endif${biblatex} -$if(biblatexoptions)$\ExecuteBibliographyOptions{$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$}$endif$ +\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} $for(bibliography)$ \addbibresource{$bibliography$} $endfor$ -- cgit v1.2.3 From 922f5c0bc6a8bc279464757c2a65898b178e976d Mon Sep 17 00:00:00 2001 From: Thomas Hodgson Date: Fri, 1 Jul 2016 23:02:46 +0100 Subject: Pass $biblatexoptions$ directly to biblatex Addresses https://github.com/jgm/pandoc-templates/issues/201 --- default.latex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/default.latex b/default.latex index 3d31a5731..4b371e12d 100644 --- a/default.latex +++ b/default.latex @@ -100,8 +100,7 @@ $if(natbib)$ \bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} $endif$ $if(biblatex)$ -\usepackage$if(biblio-style)$[style=$biblio-style$]$endif${biblatex} -$if(biblatexoptions)$\ExecuteBibliographyOptions{$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$}$endif$ +\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} $for(bibliography)$ \addbibresource{$bibliography$} $endfor$ -- cgit v1.2.3 From 4851e1df8f0f05d73a7a019ecfb8af55408d5ac6 Mon Sep 17 00:00:00 2001 From: Thomas Hodgson Date: Thu, 14 Jul 2016 11:17:11 +0100 Subject: Added `\institute` Fixes https://github.com/jgm/pandoc-templates/issues/204 by adding a dummy `\institute` command. --- default.latex | 1 + 1 file changed, 1 insertion(+) diff --git a/default.latex b/default.latex index 4b371e12d..67faf0330 100644 --- a/default.latex +++ b/default.latex @@ -202,6 +202,7 @@ $if(author)$ \author{$for(author)$$author$$sep$ \and $endfor$} $endif$ $if(institute)$ +\providecommand{\institute}[1]{} \institute{$for(institute)$$institute$$sep$ \and $endfor$} $endif$ \date{$date$} -- cgit v1.2.3 From 6b2a1db0b9a8d5d7daca2c4542ad1a011b64d56b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 20 Jul 2016 10:44:30 -0700 Subject: Restore space between paragraphs in beamer template. Closes #207. I believe these lines were removed in error. @adunning if you think otherwise, please comment here. --- default.beamer | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default.beamer b/default.beamer index 191903c95..e12c67025 100644 --- a/default.beamer +++ b/default.beamer @@ -161,6 +161,8 @@ $if(strikeout)$ % avoid problems with \sout in headers with hyperref: \pdfstringdefDisableCommands{\renewcommand{\sout}{}} $endif$ +\setlength{\parindent}{0pt} +\setlength{\parskip}{6pt plus 2pt minus 1pt} \setlength{\emergencystretch}{3em} % prevent overfull lines \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} -- cgit v1.2.3 From 84335edbad88dbc316bb7b5d00e717537fc21f80 Mon Sep 17 00:00:00 2001 From: Carsten Gips Date: Thu, 4 Aug 2016 16:10:02 +0200 Subject: Load "beamerarticle" first (if needed) The beamerarticle package needs to be loaded directly after the documentclass declaration. Loading it later (e.g. using the -H option) leads to several errors due to package dependencies. This patch also introduces a new variable "beamerarticle" to activate the beamerarticle package. --- default.latex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.latex b/default.latex index 67faf0330..15fecad55 100644 --- a/default.latex +++ b/default.latex @@ -1,4 +1,7 @@ \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} +$if(beamerarticle)$ +\usepackage{beamerarticle} % needs to be loaded first +$endif$ $if(fontfamily)$ \usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$} $else$ -- cgit v1.2.3 From 35c788701551f5b5094d230f33a7668072124655 Mon Sep 17 00:00:00 2001 From: Carsten Gips Date: Fri, 5 Aug 2016 16:32:25 +0200 Subject: Support options for beamer themes see https://github.com/jgm/pandoc-templates/issues/206#issuecomment-236158334 --- default.beamer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.beamer b/default.beamer index e12c67025..3219028f8 100644 --- a/default.beamer +++ b/default.beamer @@ -45,7 +45,7 @@ $if(CJKmainfont)$ $endif$ \fi $if(theme)$ -\usetheme{$theme$} +\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$} $endif$ $if(colortheme)$ \usecolortheme{$colortheme$} -- cgit v1.2.3 From 9a66aa4a485db4dc972e37974748adb077fb3de1 Mon Sep 17 00:00:00 2001 From: Yoan Blanc Date: Fri, 12 Aug 2016 14:48:59 +0200 Subject: Addition of notes-server option. Enable to run the slides on various hosts and still control it from a master point of view. https://github.com/hakimel/reveal.js#server-side-speaker-notes --- default.revealjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/default.revealjs b/default.revealjs index db16168f9..f72d02290 100644 --- a/default.revealjs +++ b/default.revealjs @@ -228,6 +228,10 @@ $endif$ dependencies: [ { src: '$revealjs-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } }, { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true }, + $if(notes-server)$ + { src: '$revealjs-url$/socket.io/socker.io.js', async: true }, + { src: '$revealjs-url$/plugin/notes-server/client.js', async: true }, + $endif$ { src: '$revealjs-url$/plugin/notes/notes.js', async: true } ] }); -- cgit v1.2.3 From c32c8be572bf422f7ff3dfd3ed417995341fb84e Mon Sep 17 00:00:00 2001 From: Vaclav Haisman Date: Mon, 29 Aug 2016 10:17:59 +0200 Subject: LaTeX: Set figure placement defaults. This restores Pandoc's defaults after applicaiton of changes in https://github.com/jgm/pandoc/pull/3093. --- default.latex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/default.latex b/default.latex index 15fecad55..f1d3e7ecd 100644 --- a/default.latex +++ b/default.latex @@ -190,6 +190,11 @@ $if(dir)$ \newenvironment{LTR}{\beginL}{\endL} \fi $endif$ + +\makeatletter +\def\fps@figure{htbp} +\makeatother + $for(header-includes)$ $header-includes$ $endfor$ -- cgit v1.2.3 From abb9e892e48d32936a35510cb0dc057a27231f42 Mon Sep 17 00:00:00 2001 From: Artem Klevtsov Date: Wed, 14 Sep 2016 16:24:12 +0700 Subject: Custom font families for beamer Adding ability to define custom font families. Needed for correct `polyglossia` operation with Cyrillic fonts and perhaps can find some other usages. Example usage in YAML metadata: ``` fontfamilies: - name: \cyrillicfont font: Liberation Serif - name: \cyrillicfonttt options: Scale=MatchLowercase font: Liberation Mono ``` --- default.beamer | 3 +++ 1 file changed, 3 insertions(+) diff --git a/default.beamer b/default.beamer index 3219028f8..a54519ced 100644 --- a/default.beamer +++ b/default.beamer @@ -24,6 +24,9 @@ $endif$ \usepackage{fontspec} \fi \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase} +$for(fontfamilies)$ + \newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$} +$endfor$ $if(euro)$ \newcommand{\euro}{€} $endif$ -- cgit v1.2.3 From 859acea0b5726f9b1b57856fd2e023e2180130be Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Fri, 23 Sep 2016 21:41:55 +0200 Subject: Put only one heading element in top-level header Every heading element semantically creates a new section. Three consecutive heading elements, e.g. `

`, `

`, `

`, are semantically equivallent to a section with two nested subsections. This is not the intended meaning of subtitle, author, and date, making plain `

` elements the better choice. This is one of the W3C's [common idioms]. This change is the result of discussions on issue jgm/pandoc#3119. [common idioms]: https://www.w3.org/TR/html5/common-idioms.html#common-idioms Fixes: jgm/pandoc#3119 --- default.html5 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/default.html5 b/default.html5 index 6b1fdb38b..5641ecb80 100644 --- a/default.html5 +++ b/default.html5 @@ -44,13 +44,13 @@ $if(title)$

$title$

$if(subtitle)$ -

$subtitle$

+

$subtitle$

$endif$ $for(author)$ -

$author$

+

$author$

$endfor$ $if(date)$ -

$date$

+

$date$

$endif$
$endif$ -- cgit v1.2.3 From 8db1c3600174521698e22ec7eacc60c8963f55a9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 25 Sep 2016 21:43:19 +0200 Subject: Use p tag for subtitle, author, date in epub, revealjs, slidy. --- default.epub | 6 +++--- default.epub3 | 6 +++--- default.revealjs | 6 +++--- default.slidy | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/default.epub b/default.epub index 1c042ff1e..afcf96a3e 100644 --- a/default.epub +++ b/default.epub @@ -28,13 +28,13 @@ $else$ $endif$ $endfor$ $if(subtitle)$ -

$subtitle$

+

$subtitle$

$endif$ $for(author)$ -

$author$

+

$author$

$endfor$ $for(creator)$ -

$creator.text$

+

$creator.text$

$endfor$ $if(publisher)$

$publisher$

diff --git a/default.epub3 b/default.epub3 index 0325d53eb..8a12e0fb3 100644 --- a/default.epub3 +++ b/default.epub3 @@ -33,13 +33,13 @@ $else$ $endif$ $endfor$ $if(subtitle)$ -

$subtitle$

+

$subtitle$

$endif$ $for(author)$ -

$author$

+

$author$

$endfor$ $for(creator)$ -

$creator.text$

+

$creator.text$

$endfor$ $if(publisher)$

$publisher$

diff --git a/default.revealjs b/default.revealjs index db16168f9..e6d561292 100644 --- a/default.revealjs +++ b/default.revealjs @@ -63,13 +63,13 @@ $if(title)$

$title$

$if(subtitle)$ -

$subtitle$

+

$subtitle$

$endif$ $for(author)$ -

$author$

+

$author$

$endfor$ $if(date)$ -

$date$

+

$date$

$endif$
$endif$ diff --git a/default.slidy b/default.slidy index 5f83b40ca..cccf3537d 100644 --- a/default.slidy +++ b/default.slidy @@ -51,7 +51,7 @@ $if(title)$

$title$

$if(subtitle)$ -

$subtitle$

+

$subtitle$

$endif$ $if(author)$

-- cgit v1.2.3 From e1a88be15bf5d0861cf0afc2466df4dba43bfae1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 28 Sep 2016 11:18:31 +0200 Subject: Added a comment. --- default.latex | 1 + 1 file changed, 1 insertion(+) diff --git a/default.latex b/default.latex index f1d3e7ecd..0128d998a 100644 --- a/default.latex +++ b/default.latex @@ -191,6 +191,7 @@ $if(dir)$ \fi $endif$ +% set default figure placement to htbp \makeatletter \def\fps@figure{htbp} \makeatother -- cgit v1.2.3 From 1475299c9aebfe3e47c135d6653202db3b2f6696 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 28 Sep 2016 11:33:33 +0200 Subject: LaTeX template: fix footnotes in tables. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This requires the footnote package, which is imported only if present. See #208. Thanks to Václav Haisman. --- default.latex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default.latex b/default.latex index 0128d998a..3ff8be2ab 100644 --- a/default.latex +++ b/default.latex @@ -123,6 +123,8 @@ $if(verbatim-in-note)$ $endif$ $if(tables)$ \usepackage{longtable,booktabs} +% Fix footnotes in tables (requires footnote package) +\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{} $endif$ $if(graphics)$ \usepackage{graphicx,grffile} -- cgit v1.2.3 From 52429ad76aa7f6eafb03d4ab52ddd77859cfeb82 Mon Sep 17 00:00:00 2001 From: Jacob Zimmerman Date: Thu, 20 Oct 2016 00:12:40 -0400 Subject: Add hypersetup options to beamer templates I'm not sure if there is a reason why these were witheld from the default beamer template, but it seemed to work when I added it in to my Beamer project. There was some previous discussion about this at jgm/pandoc#1600. --- default.beamer | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/default.beamer b/default.beamer index a54519ced..1dcc77e4e 100644 --- a/default.beamer +++ b/default.beamer @@ -97,6 +97,25 @@ $for(bibliography)$ \addbibresource{$bibliography$} $endfor$ $endif$ +\hypersetup{ +$if(title-meta)$ + pdftitle={$title-meta$}, +$endif$ +$if(author-meta)$ + pdfauthor={$author-meta$}, +$endif$ +$if(keywords)$ + pdfkeywords={$for(keywords)$$keywords$$sep$; $endfor$}, +$endif$ +$if(colorlinks)$ + colorlinks=true, + linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$, + citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$, + urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$, +$else$ + pdfborder={0 0 0}, +$endif$ + breaklinks=true} $if(listings)$ \usepackage{listings} $endif$ -- cgit v1.2.3 From bd5818c52a0fd5f77dceab04f9a208b4100ab2f4 Mon Sep 17 00:00:00 2001 From: Nicolas Porcel Date: Thu, 24 Nov 2016 15:32:24 +0100 Subject: Force word wrapping in code tags For instance, if you try to compile the following markdown code with pandoc (using 1.12): ``` markdown Page 1 ------ This is a very long code line that will appear on every slide even on page three Page 2 ------ My content Page 3 ------ My last content ``` using this command: pandoc -s -t dzslides test.md -o /tmp/test.html the long code line will appear on every slide. Using pre-wrap fixes the problem by forcing word wrap of code. The only drawback is that it requires IE 8 [according to MDN](https://developer.mozilla.org/fr/docs/Web/CSS/white-space), which make it less compatible. A workaround it to wrap the code when writing it, but if you consider inline code tags using the accents \`\` in markdown this is not possible. --- default.dzslides | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.dzslides b/default.dzslides index c8c249030..97d518931 100644 --- a/default.dzslides +++ b/default.dzslides @@ -12,7 +12,7 @@ $if(keywords)$ $endif$ $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ - + $if(quotes)$ $endif$ -- cgit v1.2.3 From 631dd23383ced378aa0992976474cd4ea1b5c19c Mon Sep 17 00:00:00 2001 From: Wandmalfarbe Date: Sun, 4 Dec 2016 15:16:11 +0100 Subject: Keyword definition used wrong separator The option pdfkeywords from hyperref needs keywords separated with a comma `,` instead of a semicolon `;`. --- default.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.latex b/default.latex index 3ff8be2ab..3b80d3cdc 100644 --- a/default.latex +++ b/default.latex @@ -72,7 +72,7 @@ $if(author-meta)$ pdfauthor={$author-meta$}, $endif$ $if(keywords)$ - pdfkeywords={$for(keywords)$$keywords$$sep$; $endfor$}, + pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, $endif$ $if(colorlinks)$ colorlinks=true, -- cgit v1.2.3 From f5fde82ceb62c6748c538040de13b58e14c43ff6 Mon Sep 17 00:00:00 2001 From: Mauro Bieg Date: Wed, 28 Dec 2016 14:09:50 +0100 Subject: DocBook5: fix namespace declarations --- default.docbook5 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/default.docbook5 b/default.docbook5 index b3a0b6def..415ccf9c3 100644 --- a/default.docbook5 +++ b/default.docbook5 @@ -1,10 +1,11 @@ +

-$else$ -
+ xmlns:mml="http://www.w3.org/1998/Math/MathML" $endif$ + xmlns:xlink="http://www.w3.org/1999/xlink" > $title$ $if(author)$ -- cgit v1.2.3 From 13c6fa0a6f52f3c8c83753bb72ae7992c458b19d Mon Sep 17 00:00:00 2001 From: Vaclav Haisman Date: Tue, 3 Jan 2017 10:11:56 +0100 Subject: Allow passing options to `microtype` LaTeX package --- default.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.latex b/default.latex index 3b80d3cdc..79e55dcf1 100644 --- a/default.latex +++ b/default.latex @@ -54,7 +54,7 @@ $endif$ \IfFileExists{upquote.sty}{\usepackage{upquote}}{} % use microtype if available \IfFileExists{microtype.sty}{% -\usepackage{microtype} +\usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} $if(geometry)$ -- cgit v1.2.3