Make loading parskip.sty conditional on its availability

This commit is contained in:
Thomas Hodgson 2015-12-16 00:01:37 +00:00
parent ac0f48c73f
commit 01a0cadf98

View file

@ -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}{%