summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/to-be-determined
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/to-be-determined')
-rw-r--r--macros/latex/contrib/to-be-determined/to-be-determined.pdfbin183126 -> 102667 bytes
-rw-r--r--macros/latex/contrib/to-be-determined/to-be-determined.sty20
-rw-r--r--macros/latex/contrib/to-be-determined/to-be-determined.tex5
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
index 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
Binary files differ
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.