summaryrefslogtreecommitdiff
path: root/info/tex-virtual-academy-pl/latex2e/macro/cases.html
blob: 7eab9c53a710a1429bf8f056f5f6459b81154e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
<title> Zastaw ciekawych makroinstrukcji </title>
<LINK REL="stylesheet" TYPE="text/css" HREF="mycss.css">
<meta http-equiv="Content-language" content="pl">
<meta name="Author" content="W³odzimierz Macewicz">
<meta name="Keywords" content="tex, latex, makroinstrukcje, pakiety makroinstrukcji, Wirtualna Akademia">
</head>
<body bgcolor=#a0f0a0>
<h2><a name=cases>cases</a></h2>
Definiuje ¶rodowisko <code>numcases</code> pozwalaj±ce na robienie
poni¿ej przedstawionej konstrukcji

<p>
<b>Przyk³ad</b><br>
<pre>
    \begin{numcases}{|x|=}
    x, & for $x \geq 0$\\
    -x, & for $x < 0$
    \end{numcases}
</pre>

<p>

<img src=case1.gif>

<pre>
 \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}
</pre>

<img src=http://www.ia.pw.edu.pl/~wujek/tex/latex2e/macro/case2.gif>

<p>Pakiet jest dostêpny pod adresem:<br>
<a href=ftp://ftp.gust.org.pl/TeX/macros/latex/contrib/misc/cases.sty>
ftp://ftp.gust.org.pl/TeX/macros/latex/contrib/misc/cases.sty></a><br>
<hr>
<em>W³odzimierz Macewicz</em>
<hr>
Ostatnie zmiany: 05.05.2014.

</body>
</html>