[Tex/LaTex] Numbering in revtex4

numberingrevtex

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 🙂

Best Answer

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}
Related Question