API Reference
Class
LatexCommand
Source-backed LaTeX command without macro execution.
Inheritance
- Object
- LatexCommand
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property LatexCitation.Command
- Property LatexDocument.Commands
- Property LatexDocument.DocumentClassCommand
- Property LatexEnvironment.BeginCommand
- Property LatexEnvironment.EndCommand
- Property LatexFigure.CaptionCommand
- Property LatexFigure.LabelCommand
- Property LatexHeading.Command
- Property LatexImage.Command
- Property LatexLabel.Command
- Property LatexListItem.ItemCommand
- Property LatexMacroDefinition.Command
- Property LatexReference.Command
- Property LatexTheorem.LabelCommand
Methods
public LatexArgument GetOptionalArgument(Int32 index) #Returns:
LatexArgumentReturns the optional argument at a zero-based optional-only index.
Parameters
- index System.Int32
public LatexArgument GetRequiredArgument(Int32 index) #Returns:
LatexArgumentReturns the required argument at a zero-based required-only index.
Parameters
- index System.Int32
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public LatexSyntaxNode Syntax { get; } #Lossless command syntax.
public String Name { get; } #Command name without leading backslash.
public IReadOnlyList<LatexArgument> Arguments { get; } #Bound optional and required arguments in source order.
public Boolean IsProfileKnown { get; } #True when the OfficeIMO profile assigns semantics to the command.
public Boolean IsStarred { get; } #True when a recognized starred command modifier immediately follows the control word.
public Boolean IsModified { get; } #True when any argument changed.