From a8366738879c71baedc648dce6fd95e55f9f187f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 22 Sep 2021 20:36:26 +0000 Subject: to-be-determined (22sep21) git-svn-id: svn://tug.org/texlive/trunk@60582 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/to-be-determined/to-be-determined.pdf | Bin 183126 -> 102667 bytes .../latex/to-be-determined/to-be-determined.tex | 5 +---- .../latex/to-be-determined/to-be-determined.sty | 20 +++++++++++--------- 3 files changed, 12 insertions(+), 13 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf b/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf index 7046da7c956..b62c65762d1 100644 Binary files a/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf and b/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.pdf differ diff --git a/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.tex b/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.tex index ccaf9c744a3..9f787004e9d 100644 --- a/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.tex +++ b/Master/texmf-dist/doc/latex/to-be-determined/to-be-determined.tex @@ -27,7 +27,7 @@ \usepackage{ffcode} \title{\ff{to-be-determined}: \LaTeX{} Package \\ for highlighting places that require more work} \author{Yegor Bugayenko} -\date{0.1.1 2021/07/21} +\date{0.1.2 2021/09/22} \begin{document} \pagenumbering{gobble} \raggedbottom @@ -58,9 +58,6 @@ The budget is \tbd{99.00 USD}. \end{multicols} -With this package it's also possible to highlight -\tbd{larger pieces of text that take \textbf{a few lines}} on the page. - If you want to hide the content of what's inside \ff{\char`\\tbd}, use \ff{hide} option of the package. They will all be replaced with \tbd{TBD} placeholders. 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 -- cgit v1.2.3