summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/verscnt.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-12-23 15:53:36 +0000
committerKarl Berry <karl@freefriends.org>2011-12-23 15:53:36 +0000
commit86fedb4325f0b32892d54a81cbc3fb9e9a221b8e (patch)
tree994ca4605e60db1b1082b9f9e68675b5f79563bb /Master/texmf-dist/doc/latex/latex-tipps-und-tricks/verscnt.sty
parent487851dc1f103e110667c4287eb8cc2a36b1565a (diff)
rm latex-tipps-und-tricks, no license info
git-svn-id: svn://tug.org/texlive/trunk@24924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/verscnt.sty')
-rw-r--r--Master/texmf-dist/doc/latex/latex-tipps-und-tricks/verscnt.sty38
1 files changed, 0 insertions, 38 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/verscnt.sty b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/verscnt.sty
deleted file mode 100644
index fdedb1c3dd1..00000000000
--- a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/verscnt.sty
+++ /dev/null
@@ -1,38 +0,0 @@
-% verscnt.sty
-% \begin{versenumber}[Start]
-% \item Vers <Start> ...
-% \item Vers <Start>+1 ...
-% \item Vers <Start>+2 ...
-% \end{versenumber}
-% Start kann entfallen, Zaehlung dann fortlaufend
-\RequirePackage{calc}
-
-% entweder (Nummer) oder (Kapitel--Nummer)
-\@ifundefined{chapter}
- {\newcounter{verscnt}
- \renewcommand{\theverscnt}
- {(\arabic{verscnt})}}
- {\newcounter{verscnt}[chapter]
- \renewcommand{\theverscnt}
- {(\thechapter--\arabic{verscnt})}}
-\setcounter{verscnt}{0}
-
-% damit Zaehler nicht mit 0 initialisiert wird
-\newcommand{\myusecounter}[1]
- {\@nmbrlisttrue\def\@listctr{#1}}
-
-% Verse mit \item einleiten
-% optional: Start-Versnummer-1
-\newenvironment{versenumber}[1][\value{verscnt}]
- {\begin{list}
- {\theverscnt}
- {\myusecounter{verscnt}
- \setcounter{verscnt}{#1}
- \@ifundefined{chapter}
- {\settowidth{\labelwidth}{(999)}}
- {\settowidth{\labelwidth}{(99--999)}}
- \setlength{\labelsep}{1ex}
- \setlength{\itemindent}{\labelwidth+\labelsep}
- }
- }
- {\end{list}}