0

I usually enumerate my propositions, definitions etc. with (Hindu-)Arabic numerals (e.g. Definition 1.1.1., Proposition 1.1.2., Theorem 2.1.1. etc.). I would hence like to enumerate my equations with a single Roman numeral with a non-resetting counter, so as not to confound the two.

\documentclass{report}

\renewcommand{\theequation}{\Roman{equation}}

\begin{document}

\chapter{First chapter}

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


\chapter{Second chapter}

\begin{equation}
1 + 2 = 3.
\end{equation}


\end{document}

As is, both equations are labelled (I).

How can I adjust my code, so as to prevent the equation counter from resetting with every new chapter?

I am aware of the existence of this post. It does not answer my question, as it pertains to abstracts specficially.

  • 2
    Did you try adding \counterwithout{equation}{chapter} to your preamble? – Bernard Mar 10 '20 at 09:35
  • 1
    Assuming your TeX distribution is reasonably up to date, you should be able to achieve your formatting objective by issuing the instruction \counterwithout{equation}{chapter} before running \renewcommand{\theequation}{\Roman{equation}}. – Mico Mar 10 '20 at 09:37
  • 2
    @Mico Even better, \counterwithout*{equation}{chapter} can go anywhere. – egreg Mar 10 '20 at 10:02
  • @Bernard That worked admirably. – Heinrich Wagner Mar 10 '20 at 10:57

0 Answers0