Code: Select all
\documentclass[12pt,a4paper,fleqn]{article}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\usepackage{appendix}
\setotherlanguages{english}
\usepackage{graphicx}
\usepackage{amsmath}
\begin{document}
\tableofcontents
\begin{abstract}
\end{abstract}
\section{first section}
\begin{equation}
g(t)=\frac{sin\Omega t}{\pi t}
\end{equation}
\section{second section}
\begin{equation}
g(t)=\frac{sin\Omega t}{\pi t}
\end{equation}
\subsection{Subsection}
\begin{equation}
g(t)=\frac{sin\Omega t}{\pi t}
\end{equation}
\end{document}
1. first section
formula ____________(1)
2. second section
formula ____________(2)
2.1. subsection
formula ____________(3)
Please help me with numbering... I want that numbering starts with every new section, so in my file, I want, that it looks like this:
1. first section
formula ____________(1.1)
2. second section
formula ____________(2.1)
2.1. subsection
formula ____________(2.1.1)
Thanks for help
