Sunday, April 09, 2006

Customize equation name 自訂方程式名稱

Q. How to cutomize equation name?

Use the style file eqname.sty

# preamble
\usepackage{eqname}

###################################
LaTeX document style option eqname.sty
Gerd Neugebauer 4/92
gerd@intellektik.informatik.th-darmstadt.de

This style option allows named equations as follows

1 + 1 = 2 (17)
1 + 2 = 3 (bingo)
1 + 3 = 4 (18)

This can be produced by

\begin{eqnarray}
1+1=2 \label{e1}\1+2=3 \eqname{bingo}\label{e2}\1+3=4 \label{e3}
\end{eqnarray}



Note: The \label has to go after the \eqname command.


Bugs & Problems:
This style option does not work with leqno.sty

No comments: