diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-19 18:54:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-19 18:54:54 +0000 |
commit | 2d248026682e0a02fa2b004a0ad2f13f57d8535c (patch) | |
tree | 7088bbd745de030191c2d843c4b3f4d9d5c46d91 /Master/texmf-dist/doc/latex/latex-tipps-und-tricks/sect.sty | |
parent | eecee5a57aa7fbeb22e0df8440fb3b06c5117fc7 (diff) |
move german latex docs out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13264 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/sect.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-tipps-und-tricks/sect.sty | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/sect.sty b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/sect.sty new file mode 100644 index 00000000000..ad56a5cbd71 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/sect.sty @@ -0,0 +1,14 @@ +% sect.sty (Fragment) +\def\section{\secdef\@section\@ssection} +\def\@section[#1]#2{ + \ifnum \c@secnumdepth >\m@ne + \refstepcounter{section}% + \addcontentsline{toc}{section}{% + \protect\numberline{\thesection}#1} + \else + \addcontentsline{toc}{section}{#1} + \fi + \sectionmark{#1}% + \@makesectionhead{#2}\@afterheading + } +\def\@ssection#1{\@makessectionhead{#1} \@afterheading} |