summaryrefslogtreecommitdiff
path: root/tests/writer.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/writer.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/writer.latex')
-rw-r--r--tests/writer.latex4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/writer.latex b/tests/writer.latex
index ced46f808..7e7a02f58 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -42,8 +42,12 @@
\usepackage[normalem]{ulem}
% avoid problems with \sout in headers with hyperref:
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
+\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}}