diff options
author | Norbert Preining <norbert@preining.info> | 2021-09-23 03:01:31 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-09-23 03:01:31 +0000 |
commit | a26e6aee249adb0efff5d0eecaa2dfb8794585a5 (patch) | |
tree | 61f34ace7d0bd13f43cb638820af270f34868234 /macros/latex/contrib/to-be-determined | |
parent | 094234b56c200ad35a041aa579c18cbcac8933ed (diff) |
CTAN sync 202109230301
Diffstat (limited to 'macros/latex/contrib/to-be-determined')
-rw-r--r-- | macros/latex/contrib/to-be-determined/to-be-determined.pdf | bin | 183126 -> 102667 bytes | |||
-rw-r--r-- | macros/latex/contrib/to-be-determined/to-be-determined.sty | 20 | ||||
-rw-r--r-- | macros/latex/contrib/to-be-determined/to-be-determined.tex | 5 |
3 files changed, 12 insertions, 13 deletions
diff --git a/macros/latex/contrib/to-be-determined/to-be-determined.pdf b/macros/latex/contrib/to-be-determined/to-be-determined.pdf Binary files differindex 7046da7c95..b62c65762d 100644 --- a/macros/latex/contrib/to-be-determined/to-be-determined.pdf +++ b/macros/latex/contrib/to-be-determined/to-be-determined.pdf diff --git a/macros/latex/contrib/to-be-determined/to-be-determined.sty b/macros/latex/contrib/to-be-determined/to-be-determined.sty index ffc106eb97..b5e343b1cd 100644 --- a/macros/latex/contrib/to-be-determined/to-be-determined.sty +++ b/macros/latex/contrib/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 diff --git a/macros/latex/contrib/to-be-determined/to-be-determined.tex b/macros/latex/contrib/to-be-determined/to-be-determined.tex index ccaf9c744a..9f787004e9 100644 --- a/macros/latex/contrib/to-be-determined/to-be-determined.tex +++ b/macros/latex/contrib/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. |