Add float placement and page headers/footers
This commit is contained in:
1 parent
1da46c61d6
commit
ed1da06685
16 files changed
+974
-90
No files matched your search
@@ -165,13 +165,21 @@ options/`\geometry{...}` settings, including `paperwidth`, `paperheight`,
|
||||
`textheight` sizes it below the current top margin. The chosen page size drives
|
||||
the PDF pages, the positioned layout, and the SVG preview.
|
||||
|
||||
Page styles are painted in both the PDF and the SVG preview:
|
||||
`\pagestyle{empty|plain|fancy}` sets the document default,
|
||||
`\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
|
||||
`plain` (a centered page number).
|
||||
|
||||
The following packages are accepted as built-ins: `geometry`, `graphicx`,
|
||||
`amsmath`, `amssymb`, `amsfonts`, `booktabs`, `hyperref`, `cite`, `natbib`,
|
||||
`inputenc`, `fontenc`, `url`, `nicefrac`, `microtype`, `cleveref`, `lipsum`,
|
||||
`doi`, `authblk`, and `fancyhdr`. Their commands are approximated where they
|
||||
affect text (`\url` becomes breakable monospace, `\nicefrac`, `\cref`,
|
||||
`\doi`, `\lipsum`, `\verb`), and are no-ops where they only affect the PDF
|
||||
back end (`\hypersetup`, `\fancyhf`, `\microtypesetup`).
|
||||
`\doi`, `\lipsum`, `\verb`); `\hypersetup` and `\microtypesetup` remain
|
||||
PDF-backend no-ops, while fancyhdr's page decorations are painted natively.
|
||||
|
||||
Figure and table captions are numbered (`Figure 1: ...`, `Table 1: ...`), and
|
||||
`\ref` to a figure/table label resolves to that number. Display math that is
|
||||
@@ -464,8 +472,8 @@ advisory breaks, starred `\vspace`/`\hspace`, `center`, `\hrule`, `\fbox`,
|
||||
| Boxes | `\rule`, inline framed `\fbox`, block `\parbox`/`\minipage`, `\vbox`/`\vtop` (as full-width block), inline `\mbox`/`\makebox`, `\raisebox`, `center`, `\hrule` | true nested VBox material |
|
||||
| Fonts | serif/sans/mono faces, bold/italic/mono/sans declarations, group scoping, true scaled small caps | — |
|
||||
| Paragraphs | Knuth-Plass breaking, TeX hyphenation, justification, centering, `\parindent` (17pt default), `\hfill`/`\hfil` | `\raggedright`/`\raggedleft` |
|
||||
| Notes/floats | footnotes with page-bottom insertion area, title/author `\thanks` | figure/table floats |
|
||||
| Pages | A4/Letter/... page sizes, margins/geometry, automatic pagination, `\newpage`, `\pagebreak` | headers/footers (`fancyhdr`), unified planner/renderer |
|
||||
| Notes/floats | footnotes with page-bottom insertion area, title/author `\thanks`, figure/table `[htbp]` placement (top/bottom/page/here approximations) | deferred float queue, `\textfraction` |
|
||||
| Pages | A4/Letter/... page sizes, margins/geometry, automatic pagination, `\newpage`, `\pagebreak`, plain/fancy page styles, `\thispagestyle`, fancyhdr L/C/R headers and footers | unified planner/renderer |
|
||||
| Classes/packages | built-in + local classes, option protocol, local package options | base font-size options (10/11/12pt) |
|
||||
| Live preview | incremental paragraph/page caches, page-hash diffing, SVG refresh | — |
|
||||
|
||||
|
||||
Reference in new issue
Block a user