Merge a7eba4131d00197dcc2143b026a07d86b4ad95c0 into 24a8c009368843605c212159ad8449476db87d20

This commit is contained in:
Jan Ruhfus 2024-10-04 18:09:45 +02:00 committed by GitHub
commit 637f8b2411
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 0 deletions

View File

@ -123,6 +123,14 @@ This template defines some new variables to control the appearance of the result
- `toc-own-page` (defaults to `false`)
begin new page after table of contents, when `true`
- `lof-own-page` (defaults to `false`)
begin new page after list of figures, when `true`
- `lot-own-page` (defaults to `false`)
begin new page after list of tables, when `true`
- `listings-disable-line-numbers` (defaults to `false`)

View File

@ -1102,10 +1102,22 @@ $endif$
$endif$
$endif$
$if(lof)$
$if(lof-own-page)$
\newpage
$endif$
\listoffigures
$if(lof-own-page)$
\newpage
$endif$
$endif$
$if(lot)$
$if(lot-own-page)$
\newpage
$endif$
\listoftables
$if(lot-own-page)$
\newpage
$endif$
$endif$
$if(linestretch)$
\setstretch{$linestretch$}