pyladoc.latex.get_equation_code#
- pyladoc.latex.get_equation_code(equation, reference, block=False)#
Converts an equation string to LaTeX code.
- Parameters:
equation (
str
) – The LaTeX equation string.reference (
str
|None
) – The reference type and ID for the equation separated by a ‘:’.
- Return type:
str