module documentation

TeX escaping helper.

Function escape Escape text for LaTeX output.
Function escape_abbr Adjust spacing after abbreviations. Works with @ letter or other.
Function hlescape Escape text for LaTeX highlighter.
Function init Undocumented
Variable ascii_tex_replacements Undocumented
Variable tex_replace_map Undocumented
Variable tex_replacements Undocumented
Variable unicode_tex_replacements Undocumented
Variable _tex_escape_map Undocumented
Variable _tex_escape_map_without_unicode Undocumented
Variable _tex_hlescape_map Undocumented
Variable _tex_hlescape_map_without_unicode Undocumented
def escape(s, latex_engine=None): (source)

Escape text for LaTeX output.

Parameters
s:strUndocumented
latex_engine:str|NoneUndocumented
Returns
strUndocumented
def escape_abbr(text): (source)

Adjust spacing after abbreviations. Works with @ letter or other.

Parameters
text:strUndocumented
Returns
strUndocumented
def hlescape(s, latex_engine=None): (source)

Escape text for LaTeX highlighter.

Parameters
s:strUndocumented
latex_engine:str|NoneUndocumented
Returns
strUndocumented
def init(): (source)

Undocumented

ascii_tex_replacements: list = (source)

Undocumented

tex_replace_map: dict[int, str] = (source)

Undocumented

tex_replacements: list = (source)

Undocumented

unicode_tex_replacements: list = (source)

Undocumented

_tex_escape_map: dict[int, str] = (source)

Undocumented

_tex_escape_map_without_unicode: dict[int, str] = (source)

Undocumented

_tex_hlescape_map: dict[int, str] = (source)

Undocumented

_tex_hlescape_map_without_unicode: dict[int, str] = (source)

Undocumented