summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/tex-virtual-academy-pl/latex2e/tytuly/num.html
blob: 18d2a2e1bc85f10b2c4d69b2bc5ee70c6a448f58 (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
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
<meta http-equiv="Content-language" content="pl">
<meta name="Author" content="W³odzimierz Macewicz">
<title>Definicje makroinstrukcji prezentuj±cych numery tytu³ów</title>
</head>
<body>

<h2>Definicje makroinstrukcji prezentuj±cych numery tytu³ów</h2>

<pre>
\renewcommand<a name=thepart</a>\thepart         {\@Roman\c@part}
\renewcommand<a name=thechapter</a>\thechapter      {\@arabic\c@chapter}
\renewcommand<a name=thesection</a>\thesection      {\thechapter.\@arabic\c@section}
\renewcommand<a name=thesubsection</a>\thesubsection   {\thesection.\@arabic\c@subsection}
\renewcommand<a name=thesubsubsection</a>\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
\renewcommand<a name=theparagraph</a>\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
</pre>

W definicjach tych wystêpuje pewna niekonsekwencja:
u¿ywane s± makroinstrukcje (np. <code>\@Roman</code>) operuj±ce
na wewnêtrznych nazwach liczników (np. <code>\c@part</code>). W
LaTeXu s± zdefiniowane polecenia operuj±ce na LaTeX-owych nazwach
<a href=count.html>liczników</a>.
</body>
</html>