Skip to Content
Md2Docx logo Md2Docx

parseLatex()

Updated 22 hr ago

parseLatex(docx, value): MathRun[][]

Defined in: math.ts:553

Parses a LaTeX mathematical expression string and converts it into grouped DOCX MathRun arrays (paragraphs).

Parameters

docx

__module

The docx library instance.

value

string

Raw LaTeX string.

Returns

MathRun[][]

2D array of DOCX MathRun nodes grouped into paragraphs.

On this page