summaryrefslogtreecommitdiff
path: root/docs/user/latex.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/user/latex.txt')
-rw-r--r--docs/user/latex.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/user/latex.txt b/docs/user/latex.txt
index 3eac80f4e..25d4582f2 100644
--- a/docs/user/latex.txt
+++ b/docs/user/latex.txt
@@ -1356,6 +1356,28 @@ Example 2:
http://mirror.ctan.org/macros/latex/contrib/geometry/geometry.pdf
+page headers and footers
+------------------------
+
+With the fancyhdr_ package or the `KOMA-script`_ classes, you can define
+custom page head- and foot-lines.
+
+The "header" and "footer" directives save their content in the macros
+``\DUheader`` rsp. ``\DUfooter``. The macros can be used in LaTeX code and
+will be replaced by LaTeX with the content of the directives.
+
+Example:
+ Place left-aligned "header" and "footer" on every page with fancyhdr_::
+
+ \usepackage{fancyhdr}
+ \fancyhead[L]{\DUheader}
+ \fancyfoot{} % reset
+ \fancyfoot[L]{\DUfooter}
+ \pagestyle{fancy}
+
+.. _fancyhdr: http://www.ctan.org/pkg/fancyhdr
+
+
page numbering
--------------