Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

LatexTokenizer

OfficeIMO.Latex

Namespace
OfficeIMO.Latex
Assembly
OfficeIMO.Latex
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Dependency-free TeX-aware tokenizer that never expands commands.

Inheritance

  • object
  • LatexTokenizer

Methods

public static IReadOnlyList<LatexToken> Tokenize(string source, LatexParseOptions? options = null, CancellationToken cancellationToken = default) #

Tokenizes every input character exactly once.

Parameters

source string required
options OfficeIMO.Latex.LatexParseOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

IReadOnlyList<LatexToken>