diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-22 20:36:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-22 20:36:26 +0000 |
commit | a8366738879c71baedc648dce6fd95e55f9f187f (patch) | |
tree | e520510474e3c81df75aca946560a1781fd0b7f0 /Master/texmf-dist/tex | |
parent | 2e4b6704129d266afdf57c0320aeba3034e051dd (diff) |
to-be-determined (22sep21)
git-svn-id: svn://tug.org/texlive/trunk@60582 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty b/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty index ffc106eb97f..b5e343b1cd7 100644 --- a/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty +++ b/Master/texmf-dist/tex/latex/to-be-determined/to-be-determined.sty @@ -21,27 +21,29 @@ % SOFTWARE. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{to-be-determined}[2021/07/21 0.1.1 Highlighting places requiring future work] +\ProvidesPackage{to-be-determined}[2021/09/22 0.1.2 Highlighting places requiring future work] \RequirePackage{xkeyval} -\newif\iftbdhide -\DeclareOptionX{hide}{\tbdhidetrue} -\newif\iftbdoff -\DeclareOptionX{off}{\tbdofftrue} +\makeatletter +\newif\iftbd@hide +\DeclareOptionX{hide}{\tbd@hidetrue} +\newif\iftbd@off +\DeclareOptionX{off}{\tbd@offtrue} +\makeatother \ProcessOptionsX\relax \RequirePackage{xcolor} \RequirePackage{soul} -\newcommand\tbd[1]{{% - \iftbdoff\else% +\makeatletter\newcommand\tbd[1]{{% + \iftbd@off\else% \sethlcolor{yellow}% - \iftbdhide% + \iftbd@hide% \hl{TBD}% \else% \hl{#1}% \fi% \fi% -}} +}}\makeatother \endinput |