link@stew.ssl.berkeley.edu (Richard Link) (11/07/90)
I need to number equations in an appendix as (A1), (A2), etc., where the () are right-justified in the usual manner. Help will be sincerely appreciated. ...Rick
norvell@csri.toronto.edu (Theo Norvell) (11/08/90)
In article <1990Nov7.101013.29399@agate.berkeley.edu> link@stew.ssl.berkeley.edu (Richard Link) writes: >I need to number equations in an appendix as (A1), (A2), etc., >where the () are right-justified in the usual manner. > %%%%%%%%%%%%%%%%%%% letteredEquations.sty %%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\AlphNum}[2]{\prtAlphNum{\@nameuse{c@#1}}#2} \newcommand{\prtAlphNum}[2]{(#2\number #1)} \newcounter{eqnSaver} \def\eqNum#1#2{\setcounter{eqnSaver}{\value{equation}}% \setcounter{equation}{#2}% \renewcommand{\theequation}{\AlphNum{equation}#1}} \def\eqNormal{\setcounter{equation}{\value{eqnSaver}}% \renewcommand{\theequation}{\arabic{equation}}} %%%%%%%%%%%%%%%%%%% End Hack %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Use as follows: \eqNum{A}{0}% Switch to (Ai) starting with 0 ... some equations ... \eqNorm % Back to normal Theo Norvell norvell@csri.utoronto.ca norvell@csri.toronto.edu
kevinm@convex.csd.uwm.edu (Kevin B Mcleod) (05/29/91)
Greetings, I have a problem with a math paper I wrote in LaTeX and submitted to a conference proceedings recently. Briefly, in my original version the equations were numbered consecutively (1), (2), ... throughout the document. The publishers have changed the document style from 'article' to a style of their own ('plainbook', although the style file they have sent me begins with a comment line '% book.sty 17-Dec-85), and in the process have changed the equation numbers to (0.1), (0.2), ... Neither they nor I want the numbering in this format, but neither they nor I know how to fix it. (Personally, I think that they messed it up so they should fix it, but they disagree.) Can anyone tell me how to force equations to number consecutively throughout the document (or explain how anyone gets them to number any other way - according to the LaTeX manual the way I want should be the natural one). Please reply by e-mail as I do not usually read this group. Thanks, Kevin. BTW, all equations to be numbered are in \begin{equation} or \begin{eqnarray} formats.