9

I need all the equations in one of the sections to be numbered as letter (R) and an ascending number (1, 2, 3...). So they look like (R1), (R2), (R3) etc.

I do not want the number of the section/subsection to appear (not like R3.1.1, R3.1.2, R3.2.1 ...) but just an ascending number starting from the beginning of the section, for all the rest of the sections I am satisfied with LaTeX default numbering.

Numbering these equations manually is not an option because while I am writing my paper I often change the order of the equations or add/remove equations from the text.

1 Answer 1

11
\section{whatever}
\renewcommand\theequation{R\arabic{equation}}
\setcounter{equation}{0}

should do what you want.

7
  • Thanks, but where does it come in the equation? can you please give a more detailed example?
    – Sam
    Nov 5, 2013 at 21:23
  • And how do I refer later to this equation? Thanks.
    – Sam
    Nov 5, 2013 at 21:26
  • @user39532 really you should be supplying the example in the question:-) (all questions should include example code) but anyway the equations are just marked up as normal after you put that at the start of the section eg \begin{equation}1=1\end{equation} Nov 5, 2013 at 21:27
  • @user39532 your followup questions are unrelated to the main question, the \label \ref mechanism works however equations are numbered, if you need help with that, please see any latex tutorial or ask a new question. Nov 5, 2013 at 21:28
  • 1
    @user39532 - For much more information on LaTeX's cross-referencing methods and packages, including some that work with equations, see also the posting Cross-reference packages: which to use, which conflict?.
    – Mico
    Nov 5, 2013 at 22:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .