Math & ScienceSimple Equation Numbering throughout all Sections

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
august_month
Posts: 12
Joined: Sat May 07, 2011 3:03 pm

Simple Equation Numbering throughout all Sections

Post by august_month »

Hello Everyone,

I would like to number all my equations like (1) and (2) and so on. Currently I am using

Code: Select all

\documentclass[12pt,oneside,reqno,fleqn]{amsart}
\usepackage{amsmath}
And I am getting (1.1) and so forth.

I also want numbering to continue across all sections and not to restart with zero or one.

Regards,
august_month

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Simple Equation Numbering throughout all Sections

Post by Johannes_B »

I cannot reproduce this, can you add a minimal working example?

Code: Select all

\documentclass[reqno,fleqn]{amsart}
\usepackage{amsmath}
\usepackage{blindtext}
\begin{document}
\section{section one}

\blindtext

\begin{equation}
xyz
\end{equation}

\blindtext

\section{section two}

\blindtext

\begin{equation}
abc
\end{equation}

\blindtext

\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
august_month
Posts: 12
Joined: Sat May 07, 2011 3:03 pm

Simple Equation Numbering throughout all Sections

Post by august_month »

I apologize. I went through code and found

\renewcommand{\theequation}{\arabic{section}.\arabic{equation}}

Sorry again!
Post Reply