Top Description Fields Constructors Methods
uk.ac.ed.ph.snuggletex.definitions

public final Enum LaTeXMode

extends Enum<LaTeXMode>
Class Inheritance
Imports
uk.ac.ed.ph.snuggletex.internal.LaTeXTokeniser.Terminator

Enumerates the various modes of LaTeX input.
Author
David McKain
Version
$Revision$

Field Summary

Modifier and TypeField and Description
public static final LaTeXMode
LR

LaTeX LR (left-to-right) Mode, used in things like \\mbox and friends

public static final LaTeXMode
MATH

LaTeX MATH Mode, entered from PARAGRAPH or LR mode via commands such as \[ or by certain explicit MATH environments.

public static final LaTeXMode
PARAGRAPH

The default LaTeX PARAGRAPH Mode, representing free-flowing textual content.

public static final LaTeXMode
VERBATIM

LaTeX VERBATIM Mode, which pulls in all content until a mandatory Terminator is found.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static LaTeXMode
public static LaTeXMode[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

LRback to summary
public static final LaTeXMode LR

LaTeX LR (left-to-right) Mode, used in things like \\mbox and friends

MATHback to summary
public static final LaTeXMode MATH

LaTeX MATH Mode, entered from PARAGRAPH or LR mode via commands such as \[ or by certain explicit MATH environments.

PARAGRAPHback to summary
public static final LaTeXMode PARAGRAPH

The default LaTeX PARAGRAPH Mode, representing free-flowing textual content. Parsing always starts in this mode.

VERBATIMback to summary
public static final LaTeXMode VERBATIM

LaTeX VERBATIM Mode, which pulls in all content until a mandatory Terminator is found.

Constructor Detail

LaTeXModeback to summary
private LaTeXMode()

Method Detail

valueOfback to summary
public static LaTeXMode valueOf(String name)
valuesback to summary
public static LaTeXMode[] values()