diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/limap/limap.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/limap/limap.cls | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/limap/limap.cls b/Master/texmf-dist/tex/latex/limap/limap.cls index 76199246b1c..b36fed80af0 100644 --- a/Master/texmf-dist/tex/latex/limap/limap.cls +++ b/Master/texmf-dist/tex/latex/limap/limap.cls @@ -34,7 +34,7 @@ %% 64521 Gro\ss-Gerau (Germany) %% Mail: gene@gerd-neugebauer.de %% -%% Copyright (C) 1999-2016 Gerd Neugebauer +%% Copyright (C) 1999-2017 Gerd Neugebauer %% %% limap.dtx may be distributed under the terms of the LaTeX Project %% Public License version 1.3c, as described in lppl.txt. @@ -60,7 +60,7 @@ %% Right brace \} Tilde \~} %% \def\filename{limap.dtx} -\def\fileversion{2.1} +\def\fileversion{2.2} \def\filedate{2016/05/29} \let\docversion=\fileversion \let\docdate=\filedate @@ -149,6 +149,11 @@ \refstepcounter{\@nameuse{Map@TOC@name\the\Map@level}}% \addcontentsline{toc}{\@nameuse{Map@TOC@name\the\Map@level}}{#1}% } +\newcommand\MapBlockTOC[1]{% + \begingroup\count0=\Map@level \advance\count0 1% + \addcontentsline{toc}{\@nameuse{Map@TOC@name\the\count0}}{#1}% + \endgroup +} \newcommand\MapTOCname{} \newcommand\MapTOCpage{} \newcommand\MapTOCheadfont{\scriptsize\emph} @@ -274,6 +279,9 @@ &\parskip=\MapParskip {\MapRuleStart \rule{\MapTextFraction\textwidth}{\MapRuleWidth}}\par + \ifx\@undefined\MapBlockStartHook\else + \MapBlockStartHook{#1}% + \fi }{% } \newcommand\Block[1]{\PackageWarning{limap}{The sectioning command |