my Latex and Tex4ht cheat sheet
my Latex cheat sheet - 12000.org
my Latex cheat sheet - 12000.org
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
\Preamble{mathml}<br />
\Configure{VERSION}{}<br />
\Configure{DOCTYPE}{\HCode{\Hnewline}}<br />
\Configure{HTML}{\HCode{\Hnewline}}{\HCode{\Hnewline}}<br />
\Configure{@HEAD}{}<br />
\Configure{@HEAD}{\HCode{\Hnewline}}<br />
\Configure{@HEAD}{\HCode{\Hnewline}}<br />
\Configure{@HEAD}{\HCode{\Hnewline}}<br />
\Configure{@HEAD}{\HCode{%<br />
<br />
MathJax.Hub.Config({<br />
extensions: ["tex2jax.js"],<br />
jax: ["input/TeX", "output/HTML-CSS"],<br />
tex2jax: {<br />
\unexp<strong>and</strong>ed{inlineMath: [ ['$','$'], ["\\(","\\)"] ],}<br />
\unexp<strong>and</strong>ed{displayMath: [ ['$$','$$'], ["\\[","\\]"] ],}<br />
processEscapes: true<br />
},<br />
"HTML-CSS": { availableFonts: ["TeX"] }<br />
});<br />
<br />
}}<br />
\Configure{@HEAD}{\HCode{<br />
}}<br />
\Configure{@HEAD}{\HCode{<br />
.MathJax_MathML {text-indent: 0;}<br />
}}<br />
\begin{document}<br />
\EndPreamble<br />
Now the file example1.htm will display in the browser as<br />
3.4.2 method two, tex4ht generates mathml for display math, pass inline math<br />
Everything is the same as method one, just use this cfg file instead<br />
\Preamble{mathml}<br />
\Configure{VERSION}{}<br />
\Configure{DOCTYPE}{\HCode{\Hnewline}}<br />
\Configure{HTML}{\HCode{\Hnewline}}{\HCode{\Hnewline}}<br />
\Configure{@HEAD}{}<br />
\Configure{@HEAD}{\HCode{\Hnewline}}<br />
\Configure{@HEAD}{\HCode{\Hnewline}}<br />
\Configure{@HEAD}{\HCode{\Hnewline}}<br />
\Configure{@HEAD}{\HCode{%<br />
56