LaTeXM...n::Font(3pm)
π NAME π
hiii bestie π«Ά this is the LaTeXM...n::Font(3pm) page from the User Contributed Perl Documentation manual, and it's all about LaTeXML::Common::Font β representation of fonts. Periodt. π
β¨ DESCRIPTION β¨
okay so LaTeXML::Common::Font represents fonts in LaTeXML, and it extends LaTeXML::Common::Object. This module defines Font objects. Real talk: the author is like, βI'm not completely happy with the arrangement, or maybe just the use of it, so I'm not going to document extensively at this point.β So that's the vibe β iconic but lowkey mysterious π
The attributes are:
familyβserif,sansserif,typewriter,caligraphic,fraktur,scriptseriesβmedium,boldshapeβupright,italic,slanted,smallcapssizeβTINY,Tiny,tiny,SMALL,Small,small,normal,Normal,large,Large,LARGE,huge,Huge,HUGE,gigantic,Gigantic,GIGANTICcolorβ any named color, default isBlack
They are usually merged against the current font, attempting to mimic the, sometimes counter-intuitive, way that TeX does it, particularly for math. no cap, TeX really said βmy rules, my worldβ π
π§ Methods π§
$font->specialize($string);
In math mode, LaTeXML::Common::Font supports computing a font reflecting how the specific $string would be printed when $font is active. This (attempts to) handle the curious ways that lower case greek often doesn't get a different font. In particular, it recognizes the following classes of strings: single latin letter, single uppercase greek character, single lowercase greek character, digits, and others. iykyk πβ¨
π AUTHOR π
Bruce Miller <bruce.miller@nist.gov>
π COPYRIGHT π
Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US. fr fr, public domain icon behavior π«Ά
okay that's the whole page bestie!! π source/version: perl v5.40.1, date: 2025-11-16, and the manual page is LaTeXM...n::Font(3pm). mwah ππΈ
π¦ where this page comes from
- ubuntu resolute: latexml 0.8.8-4 Β· PD
- ubuntu stonking: latexml 0.8.8-4 Β· PD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms