-1

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?

closed as not a real question by Heiko Oberdiek, Werner, mafp, Qrrbrbirlbel, Andrew Swann Jun 5 '13 at 11:32

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 7
    Welcome 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 1 '13 at 11:08
  • Is this answer what you are looking for? – Andy Clifton Jun 2 '13 at 15:01
  • 2
    To 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 4 '13 at 22:00
1

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

ex1

Not the answer you're looking for? Browse other questions tagged or ask your own question.