Math & Science ⇒ the equation number
the equation number
I want to make that the example below
... (2.1)
... (2.2)
... (3.1)
... (3.2)
etc.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: the equation number
Please try to describe your requests more explicitly, and including all the relevant information.
the equation number
Code: Select all
\documentclass[12pt,a4paper,oneside]{report}
\usepackage{graphicx}
\usepackage{amsmath}
\begin{document}
\renewcommand{\theequation}{1.\arabic{equation}}
\begin{eqnarray}
a
\end{eqnarray}
\begin{eqnarray}
b
\end{eqnarray}
\renewcommand{\theequation}{2.\arabic{equation}}
\begin{eqnarray}
c
\end{eqnarray}
\begin{eqnarray}
d
\end{eqnarray}
\end{document} c (2.1)
d (2.2)
instead of
c (2.3)
d (2.4)
thanks
the equation number
Code: Select all
\documentclass[12pt,a4paper,oneside]{report}
\usepackage{graphicx}
\usepackage{amsmath}
\begin{document}
\renewcommand{\theequation}{1.\arabic{equation}}
\begin{align}
a
\end{align}
\begin{align}
b
\end{align}
\renewcommand{\theequation}{2.\arabic{equation}}
\setcounter{equation}{0}
\begin{align}
c
\end{align}
\begin{align}
d
\end{align}
\end{document}