Honour raggedright and raggedleft paragraph alignment
This commit is contained in:
1 parent
c7b7660049
commit
2c8d5e12d8
13 files changed
+238
-40
No files matched your search
@@ -298,7 +298,10 @@ block.
|
||||
The `center` environment is a block: its content wraps at the text width and
|
||||
every line is centered without justification (natural spaces), so
|
||||
`\begin{center}\url{...}\end{center}` and centered short text match LaTeX.
|
||||
`\centering` inside a paragraph is still a no-op.
|
||||
`\centering` inside a paragraph is still a no-op. `\raggedright` and
|
||||
`\raggedleft` are paragraph-level declarations: the affected runs use natural
|
||||
space widths, the declaration is scoped by groups and the `raggedright`/
|
||||
`raggedleft` environments, and the final line is not stretched to the margin.
|
||||
|
||||
`\rule[raise]{width}{height}` is rendered as a filled rectangle in both the
|
||||
PDF and the SVG preview, including raised and dropped rules; a zero-thickness
|
||||
@@ -313,9 +316,8 @@ size and propagate through headings, title material, lists, tables, block
|
||||
boxes, footnotes, and the default paragraph indent.
|
||||
Known gaps for full document classes: custom `\maketitle` implementations
|
||||
are ignored (the engine title layout is used), `\parbox`/`\minipage` are
|
||||
block-level rather than inline, `\vbox` and `\vtop` map to a full-width block
|
||||
box rather than true nested VBox material, and the abstract prints as body text
|
||||
without an "Abstract" heading.
|
||||
block-level rather than inline, and `\vbox` and `\vtop` map to a full-width
|
||||
block box rather than true nested VBox material.
|
||||
|
||||
`\footnote{...}` captures its content, emits a superscript marker, reserves
|
||||
space on the page where the paragraph ends, and paints the notes with a
|
||||
@@ -483,7 +485,7 @@ 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` |
|
||||
| Paragraphs | Knuth-Plass breaking, TeX hyphenation, justification, centering, `\raggedright`/`\raggedleft`, `\parindent` (17pt default), `\hfill`/`\hfil` | `\centering` in running text |
|
||||
| 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 | — |
|
||||
|
||||
Reference in new issue
Block a user