Previous Next Contents

B.15  Font Selection

B.15.1  Changing the Type Style

All LATEX2e declarations and environments for changing type style are recognized. Aspect is rather like LATEX2e output, but there is no guarantee. Old style declarations are also recognized, they should yield the same appearance as corresponding new declarations.

HEVEA possesses an extra font attribute: color. Text color is changed by declarations whose names follow HTML conventions for colors. There are sixteen predefined colors:
\purple, \silver, \gray, \white, \maroon, \red, \fuchsia, \green, \lime, \olive, \yellow, \navy, \blue, \teal, \aqua
Additionally, the current text color can be changed by the declaration \htmlcolor{number}, where number is a six digit hexadecimal number specifying a color in the RGB space. For instance, the following declarations change font color to dark gray:

  \htmlcolor{404040}
Text colors can also be specified in a more LATEX-compliant manner by using commands from the color package, which HEVEA partly implements (see section B.14.2). Colors should be used carefully. Too many colors hinders clarity and some of the colors may not be readable on the document background color.

B.15.2  Changing the Type Size

All declarations, from \tiny to \Huge are recognized. Output is not satisfactory inside headers elements generated by sectioning commands.

B.15.3  Special Symbols

The \symbol{num} outputs character number num from the iso-latin1 character set. This departs from LATEX, which output symbol number num in the current font.


Previous Next Contents