9
Supplemental Information

9.1 Tables

Below are the tables which contain useful information about LaTeX.

Counter Definition
\arabic{counter} Arabic numeral
\Roman{counter} Upper case Roman numeral
\roman{counter} Lower case Roman numeral
\alph{counter} Lower case letter
\Alph{counter} Upper case letter
\fnsymbol{counter} A footnote symbol
Table 9.1: Different kinds of counters supported by LaTeX.
Character Code Description
\char Explicit denotation of a character to be typeset.
\chardef Define a control sequence to be a synonym for a character code.
\accent Command to place accent characters.
\if Test equality of character codes.
\ifx Test equality of both character and category codes.
\let Define a control sequence to be a synonym of a token.
\uccode Query or set the character code that is the uppercase variant of a given code.
\lccode Query or set the character code that is the lowercase variant of a given code.
\uppercase Convert the general text argument to its uppercase form.
\lowercase Convert the general text argument to its lowercase form.
\string Convert a token to a string of one or more characters.
\escapechar Number of the character that is to be used for the escape character when control sequences are being converted into character tokens.
Table 9.2: String/numerical operations supported by LaTeX.
Category code Description LaTeX Equivalent
0 Escape character-tells TEX to start looking for a command c
1 Start a group \{
2 End a group \}
3 Math shift-switch in/out of math mode $
4 Alignment tab &
5 End of line ASCII code 13 ()
6 Macro parameter ##
7 Superscript-for typesetting math: $y=x^2$ ^
8 Subscript-for typesetting math: $y=x_2$ _
9 Ignored character ASCII 0 <null>
10 Spacer ASCII codes 32 (space) and 9 (tab character)
11 Letter A...Z, a...z, (and thousands of Unicode characters)
12 Other 0...9 plus ,.;?" and many others
13 Active character Special category code for creating single-character macros such as ~
14 Comment character-ignore everything that follows until the end of the line %
15 Invalid character, not allowed to appear in the .tex input file ASCII code 127 (DEL)