Contents Up << >>

### Command syntax

There are several kinds of commands in LaTeX. Most involve a keyword prefixed with a backslash. Here are some examples:

        \titlepage

        \centerline{This is a centred line}

        \begin{center}
        This is a centred
        paragraph
        \end{center}

        {\bf This is bold font}

The first example has no arguments. The second has one argument. The third example is an environment which uses the begin and end keywords instead of a pair of braces to enclose an argument (usually one). The fourth is an example of using a command within a pair of braces: the command applies to the scope within the braces. Tex2RTF treats this form as if it were a command with one argument, with the right brace delimiting the argument. In this case, the command must immediately follow a left brace as shown.

Commands may be nested, but not overlapped.