2.1.3 • Published 4 years ago
latex2html5 v2.1.3
LaTeX2HTML5
yarn add latex2html5
installation
This is for those who just want to make a simple HTML page with LaTeX2JS
. The object provided is called LaTeX2HTML5
:
- Download the JS and CSS files! You can go get the JS https://github.com/pyramation/LaTeX2JS/blob/master/libs/latex2html5/latex2html5.bundle.js and CSS here https://github.com/pyramation/LaTeX2JS/blob/master/core/latex2js/latex2js.css.
<html>
<head>
<link rel="stylesheet" href="/path/to/your/css/latex2js.css">
<script src="/path/to/your/js/latex2html5.bundle.js"></script>
</head>
- Then, write your \LaTeX inside of a script tag with type set to
text/latex
:
<body>
<script type="text/latex">
you can write any \LaTeX here!
</script>
<script type="text/latex">
some more ...
</script>
- Lastly, towards the end of your HTML page, call the
init
method
<script>
LaTeX2HTML5.init();
</script>
</body>
</html>
2.1.2
4 years ago
2.1.3
4 years ago
2.1.0
4 years ago
2.0.0
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.2.0
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago