diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex b/Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex index 037fd69d3eb..92a024a6035 100644 --- a/Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex +++ b/Master/texmf-dist/doc/latex/pgfplots/pgfplots-macros.tex @@ -21,7 +21,6 @@ \makeatother }% - \makeatletter \def\pgfplotsmakefilelinkifuseful#1#2{% \protect\pgfplotsmakefilelinkifuseful@{#1}{#2}% @@ -255,6 +254,30 @@ { \end{pgfmanualentry} } +\newenvironment{codeargskey}[2]{% + \begin{pgfmanualentry} + {\toks0={#2}% + \xdef\argpattern{\the\toks0 }% + }% + \pgfmanual@command@to@string\argpattern\argpattern + \pgfmanualentryheadline{{\ttfamily\declarekey{#1}\textcolor{gray}{/\pgfmanualpdfref{/handlers/.code}{.code args}}=\texttt{\{\argpattern\}}\marg{...}}\hfill}% + \def\mykey{#1}% + \def\mypath{}% + \def\myname{}% + \firsttimetrue% + \decompose#1/\nil% + \pgfmanualbody +} +{ + \end{pgfmanualentry} +} +\def\pgfmanual@command@to@string#1#2{% + \expandafter\pgfmanual@command@to@string@@\meaning#1\pgfmanual@EOI{#2}% +}% +\xdef\pgfmanual@glob@TMPa{\meaning\pgfutil@empty}% +\expandafter\def\expandafter\pgfmanual@command@to@string@@\pgfmanual@glob@TMPa#1\pgfmanual@EOI#2{% + \def#2{#1}% +}% \newenvironment{pgfplotscodekey}[1]{% \begin{codekey}{/pgfplots/#1}% |