summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/changes/examples.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-01-30 03:00:54 +0000
committerNorbert Preining <norbert@preining.info>2021-01-30 03:00:54 +0000
commit431a21790bcbf7d842f7a3d5e6e3eaef4ae823af (patch)
tree5ae95f1f34bf81d03294fc88ed5cab6eb0e25a88 /macros/latex/contrib/changes/examples.dtx
parentbc31a53b31d92ddf5db3e7df811734a0141f8b3f (diff)
CTAN sync 202101300300
Diffstat (limited to 'macros/latex/contrib/changes/examples.dtx')
-rw-r--r--macros/latex/contrib/changes/examples.dtx24
1 files changed, 21 insertions, 3 deletions
diff --git a/macros/latex/contrib/changes/examples.dtx b/macros/latex/contrib/changes/examples.dtx
index 78eaf393c1..9dc8932bfa 100644
--- a/macros/latex/contrib/changes/examples.dtx
+++ b/macros/latex/contrib/changes/examples.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2007-2019
+% Copyright (C) 2007-2021
% Ekkart Kleinod (ekleinod@edgesoft.de)
% --------------------------------------------------------------------------
%
@@ -57,6 +57,20 @@
\usepackage[final]{changes}
%</example:final>
%
+%<*example:commandnameprefix:none>
+\usepackage[commandnameprefix=none]{changes}
+%</example:commandnameprefix:none>
+%<*example:commandnameprefix:always>
+\usepackage[commandnameprefix=always]{changes}
+%</example:commandnameprefix:always>
+%<*example:commandnameprefix:ifneeded>
+\newcommand{\added}{Definition of added}
+\usepackage[commandnameprefix=ifneeded]{changes}
+%</example:commandnameprefix:ifneeded>
+%<*example:commandnameprefix:wrong>
+\usepackage[commandnameprefix=wrong]{changes}
+%</example:commandnameprefix:wrong>
+%
%<*example:markup:default>
\usepackage[markup=default]{changes}
%</example:markup:default>
@@ -209,6 +223,10 @@
\usepackage[authormarkuptext=wrong]{changes}
%</example:authormarkuptext:wrong>
%
+%<*example:defaultcolor>
+\usepackage[defaultcolor=magenta]{changes}
+%</example:defaultcolor>
+%
%<*example:packageoptions.todonotes>
\usepackage[todonotes={textsize=tiny}]{changes}
%</example:packageoptions.todonotes>
@@ -229,7 +247,7 @@
\setdeletedmarkup{\emph{#1}}
%</example:setdeletedmarkup>
%<*example:setcommentmarkup>
-\setcommentmarkup{\ifthenelse{\isColored}{\color{authorcolor}}{}---~\ifthenelse{\isAnonymous{#2}}{}{\textbf{#3} }#1~---}
+\setcommentmarkup{\IfIsColored{\color{authorcolor}}{}---~\IfIsAnonymous{#2}{}{\textbf{#3} }#1~---}
%</example:setcommentmarkup>
%<*example:sethighlightmarkup>
\sethighlightmarkup{\emph{#1}}
@@ -279,7 +297,7 @@
%<example:listofchanges:summary>\verb|\listofchanges[style=summary]|
%<example:setaddedmarkup>\verb|\setaddedmarkup{\emph{#1}}|
%<example:setdeletedmarkup>\verb|\setdeletedmarkup{\emph{#1}}|
-%<example:setcommentmarkup>\verb|\setcommentmarkup{\ifthenelse{\isColored}{\color{authorcolor}}{}---~\ifthenelse{\isAnonymous{#2}}{}{\textbf{#3} }#1~---}|
+%<example:setcommentmarkup>\verb|\setcommentmarkup{\IfIsColored{\color{authorcolor}}{}---~\IfIsAnonymous{#2}{}{\textbf{#3} }#1~---}|
%<example:sethighlightmarkup>\verb|\sethighlightmarkup{\emph{#1}}|
%<example:setauthormarkup>\verb|\setauthormarkup{\xout{#1}}|
%<example:setauthormarkupposition>\verb|\setauthormarkupposition{left}|