public enum LaTeXMode extends Enum<LaTeXMode>
| Enum Constant and Description |
|---|
LR
LaTeX LR (left-to-right) Mode, used in things like
\\mbox and friends |
MATH
LaTeX MATH Mode, entered from PARAGRAPH or LR mode via commands such as
\[
or by certain explicit MATH environments. |
PARAGRAPH
The default LaTeX PARAGRAPH Mode, representing free-flowing textual content.
|
VERBATIM
LaTeX VERBATIM Mode, which pulls in all content until a mandatory
LaTeXTokeniser.Terminator
is found. |
| Modifier and Type | Method and Description |
|---|---|
static LaTeXMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LaTeXMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LaTeXMode PARAGRAPH
public static final LaTeXMode LR
\\mbox and friendspublic static final LaTeXMode MATH
\[
or by certain explicit MATH environments.public static final LaTeXMode VERBATIM
LaTeXTokeniser.Terminator
is found.public static LaTeXMode[] values()
for (LaTeXMode c : LaTeXMode.values()) System.out.println(c);
public static LaTeXMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2026 The University of Edinburgh. All rights reserved.