\versionchanged: Added optional parameter for explanation of change.
This commit is contained in:
parent
1b6aecb08c
commit
a6e8339e61
|
@ -838,11 +838,17 @@
|
|||
%
|
||||
% Example:
|
||||
% \versionadded{1.5.2}
|
||||
% \versionchanged[short explanation]{1.6}
|
||||
%
|
||||
\newcommand{\versionadded}[1]{%
|
||||
{ New in version #1. }}
|
||||
\newcommand{\versionchanged}[1]{%
|
||||
{ Changed in version #1. }}
|
||||
\newcommand{\versionchanged}[2][\py@badkey]{%
|
||||
\ifx#1\@undefined%
|
||||
{ Changed in version #2. }%
|
||||
\else%
|
||||
{ Changed in version #2:\ #1. }%
|
||||
\fi%
|
||||
}
|
||||
|
||||
|
||||
% Tables.
|
||||
|
|
Loading…
Reference in New Issue