aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.latex
diff options
context:
space:
mode:
authorEnno <Konfekt@users.noreply.github.com>2018-12-11 18:21:45 -0300
committerJohn MacFarlane <jgm@berkeley.edu>2018-12-11 16:21:45 -0500
commitdc8caf10df9ba65169ba050ea37cca2d45fcc4d4 (patch)
tree05728091ac632192a263e37be4f4586c13b1378c /test/lhs-test.latex
parentfe9c6eb86b162560c502675619b72d866df15601 (diff)
downloadpandoc-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')
-rw-r--r--test/lhs-test.latex11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/lhs-test.latex b/test/lhs-test.latex
index 88758c51c..015a55255 100644
--- a/test/lhs-test.latex
+++ b/test/lhs-test.latex
@@ -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},