%% %% Der Mathematiksatz mit LaTeX, 1. Auflage 2009 %% %% Example 3-3-4 on page 24. %% %% Copyright (C) 2009 Herbert Voss %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% %% See http://www.latex-project.org/lppl.txt for details. %% \documentclass[]{ttctexareport} \pagestyle{empty} \setcounter{page}{6} \setlength\textwidth{355.65944pt} \setlength\parindent{0pt} \usepackage[lucidasmallscale]{lucidabr} \setlength\textwidth{160pt} \setlength\textheight{200pt} \usepackage[utf8]{inputenc} \AtBeginDocument{\sloppy} \StartShownPreambleCommands \usepackage{chngcntr} \counterwithout{equation}{chapter} \newcommand*\diff{\mathop{}\!\mathrm{d}} \StopShownPreambleCommands \begin{document} \chapter{foo} \begin{equation} f(x)= \int\frac{\sin x}{x}\diff x \end{equation} \begin{equation} f(x)= \int\frac{1}{x^2}\diff x \end{equation} \chapter{bar} Die \texttt{equation}-Zählung wird jetzt durch das neue Kapitel nicht zurückgesetzt. \begin{equation} f(x)= \int\frac{\sin x}{x}\diff x \end{equation} \begin{equation} f(x)= \int\frac{1}{x^2}\diff x \end{equation} \end{document}