mrdocs::doc::MathBlock

A block of LaTeX math

Synopsis

Declared in <mrdocs/Metadata/DocComment/Block/MathBlock.hpp>

struct MathBlock final
    : BlockCommonBase<BlockKind::Math>

Base Classes

Name

Description

BlockCommonBase<BlockKind::Math>

Base class for providing variant discriminator functions.

Member Functions

Name

Description

MathBlock [constructor]

Copy constructor

operator=

Copy assignment operator

operator<=>

Three‐way comparison operators

Data Members

Name

Description

literal

Raw TeX math source

Static Data Members

Name

kind_id

Non-Member Functions

Name

Description

isEmpty

Determine if the inline is empty

ltrim

Removes leading whitespace from the block.

rtrim

Removes trailing whitespace from the block.

trim

Removes leading and trailing whitespace from the block.

Description

A block of LaTeX math, typically between … or fenced with "math".

Created with MrDocs