| Modifier and Type | Method and Description |
|---|---|
| public int | getArgumentCount()
Returns the number of mandatory arguments this command expects, which will be zero or greater. |
| public LaTeXMode | getArgumentMode(int argumentIndex)
Returns the LaTeX mode that each argument should be parsed in, starting with the optional argument (if used) and then each mandatory argument in order. |
| public String | |
| public boolean |
| getArgumentCount | back to summary |
|---|---|
| public int getArgumentCount() Returns the number of mandatory arguments this command expects, which will be zero or greater. | |
| getArgumentMode | back to summary |
|---|---|
| public LaTeXMode getArgumentMode(int argumentIndex) Returns the LaTeX mode that each argument should be parsed in, starting with the optional argument (if used) and then each mandatory argument in order. Null entries indicate that the current LaTeX mode should be used. | |
| getTeXName | back to summary |
|---|---|
| public String getTeXName() Returns the TeX name for this command or environment. (In the case of commands, this does not include the leading backslash.) | |
| isAllowingOptionalArgument | back to summary |
|---|---|
| public boolean isAllowingOptionalArgument() Returns whether this command/environment takes an optional argument. As per LaTeX convention, this will only return true if the command/environment takes at least one mandatory argument as well. | |