I want to use the section numbering in the equations like (1.1), (1.2), ... (3.2). But I don't want to use \section command. How can I do this?
Asked
Active
Viewed 573 times
-1
-
7Welcome to TeX.SX! Can you expand your question adding some more detail? If there's no section, what should the first number mean? – egreg Jun 01 '13 at 11:08
-
Is this answer what you are looking for? – Andy Clifton Jun 02 '13 at 15:01
-
2To the close-voters: I do not completely understand what makes you sure that this question is a duplicate of the other one. It might be one, but IMHO there's currently not enough information to decide that. – yo' Jun 04 '13 at 22:00
1 Answers
2
Remarks
You might want to use the \numberwithin directive, like
\numberwithin{equation}{section}
Implementation
\documentclass{scrartcl}
\usepackage{amsmath,amssymb}
\pagestyle{empty}
\numberwithin{equation}{section}
\begin{document}
\section{First section}
\begin{equation}
\hat{f}(\omega) = \frac{1}{\sqrt{(2 \pi)^n}} \int_{\mathbb{R}^n} f(t) \, \mathrm{e}^{\mathrm{i} \omega t} \, \mathrm{d}t
\end{equation}
\end{document}
Output

Henri Menke
- 109,596