LaTeXML...on::Font(3)
๐ NAME ๐
"LaTeXML::Common::Font" โ representation of fonts.
okay so bestie, this is the LaTeXML...on::Font(3) page under User Contributed Perl Documentation (yes the header truncates the title, but the main character is LaTeXML::Common::Font), and itโs literally all about fonts in LaTeXML ๐
โจ
๐ธ DESCRIPTION ๐ธ
"LaTeXML::Common::Font" represents fonts in LaTeXML. It extends LaTeXML::Common::Object.
This module defines Font objects. ngl, the author says theyโre not completely happy with the arrangement โ or maybe just the use of it โ so theyโre not going to document extensively at this point ๐
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 ๐งฎโจ
๐ 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. ๐ฆ
๐ 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.
later bestie โ this page is from perl v5.42.3, dated 2024-02-26 ๐๐ซถโจ
๐ฆ where this page comes from
- nixos 26.05: perl5.42.3-LaTeXML 0.8.8
- nixpkgs unstable: perl5.42.3-LaTeXML 0.8.8
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms