diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lhs-test.latex | 11 | ||||
-rw-r--r-- | test/lhs-test.latex+lhs | 11 | ||||
-rw-r--r-- | test/writer.latex | 11 | ||||
-rw-r--r-- | test/writers-lang-and-dir.latex | 11 |
4 files changed, 28 insertions, 16 deletions
diff --git a/test/lhs-test.latex b/test/lhs-test.latex index 88758c51c..015a55255 100644 --- a/test/lhs-test.latex +++ b/test/lhs-test.latex @@ -21,13 +21,16 @@ \usepackage[]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} +\makeatletter \@ifundefined{KOMAClassName}{% \IfFileExists{parskip.sty}{% - \usepackage{parskip} + \usepackage{parskip} }{% else - \setlength{\parindent}{0pt} - \setlength{\parskip}{6pt plus 2pt minus 1pt} - }}{\KOMAoptions{parskip=half}} + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% else + \KOMAoptions{parskip=half}} +\makeatother \usepackage{hyperref} \hypersetup{ pdfborder={0 0 0}, diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index 53b684192..fc16ff95a 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -21,13 +21,16 @@ \usepackage[]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} +\makeatletter \@ifundefined{KOMAClassName}{% \IfFileExists{parskip.sty}{% - \usepackage{parskip} + \usepackage{parskip} }{% else - \setlength{\parindent}{0pt} - \setlength{\parskip}{6pt plus 2pt minus 1pt} - }}{\KOMAoptions{parskip=half}} + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% else + \KOMAoptions{parskip=half}} +\makeatother \usepackage{hyperref} \hypersetup{ pdfborder={0 0 0}, diff --git a/test/writer.latex b/test/writer.latex index 0a9cf96f8..46e9b7a38 100644 --- a/test/writer.latex +++ b/test/writer.latex @@ -21,13 +21,16 @@ \usepackage[]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} +\makeatletter \@ifundefined{KOMAClassName}{% \IfFileExists{parskip.sty}{% - \usepackage{parskip} + \usepackage{parskip} }{% else - \setlength{\parindent}{0pt} - \setlength{\parskip}{6pt plus 2pt minus 1pt} - }}{\KOMAoptions{parskip=half}} + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% else + \KOMAoptions{parskip=half}} +\makeatother \usepackage{fancyvrb} \usepackage{hyperref} \hypersetup{ diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex index 66f1104c6..de382641d 100644 --- a/test/writers-lang-and-dir.latex +++ b/test/writers-lang-and-dir.latex @@ -21,13 +21,16 @@ \usepackage[]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} +\makeatletter \@ifundefined{KOMAClassName}{% \IfFileExists{parskip.sty}{% - \usepackage{parskip} + \usepackage{parskip} }{% else - \setlength{\parindent}{0pt} - \setlength{\parskip}{6pt plus 2pt minus 1pt} - }}{\KOMAoptions{parskip=half}} + \setlength{\parindent}{0pt} + \setlength{\parskip}{6pt plus 2pt minus 1pt}} +}{% else + \KOMAoptions{parskip=half}} +\makeatother \usepackage{hyperref} \hypersetup{ pdfborder={0 0 0}, |