LaTeXML icon indicating copy to clipboard operation
LaTeXML copied to clipboard

support font sizes provided by the class

Open xworld21 opened this issue 1 year ago • 1 comments
trafficstars

LaTeXML pretends that the base font size is always 10pt, for simplicity, except for the a0poster class. This is quite inconvenient with TikZ and tikz-cd, because the figures are generated based on 10pt, even though they might have been written with 12pt in mind.

I am running some experiments with BookML and using the font sizes prescribed by the class options results in visible improvements.

Without adjusting for 12pt class option (top LaTeXML, bottom LaTeX+dvisvgm): image After adjusting for 12pt: image

(For both examples, the images have bene rescaled so that the characters have the same size as the surrounding HTML.)

xworld21 avatar Jul 10 '24 18:07 xworld21