summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/lutabulartools/lutabulartools.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/generic/lutabulartools/lutabulartools.sty')
-rw-r--r--macros/luatex/generic/lutabulartools/lutabulartools.sty13
1 files changed, 6 insertions, 7 deletions
diff --git a/macros/luatex/generic/lutabulartools/lutabulartools.sty b/macros/luatex/generic/lutabulartools/lutabulartools.sty
index 450a0d0cbe..b4eda9c3cf 100644
--- a/macros/luatex/generic/lutabulartools/lutabulartools.sty
+++ b/macros/luatex/generic/lutabulartools/lutabulartools.sty
@@ -1,6 +1,5 @@
% Kale Ewasiuk (kalekje@gmail.com)
-% 2021-10-13
-%
+% 2021-11-07
% Copyright (C) 2021 Kale Ewasiuk
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -24,7 +23,7 @@
% OR OTHER DEALINGS IN THE SOFTWARE.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lutabulartools}[2021-10-13]
+\ProvidesPackage{lutabulartools}[2021-11-07]
\RequirePackage{booktabs}
\RequirePackage{multirow}
@@ -53,7 +52,7 @@
\aftergroup\aftergroup\aftergroup\midruleXaux
}
\newif\ifmidruleX
-\makeatletter
+
\newcommand*{\midruleXaux}{%
\noalign{%
\stepcounter{midruleX}%
@@ -67,7 +66,7 @@
\ifmidruleX\midruleXrule\fi
}
\newcommand*{\resetmidruleX}{\setcounter{midruleX}{0}} %%% todo maybe put noalign in here
-\makeatother
+
\resetmidruleX
@@ -100,7 +99,7 @@
% http://mirrors.ctan.org/macros/latex/contrib/booktabs/booktabs.dtx
% and modify it for insertion of \arrayrulecolor{lightgray} at the start,
% and \arrayrulecolor{black} at the end
-\makeatletter
+
\def\oldgcmidrule{\arrayrulecolor{lightgray}% Switch colour to lightgray
\noalign{\ifnum0=`}\fi
\@ifnextchar[{\@gcmidrule}{\@gcmidrule[\cmidrulewidth]}}
@@ -129,7 +128,7 @@
\fi\fi
\ifnum0=`{\fi}
\arrayrulecolor{black}}% Switch colour back to black
-\makeatother
+
%%%