Add 10/11/12pt base font size options
This commit is contained in:
1 parent
269433abdb
commit
477e2124c8
8 files changed
+180
-69
No files matched your search
+6
-3
@@ -17,10 +17,13 @@ and geometry-aware `\textwidth`/`\textheight` named length registers.
|
||||
ordered list of placed items, then use it for both page-break decisions and
|
||||
final painting. This is the prerequisite for a true deferred float queue.
|
||||
|
||||
## 2. Base font size
|
||||
## 2. Base font size (implemented)
|
||||
|
||||
- Thread the `10pt`/`11pt`/`12pt` class option through the parser, line metrics,
|
||||
headings, and the PDF so the base size changes consistently.
|
||||
- `DocumentModel.base_font_size` is set by the class option (default 11)
|
||||
and threaded through both the page planner and the positioned renderer:
|
||||
body lines, headings (`article_heading_font_size`), title material, lists,
|
||||
tables, block boxes, footnotes, and the default `\parindent` (15pt for
|
||||
10/12pt, 17pt for 11pt).
|
||||
|
||||
## 3. Table of contents and lists
|
||||
|
||||
|
||||
+6
-4
@@ -54,10 +54,12 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
- Notes: footnotes inside captions, floats, or arbitrary boxes are not
|
||||
collected; the insertion area currently follows the page where the paragraph
|
||||
ends rather than the exact reference line.
|
||||
- Miscellaneous: `\tableofcontents`/list commands are no-ops; base font-size
|
||||
class options (10/11/12pt) are parsed but unused; rules are painted with 1x1
|
||||
images in PDF; a document-level `\renewcommand{\maketitle}` is ignored in
|
||||
favor of the engine title block.
|
||||
- Class sizes: 10pt/11pt/12pt set the body size and propagate through
|
||||
headings, title material, lists, tables, block boxes, footnotes, and the
|
||||
default paragraph indent (10/12pt use 15pt; 11pt uses 17pt).
|
||||
- Miscellaneous: \tableofcontents/list commands are no-ops; rules are
|
||||
painted with 1x1 images in PDF; a document-level \renewcommand{\maketitle}
|
||||
is ignored in favor of the engine title block.
|
||||
|
||||
## Verification
|
||||
|
||||
|
||||
Reference in new issue
Block a user