summaryrefslogtreecommitdiff
path: root/info/examples/Math/10-09-3.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/Math/10-09-3.ltx')
-rw-r--r--info/examples/Math/10-09-3.ltx48
1 files changed, 27 insertions, 21 deletions
diff --git a/info/examples/Math/10-09-3.ltx b/info/examples/Math/10-09-3.ltx
index 4f0882f6b2..eb6db1e521 100644
--- a/info/examples/Math/10-09-3.ltx
+++ b/info/examples/Math/10-09-3.ltx
@@ -1,40 +1,46 @@
%%
%% Ein Beispiel der DANTE-Edition
%% Mathematiksatz mit LaTeX
-%% 2. Auflage
-%%
-%% Beispiel 10-09-3 auf Seite 232.
-%%
-%% Copyright (C) 2012 Herbert Voss
+%% 3. Auflage
+%% Beispiel 10-09-3 auf Seite 230.
+%% 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}
+\usepackage[utf8]{inputenc}
+\usepackage[ngerman]{babel}
\AtBeginDocument{\setlength\parindent{0pt}}
-\setcounter{equation}{25}
+\setcounter{equation}{24}
\renewcommand\theequation{10.\arabic{equation}}
-\StartShownPreambleCommands
-\usepackage{amsmath,array} \newcommand*\diff{\mathop{}\!\mathrm{d}}
-\StopShownPreambleCommands
+%StartShownPreambleCommands
+\usepackage{amsmath,array} \newcommand*\diff{\mathop{}\!\mathrm{d}}
+\AtBeginDocument{\setlength\tabcolsep{0pt}\renewcommand\arraystretch{0}
+\setlength\abovedisplayskip{0pt}\setlength\abovedisplayshortskip{0pt}
+\setlength\belowdisplayskip{0pt}\setlength\belowdisplayshortskip{0pt}}
+%StopShownPreambleCommands
\begin{document}
-\begin{tabular}{|l|p{0.7\linewidth}|}\hline
-p-Spalte\,\, & \begin{align} \oint E \diff s=0 \end{align}\\\hline
-\end{tabular}\\
-\begin{tabular}{|l|b{0.7\linewidth}|}\hline
-b-Spalte\,\, & \begin{align} \oint E \diff s=0 \end{align}\\\hline
-\end{tabular}\\
-\begin{tabular}{|l|m{0.7\linewidth}|}\hline
-m-Spalte & \begin{align} \oint E \diff s=0 \end{align}\\\hline
-\end{tabular}
+\begin{subequations}
+\noindent\begin{tabular}{@{}*{2}{m{0.5\linewidth}}@{}}
+\begin{align} \oint E \mathrm{d}s=0 \end{align}
+ & \begin{align} \nabla\cdot B=0 \label{sub:foo}\end{align}\\
+\begin{align} a =\frac{c}{d} \end{align}
+ & \begin{align} b = 1 \end{align} \\
+\begin{align} c =1 \label{sub:baz}\end{align}
+ & \begin{align} \int 2x\diff x = x^2+C \end{align}
+\end{tabular}\par
+Auf sämtliche Untergleichungen kann in der gewohnten Form eine Referenz gesetzt
+werden. Beispielsweise sind Gleichung~\eqref{sub:foo} und Gleichung~\eqref{sub:baz}
+korrekt mit dem Buchstaben angegeben. Das richtige Setzen der Marke (Label) ist
+dabei natürlich Voraussetzung.
+\end{subequations}
\end{document}