summaryrefslogtreecommitdiff
path: root/info/examples/Math-E/09-09-2.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/Math-E/09-09-2.ltx')
-rw-r--r--info/examples/Math-E/09-09-2.ltx39
1 files changed, 39 insertions, 0 deletions
diff --git a/info/examples/Math-E/09-09-2.ltx b/info/examples/Math-E/09-09-2.ltx
new file mode 100644
index 0000000000..ae54230bbb
--- /dev/null
+++ b/info/examples/Math-E/09-09-2.ltx
@@ -0,0 +1,39 @@
+%%
+%% An UIT Edition example
+%%
+%% Example 09-09-2 on page 175.
+%%
+%% Copyright (C) 2010 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{375.57637pt}
+\AtBeginDocument{\setlength\parindent{0pt}}
+\setcounter{equation}{3}
+\renewcommand\theequation{9.\arabic{equation}}
+\StartShownPreambleCommands
+\usepackage{cases}
+\StopShownPreambleCommands
+\begin{document}
+\begin{subnumcases}{\label{w} w\equiv}
+ 0 & $c = d = 0$\label{wzero}\\
+ \sqrt{|c|}\,\sqrt{\frac{1 + \sqrt{1+(d/c)^2}}{2}} & $|c| \geq |d|$ \\
+ \sqrt{|d|}\,\sqrt{\frac{|c/d| + \sqrt{1+(c/d)^2}}{2}} & $|c| < |d|$
+\end{subnumcases}
+\begin{subnumcases}{\sqrt{c+id}=}
+ 0 & $w=0$ (case \ref{wzero}) \\
+ w+i\frac{d}{2w} & $w \neq 0$, $c \geq 0$ \\
+ \frac{|d|}{2w} + iw \qquad & $w \neq 0$, $c < 0$, $d \geq 0$\\
+ \frac{|d|}{2w} - iw \qquad & $w \neq 0$, $c < 0$, $d < 0$
+\end{subnumcases}
+\end{document}