summaryrefslogtreecommitdiff
path: root/info/examples/Math/06-03-16.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/Math/06-03-16.ltx')
-rw-r--r--info/examples/Math/06-03-16.ltx40
1 files changed, 21 insertions, 19 deletions
diff --git a/info/examples/Math/06-03-16.ltx b/info/examples/Math/06-03-16.ltx
index 7592f360ee..3a919109ad 100644
--- a/info/examples/Math/06-03-16.ltx
+++ b/info/examples/Math/06-03-16.ltx
@@ -1,38 +1,40 @@
%%
%% Ein Beispiel der DANTE-Edition
%% Mathematiksatz mit LaTeX
-%% 2. Auflage
-%%
-%% Beispiel 06-03-16 auf Seite 103.
-%%
-%% Copyright (C) 2012 Herbert Voss
+%% 3. Auflage
+%% Beispiel 06-03-16 auf Seite 102.
+%% Copyright (C) 2018 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.
%%
-%%
%% ====
% Show page(s) 1
%%
%%
-\documentclass[]{exaarticle}
+\documentclass[10pt]{screxa}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\AtBeginDocument{\setlength\parindent{0pt}}
-\setcounter{equation}{41}
+\setcounter{equation}{40}
\renewcommand\theequation{6.\arabic{equation}}
-\StartShownPreambleCommands
-\usepackage{amsmath}
-\StopShownPreambleCommands
+%StartShownPreambleCommands
+\newcommand*\diff{\mathop{}\!\mathrm{d}}
+%StopShownPreambleCommands
\begin{document}
-\begin{align}
-ax &= \begin{cases}
- \mathbin{\phantom{-}}0 & \text{falls } a=\ldots\\
- -1 & \text{Dieser Text kann so lang sein, wie er will, aber es gibt manchmal
- Probleme \ldots}
- \end{cases}
-\end{align}
+\begin{equation}
+\begin{array}{rl}
+A_1
+ &=\left|\int_0^1(f(x)-g(x))\diff x\right|+\left|\int_1^2(g(x)-h(x))\diff x\right|\\
+ &=\left|\int_0^1(x^2-3x)\diff x\right|+\left|\int_1^2(x^2-5x+6)\diff x\right|\\
+ &=\left|\frac{x^3}{3}-\frac{3}{2}x^2\right|_0^1+\left|\frac{x^3}{3}
+ -\frac{5}{2}x^2+6x\right|_1^2\\
+ &=\left|\frac13-\frac32\right|+\left|\frac83-\frac{20}{2}+12-\left(\frac13
+ -\frac{5}{2}+6\right)\right|\\
+ &=\left|-\frac76\right|+\left|\frac{28}{6}-\frac{23}{6}\right|=\frac76
+ +\frac{5}{6}=2\,\textrm{FE}
+\end{array}
+\end{equation}
\end{document}