57wxString
String(
const wxString &text);
65wxString
MathText(
const wxString &text);
72bool IsAtom(
const wxString &math);
82wxString
Script(
const wxString &math);
89wxString
Arg(
const wxString &math);
102wxString
Attach(
const wxString &base,
const wxString &sup,
103 const wxString &sub = {},
const wxString &preSup = {},
104 const wxString &preSub = {});
107wxString
Join(
const wxString &a,
const wxString &b);
115wxString
Markup(
const wxString &text,
bool keepBullets =
false);
122wxString
RawBlock(
const wxString &code,
const wxString &lang = {});
wxString Arg(const wxString &math)
Makes a piece of maths usable as an argument of a function like sqrt()
Definition: TypstMarkup.cpp:201
bool IsParenGroup(const wxString &math)
True if math is one group in round parentheses from start to end.
Definition: TypstMarkup.cpp:136
wxString Script(const wxString &math)
Makes a piece of maths usable as a script: x^Script(...)
Definition: TypstMarkup.cpp:191
wxString Attach(const wxString &base, const wxString &sup, const wxString &sub, const wxString &preSup, const wxString &preSub)
A base with scripts attached.
Definition: TypstMarkup.cpp:239
wxString Markup(const wxString &text, bool keepBullets)
Escapes text for Typst markup (prose, not maths)
Definition: TypstMarkup.cpp:274
wxString Join(const wxString &a, const wxString &b)
Two pieces of maths, separated by a space if both are there.
Definition: TypstMarkup.cpp:264
wxString RawBlock(const wxString &code, const wxString &lang)
A raw (verbatim) block, fenced with more backticks than the code contains.
Definition: TypstMarkup.cpp:335
bool IsAtom(const wxString &math)
True if Typst reads this piece of maths as one unit.
Definition: TypstMarkup.cpp:143
wxString MathText(const wxString &text)
A piece of text in maths: bare if Typst reads it as what it shows, else a string.
Definition: TypstMarkup.cpp:121
A String class.
Definition: relates.cpp:6