## LaTeX Commands

abstract:1
addcontentsline:3
author:1
backslash:0
bf:1
bffamily:1
bibitem:2
bibliographystyle:1
bibliography:0
caption:1
cdots:0
centerline:1
center:1
chapter:1
chapter*:1
cite:1
comment:1
date:1
description:1
document:1
documentstyle:1
em:1
emph:1
enumerate:1
figure:1
flushleft:1
flushright:1
footnote:1
hline:0
hrule:0
huge:1
Huge:1
HUGE:1
include:1
index:1
input:1
insertatlevel:2
it:1
itemize:1
item:0
itemsep:0
itshape:1
label:1
large:1
Large:1
LARGE:1
LaTeX:0
ldots:0
maketitle:0
marginparwidth:1
marginpar:1
marginpareven:1
marginparodd:1
mdseries:1
multicolumn:3
newcommand:3
newpage:0
nocite:1
noindent:0
normalsize:1
onecolumn:0
pageref:1
pagestyle:1
pagenumbering:1
paragraph:0
paragraph*:0
parindent:1
parskip:1
par:0
printindex:0
quote:1
quotation:1
ref:1
rm:1
rmfamily:1
sc:1
scshape:1
section:1
section*:1
sf:1
sffamily:1
shortcite:1
sl:1
slshape:1
small:1
special:1
ss:0
subparagraph:1
subparagraph*:1
subsection:1
subsection*:1
subsubsection:1
subsubsection*:1
tabbing:1
table:1
tableofcontents:0
tabular:2
TeX:0
textbf:1
textit:1
textrm:1
textsf:1
textsc:1
textsl:1
texttt:1
textwidth:1
thebibliography:1
title:1
tiny:1
today:0
tt:1
ttfamily:1
typeout:1
twocolumn:0
underline:1
upshape:1
verbatiminput:1
verbatim:1
verb

### abstract:1

This standard LaTeX environment prepares an abstract page, and is treated as an ordinary chapter or section in on-line help.

### addcontentsline:3

Adds a chapter title to the contents page. Linear RTF. Rarely required.

### author:1

Defines the author, for output when `\maketitle` is used.

### backslash:0

Outputs a backslash in math mode (should be enclosed by two dollar symbols).

### bf:1

Specifies bold font.

### bffamily:1

Specifies bold font.

### bibitem:2

For parsing convenience, `\bibitem` requires two arguments: a cite key and item. LaTeX syntax permits writing this as if it were two arguments, even though it is in fact only one. This command is used within a `\thebibliography` environment. The preferred method is to store references in `.bib` files and use the `\bibliography` command to generate a bibliography section automatically.

### bibliographystyle:1

Currently doesn't affect the style of bibliography, but probably will in the future.

### bibliography:0

Includes the bibliography at this point in the document. See the section on bibliographies.

### caption:1

Specifies a caption (within a `\figure` or `\table` environment). This may be followed immediately by a `\label` command.

### cdots:0

Outputs three dots.

### centerline:1

Centres (or centers!) a line of text.

### center:1

Centres a block of text.

### chapter:1

Outputs a chapter heading. If the chapter's name is Popups, the chapter title will not be put in the contents, to allow popups to be placed in a document without the popup sections being directly accessible.

### chapter*:1

Outputs a chapter heading with no contents entry.

### cite:1

Cite a reference. The argument is a reference key as defined in a LaTeX `.bib` file.

### comment:1

An environment that allows large comments in LaTeX files: the argument is ignored in all formats. Useful for commenting out parts of files that cannot be handled by LaTeX, such as the picture environment. See also `\toocomplex`.

### date:1

Specifies the date of a document; only output by `\maketitle`.

### description:1

A list environment, where each `\item` command must be followed by optional square-bracketed text which will be highlighted.

### document:1

This environment should enclose the body of a document.

### documentstyle:1

Specifies the main style (report, article etc.) and, optionally, style files such as `texhelp.sty`. A report has `\chapters`, while an article's top-level sections are specified using `\section`.

### em:1

Emphasizes text (italic in RTF).

### emph:1

Same as `\em`.

### enumerate:1

Enumerate list environment: numbers the `\items`.

### figure:1

A figure environment: does nothing special, except allows interpretation of embedded caption commands as figures rather than (say) tables.

### flushleft:1

Flushes the given text to the left margin.

### flushright:1

Flushes the given text to the right margin.

### footnote:1

In linear RTF, a footnote is created. Whether this appears at the end of the section or the bottom of the page appears to depend on the current document style, at least for MS Word 6.0 for Windows. The default seems to be to put the footnotes at the end of the section, which is probably not the best assumption.

In WinHelp RTF, a bracketed number is generated for the footnote and the footnote becomes a popup topic. It is probably preferable to change footnote commands to `\footnotepopup`, or `\popref` references to glossary entries.

This command is not supported for formats other than LaTeX, linear RTF and WinHelp RTF.

### hline:0

Within a `\tabular` environment, draws a horizontal rule below the current row. Note that this does not work in RTF for the last row of a table, in which case the command `\ruledrow` should be used instead.

### hrule:0

Draws a horizontal line below the current paragraph. For example:

        This paragraph should have a horizontal rule following it.\hrule

gives:

This paragraph should have a horizontal rule following it.

### huge:1

Outputs the argument in huge text.

### Huge:1

Outputs the argument in huger text than `\huge`.

### HUGE:1

Outputs the argument in huger text than `\Huge`.

### include:1

Include the given file. The command must not be preceded by any whitespace, and spurious whitespace between elements of the command will also trip up Tex2RTF.

### index:1

In WinHelp mode, adds a keyword to the keyword list for the current topic. This keyword must currently be straight text, with no embedded commands. The conversion process must be run twice (without quitting Tex2RTF inbetween) to resolve the keyword references.

### input:1

Include the given file. The command must not be preceded by any whitespace, and spurious whitespace between elements of the command will also trip up Tex2RTF.

### insertatlevel:2

Insert some text at a particular level of the document. For example,

      \insertatlevel{2}{Some text}

inserts "Some text" at level 2 (for a report, the current section). This allows you to insert headings into an automatically-generated section contents, for example.

### it:1

Marks the argument in italic.

### itemize:1

Indents each `\item` of a list and precedes with a bullet. If the file `bullet.bmp` is found by Tex2RTF, this bitmap will be used as the bullet (WinHelp RTF); otherwise, a symbol or bold 'o' will be used instead, depending on output format.

Use `\itemsep` to specify the separation between list items. Currently this only works for linear or WinHelp RTF output. If the value is more than zero, an extra paragraph is inserted.

### item:0

Marks an item of a `\itemize`, `\description` or `\enumerate` list. Items within a description environment should have an 'optional' argument in square brackets which will be highlighted.

### itemsep:0

Use this command to specify the separation between list items. Currently this only works for linear or WinHelp RTF output. If the value is zero, no extra paragraph is inserted; if the value is more than zero, an extra paragraph is inserted.

### itshape:1

Marks the argument in italic.

### label:1

Labels the chapter, section, subsection, subsubsection or figure caption with the given label. This must be an ASCII string, and duplicate items with different case letters are not allowed.

The command must follow immediately after the section or caption command, with no intervening whitespace.

### large:1

Marks the argument in large text.

### Large:1

Makes the argument display in larger text than `\large`.

### LARGE:1

Makes the argument display in larger text than `\Large`.

### LaTeX:0

Outputs the annoying LaTeX upper and lower case name.

### ldots:0

Outputs three dots.

### maketitle:0

Makes the article or report title by outputting the `\title`, `\author` and optionally `\date`.

### marginparwidth:1

Specifies the width of a margin paragraph.

### marginpar:1

Inserts a marginal note. It is best to use the Tex2RTF extensions `\marginparodd` and `\marginpareven` for best results.

### marginpareven:1

Inserts a marginal note on even pages. This is required for RTF generation since it is impossible for Tex2RTF to know in advance which side of paper the marginal note will fall upon, and the text has to be positioned using absolute dimensions. If only one sided output is required, use `\marginparodd` instead.

### marginparodd:1

Inserts a marginal note on odd pages. This is required for RTF generation since it is impossible for Tex2RTF to know in advance which side of paper the marginal note will fall upon, and the text has to be positioned using absolute dimensions.

Also, even if one-sided output is required, this command should be used instead of `\marginpar` because the LaTeX command allows it to be used just before a paragraph. Normally, if this were done, the marginal note would not be aligned with the paragraph succeeding it. For example:

        \marginparodd{{\it Note:} if nothing happens, perhaps you
        have not plugged your computer in at the mains.}%
        To start using your computer, push the Power button
        and wait for text to appear on the screen.

Note the percent sign after the `\marginparodd` command: without it, LaTeX refuses to believe that the following text is part of the same paragraph, and will print the note at the wrong place.

You should use `\textwidth` to allow space for marginal notes, and also `\marginparwidth` to specify the size of the marginal note.

In WinHelp, HTML and wxHelp, marginal notes are treated as normal text delineated with horizontal rules above and below.

### mdseries:1

Changes to a medium-weight font. Un-emboldens in RTF mode, no effect in other modes.

### multicolumn:3

Used in `\tabular` environment to denote a cell that spans more than one column. Only supplied for compatibility with existing LaTeX files, since all it does in RTF is output the correct number of cell commands, with the multicolumn text squashed into one cell.

### newcommand:3

Define a new command; arguments are the command, the number of arguments, and the command body. For example:

        \newcommand{\crazy}[2]{{\bf #1} is crazy but {\bf #2} is not.}

The command must have no whitespace at the start of the line or between the three arguments.

New commands may also be defined in the `tex2rtf.ini` file using slightly different syntax (see Macro not found error).

### newpage:0

Inserts a page break.

### nocite:1

Specifies that this reference should appear in the bibliography, but the citation should not appear in the text.

See also `\cite`.

### noindent:0

Sets paragraph indentation to zero. See also `\parindent`.

### normalsize:1

Sets the font size back to normal.

### onecolumn:0

Sets the number of columns to one. LaTeX and linear RTF only.

### pageref:1

In linear RTF, generates a page reference to the given label.

### pagestyle:1

If argument is `fancyplain` or `fancy`, Tex2RTF separates the header from the rest of the page with a rule. This command must be defined for headers and footers to work properly. See also `\setheader`, `\setfooter`.

LaTeX and linear RTF only.

### pagenumbering:1

The argument may be one of:

alph
  a, b, ...
Alph
  A, B, ...
arabic
  1, 2, ...
roman
  i, ii, ...
Roman
  I, II, ...

LaTeX and linear RTF only.

### paragraph:0

Behaves as for a subsubsection.

### paragraph*:0

Behaves as for a subsubsection.

### parindent:1

Indents the first line of succeeding paragraphs by the given amount.

### parskip:1

Changes the spacing between paragraphs. In fact, in RTF this will cause two `\par` commands to be output if parskip is greater than zero.

### par:0

Causes the paragraph to end at this point. LaTeX and Tex2RTF also treat two consecutive newlines as a paragraph break.

### printindex:0

In linear RTF, inserts an index.

### quote:1

Indents a short quotation.

### quotation:1

Indents a long quotation.

### ref:1

In LaTeX and linear RTF, refers to a `\label` and causes the number of that section or figure to be printed.

### rm:1

Causes the argument to be formatted in a plain, roman font. In fact, does nothing in RTF, HTML and XLP modes.

### rmfamily:1

Causes the argument to be formatted in a plain, roman font. In fact, does nothing in RTF, HTML and XLP modes.

### sc:1

Prints the output in small capitals.

### scshape:1

Prints the output in small capitals.

### section:1

Section header, with an entry in the contents page.

### section*:1

Section header, with no entry in the contents page.

### sf:1

Should format in a sans-serif font. Does nothing in Tex2RTF.

### sffamily:1

Should format in a sans-serif font. Does nothing in Tex2RTF.

### shortcite:1

The same as `\cite`.

### sl:1

In Tex2RTF, the same as `\it`. The LaTeX interpretation is 'slanted text'.

### slshape:1

In Tex2RTF, the same as `\itshape`. The LaTeX interpretation is 'slanted text'.

### small:1

Prints the argument in a small font.

### special:1

Simply copies the argument to the output file without processing (except `\}` is translated to `}`, and `\{` is translated to `{`, to allow for insertion of braces).

### ss:0

Outputs the German sharp S character ß.

### subparagraph:1

Behaves as for a subsubsection.

### subparagraph*:1

Behaves as for a subsubsection.

### subsection:1

Subsection header, with an entry in the contents page.

### subsection*:1

Subsection header, with no entry in the contents page.

### subsubsection:1

Subsubsection header, with an entry in the contents page.

### subsubsection*:1

Subsubsection header, with no entry in the contents page.

### tabbing:1

Tabbing environment: doesn't work properly in RTF.

### table:1

An environment for tables. The only thing that Tex2RTF does with this is to interpret an embedded caption command differently from figures.

### tableofcontents:0

Inserts the table of contents at this point. In linear RTF mode, a proper Word for Windows table of contents will be inserted unless either of the variables insertTOC or useWord is set to false.

### tabular:2

Tabular environment: an attempt is made to output something reasonable in RTF and HTML formats, although currently only simple tables will work. The first argument specifies the column formatting. a pipe symbol (`|`) denotes a vertical border, one of `l, r, c` signifies a normal column of default width, and `p` followed by a dimension specifies a column of given width. It is recommended that the `p` is used since Tex2RTF cannot deduce a column width in the same way that LaTeX can.

Horizontal rules are achieved with `\hline`; two together signify a double rule. Note that in HTML, all rows and the table itself are bordered automatically.

Use the Tex2RTF `\row` and `\ruledrow` commands for best effect.

For two-column tables that work in WinHelp files, use `\twocollist` instead.

Example:

        \begin{tabular}{|l|p{8.5cm}|}\hline
        \row{{\bf A.I.}&{\bf Simulation}}\hline\hline
        \row{rules&constraints/methods}
        \row{planning&design of experiments}
        \row{diagnosis&analysis of results}
        \ruledrow{learning&detection of connections}
        \end{tabular}

This produces:

A.I. | Simulation
rules | constraints/methods
planning | design of experiments
diagnosis | analysis of results
learning | detection of connections

### TeX:0

Outputs the annoying TeX upper and lower case name.

### textbf:1

Same as `\bf`.

### textit:1

Same as `\it`.

### textrm:1

Same as `\rm`.

### textsf:1

Same as `\sf`.

### textsc:1

Same as `\sc`.

### textsl:1

Same as `\sl`.

### texttt:1

Same as `\tt`.

### textwidth:1

Sets the text width (valid for RTF only). This might be used in conjunction with `\marginpar`, for example, to leave space for marginal notes.

### thebibliography:1

An environment for specifying the bibliography as a series of `\bibitem` commands; the preferred method is to use `.bib` files and `\bibliography` instead.

### title:1

Sets the title, to be output when the command `\maketitle` is used.

### tiny:1

Prints the argument in a very small font.

### today:0

Outputs today's date.

### tt:1

Outputs the argument in teletype font.

### ttfamily:1

Outputs the argument in teletype font.

### typeout:1

Outputs the text on the Tex2RTF text window.

### twocolumn:0

Sets the number of columns to two. LaTeX and linear RTF only.

### underline:1

Underlines the argument.

### upshape:1

Changes to an upright font. Un-italicizes in RTF mode, no effect in other modes.

### verbatiminput:1

Include the given file as if it were within a `\verbatim` environment. The command must not be preceded by any whitespace, and spurious whitespace between elements of the command will also trip up Tex2RTF.

### verbatim:1

Uses a fixed-width font to format the argument without interpreting any LaTeX commands.

### verb

The `\verb` command is like the `\verbatim` environment, but for small amounts of text. The syntax is:

        \verb<char><text><char>

The character char is used as a delimiter; it may be any character not ocurring in the following text, except asterisk.

For example, `\verb$\thing%^&$` produces `\thing%^&`.