Generate table of contents and figure/table lists
This commit is contained in:
1 parent
477e2124c8
commit
4aa1714923
11 files changed
+353
-29
No files matched your search
@@ -272,15 +272,17 @@ collapsed to an ordinary space in text).
|
||||
the starred form (`\vspace*{12pt}`, `\hspace*{1cm}`); the star is consumed and
|
||||
the dimension is passed to `\vskip`/`\hskip`.
|
||||
|
||||
`\textwidth` (160mm), `\textheight` (247mm), `\linewidth`, and
|
||||
`\columnwidth` are provided as fixed defaults for the A4 content box, so
|
||||
`\parbox{\textwidth}` and `\rule{\textwidth}{1pt}` work; they are not
|
||||
geometry-aware yet (a changed page size or margin keeps these defaults).
|
||||
`\textwidth`, `\textheight`, `\linewidth`, and `\columnwidth` are live
|
||||
named length registers updated from the page size and geometry, so
|
||||
`\parbox{\textwidth}` and `\rule{\textwidth}{1pt}` follow the current text
|
||||
block. The mm-to-TeX-point conversion differs from TeX by about 0.4%.
|
||||
|
||||
`\smallbreak`, `\medbreak`, `\bigbreak` add the corresponding skip (the
|
||||
encouraged page break itself is not inserted yet). `\tableofcontents`,
|
||||
`\listoffigures`, and `\listoftables` are accepted as no-ops because contents
|
||||
lists are not generated yet.
|
||||
`\listoffigures`, and `\listoftables` generate a heading followed by one
|
||||
entry per numbered section or captioned figure/table; page numbers are filled
|
||||
in after pagination. Entries use infinite glue for right-aligned page numbers
|
||||
rather than dotted leaders.
|
||||
|
||||
Vertical skips are active: `\smallskip`, `\medskip`, and `\bigskip` map to
|
||||
3pt/6pt/12pt `\vskip` glue, and `\addvspace{...}` forwards its argument to
|
||||
@@ -349,8 +351,8 @@ author/editor, title, journal, booktitle, volume, number, pages, publisher,
|
||||
institution, school, organization, edition, address, month, note, and year fields.
|
||||
BibTeX `@string` macros and single-level `crossref` inheritance are supported.
|
||||
Manual `thebibliography` entries also work. Custom `.bst` sorting and formatting,
|
||||
author-year citation styles, page-number references, and automatic table of
|
||||
contents are not implemented.
|
||||
author-year citation styles and page-number references (`\pageref`) are not
|
||||
implemented.
|
||||
|
||||
A paragraph starts with the current `\parindent` (17pt by default); the
|
||||
indent is recorded per paragraph and follows group scoping, `\setlength`,
|
||||
@@ -481,6 +483,7 @@ advisory breaks, starred `\vspace`/`\hspace`, `center`, `\hrule`, `\fbox`,
|
||||
| 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 `[htbp]` placement (top/bottom/page/here approximations) | deferred float queue, `\textfraction` |
|
||||
| Contents | `\tableofcontents`, `\listoffigures`, `\listoftables` generated from numbered headings and captions, page numbers resolved after pagination | dotted leaders, per-chapter book/report contents |
|
||||
| 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 sizes 10/11/12pt | class-specific section formatting |
|
||||
| Live preview | incremental paragraph/page caches, page-hash diffing, SVG refresh | — |
|
||||
|
||||
Reference in new issue
Block a user