texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] LaTeX problem


From: Joris van der Hoeven
Subject: [Texmacs-dev] LaTeX problem
Date: Mon, 29 Jul 2002 19:59:33 +0200 (MET DST)

Does anyone know how to put equation numbers in eqnarray*'s in LaTeX.
I need this for exportation of TeXmacs files, but, as often,
this seems to be implemented in a horrible way in LaTeX.
The best I could do is the following:

\newcommand{\myrefstep}[1]{\addtocounter{#1}{-1}\refstepcounter{#1}\addtocounter{#1}{1}}
\newcommand{\leqnumber}{(\theequation\myrefstep{equation})\hfill}
\newcommand{\reqnumber}{\hfill(\theequation\myrefstep{equation})}
\newcommand{\eqnumber}{\reqnumber}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]