summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/tex-virtual-academy-pl/latex2e/macro/cases.html
blob: 57cce4f692121b7d1689399313564a66073476ae (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
48
49
50
51
52
53

<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>



<a href=../../texologia.html><img src="../../gify/lew-7vs.gif" hspace=10 border=0 align=left></a>
<a href=mailto:W.Macewicz@ia.pw.edu.pl><img src="../../gify/mail.gif" hspace=10 align=left></a>
<a href=http://www.ia.pw.edu.pl/~wujek/index.html>W³odzimierz Macewicz</a><br clear=all>
<hr>
<!--#config timefmt="%y-%m-%d" -->
Ostatnie zmiany: <!--#echo var="LAST_MODIFIED" -->.
</body>
</html>