diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty index 9d1c6183daa..fe20f104459 100644 --- a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty +++ b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty @@ -1,6 +1,6 @@ -% $Id: ltxdockit.sty,v 1.2c 2010/12/10 17:19:43 lehman stable $ +% $Id: ltxdockit.sty,v 1.2d 2011/03/25 20:33:14 lehman stable $ % -% Copyright (c) 2008-2010 Philipp Lehman. +% Copyright (c) 2008-2011 Philipp Lehman. % % Permission is granted to copy, distribute and/or modify this % software under the terms of the LaTeX Project Public License @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{ltxdockit} -[\ltd@rcsid $Id: ltxdockit.sty,v 1.2c 2010/12/10 17:19:43 lehman stable $ +[\ltd@rcsid $Id: ltxdockit.sty,v 1.2d 2011/03/25 20:33:14 lehman stable $ LaTeX documentation kit] \RequirePackage{etoolbox} @@ -143,10 +143,12 @@ % references -\newrobustcmd*{\secref}{\refs{\S}{\S\S}} -\newrobustcmd*{\Secref}{\secref} -\newrobustcmd*{\tabref}{\refs{table}{tables}} -\newrobustcmd*{\Tabref}{\refs{Table}{Tables}} +\newcommand*{\secref}{\refs{\S}{\S\S}} +\newcommand*{\Secref}{\refs{\S}{\S\S}} +\newcommand*{\apxref}{\refs{appendix}{appendices}} +\newcommand*{\Apxref}{\refs{Appendix}{Appendices}} +\newcommand*{\tabref}{\refs{table}{tables}} +\newcommand*{\Tabref}{\refs{Table}{Tables}} \newrobustcmd*{\refs}[3]{% \begingroup @@ -463,12 +465,12 @@ {\list{}{% \ifblank{#1} {\setlength{\labelwidth}{5em}} - {\settowidth{\labelwidth}{\displayverbfont#1}}% + {\settowidth{\labelwidth}{\optionlistfont#1}}% \setlength{\labelsep}{1em}% \setlength{\leftmargin}{\labelwidth}% \addtolength{\leftmargin}{\labelsep}% \setlength{\itemsep}{0pt}% - \renewcommand*{\makelabel}[1]{\displayverbfont##1\hss}}} + \renewcommand*{\makelabel}[1]{\optionlistfont##1\hss}}} {\endlist} \newenvironment*{valuelist*} |