Support » Plugin: LaTeX2HTML » macros for environments

• Resolved cyunus

(@cyunus)

Is it possible to define macros for environments in the following sense ?

\def{\be}{}
\def{\ee}{}

When I type \be$$…$$\ee, it doesn’t work but $$…$$ works.

Thank you.

Viewing 1 replies (of 1 total)
• Plugin Author Van Abel

(@van-abel)

Well, this is MathJax related issue. May I suggest you to have a search or question on stackoverflow?


The work way to define the equation environment could be

$\newenvironment{eq$$}{$$$$}{$$}$

then you can use it as

\begin{eq}
\int xdx=x^2/2.
\end{eq}

Of course you can put your definiton of this newenvironment into the LaTeX2HTML config block, where some sample example of \newcommand is given, then it will work in all post.

• This reply was modified 2 years, 6 months ago by Van Abel.
• This reply was modified 2 years, 6 months ago by Van Abel.
• This reply was modified 2 years, 6 months ago by Van Abel.
Viewing 1 replies (of 1 total)
• The topic ‘macros for environments’ is closed to new replies.