Contents Up << >>

### Command arguments

Commands that have one or more arguments can be used in the following three ways:

        \bf{Some text.}

        \begin{bf}
        Some text.
        \end{bf}

        {\bf Some text.}

The first method is a normal LaTeX command.

The second method is called an environment; LaTeX has specific environments that do not always correspond to normal commands, but Tex2RTF recognizes environments and normal commands interchangeably, so long as the command has no more than two arguments.

With the third method, it is important that the command has its own pair of braces, and that the command immediately follows the first brace. Otherwise, the parser cannot parse the argument(s) properly. With multiple arguments, each should be enclosed in braces.

Optional arguments are specified using square brackets or parentheses.

The braces that start command arguments must not be separated from the other arguments by whitespace. For example, the following produces an error:

        \image{5cm;0cm}
        {picture.eps}

and should be replaced by

        \image{5cm;0cm}{picture.eps}