Hi,
When using \equation environment, it starts simply counting my formulas. How would I do it so that it attaches the section number first?
Such as, if I am in section 5.1, the formulas will be counted as
5.1.1
5.1.2
5.1.3
...
5.1.10
5.1.11
...
Thank you for your help!
Math & Science ⇒ equation math environment numberings
NEW: TikZ book now 40% off at Amazon.com for a short time.
equation math environment numberings
Hi,
you can use the \numberwithin command provided by the amsmath package. Take a look at the following simple example:
you can use the \numberwithin command provided by the amsmath package. Take a look at the following simple example:
Code: Select all
\documentclass{report}
\usepackage{amsmath}
\numberwithin{equation}{section}
\begin{document}
\chapter{Test chapter}
\section{Test section}
\begin{equation}
a=b
\end{equation}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...