[latex3-commits] [git/LaTeX3-latex3-latex2e] math-tagging-experiments: add comment commands for CAR (e3bd232d)

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Jan 31 18:00:48 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : math-tagging-experiments
Link       : https://github.com/latex3/latex2e/commit/e3bd232d32dac5537d0cde50faea8d98e8f65de5

>---------------------------------------------------------------

commit e3bd232d32dac5537d0cde50faea8d98e8f65de5
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Jan 31 18:00:48 2023 +0100

    add comment commands for CAR


>---------------------------------------------------------------

e3bd232d32dac5537d0cde50faea8d98e8f65de5
 required/latex-lab/latex-lab-mathcapture.dtx | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/required/latex-lab/latex-lab-mathcapture.dtx b/required/latex-lab/latex-lab-mathcapture.dtx
index 43904ea1..4c9b6f22 100644
--- a/required/latex-lab/latex-lab-mathcapture.dtx
+++ b/required/latex-lab/latex-lab-mathcapture.dtx
@@ -22,6 +22,9 @@
 \documentclass{l3doc}
 \EnableCrossrefs
 \CodelineIndex
+
+\usepackage{todonotes}
+
 \begin{document}
   \DocInput{latex-lab-mathcapture.dtx}
 \end{document}
@@ -35,12 +38,24 @@
 %
 % \maketitle
 %
-% \newcommand\fmi[1]{\begin{quote} TODO: \itshape #1\end{quote}}
 % \newcommand\NEW[1]{\marginpar{\mbox{}\hfill\fbox{New: #1}}}
 % \providecommand\class[1]{\texttt{#1.cls}}
 % \providecommand\pkg[1]{\texttt{#1}}
 % \providecommand\hook[1]{\texttt{#1}}
 %
+% ^^A \car {...} for marginal comments
+% ^^A \car*{...} for longer inline comments
+%
+% \NewDocumentCommand\car{sO{}m}
+%   {\IfBooleanTF{#1}{\todo[inline,color=blue!10,#2]{#3}}^^A
+%                    {\todo[color=blue!10,#2]{#3}}}
+%
+% \NewDocumentCommand\fmi{sO{}m}
+%   {\IfBooleanTF{#1}{\todo[inline,#2]{#3}}^^A
+%                    {\todo[#2]{#3}}}
+%
+%
+%
 % \begin{abstract}
 % \end{abstract}
 %
@@ -117,7 +132,7 @@
 % \subsection{File declaration}
 %    \begin{macrocode}
 \ProvidesFile{latex-lab-mathcapture.ltx}
-        [2023-01-30 v0.2a Grab all the math(s)]
+        [2023-01-31 v0.2a Grab all the math(s)]
 %    \end{macrocode}
 %
 %    \begin{macrocode}





More information about the latex3-commits mailing list.