pyexlatex.presentation package¶
Subpackages¶
- pyexlatex.presentation.beamer package
- Subpackages
- pyexlatex.presentation.beamer.columns package
- pyexlatex.presentation.beamer.control package
- pyexlatex.presentation.beamer.frame package
- pyexlatex.presentation.beamer.overlay package
- Subpackages
- Submodules
- pyexlatex.presentation.beamer.overlay.next module
- pyexlatex.presentation.beamer.overlay.offset module
- pyexlatex.presentation.beamer.overlay.overlay module
- pyexlatex.presentation.beamer.overlay.overlay_param module
- pyexlatex.presentation.beamer.overlay.range module
- pyexlatex.presentation.beamer.overlay.until_end module
- pyexlatex.presentation.beamer.templates package
- pyexlatex.presentation.beamer.theme package
- Submodules
- pyexlatex.presentation.beamer.block module
- pyexlatex.presentation.beamer.colorbox module
- Subpackages
Submodules¶
pyexlatex.presentation.presentation module¶
- class pyexlatex.presentation.presentation.Presentation(content, packages=None, pre_env_contents=None, title=None, authors=None, date=None, short_title=None, subtitle=None, short_author=None, institutions=None, short_institution=None, font_size=11, theme='Madrid', backend='beamer', nav_header=False, toc_sections=False, handouts=False, pre_output_func=None)[source]¶
Bases:
pyexlatex.models.document.DocumentBase
The main high-level class for creating presentations, can render presentations as PDF in either a presenter style or a handouts style.
- __init__(content, packages=None, pre_env_contents=None, title=None, authors=None, date=None, short_title=None, subtitle=None, short_author=None, institutions=None, short_institution=None, font_size=11, theme='Madrid', backend='beamer', nav_header=False, toc_sections=False, handouts=False, pre_output_func=None)[source]¶
- Parameters
content¶ (
Union
[IsLatexItemMixin
,str
,Sequence
[Union
[IsLatexItemMixin
,str
]]]) –pre_env_contents¶ (
Union
[IsLatexItemMixin
,str
,Sequence
[Union
[IsLatexItemMixin
,str
]],None
]) –data_cleanup_func¶ – should accept DocumentSetupData and modify it in place. This is called just before using the data.
pre_output_func¶ (
Optional
[Callable
]) – function which modifies the latex string before outputting it. The function should accepts a single argument which is a string of the entire latex contents, and it should return a string which will be used as the latex contents for output.
- name = 'document'¶