pyexlatex.presentation.beamer.templates.frames package¶
Submodules¶
pyexlatex.presentation.beamer.templates.frames.dim_reveal module¶
- class pyexlatex.presentation.beamer.templates.frames.dim_reveal.DimRevealListFrame(content, ordered_list=False, **frame_kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.templates.frames.dim_reveal.DimRevealMixin
,pyexlatex.presentation.beamer.frame.frame.Frame
A Frame where the content is bulleted or numbered dim and reveal items
pyexlatex.presentation.beamer.templates.frames.graphic module¶
- class pyexlatex.presentation.beamer.templates.frames.graphic.FullWidthFrame(content, **kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.frame.frame.Frame
Resizes passed latex object to take up entire frame.
- class pyexlatex.presentation.beamer.templates.frames.graphic.GraphicFrame(content, **kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.templates.frames.graphic.FullWidthFrame
Resizes passed graphic to take up entire frame. Can pass a file path or a latex object.
- class pyexlatex.presentation.beamer.templates.frames.graphic.MultiGraphicFrame(content, vertical=True, **kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.frame.frame.Frame
Resizes each graphic to full width and puts vertical space in between graphics. Can pass a file path or a latex object.
- HORIZTONAL_SPACING = 0.05¶
- MAX_HEIGHT = 0.8¶
- MAX_WIDTH = 0.9¶
- VERTICAL_SPACING = 0.05¶
pyexlatex.presentation.beamer.templates.frames.grid module¶
- class pyexlatex.presentation.beamer.templates.frames.grid.CellFrame(content, grid_shape, **kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.frame.frame.Frame
Lay frame out in a grid where each cell is arbitrarily sized
- __init__(content, grid_shape, **kwargs)[source]¶
- Args:
content: grid_shape: list of list of tuples of (width, height), e.g. [
[(0.3, 0.4), (0.7, 0.4)], [(0.3, 0.6), (0.7, 0.6)],
] would create a 2x2 grid with 40% of height in the first row, 60% in the second row. 30% width in the first column, 70% width in the second column.
**kwargs:
- class pyexlatex.presentation.beamer.templates.frames.grid.GridFrame(content, **kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.frame.frame.Frame
Creates a CellFrame, automatically setting widths and heights as an even split based on the shape of the content passed
pyexlatex.presentation.beamer.templates.frames.two_col module¶
- class pyexlatex.presentation.beamer.templates.frames.two_col.BasicTwoColumnFrame(left_content, right_content, **frame_kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.frame.frame.Frame
Similar to TwoColumnFrame but does not put any constraints on vertical sizing
- class pyexlatex.presentation.beamer.templates.frames.two_col.BasicTwoColumnGraphicDimRevealFrame(content, graphics, graphics_on_right=True, ordered_list=False, **frame_kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.templates.frames.two_col.TwoColumnGraphicDimRevealBase
,pyexlatex.presentation.beamer.templates.frames.two_col.TwoColumnGraphicFrame
A BasicTwoColumnGraphicFrame where the non-graphic column is bulleted or numbered dim and reveal items
- class pyexlatex.presentation.beamer.templates.frames.two_col.BasicTwoColumnGraphicFrame(content, graphics, graphics_on_right=True, **frame_kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.templates.frames.two_col.TwoGraphicBase
,pyexlatex.presentation.beamer.templates.frames.two_col.BasicTwoColumnFrame
Similar to TwoColumnGraphicFrame, but does not put any constraints on vertical sizing
- class pyexlatex.presentation.beamer.templates.frames.two_col.TwoColumnFrame(left_content, right_content, **frame_kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.templates.frames.grid.GridFrame
Creates a GridFrame, automatically setting widths and heights as an even split based on the shape of the content passed
- class pyexlatex.presentation.beamer.templates.frames.two_col.TwoColumnGraphicDimRevealBase(content, graphics, graphics_on_right=True, ordered_list=False, **frame_kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.templates.frames.dim_reveal.DimRevealMixin
- class pyexlatex.presentation.beamer.templates.frames.two_col.TwoColumnGraphicDimRevealFrame(content, graphics, graphics_on_right=True, ordered_list=False, **frame_kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.templates.frames.two_col.TwoColumnGraphicDimRevealBase
,pyexlatex.presentation.beamer.templates.frames.two_col.TwoColumnGraphicFrame
A TwoColumnGraphicFrame where the non-graphic column is bulleted or numbered dim and reveal items
- class pyexlatex.presentation.beamer.templates.frames.two_col.TwoColumnGraphicFrame(content, graphics, graphics_on_right=True, **frame_kwargs)[source]¶
Bases:
pyexlatex.presentation.beamer.templates.frames.two_col.TwoGraphicBase
,pyexlatex.presentation.beamer.templates.frames.two_col.TwoColumnFrame
A GridFrame with graphics on one side and text on the other.
- class pyexlatex.presentation.beamer.templates.frames.two_col.TwoGraphicBase(content, graphics, graphics_on_right=True, **frame_kwargs)[source]¶
Bases:
object
- property graphic_contents: List[ItemBase]¶
- Return type
- property graphic_spacing: float¶
Total amount of padding between images as a fraction of text height
- Return type
- property left_content¶
- property right_content¶