"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/booktabs.hva" (16 Jan 2021, 717 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 \ProvidesPackage{booktabs}
    2 %Rather awfull way to read the (...) argument arg of \cmidrule
    3 %A better solution would be for \cmidrule to follow
    4 %usual LaTeX conventions.
    5 \def\@bt@op{(}
    6 \def\@bt@cp{)}
    7 \let\@bt@cmi\@gobble
    8 \def\@eatcp#1{%
    9 \def\@arg{#1}%
   10 \ifx\@arg\@bt@cp\let\@step\@bt@cmi\else\let\@step\@eatcp\fi%
   11 \@step}
   12 %%No-ops for all commands, perhaps style-sheets permit
   13 %%acurate rendering?
   14 \newcommand{\@btabs@void}[1][]{}
   15 \let\toprule\@btabs@void
   16 \let\midrule\@btabs@void
   17 \let\bottomrule\@btabs@void
   18 \newcommand{\@cmidrule}[1]
   19 {\def\@arg{#1}\ifx\@arg\@bt@op\@eatcp\else\@bt@cmi{#1}\fi}
   20 \newcommand{\cmidrule}[1][]{\@cmidrule}
   21 \let\morecmidrules\relax
   22 \newcommand{\specialrule}[3]{}
   23 \let\addlinespace\@btabs@void