## LaTeX forum ⇒ Math & Science ⇒ How to include Amsmath and amssymb packages in html Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
vivek1008
Posts: 2
Joined: Mon May 20, 2019 2:02 pm

### How to include Amsmath and amssymb packages in html

I am very new to amsmath and amssymb, so just wanted to know whether we can use these packages in ui applications by including them through npm or using script tag in html. And if yes then can you please tell me how to use these libraries in html through an example. Actually I am working on an R&D task where i may need these amsmath, amssymb, ams fonts etc.

Thanks

Ijon Tichy
Posts: 191
Joined: Mon Dec 24, 2018 10:12 am
Not really. amsmath is a LaTeX package not a library. So you need a TeX distribution with LaTeX to render the formulars. There are web solutions like MathJax or KaTeX to embed TeX-like formular code into HTML pages. But those solutions are off-topic here. Ask in a JavaScript forum if you have problems using such solutions.

amssymb is more a less a package to use the AMS symbol fonts in LaTeX. AFAIK these fonts are not available as web fonts (but as Type1). However there are several free OpenType fonts with math-symbols. But how to use them within a HTML page is off-topic here. Ask in a HTML forum if you have problems embedding fonts in HTML pages.

Note, this page is for questions about TeX with LaTeX. So on-topic would be, e.g., how to produce standalone graphics from LaTeX snippets to embed such graphics into HTML pages. Even how-to embed e.g. Overleaf into your own pages via a script engine wouldn't be on-topic here.

vivek1008
Posts: 2
Joined: Mon May 20, 2019 2:02 pm