From cc0eca09c53bb298ce890b797f5615755e693288 Mon Sep 17 00:00:00 2001 From: Matthias Kretz Date: Fri, 13 Sep 2024 09:51:15 +0200 Subject: [PATCH] Fix Fixme; Fix Tony Table; make wgItemRem/Add more useful ChangeLog: * mymacros.sty: * wg21macros.sty: --- mymacros.sty | 2 +- wg21macros.sty | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mymacros.sty b/mymacros.sty index a5ada49..4e9d476 100644 --- a/mymacros.sty +++ b/mymacros.sty @@ -85,7 +85,7 @@ \DefineNamedColor{named}{Red} {cmyk}{0,1,1,0} \newcommand{\missing}{\fcolorbox{Red}{White!80!Red}{\color{RoyalBlue!50!Black}\bfseries\scshape to\kern.1emdo}} \newcommand{\FIXME}[1]{\par\noindent% -{\small\centering\fcolorbox{Red}{White!80!Red}{\begin{minipage}{0.85\linewidth}{\bfseries\scshape FixMe}: #1\end{minipage}}\par}\vskip.3\baselineskip plus \baselineskip} +{\small\centering\fcolorbox{Red}{White!80!Red}{\begin{minipage}{0.85\linewidth}{\bfseries\scshape Fixme}: #1\end{minipage}}\par}\vskip.3\baselineskip plus \baselineskip} \newcommand{\INFO}[1]{\par\noindent% {\small\centering\fcolorbox{RoyalBlue}{White!80!RoyalBlue}{\begin{minipage}{0.85\linewidth}{\bfseries\scshape Note}: #1\end{minipage}}\par}\vskip.3\baselineskip plus \baselineskip} %\newcommand{\TODO}[1]{\par\noindent% diff --git a/wg21macros.sty b/wg21macros.sty index d2c21f1..a0e2fcc 100644 --- a/wg21macros.sty +++ b/wg21macros.sty @@ -73,8 +73,8 @@ \newcommand\wgRemove[1]{\textcolor{WgRem}{\st{#1}}} % deprecated \newcommand\wgRem[1]{\textcolor{WgRem}{\st{#1}}} \newcommand\wgChange[2]{\wgRem{#1}\wgAdd{#2}} -\newcommand\wgItemAdd{\color{WgAdd}\item[\ul{\mbox{ \textbullet }}]\hspace*{-\labelsep}\ul{\mbox{\hspace*{\labelsep}}}} -\newcommand\wgItemRem{\color{WgRem}\item[\st{\mbox{ \textbullet }}]\hspace*{-\labelsep}\st{\mbox{\hspace*{\labelsep}}}} +\newcommand\wgItemAdd[1][]{\color{WgAdd}\item[\ul{\mbox{ \textbullet }}]\hspace*{-\labelsep}\ul{\mbox{\hspace*{\labelsep}}}\wgAdd{#1}} +\newcommand\wgItemRem[1][]{\color{WgRem}\item[\st{\mbox{ \textbullet }}]\hspace*{-\labelsep}\st{\mbox{\hspace*{\labelsep}}}\wgRem{#1}} \newenvironment{wgBAdd}{\color{WgAdd}}{\color{black}} \newenvironment{wgBRem}{\color{WgRem}}{\color{black}} \newcommand\wgTextFonts{\def\ttdefault{wgCodeFont}\rmfamily\smaller[1]} @@ -338,12 +338,12 @@ \end{table}% } -\newcommand{\ttref}[1]{Tony~Table~\ref{tt:#1}} +\newcommand{\ttref}[1]{\st{Tony~}Table~\ref{tt:#1}} \newcounter{TonyTable} \newenvironment{tonytable}[2][before]{% -\renewcommand\tablename{Tony Table}% + \renewcommand\tablename{\st{Tony}Before/After Table}% \let\prevthetable\thetable% \addtocounter{table}{-1}% \stepcounter{TonyTable}%