Closed nschloe closed 2 years ago
MWE:
from pylatexenc.latexwalker import LatexEnvironmentNode, nodelist_to_latex node = LatexEnvironmentNode("myenv", []) # set the name to something else node.environmentname = "something" print(nodelist_to_latex([node]))
\begin{myenv}\end{myenv}
Please avoid nodelist_to_latex(). (Note that it is not document as part of the public API.) See #89 for more info.
nodelist_to_latex()
MWE: