diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/changes/examples.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/changes/examples.dtx | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/changes/examples.dtx b/Master/texmf-dist/source/latex/changes/examples.dtx index 78eaf393c1a..9dc8932bfaa 100644 --- a/Master/texmf-dist/source/latex/changes/examples.dtx +++ b/Master/texmf-dist/source/latex/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}| |