LaTeXML::Common::Font(3pm)

LaTeXML::Common::Font3pm

Representation of fonts

Overview

"LaTeXML::Common::Font" represent fonts in LaTeXML. It extends LaTeXML::Common::Object.

This module defines Font objects. 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.

The attributes are

 family : serif, sansserif, typewriter, caligraphic,
          fraktur, script
 series : medium, bold
 shape  : upright, italic, slanted, smallcaps
 size   : TINY, Tiny, tiny, SMALL, Small, small,
          normal, Normal, large, Large, LARGE,
          huge, Huge, HUGE, gigantic, Gigantic, GIGANTIC
 color  : any named color, default is Black

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Bruce Miller <[email protected]>

From latexml 0.8.8-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.