diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty index fc373075106..b22874d1f3e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-booktabs.sty @@ -6,7 +6,7 @@ %% %% lwarp.dtx (with options: `booktabs') %% This is a generated file. -%% Copyright 2016-2019 Brian Dunn +%% Copyright 2016-2020 Brian Dunn %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -15,14 +15,15 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -\LetLtxMacro\toprule\relax -\LetLtxMacro\midrule\relax -\LetLtxMacro\cmidrule\cline -\LetLtxMacro\bottomrule\relax -\LetLtxMacro\addlinespace\relax -\LetLtxMacro\morecmidrules\relax -\LetLtxMacro\specialrule\relax - +\@ifpackageloaded{booktabs}{}{ + \LetLtxMacro\toprule\relax + \LetLtxMacro\midrule\relax + \LetLtxMacro\cmidrule\cline + \LetLtxMacro\bottomrule\relax + \LetLtxMacro\addlinespace\relax + \LetLtxMacro\morecmidrules\relax + \LetLtxMacro\specialrule\relax +} \LWR@ProvidesPackagePass{booktabs}[2019/10/08] \LetLtxMacro\@BLTrule\@BTnormal \DeclareDocumentCommand{\LWR@HTML@toprule}{o d()}% @@ -32,7 +33,7 @@ {% \ifbool{FormatWP}% {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% - {\global\booltrue{LWR@doingtbrule}}% + {\booltrue{LWR@doingtbrule}}% }% \LWR@getmynexttoken} @@ -45,7 +46,7 @@ {% \ifbool{FormatWP}% {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% - {\addtocounter{LWR@hlines}{1}}% + {\defaddtocounter{LWR@hlines}{1}}% }% \LWR@getmynexttoken} @@ -64,7 +65,7 @@ {% \ifbool{FormatWP}% {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% - {\global\booltrue{LWR@doingtbrule}}% + {\booltrue{LWR@doingtbrule}}% }% \LWR@getmynexttoken% }% @@ -83,6 +84,15 @@ {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}\LWR@getmynexttoken}% \LWR@expandableformatted{specialrule} +\begin{warpMathJax} +\CustomizeMathJax{\newcommand{\toprule}[1][]{\hline}} +\CustomizeMathJax{\let\midrule\toprule} +\CustomizeMathJax{\let\bottomrule\toprule} +\CustomizeMathJax{\newcommand{\cmidrule}[2][]{}}% avoid (trim) +\CustomizeMathJax{\newcommand{\morecmidrules}{}} +\CustomizeMathJax{\newcommand{\specialrule}[3]{\hline}} +\CustomizeMathJax{\newcommand{\addlinespace}[1][]{}} +\end{warpMathJax} \endinput %% %% End of file `lwarp-booktabs.sty'. |