module documentation

Formatter for LaTeX fancyvrb output.

Unknown Field: copyright
Copyright 2006-2021 by the Pygments team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Constant DOC​_TEMPLATE Undocumented
Constant STYLE​_TEMPLATE Undocumented
Class ​Latex​Embedded​Lexer This lexer takes one lexer as argument, the lexer for the language being formatted, and the left and right delimiters for escaped text.
Class ​Latex​Formatter Format tokens as LaTeX code. This needs the fancyvrb and color standard packages.
Function ​_get​_ttype​_name Undocumented
Function escape​_tex Undocumented
DOC_TEMPLATE: str =

Undocumented

Value
'''
\\documentclass{%(docclass)s}
\\usepackage{fancyvrb}
\\usepackage{color}
\\usepackage[%(encoding)s]{inputenc}
%(preamble)s

...
STYLE_TEMPLATE: str =

Undocumented

Value
'''
\\makeatletter
\\def\\%(cp)s@reset{\\let\\%(cp)s@it=\\relax \\let\\%(cp)s@bf=\\relax%%
    \\let\\%(cp)s@ul=\\relax \\let\\%(cp)s@tc=\\relax%%
    \\let\\%(cp)s@bc=\\relax \\let\\%(cp)s@ff=\\relax}
\\def\\%(cp)s@tok#1{\\csname %(cp)s@tok@#1\\endcsname}
\\def\\%(cp)s@toks#1+{\\ifx\\relax#1\\empty\\else%%
...
def _get_ttype_name(ttype):

Undocumented

def escape_tex(text, commandprefix):

Undocumented