# LatexToken

Exact token from decoded LaTeX source.

Class 

`OfficeIMO.Latex`

**Namespace**

`OfficeIMO.Latex`

**Assembly**

`OfficeIMO.Latex`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[LatexToken.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Tokens/LatexToken.cs#L62)

**Modifiers**

sealed

Exact token from decoded LaTeX source.

## Inheritance

- object
- LatexToken

## 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.Tokens](/api/latex/officeimo-latex-latexdocument/#property-tokens)
- Method [LatexTokenizer.Tokenize](/api/latex/officeimo-latex-latextokenizer/#method-tokenize-string-officeimo-latex-latexparseoptions-threading-cancellationtoken)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public LatexTokenKind Kind { get; }` [#](#property-kind)

[LatexToken.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Tokens/LatexToken.cs#L62)

Token kind.

`public string Text { get; }` [#](#property-text)

[LatexToken.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Tokens/LatexToken.cs#L66)

Exact token source.

`public string? Value { get; }` [#](#property-value)

[LatexToken.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Tokens/LatexToken.cs#L79)

Command name without backslash, or null.

`public LatexSourceSpan Span { get; }` [#](#property-span)

[LatexToken.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Tokens/LatexToken.cs#L84)

Exact source span.

`public bool IsTerminated { get; }` [#](#property-isterminated)

[LatexToken.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Tokens/LatexToken.cs#L86)

Whether an opaque verbatim region contained its expected closing delimiter.

<!-- PowerForge markdown artifact sha256:0721F51CDF2BE939E9CD72262C521F00FA77F458CF1AC7AD60D0BD9F9A058862 -->
