If you see this, something is wrong
First published on Thursday, Aug 14, 2025 and last modified on Monday, Jun 1, 2026 by François Chaplais.
Running text is the ordinary text that you will see in paragraphs, section titles, figure captions, etc...
There are eleven text styling commands, which can also be viewed as a change in font usage. The commands have a two-letter name, and the parameter is the text to which the styling should be applied. Here is a table.
| Command | Style |
\rm
|
Roman, i.e. normal text |
\em
|
Emphasized, used for true italics |
\bf
|
Bold |
\it
|
Italic, see \em
|
\sl
|
Slanted, aka false italics |
\ul
|
underlined text |
\hl
|
Highlighted text |
\st
|
Strikethrough text |
\sf
|
Sans Serif |
\sc
|
Small Capitals |
\tt
|
Monospace (\tt stands for typewriter)
|
This is bold, italic, bold italic and mono spaced text. The corresponding LaTeX code si below.
This is \bf{bold}, \em{italic}, \bf{\em{bold italic}} and \tt{mono spaced} text.Ten LaTeX commands let you specify the size of the text.
| Command | Style |
\tiny | tiny text |
\scriptsize | scriptsize text |
\footnotesize | footnotesize text |
\small | small text |
\normalsize | normalsize text |
\large | large text |
\Large | Large text |
\LARGE | LARGE text |
\huge | huge text |
\Huge | Huge text |
LaTeX2Web fully support the UTF-8 text encoding, which means that, most probably, you can type non-ASCII characters in the text and this everything will be fine. While there are some LaTeX commands for producing special characters, and special fonts to use others, we strongly discourage you from using them.
Thse special characters are encoded on more that one byte according to the UTF-8 encoding. This encoding covers most of the Unicode characters. There is a list of the Unicode characters in Wikipedia, organized by scripting systems.
Below is a sample text that I use to check if a font supports all the French special characters 😉.
Portez ce vieux whisky au juge blond qui fume sur son île intérieure, à côté de l’alcôve ovoïde, où les bûches se consument dans l’âtre, ce qui lui permet de penser à la cænogénèse de l’être dont il est question dans la cause ambiguë entendue à Moÿ, dans un capharnaüm qui, pense-t-il, diminue çà et là la qualité de son œuvre.