Latex
Latex component is used to display LaTeX content.
API
func Latex(c *tgframe.Container, text string)
func LatexWithID(c *tgframe.Container, text string, id string)
cis the container to add the LaTeX component to.textis the LaTeX content to display.idis a user specific element id.
Example
tgcomp.Latex(c, "E = mc^2")