File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def __init__(
80
80
self ._rebuild ()
81
81
82
82
def _rebuild (self ):
83
- """ Assembles a fully formed tex document ( documentclass, preamble, body ...) and stores it as self.body """
83
+ """Rebuilds the entire TeX template text from `` \\ documentclass`` to `` \\ end{document}`` according to all settings and choices. """
84
84
self .body = (
85
85
self .documentclass
86
86
+ "\n "
@@ -133,7 +133,7 @@ def get_texcode_for_expression(self, expression):
133
133
Returns
134
134
-------
135
135
:class:`str`
136
- LaTeX code based on template, containing the given expression and ready for typesetting
136
+ LaTeX code based on current template, containing the given `` expression`` and ready for typesetting
137
137
"""
138
138
return self .body .replace (self .placeholder_text , expression )
139
139
Original file line number Diff line number Diff line change 12
12
13
13
14
14
def _new_ams_template ():
15
- # Returns a simple Tex Template with only basic AMS packages
15
+ """ Returns a simple Tex Template with only basic AMS packages """
16
16
preamble = r"""
17
17
\usepackage[english]{babel}
18
18
\usepackage{amsmath}
You can’t perform that action at this time.
0 commit comments