summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/secnum
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-08-29 20:25:57 +0000
committerKarl Berry <karl@freefriends.org>2021-08-29 20:25:57 +0000
commite16bd0149bf77bb72427f1421046aa7ccdf1a9c5 (patch)
treeb1997f5447d292e0174b5a69e93842b56865e3f2 /Master/texmf-dist/doc/latex/secnum
parente56e35b7667194ff586da96dffe19f8174ea02e6 (diff)
secnum (29aug21)
git-svn-id: svn://tug.org/texlive/trunk@60365 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/secnum')
-rw-r--r--Master/texmf-dist/doc/latex/secnum/README.md18
-rw-r--r--Master/texmf-dist/doc/latex/secnum/secnum.pdfbin381934 -> 429962 bytes
2 files changed, 13 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/secnum/README.md b/Master/texmf-dist/doc/latex/secnum/README.md
index 9ee10bcae85..48a2b3117da 100644
--- a/Master/texmf-dist/doc/latex/secnum/README.md
+++ b/Master/texmf-dist/doc/latex/secnum/README.md
@@ -1,12 +1,20 @@
# secnum
-This package provides a macro \setsecnum to format section numbering intuitively.
+This package provides a macro `\setsecnum` to format section numbering intuitively.
## Usage
-One can simply use `\setsecnum{1.1.1}` to set the section numbering
-format as `arabic.arabic.arabic` and depth to be 3.
+One can simply use `\setsecnum{A,1.i}` to set the section numbering
+format as `Alph` for the sections, `arabic` for the subsections and
+`arabic.roman` for the subsubsections and
+the `secnumdepth` and `tocdepth` will be 3.
+
+If one want to set the tocdepth manually,
+there is an option `tocdep` for it.
+
+One may notice that the comma `,` plays a special role in the numbering format:
+for deep levels, the numbering before the comma are hided.
## Installation
@@ -16,7 +24,7 @@ The installation is the same as usual Tex packages.
1. Run the following to create the package file `secnum.sty` (as well as this file `README.md`)
- XeTeX secnum.dtx
+ pdfTeX secnum.dtx
2. Move the following file into proper directories searched by TeX.
The recommended directory is
@@ -25,7 +33,7 @@ The installation is the same as usual Tex packages.
3. To produce the documentation run the following
- XeLaTeX secnum.dtx
+ pdfLaTeX secnum.dtx
4. The recommended directory for the documentation is
diff --git a/Master/texmf-dist/doc/latex/secnum/secnum.pdf b/Master/texmf-dist/doc/latex/secnum/secnum.pdf
index 101df250f95..de3f9929b98 100644
--- a/Master/texmf-dist/doc/latex/secnum/secnum.pdf
+++ b/Master/texmf-dist/doc/latex/secnum/secnum.pdf
Binary files differ