aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lhs-test.latex13
-rw-r--r--test/lhs-test.latex+lhs13
-rw-r--r--test/writer.latex13
-rw-r--r--test/writers-lang-and-dir.latex13
4 files changed, 28 insertions, 24 deletions
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},
diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs
index 53ab4f713..53b684192 100644
--- a/test/lhs-test.latex+lhs
+++ b/test/lhs-test.latex+lhs
@@ -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},
diff --git a/test/writer.latex b/test/writer.latex
index 9500c7cf9..0a9cf96f8 100644
--- a/test/writer.latex
+++ b/test/writer.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{fancyvrb}
\usepackage{hyperref}
\hypersetup{
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index 9a31a7df8..66f1104c6 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.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},