1LaTeXML::Common::Font(3U)ser Contributed Perl DocumentatiLoanTeXML::Common::Font(3)
2
3
4
6 "LaTeXML::Common::Font" - representation of fonts
7
9 "LaTeXML::Common::Font" represent fonts in LaTeXML. It extends
10 LaTeXML::Common::Object.
11
12 This module defines Font objects. I'm not completely happy with the
13 arrangement, or maybe just the use of it, so I'm not going to document
14 extensively at this point.
15
16 The attributes are
17
18 family : serif, sansserif, typewriter, caligraphic,
19 fraktur, script
20 series : medium, bold
21 shape : upright, italic, slanted, smallcaps
22 size : TINY, Tiny, tiny, SMALL, Small, small,
23 normal, Normal, large, Large, LARGE,
24 huge, Huge, HUGE, gigantic, Gigantic, GIGANTIC
25 color : any named color, default is black
26
27 They are usually merged against the current font, attempting to mimic
28 the, sometimes counter-intuitive, way that TeX does it, particularly
29 for math
30
32 "$font->specialize($string);"
33 In math mode, "LaTeXML::Common::Font" supports computing a font
34 reflecting how the specific $string would be printed when $font is
35 active; This (attempts to) handle the curious ways that lower case
36 greek often doesn't get a different font. In particular, it
37 recognizes the following classes of strings: single latin letter,
38 single uppercase greek character, single lowercase greek character,
39 digits, and others.
40
42 Bruce Miller <bruce.miller@nist.gov>
43
45 Public domain software, produced as part of work done by the United
46 States Government & not subject to copyright in the US.
47
48
49
50perl v5.32.1 2021-01-25 LaTeXML::Common::Font(3)