13.11.2015 Views

my Latex and Tex4ht cheat sheet

my Latex cheat sheet - 12000.org

my Latex cheat sheet - 12000.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

\Preamble{ext=htm,pic-align}<br />

\begin{document}<br />

\EndPreamble<br />

\catcode`\:=11 \catcode`\@=11<br />

\Configure{HtmlPar}<br />

{\EndP\HCode{%<br />

}}<br />

{\EndP\HCode{%<br />

}}<br />

{{\Tg}}<br />

{{\Tg}}%<br />

\renewenvironment{multicols}[1]{\IgnorePar\EndP%<br />

\HCode{}<br />

\exp<strong>and</strong>after\ifx\csname .newspaper#1\endcsname\relax%<br />

\Css{.newspaper#1 p:first-child { margin-top: 0em; }}<br />

\Css{.newspaper#1 {<br />

-moz-column-count:#1; /* Firefox */<br />

-webkit-column-count:#1; /* Safari <strong>and</strong> Chrome */<br />

column-count:#1;<br />

-moz-column-gap:10px; /* Firefox */<br />

-webkit-column-gap:10px; /* Safari <strong>and</strong> Chrome */<br />

column-gap:10px;<br />

-moz-column-rule:1px outset \#F8F8F8 ; /* Firefox */<br />

-webkit-column-rule:1px outset \#000000; /* Safari <strong>and</strong> Chrome */<br />

column-rule:1px outset \#000000;<br />

}}<br />

\exp<strong>and</strong>after\gdef\csname .newspaper#1\endcsname{1}%<br />

\fi%<br />

\ShowPar\par}<br />

{\EndP\HCode{}}<br />

\ConfigureEnv{multicols}<br />

{\par\IgnorePar\EndP%<br />

\gHAdvance\MultiCols by 1\relax}<br />

{\ifvmode\IgnorePar\fi\EndP}<br />

{}{}<br />

\endinput<br />

<strong>and</strong> using this <strong>Latex</strong> file as an example foo.tex<br />

75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!