TeXTemplate
ClassDataClassSource
TeXTemplate(prep: str, end: str)
The template used for rendering LaTeX.
Fields
| Name | Type | Required | |
|---|---|---|---|
prep | str | The beginning part of the LaTeX template. | |
end | str | The end part of the LaTeX template. |
Methods
render
v_1: str = self.render(text: str)
Render the content of the full .tex file.
Requires
| Name | Type | Required | |
|---|---|---|---|
text | str | An equation to be rendered. |
Returns
| Name | Type | |
|---|---|---|
v_1 | str | The LaTeX equation rendered as the .tex file content. |