-
Notifications
You must be signed in to change notification settings - Fork 78
Support standard LaTeX relative size declarations #311
Copy link
Copy link
Open
Labels
Area/ParsingLaTeX tokenization, parsing, commands, and serialization.LaTeX tokenization, parsing, commands, and serialization.Area/RenderingTypesetting, measurement, fonts, text layout, and drawing.Typesetting, measurement, fonts, text layout, and drawing.Type/EnhancementA concrete change to CSharpMath behavior or capability.A concrete change to CSharpMath behavior or capability.
Description
Activity
Metadata
Metadata
Assignees
Labels
Area/ParsingLaTeX tokenization, parsing, commands, and serialization.LaTeX tokenization, parsing, commands, and serialization.Area/RenderingTypesetting, measurement, fonts, text layout, and drawing.Typesetting, measurement, fonts, text layout, and drawing.Type/EnhancementA concrete change to CSharpMath behavior or capability.A concrete change to CSharpMath behavior or capability.
Support the standard LaTeX size declarations in formula and text content:
\tiny,\scriptsize,\footnotesize,\small,\normalsize,\large,\Large,\LARGE,\huge, and\Huge.CSharpMath has no document class, so define each declaration as a documented scale relative to the painter's externally supplied base font size, using the standard 10pt-class ratios as the compatibility baseline. Keep this separate from arbitrary
\fontsize{size}{baseline-skip}support.Acceptance criteria:
FontSize/magnification behavior and text parser\fontsizebehavior remain compatible.The LaTeX font-selection guide lists the ten declarations and their standard 10pt-class sizes: https://www.latex-project.org/help/documentation/fntguide.pdf
Parent backlog: #81. This was identified from the WpfMath parity tracker #145.