my Latex and Tex4ht cheat sheet
my Latex cheat sheet - 12000.org
my Latex cheat sheet - 12000.org
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3.12 how to change font for HTML math when using tex4ht<br />
To increase fonts in tex4ht<br />
if using 12 pt in document class, add this line after the \document section in the .cfg file<br />
\DeclareMathSizes{12}{14}{10}{8}<br />
\DeclareMathSizes{12}{16}{12}{10}<br />
%----> for {\Large}<br />
(note, \Large in a 12pt article is 17.28pt<br />
The size of math’s font changes also with \Large<br />
To make Math look better, see this<br />
http://tex.stackexchange.com/questions/43772/latex-xhtml-with-tex4ht-bad-quality-images-of-equat<br />
3.13 tex4ht options<br />
Example The comm<strong>and</strong> htlatex <strong>my</strong>file "<strong>my</strong>cfg,2" requests the compilation of a file named <strong>my</strong>file.tex, in the<br />
presence of a configuration file named <strong>my</strong>cfg.cfg. The configuration file might have the following content.<br />
\Preamble{html}<br />
\begin{document}<br />
\Css{body { color : red; }}<br />
\EndPreamble<br />
69