diff options
author | Enno <Konfekt@users.noreply.github.com> | 2018-12-11 18:21:45 -0300 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-12-11 16:21:45 -0500 |
commit | dc8caf10df9ba65169ba050ea37cca2d45fcc4d4 (patch) | |
tree | 05728091ac632192a263e37be4f4586c13b1378c /test/lhs-test.latex+lhs | |
parent | fe9c6eb86b162560c502675619b72d866df15601 (diff) | |
download | pandoc-dc8caf10df9ba65169ba050ea37cca2d45fcc4d4.tar.gz |
template:latex: make @ letter before using it (#5145)
This fixes the previous commit for parskip and KOMA classes.
Diffstat (limited to 'test/lhs-test.latex+lhs')
-rw-r--r-- | test/lhs-test.latex+lhs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index 53b684192..fc16ff95a 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -21,13 +21,16 @@ \usepackage[]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} +\makeatletter \@ifundefined{KOMAClassName}{% \IfFileExists{parskip.sty}{% - \usepackage{parskip} + \usepackage{parskip} }{% else - \setlength{\parindent}{0pt} - \setlength{\parskip}{6pt plus 2pt minus 1pt} - }}{\KOMAoptions{parskip=half}} + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% else + \KOMAoptions{parskip=half}} +\makeatother \usepackage{hyperref} \hypersetup{ pdfborder={0 0 0}, |