aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-19 18:25:50 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-19 18:25:50 -0800
commitddf17ce3dfff35c5e3ff0b4e90ef9533ecb218c8 (patch)
tree7789ee58b788cd8e46311cab4e1907156502b3bb
parent1ad9e62c637495f6dad7ef56f8e5c7e062084def (diff)
parent01a0cadf98e7e1776ca2082689c1e1ae503cfe2c (diff)
downloadpandoc-ddf17ce3dfff35c5e3ff0b4e90ef9533ecb218c8.tar.gz
Merge pull request #172 from twsh/parskip
Use parskip.sty when the 'indent' option isn't set
-rw-r--r--default.latex4
1 files changed, 4 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index 331ae70e2..c10b617c6 100644
--- a/default.latex
+++ b/default.latex
@@ -141,8 +141,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}{%