A block of LaTeX math
Synopsis
Declared in <mrdocs/Metadata/DocComment/Block/MathBlock.hpp>
struct MathBlock final
: BlockCommonBase<BlockKind::Math>
Description
A block of LaTeX math, typically between \$ … \$ or fenced with "math".
On a new line:
$$ \int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi} $$
Or as a code block:
```math
\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}
```
Base Classes
Name |
Description |
Base class for providing variant discriminator functions. |
Member Functions
Name |
Description |
|
Constructors |
Copy‐assign a math block. |
Static Member Functions
Data Members
Name |
Description |
Raw TeX math source |
Non-Member Functions
Name |
Description |
Determine if the inline is empty |
|
Removes leading whitespace from the block. |
|
Removes trailing whitespace from the block. |
|
Removes leading and trailing whitespace from the block. |
Created with MrDocs