llew@wpi.WPI.EDU (Lew Yan Voon) (04/08/91)
Hi I need urgent help in redefining a latex format. I need to use square brackets to enclose eqn no. instead of ( ). Can it be done in an easy manner, i.e., without having to modify latex.tex or using tex? i can solve the problem for single line displays by using the tex command $$ .... \leqno[...]$$ but $$\leqalignno{... $$ wasn't recognized by latex. thanks, lok.
anita@brahms.udel.edu (Anita Marie Hoover) (04/08/91)
In article <1991Apr7.202452.20998@wpi.WPI.EDU> llew@wpi.WPI.EDU (Lew Yan Voon) writes:
=>Hi
=>
=>I need urgent help in redefining a latex format.
=>I need to use square brackets to enclose eqn no. instead
=>of ( ).
=>Can it be done in an easy manner, i.e., without having to
=>modify latex.tex or using tex?
=>i can solve the problem for single line displays by
=>using the tex command $$ .... \leqno[...]$$ but
=>$$\leqalignno{... $$ wasn't recognized by latex.
=>
=>thanks,
=>lok.
Yes it can be done in an easy manner! In the preamble area
(after \documentstyle before \begin{document}), put
\makeatletter
\renewcommand{\@eqnnum}{{\rm [\theequation]}}
\makeatother
This should do the trick.