summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty135
1 files changed, 135 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty
new file mode 100644
index 00000000000..d5ac3142ee8
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ctable.sty
@@ -0,0 +1,135 @@
+%%
+%% This is file `lwarp-ctable.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `ctable')
+%% This is a generated file.
+%% Copyright 2016-2018 Brian Dunn
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% 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.
+\LWR@ProvidesPackagePass{ctable}[2015/10/17]
+\newcommand{\LWR@HTML@ctable}[4][]{%
+ \let\@CTtaborfig \@dfltCTtaborfig
+ \let\@CTalign \@dfltCTalign
+ \let\@CTsideways \@dfltCTsideways
+ \let\@CTcontinued \empty
+ \let\@CTpos \@dfltCTpos
+ \let\@CTcaption \empty
+ \let\@CTcap \undefined
+ \let\@CTlabel \empty
+ \let\@CTbotcap \@dfltCTbotcap
+ \let\@CTstarred \@dfltCTstarred
+ \let\@CTsuper \@dfltCTsuper
+ \let\@CTnotespar \@dfltCTnotespar
+ \let\@CTdoinside \@dfltCTdoinside
+ \let\@CTbgopacity \@dfltCTbgopacity
+ \@CTframerule \@dfltCTframerule
+ \@CTcaptionskip \@dfltCTcaptionskip
+ \@CTframesep \@dfltCTframesep
+ \@CTwidth \@dfltCTwidth
+ \@CTmaxwidth \@dfltCTmaxwidth
+ \@CTmincapwidth \@dfltCTmincapwidth
+ \@CTfooterwidth \@dfltCTfooterwidth
+ \def\@CTfgactual {@dfltCTframefg}%
+ \def\@CTbgactual {@dfltCTframebg}%
+ \def\@CTbeg {\begin{\@CTsideways\@CTtaborfig\@CTstarred}}%
+ \def\@CTbegin {\@CTbeg}%
+ \def\@CTend {\end{\@CTsideways\@CTtaborfig\@CTstarred}}%
+ \setkeys{CT}{#1}%
+ \ifx\@CTcap\undefined\let\@CTcap\@CTcaption\fi
+ \ifx\@CTcap\empty
+ \if@CTcaptionloaded\else
+ \PackageWarningNoLine{ctable}{\MessageBreak
+ An empty cap= option prevents lot/loc entry only\MessageBreak
+ if the caption package is loaded!}
+ \fi
+ \fi
+ \if@CTinmemoir\else
+ \ifx\@CTbotcap\undefined
+ \PackageError{ctable}{\MessageBreak
+ You can, currently, use the sidecap option only with\MessageBreak
+ memoir documents. Use topcap or botcap only}
+ \fi
+ \fi
+ \ifdim\@CTwidth=0pt\else
+ \ifdim\@CTmaxwidth=0pt\else
+ \PackageError{ctable}{\MessageBreak
+ You may not use the width and maxwidth options together\MessageBreak
+ Use either width or maxwidth}
+ \fi
+ \fi
+ \ifx\@CTpos\empty
+ \ifx\@CTsideways\empty\else
+ \PackageError{ctable}{\MessageBreak
+ You may not use the pos and sideways options together\MessageBreak
+ Rotated tables and figures are always typeset on a separate page}
+ \fi
+ \fi
+ \ifx\@CTcaption\empty
+ \ifx\@CTlabel\empty\else
+ \PackageError{ctable}{\MessageBreak
+ You may not label a captionless table\MessageBreak
+ Such a label can't be referenced}
+ \fi
+ \fi
+ \@CTbegin
+ \ifx\@CTcontinued\empty\else\addtocounter{\@CTtaborfig}{-1}\fi
+ \@CTalign
+ \begin{center}
+ \setlength{\fboxrule}{\@CTframerule}
+ \setlength{\fboxsep}{\@CTframesep}
+ \LWR@forceminwidth{\fboxrule}% lwarp
+ \convertcolorspec{named}{\@CTbgactual}{HTML}\LWR@tempcolor% lwarp
+ \begin{BlockClass}[% lwarp
+ border:
+ \LWR@printlength{\LWR@atleastonept}
+ solid
+ \LWR@colorstyle{named}{\@CTfgactual} ; %
+ padding:\LWR@printlength{\fboxsep} ; %
+ \ifdefstring{\LWR@tempcolor}{FFFFFF}{}{%
+ background: \LWR@colorstyle{named}{\@CTbgactual} ; %
+ }%
+ ]{fminipage}% lwarp
+ \ifx\@CTbotcap\@CTfalse\@CTCaption\vskip\@CTcaptionskip\fi
+ \ifx\@CTbotcap\undefined%
+ \begin{sidecaption}[\@CTcap]{\@CTcaption}[\@CTlabel]
+ \fi
+ \@CTdoinside
+ \begin{tabularx}{\linewidth}{#2}% lwarp
+ #4%
+ \end{tabularx}% lwarp
+ \def\@CTfootnotes{#3}%
+ \ifx#3\empty\else{% append footnotes, if any
+ \begin{BlockClass}{tnotes}% lwarp
+ #3
+ \end{BlockClass}% lwarp
+ }
+ \fi
+ \ifx\@CTbotcap\undefined\end{sidecaption}\fi
+ \ifx\@CTbotcap\@CTtrue\vskip\@CTcaptionskip\@CTCaption\fi
+ \end{BlockClass}
+ \end{center}
+ \@CTend
+}
+\LWR@formatted{ctable}
+\LetLtxMacro\FL\toprule
+\newcommand{\LWR@HTML@tmark}[1][a]{%
+ \textsuperscript{\textrm{\textit{#1}}}
+}
+\LWR@formatted{tmark}
+
+\newcommand{\LWR@HTML@tnote}[2][a]{%
+ \tmark[#1]\,#2\par
+}
+\LWR@formatted{tnote}
+\endinput
+%%
+%% End of file `lwarp-ctable.sty'.