Expand fancy headers at document start and add header rules

This commit is contained in:
gloamxun committed 2026-10-19 15:28:54 +08:00
1 parent 4991bdfcfc
commit 3406f84e86
5 files changed
+157 -6

No files matched your search

+4 -1
View File
@@ -176,7 +176,10 @@ Page styles are painted in both the PDF and the SVG preview:
`\thispagestyle{...}` overrides one page, and fancyhdr's `\fancyhead`/
`\fancyfoot` plus `\lhead`/`\chead`/`\rhead`/`\lfoot`/`\cfoot`/`\rfoot`
place runs in the left, center, or right slot. `\thepage` is resolved when the
page is painted, so the footer shows the real page number. The default style is
page is painted, so the footer shows the real page number. Decoration tokens
are expanded at the start of the document, after packages have renewed macros
such as the short title, and fancy headers get the usual 0.4pt rule below them.
The default style is
`plain` (a centered page number).
The following packages are accepted as built-ins: `geometry`, `graphicx`,