pylatex.frames

This module implements the classes that deal with adding frames.

class MdFramed(*, options=None, arguments=None, start_arguments=None, **kwargs)[source]

Bases: pylatex.base_classes.containers.Environment

A class that defines an mdframed environment.

Parameters:
  • options (str or list or Options) – Options to be added to the \begin command
  • arguments (str or list or Arguments) – Arguments to be added to the \begin command
  • start_arguments (str or list or Arguments) – Arguments to be added before the options
omit_if_empty = False
class FBox(arguments=None, options=None, *, data=None, **kwargs)[source]

Bases: pylatex.base_classes.containers.ContainerCommand

A class that defines an fbox ContainerCommand.

Parameters:
  • arguments (str or list) – The arguments for the container command
  • options (str, list or Options) – The options for the preamble command
  • data (str or LatexObject) – The data to place inside the preamble command
omit_if_empty = False