Added support for LaTeX pagestyle variable (#4135)
* Add pagestyle support * Add pagestyle option to MANUAL.txt * Moved mention of pagestyle to the section on variables
This commit is contained in:
parent
51c0ae5a66
commit
166561cc8d
2 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
% Pandoc User's Guide
|
||||
% John MacFarlane
|
||||
% December 2, 2017
|
||||
% December 8, 2017
|
||||
|
||||
Synopsis
|
||||
========
|
||||
|
@ -1532,6 +1532,11 @@ LaTeX variables are used when [creating a PDF].
|
|||
`natbiboptions`
|
||||
: list of options for natbib.
|
||||
|
||||
`pagestyle`
|
||||
: An option for LaTeX's `\pagestyle{}`. The default article class
|
||||
supports 'plain' (default), 'empty', and 'headings'; headings puts
|
||||
section titles in the header.
|
||||
|
||||
[`article`]: https://ctan.org/pkg/article
|
||||
[`report`]: https://ctan.org/pkg/report
|
||||
[`book`]: https://ctan.org/pkg/book
|
||||
|
|
|
@ -245,6 +245,9 @@ $else$
|
|||
\fi
|
||||
$endif$
|
||||
$endif$
|
||||
$if(pagestyle)$
|
||||
\pagestyle{$pagestyle$}
|
||||
$endif$
|
||||
|
||||
% set default figure placement to htbp
|
||||
\makeatletter
|
||||
|
|
Loading…
Reference in a new issue