Pylatex subclasses
One very usefull way to interact with LaTeX using Python is the package PyLaTeX . DMT has already some of the necessary subclasses to make report writing easy implemented and ready to use:
DMT specific PyLaTeX classes and routines used for automatic documentations
- class DMT.external.pylatex.CommandInput(arguments=None, options=None, *, extra_arguments=None)[source]
Bases:
CommandBase
This command can be used to input matplotlib2tikz .tex files.
- class DMT.external.pylatex.CommandInputTikz(arguments=None, options=None, *, extra_arguments=None)[source]
Bases:
CommandBase
This command can be used to input .tikz files.
- class DMT.external.pylatex.CommandLabel(arguments=None, options=None, *, extra_arguments=None)[source]
Bases:
CommandBase
This command can be used to input matplotlib2tikz .tex files.
- class DMT.external.pylatex.CommandRef(arguments=None, options=None, *, extra_arguments=None)[source]
Bases:
CommandBase
This command can be used to reference multiple things like figures.
- class DMT.external.pylatex.CommandRefRange(arguments=None, options=None, *, extra_arguments=None)[source]
Bases:
CommandBase
This command can be used to reference multiple things like figures.
- class DMT.external.pylatex.Listing(content=None, file_path=None, language='TRADICA', caption=None, label=None, **kwargs)[source]
Bases:
Container
- class DMT.external.pylatex.SubFile(numbering=None, label=False, master=None, **kwargs)[source]
Bases:
Section
This class implements a container to create SubFiles (thats a Latex package)