"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/supertabular.hva" (16 Jan 2021, 1232 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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    2 %Supertabular, more or less complete implementation.  %
    3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    4 \let\st@tablefirsthead\@empty
    5 \newcommand{\tablefirsthead}[1]{\gdef\st@tablefirsthead{#1}}
    6 \newcommand{\tablehead}[1]{}
    7 \newcommand{\tabletail}[1]{}
    8 \let\st@tablelasttail\@empty
    9 \newcommand{\tablelasttail}[1]{\gdef\st@tablelasttail{#1}}
   10 \let\st@bottomcaption\@empty
   11 \newcommand{\bottomcaption}[1]
   12 {\def\st@bottomcaption{\caption{#1}}}
   13 \let\st@topcaption\@empty
   14 \newcommand{\topcaption}[1]
   15 {\def\st@topcaption{\caption{#1}}}
   16 \let\tablecaption\topcaption
   17 %%%
   18 \newenvironment{supertabular}[2][]
   19 {\begin{table}\st@topcaption\begin{tabular}[#1]{#2}\st@tablefirsthead}
   20 {\st@tablelasttail\end{tabular}\st@bottomcaption\end{table}}
   21 \newcommand{\st@kont@supertabular*}[2][]
   22 {\begin{tabular*}{\st@arg}[#1]{#2}\st@tablefirsthead}
   23 \newenvironment{supertabular*}[1]
   24 {\def\st@arg{#1}\begin{table}\st@topcaption\st@kont@supertabular*}
   25 {\st@tablelasttail\end{tabular*}\st@bottomcaption\end{table}}
   26 \let\mpsupertabular\supertabular
   27 \let\endmpsupertabular\endsupertabular
   28 \let\mpsupertabular*\supertabular*
   29 \let\endmpsupertabular*\endsupertabular*
   30 %%
   31 \newcommand{\shrinkheight}[1]{}