From 84147eeff15afe29899578fb5a5cc4cb2af1fb7d Mon Sep 17 00:00:00 2001
From: Enno <Konfekt@users.noreply.github.com>
Date: Tue, 11 Dec 2018 15:22:31 -0300
Subject: Let KOMA document class handle parskip when applicable (#5143)

This is just a change to the default latex template.
---
 test/lhs-test.latex | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

(limited to 'test/lhs-test.latex')

diff --git a/test/lhs-test.latex b/test/lhs-test.latex
index 8379864ec..88758c51c 100644
--- a/test/lhs-test.latex
+++ b/test/lhs-test.latex
@@ -21,12 +21,13 @@
 \usepackage[]{microtype}
 \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
 }{}
-\IfFileExists{parskip.sty}{%
-\usepackage{parskip}
-}{% else
-\setlength{\parindent}{0pt}
-\setlength{\parskip}{6pt plus 2pt minus 1pt}
-}
+\@ifundefined{KOMAClassName}{%
+  \IfFileExists{parskip.sty}{%
+  \usepackage{parskip}
+  }{% else
+  \setlength{\parindent}{0pt}
+  \setlength{\parskip}{6pt plus 2pt minus 1pt}
+  }}{\KOMAoptions{parskip=half}}
 \usepackage{hyperref}
 \hypersetup{
             pdfborder={0 0 0},
-- 
cgit v1.2.3

