
LaTeX2JS for plain HTML5
1. Download the JS and CSS bundles from the LaTeX2JS repository (bundle/latex2html5.bundle.js and bundle/latex2js.css) and include them in your page:
<html> <head> <link rel="stylesheet" href="/path/to/latex2js.css"> <script src="/path/to/latex2html5.bundle.js"></script> </head>2. Write your LaTeX inside script tags with type set to "text/latex":
<body> <script type="text/latex"> you can write any \LaTeX here! </script>3. Towards the end of your HTML page, call the init method:
<script> LaTeX2HTML5.init(); </script> </body> </html>