summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-21 23:44:01 +0000
committerKarl Berry <karl@freefriends.org>2017-02-21 23:44:01 +0000
commit91c9b5dc1e480401f79c7ea64bd98754e1eab170 (patch)
tree0490daeb741da832d4791aef4d848c3adf39621b /Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty
parent28867ba53359e0e24d60b4189f4625553a5e76a0 (diff)
lwarp (10feb17)
git-svn-id: svn://tug.org/texlive/trunk@43292 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty232
1 files changed, 232 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty
new file mode 100644
index 00000000000..f26dc6dd0bf
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty
@@ -0,0 +1,232 @@
+%%
+%% This is file `lwarp-floatrow.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lwarp.dtx (with options: `floatrow')
+%% This is a generated file.
+%% Copyright 2016 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@ProvidesPackageDrop{floatrow}
+
+
+
+\NewDocumentCommand{\floatbox}{o m o o o +m +m}{%
+\ifbool{LWR@insubfloatrow}
+{
+\IfValueTF{#3}
+{\@nameuse{sub#2}{#3}}
+{\@nameuse{sub#2}{\linewidth}}
+}
+{
+\@nameuse{#2}
+}
+#6
+
+#7
+\ifbool{LWR@insubfloatrow}
+{\@nameuse{endsub#2}}
+{\@nameuse{end#2}}
+}
+
+\newcommand*{\nocapbeside}{}
+\newcommand*{\capbeside}{}
+\newcommand*{\captop}{}
+\newlength{\FBwidth}
+\setlength{\FBwidth}{.3\linewidth}
+\newlength{\FBheight}
+\setlength{\FBheight}{2in}
+\newcommand*{\useFCwidth}{}
+\newcommand{\floatsetup}[2][]{}
+\newcommand{\thisfloatsetup}[1]{}
+\newcommand{\clearfloatsetup}[1]{}
+\newcommand*{\killfloatstyle}{}
+
+\NewDocumentCommand{\newfloatcommand}{m m o o}{%
+\@namedef{#1}{
+\floatbox{#2}
+}
+}
+
+\NewDocumentCommand{\renewfloatcommand}{m m o o}{%
+\@namedef{#1}{%
+\floatbox{#2}
+}
+}
+
+\newfloatcommand{ffigbox}{figure}[\nocapbeside][]
+\newfloatcommand{ttabbox}{table}[\captop][\FBwidth]
+\newfloatcommand{fcapside}{figure}[\capbeside][]
+
+\newenvironment*{floatrow}[1][2]
+{
+\BlockClass{floatrow}
+\booltrue{LWR@infloatrow}
+\setlength{\linewidth}{6in/#1}
+}
+{
+\boolfalse{LWR@infloatrow}
+\endBlockClass
+}
+\newcommand*{\LWR@frowkeyplacement}{}
+\newcommand*{\LWR@frowkeyname}{}
+\newcommand*{\LWR@frowkeyfileext}{}
+\newcommand*{\LWR@frowkeywithin}{}
+\newcommand*{\LWR@frowkeycapstyle}{}
+
+\define@key{frowkeys}{placement}{}%
+\define@key{frowkeys}{name}{\renewcommand{\LWR@frowkeyname}{#1}}%
+\define@key{frowkeys}{fileext}{\renewcommand{\LWR@frowkeyfileext}{#1}}%
+\define@key{frowkeys}{within}{\renewcommand{\LWR@frowkeywithin}{#1}}%
+\define@key{frowkeys}{relatedcapstyle}{}%
+
+\newcommand*{\DeclareNewFloatType}[2]{%
+\renewcommand*{\LWR@frowkeyplacement}{}
+\renewcommand*{\LWR@frowkeyname}{}
+\renewcommand*{\LWR@frowkeyfileext}{}
+\renewcommand*{\LWR@frowkeywithin}{}
+\renewcommand*{\LWR@frowkeycapstyle}{}
+\LWR@traceinfo{about to setkeys frowkeys}%
+\setkeys{frowkeys}{#2}%
+\LWR@traceinfo{finished setkeys frowkeys}%
+\ifthenelse{\equal{\LWR@frowkeywithin}{}}
+{
+\LWR@traceinfo{about to newfloat #1 \LWR@frowkeyplacement\ \LWR@frowkeyfileext}%
+\newfloat{#1}{\LWR@frowkeyplacement}{\LWR@frowkeyfileext}
+}%
+{%
+\LWR@traceinfo{about to newfloat #1\ \LWR@frowkeyplacement\ \LWR@frowkeyfileext\ \LWR@frowkeywithin}%
+\newfloat{#1}{\LWR@frowkeyplacement}%
+{\LWR@frowkeyfileext}[\LWR@frowkeywithin]%
+\typeout{*** finished newfloat #1}
+}%
+\ifthenelse{\equal{\LWR@frowkeyname}{}}
+{}
+{\floatname{#1}{\LWR@frowkeyname}}%
+}
+
+\newcommand{\buildFBBOX}[2]{}
+\newcommand*{\CenterFloatBoxes}{}
+\newcommand*{\TopFloatBoxes}{}
+\newcommand*{\BottomFloatBoxes}{}
+\newcommand*{\PlainFloatBoxes}{}
+
+\newcommand{\capsubrowsettings}{}
+
+\NewDocumentCommand{\RawFloats}{o o}{}
+
+\newcommand{\RawCaption}[1]{#1}
+
+\NewDocumentCommand{\floatfoot}{s +m}{%
+\begin{BlockClass}{floatfoot}
+#2
+\end{BlockClass}
+}
+
+\newbool{LWR@insubfloatrow}
+\boolfalse{LWR@insubfloatrow}
+
+\newenvironment*{subfloatrow}[1][2]
+{
+\BlockClass{floatrow}
+\begingroup
+\booltrue{LWR@insubfloatrow}
+}
+{
+\endgroup
+\endBlockClass
+\boolfalse{LWR@insubfloatrow}
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+\endinput
+%%
+%% End of file `lwarp-floatrow.sty'.