aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorThomas Hodgson <twsh@users.noreply.github.com>2015-12-16 00:01:37 +0000
committerThomas Hodgson <twsh@users.noreply.github.com>2015-12-16 00:01:37 +0000
commit01a0cadf98e7e1776ca2082689c1e1ae503cfe2c (patch)
treed67e81ff895e91c23e1aeb3397b87fa535b56185 /default.latex
parentac0f48c73fc282f060d8936aa9084668b1421161 (diff)
downloadpandoc-01a0cadf98e7e1776ca2082689c1e1ae503cfe2c.tar.gz
Make loading parskip.sty conditional on its availability
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex5
1 files changed, 5 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index 805059545..7491765da 100644
--- a/default.latex
+++ b/default.latex
@@ -139,7 +139,12 @@ $if(strikeout)$
$endif$
$if(indent)$
$else$
+\IfFileExists{parskip.sty}{%
\usepackage{parskip}
+}{% else
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{6pt plus 2pt minus 1pt}
+}
$endif$
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%