summaryrefslogtreecommitdiff
path: root/tests/writers-lang-and-dir.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-19 18:29:55 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-19 18:50:45 -0800
commit28b2d86b2113c0b03c480dbd7e6fbad1d4a1053f (patch)
tree6421834270c73748cb74b5d17ac3b5bc9c4ede9b /tests/writers-lang-and-dir.latex
parent9333814254917b2063a65d9e08c2a288a282405d (diff)
LaTeX/Beamer template changes (Thomas Hodgson):
* Added `thanks` variable * Use `parskip.sty` when `indent` isn't set (fall back to using `setlength` as before if `parskip.sty` isn't available). * Use `biblio-style` with biblatex. * Added `biblatexoptions` variable. * Added `section-titles` variable (defaults to true) to enable/suppress section title pages in beamer slide shows. * Moved beamer themes after fonts, so that themes can change fonts. (Previously the fonts set were being clobbered by lmodern.sty.)
Diffstat (limited to 'tests/writers-lang-and-dir.latex')
-rw-r--r--tests/writers-lang-and-dir.latex4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/writers-lang-and-dir.latex b/tests/writers-lang-and-dir.latex
index 8a8433592..2f1ee4fbe 100644
--- a/tests/writers-lang-and-dir.latex
+++ b/tests/writers-lang-and-dir.latex
@@ -46,8 +46,12 @@
\setotherlanguage[]{spanish}
\setotherlanguage[]{french}
\fi
+\IfFileExists{parskip.sty}{%
+\usepackage{parskip}
+}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
+}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}