Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

LatexCommand

Namespace OfficeIMO.Latex
Assembly OfficeIMO.Latex
Modifiers sealed

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.

Methods

public LatexArgument GetOptionalArgument(Int32 index) #
Returns: LatexArgument

Returns the optional argument at a zero-based optional-only index.

Parameters

index System.Int32 requiredposition: 0
public LatexArgument GetRequiredArgument(Int32 index) #
Returns: LatexArgument

Returns the required argument at a zero-based required-only index.

Parameters

index System.Int32 requiredposition: 0

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.