summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/tex-virtual-academy-pl/latex2e/macro/shadetheorem.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/tex-virtual-academy-pl/latex2e/macro/shadetheorem.html')
-rw-r--r--Master/texmf-dist/doc/generic/tex-virtual-academy-pl/latex2e/macro/shadetheorem.html121
1 files changed, 121 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/tex-virtual-academy-pl/latex2e/macro/shadetheorem.html b/Master/texmf-dist/doc/generic/tex-virtual-academy-pl/latex2e/macro/shadetheorem.html
new file mode 100644
index 00000000000..d651abdedb5
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/tex-virtual-academy-pl/latex2e/macro/shadetheorem.html
@@ -0,0 +1,121 @@
+<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>shadethm</h2>
+
+Pakiet zawiera makroinstrukcje umożliwiające definiowanie środowisk,
+w których tekst będzie prezentowany w stopniach szarości lub kolorach.
+pakiet posiada standardowo cztery opcje:<br>
+<tt>bodymargin</tt>,<br>
+<tt>shademargin</tt>,<br>
+<tt>colored</tt> -- zawartość środowiska jest kolorowana,<br>
+<tt>shadein</tt> -- dodawane są dodatkowe marginesy z prawej i lewej strony;<br>
+można definiować wlasne opcje definiując zbiór o
+nazwie: <i>opcja</i>.<tt>sth</tt>.
+
+<p>
+Zbiór konfiguracyjny (ładowany jeżeli deklarowana jest opcja)
+ma następującą postać:
+<pre>
+\AtEndOfPackage{
+ \setlength{\shadeboxsep}{2pt}
+ \setlength{\shadeboxrule}{.4pt}
+ \setlength{\shadedtextwidth}{\textwidth}
+ \addtolength{\shadedtextwidth}{-2\shadeboxsep}
+ \addtolength{\shadedtextwidth}{-2\shadeboxrule}
+ \setlength{\shadeleftshift}{0pt}
+ \setlength{\shaderightshift}{0pt}
+ \definecolor{shadethmcolor}{named}{Apricot}
+ \definecolor{shaderulecolor}{named}{Mahogany}
+}
+</pre>
+i zawiera polecenia zmiany parametrów, które można zmienić w dowolnym momencie
+(ale przed definicją danego środowiska).<br>
+Lista parametrów jest następująca:
+<table border=1>
+<tr><th>parametr</th><th>opis</th></tr>
+<tr><td><tt>
+\shadeleftshift
+ </tt></td><td>
+ dodatkowy margines z lewej strony
+ </td></tr>
+<tr><td><tt>
+\shadeboxsep
+ </tt></td><td>
+ odległość ramki od wewnętrznego tekstu
+ </td></tr>
+<tr><td><tt>
+\shadetextwidth
+ </tt></td><td>
+ szerokość tekstu w pudełku
+ </td></tr>
+<tr><td><tt>
+\shadeboxrule
+ </tt></td><td>
+ grubość ramki
+ </td></tr>
+<tr><td><tt>
+\shaderightshift
+ </tt></td><td>
+ dodatkowy margines z prawej strony
+ </td></tr>
+</table>
+
+
+<p>
+Nowe środowisko definiujemy za pomocą poleceń:<br>
+<tt>newshadetheorem{<i>name</i>}{<i>text</i>}[<i>counter</i>]</tt><br>
+<tt>newshadetheorem{<i>name</i>}[<i>oldname</i>]{<i>text</i>}</tt><br>
+<tt>newtheorem{<i>name</i>}[<i>oldname</i>]{<i>text</i>}</tt><br>
+gdzie:
+<dl>
+<dt><i>name</i>
+<dd> nazwa środowiska
+<dt><i>text</i>
+<dd> tekst będący tytułem środowiska
+<dt><i>counter</i>
+<dd> licznik od którego zależy licznik danego środowiska
+<dt><i>oldname</i>
+<dd> nazwa innego środowiska (definiowanego w ten sposób)
+ mającego ten sam licznik (będą one liczone tym samym
+ licznikiem)
+</dl>
+polecenie <tt>newshadetheorem</tt> definiuje środowisko bez dodatkowych
+atrybutów (kolor, cieniowanie).
+
+<pre>
+\newshadetheorem{theorem}{Theorem}
+\begin{theorem}
+$$
+E = mc^2
+$$
+\end{theorem}
+</pre>
+
+<img src=shadethm.gif>
+
+
+<p><b>Uwaga!</b><br>
+Efekt końcowy można uzyskać jedynie przez postscript
+
+<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>