aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MANUAL.txt7
-rw-r--r--data/templates/default.latex3
2 files changed, 9 insertions, 1 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 9baae7eb6..29fc629cd 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -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
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 7e140004f..a9191aa2a 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -245,6 +245,9 @@ $else$
\fi
$endif$
$endif$
+$if(pagestyle)$
+\pagestyle{$pagestyle$}
+$endif$
% set default figure placement to htbp
\makeatletter