Class
LatexSourceText
OfficeIMO.Latex
Complete decoded LaTeX source with offset mapping.
Inheritance
- object
- LatexSourceText
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property LatexDocument.Source
- Property LatexSyntaxTree.Source
Methods
public LatexSourceSpan CreateSpan(int start, int end) #Creates a checked half-open span.
Parameters
- start int
- end int
Returns
LatexSourceSpanpublic LatexSourcePosition GetPosition(int offset) #Maps an offset to line and column.
Parameters
- offset int
Returns
LatexSourcePositionInherited Methods
Properties
public string PreferredLineEnding { get; } #First source line ending, or environment newline when absent.