If you see this, something is wrong
First published on Monday, Oct 28, 2024 and last modified on Monday, Jun 16, 2025 by François Chaplais.
The syntax
\newcommand{cmd}[args][opt]{def}is implemented recursively before any \( \rm{\LaTeX}\) interpretation. In particular, the [opt] parameter is treated properly.
The logic of \renewcommand and \providecommand is preserved. Note that, however, LaTeX2Web does not take standard LaTeX commands (or packages commands) into account when deciding if the command definitions should be executed.
Both \newenvironment and \renewenvironment are supported.
\newtheorem is supported with corresponding counters.
To enable dynaminc cross-references, the numbering is performed within LaTeX2Web. Therefore, counter like commands are ignored.
ifthen packageThe ifthen package has a basic implementation: it only recongnizes two commands: if0 and if1. To create multiple if commands, proceed as follows
use any command to use in place of the if command
at compile time, use a \newcommand statement to decide if the deciding statement should be replaced by if0 or if1.