| Package | Description |
|---|---|
| uk.ac.ed.ph.snuggletex |
Public API Package - almost all of the classes you will need for normal SnuggleTeX
use are contained in here.
|
| uk.ac.ed.ph.snuggletex.definitions |
Defines built-in commands, environments, accent maps, globals and related concepts.
|
| uk.ac.ed.ph.snuggletex.semantics |
Internal package defining "semantic" intepretations to be attached to parsed tokens.
|
| uk.ac.ed.ph.snuggletex.tokens |
Internal package defining the various types of LaTeX tokens produced by the parsing process.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumMap<InterpretationType,Interpretation> |
SnugglePackage.makeInterpretationMap(Interpretation... interpretations) |
static EnumMap<InterpretationType,Interpretation> |
SnugglePackage.makeInterpretationMap(Interpretation interpretation) |
| Modifier and Type | Method and Description |
|---|---|
void |
SnugglePackage.addCommandInterpretation(String name,
Interpretation interpretation) |
BuiltinCommand |
SnugglePackage.addComplexCommandOneArg(String name,
boolean allowOptionalArgument,
EnumSet<LaTeXMode> allowedModes,
LaTeXMode argumentMode,
Interpretation interpretation,
CommandHandler handler,
TextFlowContext context) |
BuiltinCommand |
SnugglePackage.addComplexCommandSameArgMode(String name,
boolean allowOptionalArgument,
int arguments,
EnumSet<LaTeXMode> allowedModes,
Interpretation interpretation,
CommandHandler handler,
TextFlowContext context) |
BuiltinEnvironment |
SnugglePackage.addEnvironment(String name,
boolean allowOptionalArgument,
int argumentCount,
EnumSet<LaTeXMode> allowedModes,
LaTeXMode contentMode,
Interpretation[] interpretations,
EnvironmentHandler handler,
TextFlowContext context) |
BuiltinEnvironment |
SnugglePackage.addEnvironment(String name,
boolean allowOptionalArgument,
int argumentCount,
EnumSet<LaTeXMode> allowedModes,
LaTeXMode contentMode,
Interpretation interpretation,
EnvironmentHandler handler,
TextFlowContext context) |
BuiltinEnvironment |
SnugglePackage.addEnvironment(String name,
EnumSet<LaTeXMode> allowedModes,
LaTeXMode contentMode,
Interpretation[] interpretations,
EnvironmentHandler handler,
TextFlowContext context) |
BuiltinEnvironment |
SnugglePackage.addEnvironment(String name,
EnumSet<LaTeXMode> allowedModes,
LaTeXMode contentMode,
Interpretation interpretation,
EnvironmentHandler handler,
TextFlowContext context) |
BuiltinCommand |
SnugglePackage.addSimpleCommand(String name,
EnumSet<LaTeXMode> allowedModes,
Interpretation[] interpretations,
CommandHandler handler,
TextFlowContext context) |
BuiltinCommand |
SnugglePackage.addSimpleCommand(String name,
EnumSet<LaTeXMode> allowedModes,
Interpretation interpretation,
CommandHandler handler,
TextFlowContext context) |
static EnumMap<InterpretationType,Interpretation> |
SnugglePackage.makeInterpretationMap(Interpretation... interpretations) |
static EnumMap<InterpretationType,Interpretation> |
SnugglePackage.makeInterpretationMap(Interpretation interpretation) |
| Modifier and Type | Method and Description |
|---|---|
EnumMap<InterpretationType,Interpretation> |
MathCharacter.getInterpretationMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
MathCharacter.addInterpretation(Interpretation interpretation) |
| Constructor and Description |
|---|
BuiltinCommand(String texName,
CommandType commandType,
boolean allowingOptionalArgument,
int argumentCount,
EnumSet<LaTeXMode> allowedModes,
LaTeXMode[] argumentModes,
EnumMap<InterpretationType,Interpretation> interpretations,
CommandHandler domBuilderHandler,
TextFlowContext textFlowContext,
CombinerTargetMatcher combinerTargetMatcher) |
BuiltinEnvironment(String texName,
boolean allowingOptionalArgument,
int argumentCount,
EnumSet<LaTeXMode> allowedModes,
LaTeXMode contentMode,
EnumMap<InterpretationType,Interpretation> interpretations,
EnvironmentHandler domBuildingHandler,
TextFlowContext textFlowContext) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MathInterpretation
Base for math-specific semantic interpretations.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Interpretation.MarkerInterpretation |
class |
MathBigLimitOwnerInterpretation
Supplementary marker interpretation to be attached to operators which can "own big limits",
in the sense that they should be rendered in MathML using munder/mover/munderover
rather than msub/msup/msubsup.
|
class |
MathBracketInterpretation
Supplementary interpretation indicating that a certain operator is a MathML bracket.
|
class |
MathCharacterInterpretation
Represents a mathematical character
|
class |
MathFunctionInterpretation
Represents a mathematical function like sin, cos, etc.
|
class |
MathIdentifierInterpretation
Semantic interpretation for a mathematical identifier.
|
class |
MathNegatableInterpretation
Supplementary interpretation for an operator which may be negated.
|
class |
MathNumberInterpretation
Represents the interpretation of a mathematical number.
|
class |
MathOperatorInterpretation
Represents a generic Mathematical operator, associating it with the content of
the resulting MathML
mo element. |
class |
StyleDeclarationInterpretation
Represents styled text in either MATH and/or TEXT Modes.
|
| Modifier and Type | Field and Description |
|---|---|
static Interpretation |
Interpretation.LIST |
static Interpretation |
Interpretation.STYLE_SENTINEL |
static Interpretation |
Interpretation.TABULAR |
| Modifier and Type | Field and Description |
|---|---|
protected EnumMap<InterpretationType,Interpretation> |
Token.interpretationMap
Interpretation(s) of this token, if it can be readily deduced from the input.
|
| Modifier and Type | Method and Description |
|---|---|
Interpretation |
Token.getInterpretation(InterpretationType type) |
| Modifier and Type | Method and Description |
|---|---|
EnumMap<InterpretationType,Interpretation> |
Token.getInterpretationMap() |
| Constructor and Description |
|---|
FlowToken(FrozenSlice slice,
TokenType type,
LaTeXMode latexMode,
TextFlowContext textFlowContext,
Interpretation... interpretations) |
SimpleToken(FrozenSlice slice,
TokenType tokenType,
LaTeXMode latexMode,
TextFlowContext context,
Interpretation... interpretations) |
Token(FrozenSlice slice,
TokenType type,
LaTeXMode latexMode,
Interpretation... interpretations) |
| Constructor and Description |
|---|
FlowToken(FrozenSlice slice,
TokenType type,
LaTeXMode latexMode,
TextFlowContext textFlowContext,
EnumMap<InterpretationType,Interpretation> interpretations) |
SimpleToken(FrozenSlice slice,
TokenType tokenType,
LaTeXMode latexMode,
TextFlowContext context,
EnumMap<InterpretationType,Interpretation> interpretations) |
Token(FrozenSlice slice,
TokenType type,
LaTeXMode latexMode,
EnumMap<InterpretationType,Interpretation> interpretationMap) |
Copyright © 2008–2026 The University of Edinburgh. All rights reserved.