diff options
author | Thomas Hodgson <twsh@users.noreply.github.com> | 2015-12-16 00:01:37 +0000 |
---|---|---|
committer | Thomas Hodgson <twsh@users.noreply.github.com> | 2015-12-16 00:01:37 +0000 |
commit | 01a0cadf98e7e1776ca2082689c1e1ae503cfe2c (patch) | |
tree | d67e81ff895e91c23e1aeb3397b87fa535b56185 | |
parent | ac0f48c73fc282f060d8936aa9084668b1421161 (diff) | |
download | pandoc-01a0cadf98e7e1776ca2082689c1e1ae503cfe2c.tar.gz |
Make loading parskip.sty conditional on its availability
-rw-r--r-- | default.latex | 5 |
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}{% |