Latex
Latex component is used to display LaTeX content.
API
func Latex(c *tgframe.Container, latex string)
func LatexWithID(c *tgframe.Container, latex string, id string)
c
is the container to add the LaTeX component to.latex
is the LaTeX content to display.
Example
tgcomp.Latex(c, "E = mc^2")