diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-doc.cls')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-doc.cls | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls index 0aa215fdb1a..742660045b6 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls +++ b/Master/texmf-dist/doc/generic/pstricks/pst-doc.cls @@ -5,7 +5,7 @@ %% %% ``pst-doc'' class for use with the PSTricks documentation. %% -%% Copyright (C) 2009/2010 Herbert Voss +%% Copyright (C) 2009-2011 Herbert Voss %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3 @@ -15,7 +15,7 @@ %% % \listfiles -\ProvidesClass{pst-doc}[2010/11/03 v 0.16 PSTricks documentation class (hv)] +\ProvidesClass{pst-doc}[2010/11/10 v 0.17 PSTricks documentation class (hv)] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} \ProcessOptions\relax % @@ -287,6 +287,11 @@ xleftmargin=0pt,xrightmargin=0pt, \def\Lkeyword#1{\texttt{#1}\xLkeyword{#1}} \def\xLkeyword#1{\index{#1@\texttt{#1}}\index{Keyword!#1@\texttt{#1}}} \def\nxLkeyword#1{\texttt{#1}} + +\def\LKeyword#1{\LKeyword@i#1!!} +\def\LKeyword@i#1=#2!!{\Lkeyword{#1}\nxLkeyword{=#2}} +\let\nxLKeyword\nxLenv % same formatting + \let\nxLkeyval\nxLkeyword \let\nxLenv\nxLkeyword \let\nxLps\nxLkeyword |