Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use revtex for my paper, and the sections are numbered as I. II. (roman), but when I use \numberwithin{equation}{section}, I get sth like (I.1), but I'd like it to be like (1.1), I looked around but didn't find anything to change it...

So if anybody can help, I'd appreciate it :)

share|improve this question
In the revtex4 class sections are numbered with Roman numerals; I don't think it's a good idea using two different representations for the same number. – egreg Jan 20 at 22:59
How come? It just looks nicer this way imo... – dingo_d Jan 20 at 23:02
Your readers may be puzzled about what the first number means, since they are in "Section I" and not in "Section 1". – egreg Jan 20 at 23:12
Dunno, I don't think that will confuse the readers (not that it will be many of them since it's for a seminar, and I kinda think that only my mentor and professors in charge of the seminar will read it :) – dingo_d Jan 21 at 10:41

1 Answer

up vote 3 down vote accepted

enter image description here

\documentclass{revtex4-1}
\usepackage{amsmath}
\numberwithin{equation}{section}
\renewcommand\theequation{\arabic{section}.\arabic{equation}}
\begin{document}

\section{aaa}

\begin{equation}1=2\end{equation}

\section{aaa}

\begin{equation}1=2\end{equation}

\end{document}
share|improve this answer
Jup, that seems to does the trick :) – dingo_d Jan 20 at 22:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.