File: macrospec.rst

package info (click to toggle)
python-pylatexenc 2.10-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 9,104 kB
  • sloc: xml: 146,133; python: 10,734; makefile: 30; sh: 7
file content (56 lines) | stat: -rw-r--r-- 1,150 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Specifying definitions for the parser
-------------------------------------

.. automodule:: pylatexenc.macrospec

.. contents:: Contents:
   :local:


Macro and environment definitions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pylatexenc.macrospec.MacroSpec
   :members:

.. autoclass:: pylatexenc.macrospec.EnvironmentSpec
   :members:

.. autoclass:: pylatexenc.macrospec.SpecialsSpec
   :members:


.. autofunction:: pylatexenc.macrospec.std_macro

.. autofunction:: pylatexenc.macrospec.std_environment

.. autofunction:: pylatexenc.macrospec.std_specials


Macro arguments parser
~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pylatexenc.macrospec.MacroStandardArgsParser
   :members:

.. autoclass:: pylatexenc.macrospec.ParsedMacroArgs
   :members:


Argument parser for verbatim LaTeX constructs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pylatexenc.macrospec.VerbatimArgsParser
   :show-inheritance:
   :members:

.. autoclass:: pylatexenc.macrospec.ParsedVerbatimArgs
   :show-inheritance:
   :members:


Latex Context "Database"
~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: pylatexenc.macrospec.LatexContextDb
   :members: