[l2h] different expansion of environment
Ross Moore
ross at ics.mq.edu.au
Wed Mar 4 07:44:01 CET 2009
Hi Christian,
On 04/03/2009, at 4:52 PM, Christian wrote:
> Hi,
>
> Is there a way to expand the latex environment
>
> \newenvironment{intendleft}{\begin{addmargin}{3em}}{\end{addmargin}}
>
> differently fro latex2html to get the same intend on the left side?
Not without using CSS rules, if you really want to control
the margin tightly.
Assuming you mean "indent" rather than "intend", then you
might settle for <BLOCKQUOTE> .... </BLOCKQUOTE> in HTML.
So you could do:
%begin{latexonly}
\newenvironment{intendleft}{\begin{addmargin}{3em}}{\end{addmargin}}
%end{latexonly}
\begin{htmlonly}
\newenvironment{intendleft}{\begin{quotation}}{\end{quotation}}
\end{htmlonly}
>
>
> Thanks
> Christian
Hope his helps,
Ross
------------------------------------------------------------------------
Ross Moore ross at maths.mq.edu.au
Mathematics Department office: E7A-419
Macquarie University tel: +61 (0)2 9850 8955
Sydney, Australia 2109 fax: +61 (0)2 9850 8114
------------------------------------------------------------------------
More information about the latex2html
mailing list