summaryrefslogtreecommitdiff
path: root/info/examples/Math/09-12-4.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/Math/09-12-4.ltx')
-rw-r--r--info/examples/Math/09-12-4.ltx40
1 files changed, 40 insertions, 0 deletions
diff --git a/info/examples/Math/09-12-4.ltx b/info/examples/Math/09-12-4.ltx
new file mode 100644
index 0000000000..a8de9a6700
--- /dev/null
+++ b/info/examples/Math/09-12-4.ltx
@@ -0,0 +1,40 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%% Mathematiksatz mit LaTeX
+%% 2. Auflage
+%%
+%% Beispiel 09-12-4 auf Seite 188.
+%%
+%% Copyright (C) 2012 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}
+\pagestyle{empty}
+\setlength\textwidth{166.324pt}
+\AtBeginDocument{\setlength\parindent{0pt}}
+\setcounter{equation}{9}
+\renewcommand\theequation{9.\arabic{equation}}
+\StartShownPreambleCommands
+\usepackage{amsmath,empheq,color}
+\newcommand*\diff{\mathop{}\!\mathrm{d}}
+\StopShownPreambleCommands
+\begin{document}
+\begin{subequations}
+\begin{align}
+ f(x) & =\int\limits_1^{\infty}\frac{1}{x^1}\diff t=1
+\end{align}
+\begin{empheq}[box={\fboxsep=10pt\colorbox{cyan}}]{align}
+ f(x) & =\int\limits_2^{\infty}\frac{1}{x^2}\diff t=0.25
+\end{empheq}
+\end{subequations}
+\end{document}