diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-28 21:10:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-28 21:10:00 +0000 |
commit | 6053124b74560b39d832852a190f83897d227075 (patch) | |
tree | a60a90b90c864f5d17274247d84fe35de148fb77 /Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | |
parent | d4bac16bb0999b06c9903b611457f81a44a0e12d (diff) |
colors for booktabs rules, tex4ht r988
git-svn-id: svn://tug.org/texlive/trunk@60643 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index 859ee361c59..e8e952e56b5 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 986 2021-09-26 18:06:30Z michal_h21 $ +% $Id: tex4ht-html4.tex 988 2021-09-28 21:06:02Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -22256,28 +22256,38 @@ font commands \<configure html4 booktabs\><<< + +|<booktabs default hline color|> + \Configure{toprule} {|<booktabs rule mag|>% \Css{tr\#TBL-\TableNo-\ifnum \HRow=0 - 1- td{border-top:|<booktabs rule height|> solid} + 1- {border-top:|<booktabs rule height|> solid \#\hline:color;} \else - \HRow- td{border-bottom:|<booktabs rule height|> solid} + \HRow- {border-bottom:|<booktabs rule height|> solid \#\hline:color;} \fi }} \Configure{bottomrule} {|<booktabs rule mag|>% \Css{tr\#TBL-\TableNo-\HRow- - td{border-bottom:|<booktabs rule height|> solid}}} + {border-bottom:|<booktabs rule height|> solid \#\hline:color}}} \Configure{midrule} {|<booktabs rule mag|>% \Css{tr\#TBL-\TableNo-\HRow- - td{border-bottom:|<booktabs rule height|> solid}}} + {border-bottom:|<booktabs rule height|> solid \#\hline:color}}} \Configure{cmidrule} {|<booktabs rule mag|>% - \Css{td\#TBL-\TableNo-\HRow-\HCol{border-bottom:|<booktabs rule height|> solid}}% + \Css{td\#TBL-\TableNo-\HRow-\HCol{border-bottom:|<booktabs rule height|> solid \#\hline:color}}% \HCode{<span class="cmidrule"><!-- enable post-processing of cmidrule--></span>}} >>> +The \verb|\hline:color| macro is defined by TeX4ht configuration for colortbl.sty. +We reuse it to support change of rule colors. It is initialized as black. + +\<booktabs default hline color\><<< +\def\hline:color{000} +>>> + The cmidrule introduces ruler segments at different rows, instead of all of |