LaTeX template: Move \setstretch after front matter (#5378)

Ensures that `\maketitle`, `\tableofcontents`, and so forth are not affected by changes to line spacing. Closes #5179 by partially working around <https://github.com/reutenauer/polyglossia/issues/218>.
This commit is contained in:
Andrew Dunning 2019-03-22 01:32:52 -04:00 committed by John MacFarlane
parent 567a43ace3
commit b3473df417

View file

@ -93,7 +93,6 @@ $else$
$endif$
$if(linestretch)$
\usepackage{setspace}
\setstretch{$linestretch$}
$endif$
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
@ -431,6 +430,9 @@ $endif$
$if(lof)$
\listoffigures
$endif$
$if(linestretch)$
\setstretch{$linestretch$}
$endif$
$if(has-frontmatter)$
\mainmatter
$endif$