summaryrefslogtreecommitdiff
path: root/info/examples/Math/05-03-2.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/Math/05-03-2.ltx')
-rw-r--r--info/examples/Math/05-03-2.ltx36
1 files changed, 14 insertions, 22 deletions
diff --git a/info/examples/Math/05-03-2.ltx b/info/examples/Math/05-03-2.ltx
index 0062303168..ef83e9e6e7 100644
--- a/info/examples/Math/05-03-2.ltx
+++ b/info/examples/Math/05-03-2.ltx
@@ -1,41 +1,33 @@
%%
%% Ein Beispiel der DANTE-Edition
%% Mathematiksatz mit LaTeX
-%% 2. Auflage
-%%
-%% Beispiel 05-03-2 auf Seite 81.
-%%
-%% Copyright (C) 2012 Herbert Voss
+%% 3. Auflage
+%% Beispiel 05-03-2 auf Seite 80.
+%% 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}
\setlength\parindent{0pt}
-\setcounter{equation}{1}
-\renewcommand\theequation{5.\arabic{equation}}
-\StartShownPreambleCommands
+%StartShownPreambleCommands
\usepackage{xcolor,amsmath}
-\StopShownPreambleCommands
+\def\xstrut{\vphantom{\dfrac{(A)^1}{(B)^1}}}
+%StopShownPreambleCommands
\begin{document}
-\colorbox{black!20}{%
-\parbox{\dimexpr\linewidth-2\fboxsep}{%
- \begin{align}
- \frac{I(\alpha )}{I_{0}}=
- \begin{cases}
- \sqrt{1-\frac{\alpha}{\pi}+\frac{1}{2\pi}\sin 2\alpha} & \varphi =0\\[0.4cm]
- \sqrt{2\left(1-\frac{\alpha}{\pi}\right)\left(2+\cos 2\alpha \right)+
- \frac{3}{\pi}\sin 2\alpha} & \varphi =\frac{\pi}{2}
- \end{cases}
-\end{align}}}
+\[
+E = \colorbox{lightgray}{$\xstrut a_vA$} -
+ \colorbox{magenta!30}{$\xstrut a_fA^{2/3}$} -
+ \colorbox{green!60}{$\xstrut a_c\dfrac{Z(Z-1)}{A^{1/3}}$} -
+ \colorbox{cyan}{$\xstrut a_s\dfrac{(A-2Z)^2}{A}$} +
+ \colorbox{yellow}{$\xstrut E_p$}
+\]
\end{document}