Skip to main content

TeXTemplate

ClassDataClassSource

TeXTemplate(prep: str, end: str)

The template used for rendering LaTeX.

Fields​

NameTypeRequired
Description
prepstrThe beginning part of the LaTeX template.
endstrThe end part of the LaTeX template.

Methods​

render​

v_1: str = self.render(text: str)

Render the content of the full .tex file.

Requires​

NameTypeRequired
Description
textstrAn equation to be rendered.

Returns​

NameType
Description
v_1strThe LaTeX equation rendered as the .tex file content.