summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/floatrow
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:44:40 +0000
commitb4fc5f639874db951177ec539299d20908adb654 (patch)
tree52f08823ca58fffe3db6a9b075635038c567626c /Master/texmf-dist/doc/latex/floatrow
parentdec3d98ebe442d7ea93efbaa8dd2e2be8149a467 (diff)
doc 4
git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/floatrow')
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/BlackCat.picture35
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/BlackCat2.picture33
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/BlackDog.picture30
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/Mouse.picture66
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/TheBlackCat.picture8
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/TheCat.picture147
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex3481
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/floatrow.pdfbin0 -> 710332 bytes
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/floatrow.xml31
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/fr-sample.tex886
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample01.tex193
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample02.tex360
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample03.tex610
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample04.tex369
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample05.tex504
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample10.tex188
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample11.tex169
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample12.tex283
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/pictures.tex382
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/pslearn.eps42
20 files changed, 7817 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/floatrow/BlackCat.picture b/Master/texmf-dist/doc/latex/floatrow/BlackCat.picture
new file mode 100644
index 00000000000..5b3cb32c9e5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/BlackCat.picture
@@ -0,0 +1,35 @@
+\ifx\pspicture\undefined
+\begingroup
+\def\mycircle#1#2#3#4{%
+\qbezier[#4](0,#1)(#3,#1)(#2,#2)\qbezier[#4](#2,#2)(#1,#3)(#1,0)
+\qbezier[#4](0,-#1)(#3,-#1)(#2,-#2)\qbezier[#4](#2,-#2)(#1,-#3)(#1,0)}
+\def\Mycircle#1#2#3#4{\mycircle{#1}{#2}{#3}{#4}
+\qbezier[#4](0,#1)(-#3,#1)(-#2,#2)\qbezier[#4](-#2,#2)(-#1,#3)(-#1,0)
+\qbezier[#4](0,-#1)(-#3,-#1)(-#2,-#2)\qbezier[#4](-#2,-#2)(-#1,-#3)(-#1,0)}
+\begin{picture}(61,103)(0,-15)
+\put(20,72){\Mycircle{12}{8.485}{4.969}{30}}
+\put(20,46){\Mycircle{14}{9.898}{5.797}{32}}
+\put(20,16){\Mycircle{16}{11.313}{6.625}{35}}
+\put(54,0){
+ \qbezier[120](0,-8)(-24,-8)(-29.5,0.5)
+ \qbezier[160](0,-14)(-32,-14)(-38.5,0.5)}
+\put(54,-11){\mycircle{3}{2.121}{1.242}{6}}
+\put(32,72){\line(0,1){16}}\put(8,72){\line(0,1){16}}
+\put(32,88){\qbezier[20](0,0)(-2.877,-2.877)(-5.754,-5.754)}
+\put(8,88){\qbezier[20](0,0)(2.877,-2.877)(5.754,-5.754)}
+\end{picture}%
+\endgroup
+\else
+\begin{pspicture}(0,0)(61,103)
+\psset{linewidth=.125,linestyle=none,fillstyle=solid,fillcolor=black}
+\psellipse(20,85)(14,14)
+\psellipse(20,61)(17,16)
+\psellipse(20,32)(22.8,20)
+\pspolygon(6,102.25)(6,85)(15,92)
+\pspolygon(34,102.25)(34,85)(25,92)
+\psbezier[linewidth=5.125,linestyle=solid,linecolor=black,fillstyle=none](16,19.5)(16,7.35)(25,2.5)(56,2.5)
+\psbezier[linewidth=5.125,linestyle=solid,linecolor=black,fillstyle=none](20,19.5)(20,7.35)(25,2.5)(56,2.5)
+\psellipse(56,2.5)(5,2.5)
+\end{pspicture}%
+\fi
+\endinput
diff --git a/Master/texmf-dist/doc/latex/floatrow/BlackCat2.picture b/Master/texmf-dist/doc/latex/floatrow/BlackCat2.picture
new file mode 100644
index 00000000000..4ac128163c3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/BlackCat2.picture
@@ -0,0 +1,33 @@
+\ifx\pspicture\undefined
+\begin{picture}(35,136)(11,0)
+\put(28.5,3){\oval(24,6)[b]}
+\put(22,3){\oval(11,6)[tl]}
+\put(35,3){\oval(11,6)[tr]}
+%^^A neck
+\put(21,118){\line(-1,-6){8.5}}
+\put(31,119.5){\line(1,-6){7.9}}
+%^^A bottom
+\put(44.67,64){\line(-1,-6){9.67}}
+\put(12.33,64){\line(1,-6){9.67}}
+\put(12.33,64){\line(0,1){3}}
+%^^A head
+\qbezier(21,118)(15,118)(11.67,122.67)
+\put(11.67,122.67){\line(2,1){11}}
+\put(22.67,128.33){\line(0,1){8}}
+\put(22.67,136.33){\line(5,-6){8}}
+\qbezier(30.67,126.67)(33.67,122.6)(31,119.5)
+\put(39,64){\oval(11.67,16)[tr]}
+\end{picture}%
+\else
+\begin{pspicture}(11,0)(46,136)
+\psset{linewidth=.125,fillstyle=solid,fillcolor=black}
+\psframe[framearc=4](18,0)(42,8)
+\psellipse(30,70)(15.025,12)
+\pspolygon(22,0.025)(15,68)(45,68)(38,0.025)
+\pspolygon(15,70)(22,136)(32,125)(38,70)
+\psellipse(21.4,123.2)(11.4,7.2)
+\pspolygon[linestyle=none,fillstyle=solid,fillcolor=white]
+(10,123)(22,128)(22,136.2)(10,130.2)
+\end{pspicture}%
+\fi
+\endinput
diff --git a/Master/texmf-dist/doc/latex/floatrow/BlackDog.picture b/Master/texmf-dist/doc/latex/floatrow/BlackDog.picture
new file mode 100644
index 00000000000..25f5bc81456
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/BlackDog.picture
@@ -0,0 +1,30 @@
+\ifx\pspicture\undefined
+\begin{picture}(60,37)(0,0)
+\qbezier(0,26.3)(1.8,20.9)(1.8,20.9)
+\put(1.8,12.2){\line(0,1){8.7}}
+\put(1.8,12.2){\line(6,1){14.9}}
+\put(55.7,0){\line(0,1){14.4}}
+\put(16.7,0){\line(0,1){14.6}}
+\put(16.7,0){\line(1,0){39}}
+\put(13.4,26.3){\line(-1,0){13.4}}
+\put(13.4,28.5){\line(0,-1){2.2}}
+\put(13.4,28.5){\line(1,0){5.6}}
+\put(19,28.5){\line(0,1){8.8}}
+\qbezier(19,37.3)(19,37.3)(26.7,28.1)
+\put(26.7,18.5){\line(0,1){9.6}}
+\put(26.7,18.5){\line(1,0){27.3}}
+\qbezier(54.0,18.5)(54.0,18.5)(56.6,21.1)
+\put(56.6,21.1){\line(0,1){6.7}}
+\qbezier(56.6,27.8)(56.6,27.8)(59.7,18.4)
+\qbezier(55.7,14.4)(55.7,14.4)(59.7,18.4)
+\end{picture}%
+\else
+\begin{pspicture}(0,0)(60,37)
+\psset{linewidth=.25,linestyle=solid,linecolor=black,fillstyle=solid,fillcolor=black}
+\pspolygon(0,25.1)(13.4,26.3)(13.4,28.5)(19.3,28.5)
+(18.5,37.3)(26.7,28.5)(26.7,18.5)(54.0,18.5)
+(56.6,22.3)(56.6,28.0)(59.7,20.2)(55.7,14.4)
+(55.7,0)(16.7,0)(16.7,14.6)(1.8,12.2)(1.8,21.3)
+\end{pspicture}%
+\fi
+\endinput
diff --git a/Master/texmf-dist/doc/latex/floatrow/Mouse.picture b/Master/texmf-dist/doc/latex/floatrow/Mouse.picture
new file mode 100644
index 00000000000..86c4f933fa9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/Mouse.picture
@@ -0,0 +1,66 @@
+\ifx\pspicture\undefined
+\begin{picture}(58,36)(0,0)
+\qbezier[50](25.1,15.0)(20.1,15.0)(16.7,16.8)
+\qbezier[35](16.7,16.8)(15.0,18.8)(15.3,21.5)
+\qbezier[45](15.3,21.5)(16.3,26.3)(20.7,27.3)
+\qbezier[64](20.7,27.3)(26.7,27.8)(31.1,24.3)
+\qbezier[60](31.1,24.3)(32.7,22.7)(32.0,18.0)
+\qbezier[60](32.0,18.0)(30.0,15.0)(25.1,15.0)
+%^^A ears
+\qbezier[42](16.0,23.6)(14.5,23.9)(13.2,25.6)
+\qbezier[42](13.2,25.6)(12.2,28.3)(13.2,30.0)
+\qbezier[42](13.2,30.0)(15.2,31.9)(17.8,31.6)
+\qbezier[42](17.8,31.6)(21.8,29.9)(21.5,27.8)
+%^^A
+\qbezier[42](25.3,27.6)(26.3,31.0)(28.6,31.5)
+\qbezier[42](28.6,31.5)(31.2,32.3)(33.4,29.8)
+\qbezier[42](33.4,29.8)(34.5,28.0)(33.9,26.0)
+\qbezier[42](33.9,26.0)(32.9,24.0)(31.3,23.9)
+%^^A muzzle
+\qbezier[42](21.3,28.9)(21.7,30.0)(22.4,33.4)
+\qbezier[42](25.5,28.8)(24.0,29.3)(23.2,33.8)
+%^^A nose
+\qbezier[42](22.4,33.4)(22.0,35.6)(23.5,35.3)
+\qbezier[42](23.5,35.3)(23.5,35.3)(23.2,33.8)
+\qbezier[42](23.2,33.8)(22.9,33.6)(22.4,33.4)
+%^^A whiskers
+\qbezier[42](16.4,33.3)(19.3,33.0)(22.0,33.4)
+\qbezier[42](16.2,35.8)(19.1,34.5)(22.3,33.5)
+\qbezier[42](23.2,33.7)(26.3,34.2)(29.4,35.0)
+\qbezier[42](23.1,33.1)(25.3,33.1)(28.3,32.2)
+%^^A tail
+\qbezier[80](24.0,18.6)(26.9,14.0)(35.2,12.0)
+\qbezier[80](23.3,18.2)(26.9,14.0)(35.2,12.0)
+\qbezier[80](35.2,12.0)(41.2,11.5)(48.8,12.2)
+\qbezier[80](48.8,12.2)(54.2,12.2)(57.7,8.3)
+\qbezier[42](57.7,8.3)(58.4,7.0)(58.1,5.6)
+\qbezier[60](58.1,5.6)(56.1,1.4)(47.7,1.9)
+\qbezier[200](47.7,1.9)(30.7,2.9)(13.8,3.7)
+\qbezier[32](13.8,3.7)(10.8,3.7)(7.7,3.3)
+\qbezier[32](7.7,3.3)(5.7,3.3)(4.6,2.8)
+\qbezier[32](4.6,2.8)(2.2,2.5)(0.0,0.0)
+\end{picture}%
+\else
+\begin{pspicture}(0,0)(58,36)
+\psset{linewidth=.25}
+\psccurve(25.1,15.0)(16.7,16.8)(15.3,21.5)(18.7,26.8)(31.1,24.3)(32.0,18.0)
+%^^A ears
+\pscurve(16.0,23.6)(12.9,26.6)(13.2,30.0)(17.5,31.9)(21.5,27.8)
+\pscurve(25.3,27.6)(28.6,31.5)(33.4,29.5)(33.9,26.0)(31.3,23.9)
+%^^A muzzle
+\psbezier(21.3,28.9)(21.7,30.0)(22.4,32.0)(22.4,33.4)
+\psbezier(25.5,28.8)(24.0,29.3)(23.5,31.4)(23.2,33.8)
+%^^A nose
+\pscurve(22.4,33.4)(22.0,35.6)(23.5,35.3)(23.2,33.8)
+%^^A whiskers
+\pscurve(16.4,33.3)(19.3,33.0)(22.0,33.4)
+\pscurve(16.2,35.8)(19.1,34.5)(22.3,33.5)
+\pscurve(23.2,33.7)(26.3,34.2)(29.4,35.0)
+\pscurve(23.1,33.1)(25.3,33.1)(28.3,32.2)
+%^^A tail
+\pscurve(24.0,18.6)(26.9,14.0)(35.2,12.0)
+\pscurve(23.3,18.2)(24.2,16.5)(27.9,13.3)(35.2,12.0)(51.8,12.2)(57.7,8.3)
+(58.1,5.6)(47.7,1.9)(13.8,3.7)(7.7,3.3)(4.6,2.8)(2.2,2.0)(0.0,0.0)
+\end{pspicture}%
+\fi
+\endinput
diff --git a/Master/texmf-dist/doc/latex/floatrow/TheBlackCat.picture b/Master/texmf-dist/doc/latex/floatrow/TheBlackCat.picture
new file mode 100644
index 00000000000..7ce6816baa1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/TheBlackCat.picture
@@ -0,0 +1,8 @@
+\ifx\pspicture\undefined
+{\def\Qbezier[#1](#2,#3)(#4,#5)(#6,#7){\qbezier[#1](-#2,#3)(-#4,#5)(-#6,#7)}%
+\thicklines\def\MOVERIGHT{-64}\fboxrule0pt\fbox{\input{TheCat.picture}}}%
+\else
+{\psset{linecolor=white,fillcolor=white}
+\psframebox[fillstyle=solid,fillcolor=black]{\input{TheCat.picture}}}%
+\fi
+\endinput
diff --git a/Master/texmf-dist/doc/latex/floatrow/TheCat.picture b/Master/texmf-dist/doc/latex/floatrow/TheCat.picture
new file mode 100644
index 00000000000..fa757255984
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/TheCat.picture
@@ -0,0 +1,147 @@
+\ifx\pspicture\undefined
+\begingroup
+\ifx\undefined\MOVERIGHT\def\MOVERIGHT{0}\fi
+\ifx\undefined\Qbezier
+ \def\Qbezier[#1](#2,#3)(#4,#5)(#6,#7){\qbezier[#1](#2,#3)(#4,#5)(#6,#7)}\fi
+\begin{picture}(64,57)(\MOVERIGHT,0)
+%^^A "checks"
+%^^A left
+\Qbezier[7](0.5,31.8)(2.5,31.3)(6.5,31.8)
+\Qbezier[7](0,29.2)(1.0,28.8)(6.6,30.3)
+%^^A right
+\Qbezier[7](57.5,16.8)(60.1,16.5)(63.9,13.7)
+\Qbezier[7](57.4,15.5)(60.3,15.0)(63.5,11.1)
+%^^A ears
+%^^A left
+\Qbezier[7](11.8,47.0)(12.8,45.4)(14.9,44.3)
+\Qbezier[7](24.8,56.4)(23.9,54.0)(26.0,50.6)
+\Qbezier[7](27.2,55.5)(26.6,53.4)(27.2,50.5)
+\Qbezier[12](14.6,45.4)(14.3,50.0)(15.9,55.9)
+\Qbezier[12](15.9,55.9)(19.2,55.9)(24.8,50.1)
+%^^A right
+\Qbezier[7](49.2,42.9)(51.4,42.4)(54.6,45.3)
+\Qbezier[7](57.4,34.1)(57.8,36.7)(61.3,38.1)
+\Qbezier[7](57.4,34.1)(59.6,36.5)(63.7,36.2)
+\Qbezier[12](47.7,39.2)(51.8,43.1)(55.9,45.8)
+\Qbezier[12](55.9,45.8)(58.4,44.8)(59.7,38.5)
+%^^A eyebrows
+%^^A left
+\Qbezier[9](24.7,32.6)(23.6,35.3)(20.9,41.1)
+\Qbezier[9](26.2,31.3)(26.0,34.3)(24.6,39.8)
+%^^A right
+\Qbezier[9](34.7,30.1)(35.7,33.3)(40.4,37.4)
+\Qbezier[9](35.8,30.4)(38.2,32.0)(42.1,35.5)
+%^^A eyelashes
+%^^A left
+\Qbezier[3](16.4,29.8)(17.2,29.3)(18.2,28.8)
+\Qbezier[4](18.3,31.5)(19.2,30.3)(20.7,29.9)
+%^^A right
+\Qbezier[7](37.0,26.0)(38.8,25.9)(41.3,27.8)
+\Qbezier[7](40.1,24.1)(42.0,24.5)(45.2,23.1)
+%^^A eyes
+%^^A left
+\Qbezier[0](19.7,25.0)(22.9,22.6)(24.2,25.3)
+\Qbezier[0](24.2,25.3)(23.5,28.0)(21.5,29.2)
+\Qbezier[0](21.5,29.2)(19.3,29.2)(19.3,28.6)
+\Qbezier[0](19.3,28.6)(19.3,25.6)(19.7,25.0)
+\Qbezier[0](22.3,27.4)(22.0,26.0)(21.3,25.5)
+\Qbezier[0](22.3,27.4)(21.0,26.0)(21.3,25.5)
+\Qbezier[0](24.2,25.3)(24.1,24.1)(23.8,23.3)
+\Qbezier[0](23.8,23.3)(23.5,23.6)(23.2,23.8)
+%^^A right
+\Qbezier[0](34.5,24.0)(37.2,25.5)(40.6,22.4)
+\Qbezier[0](40.6,22.4)(38.1,19.3)(34.4,20.6)
+\Qbezier[0](36.8,23.6)(37.2,22.4)(36.8,21.3)
+\Qbezier[0](36.8,23.6)(36.2,22.4)(36.8,21.3)
+\Qbezier[0](34.5,24.0)(33.4,22.8)(32.3,21.8)
+\Qbezier[0](32.3,21.8)(33.5,21.3)(34.4,20.6)
+%^^A whiskers
+%^^A left
+\Qbezier[12](4.4,19.4)(8.8,21.3)(18.9,16.2)
+\Qbezier[12](4.5,13.5)(7.6,15.3)(18.7,14.4)
+\Qbezier[12](8.6,6.8)(10.5,9.9)(16.7,11.7)
+%^^A right
+\Qbezier[12](36.1,11.3)(41.6,11.8)(49.8,5.1)
+\Qbezier[12](34.0,10.5)(40.9,9.1)(48.9,2.3)
+\Qbezier[12](29.2,10.5)(33.3,10.1)(38.4,0.0)
+%^^A mouth
+\Qbezier[9](20.3,10.7)(22.9,10.3)(25.4,14.4)
+\Qbezier[9](25.4,14.4)(24.8,10.9)(29.7,7.6)
+\Qbezier[6](22.5,8.6)(23.0,6.8)(27.1,7.1)
+%^^A nose
+\Qbezier[0](28.0,15.7)(27.0,15.3)(26.4,15.8)
+\Qbezier[0](26.4,15.8)(28.0,15.7)(29.2,16.0)
+\Qbezier[0](29.2,16.0)(27.5,18.0)(25.2,18.4)
+\Qbezier[0](25.2,18.4)(22.9,17.2)(23.7,16.9)
+\Qbezier[0](23.7,16.9)(24.4,16.5)(24.5,16.0)
+\Qbezier[0](24.5,16.0)(25.5,14.6)(26.5,15.4)
+\Qbezier[0](23.7,16.9)(24.0,16.4)(24.5,16.0)
+\end{picture}%
+\endgroup
+\else
+\begin{pspicture}(0,0)(64,57)
+\psset{linewidth=.5,linestyle=solid,fillstyle=none}
+%^^A "checks"
+%^^A left
+\psbezier(0.5,31.8)(2.5,31.3)(4.4,31.1)(6.5,31.8)
+\psbezier(0,29.2)(1.0,28.8)(5.1,28.8)(6.6,30.3)
+%^^A right
+\psbezier(57.5,16.8)(60.1,16.5)(62.5,16.1)(63.9,13.7)
+\psbezier(57.4,15.5)(60.3,15.0)(62.0,13.4)(63.5,11.1)
+%^^A ears
+%^^A left
+\psbezier(11.8,47.0)(12.8,45.4)(12.9,45.1)(14.9,44.3)
+\psbezier(24.8,56.4)(23.9,54.0)(25.4,52.9)(26.0,50.6)
+\psbezier(27.2,55.5)(26.6,53.4)(27.2,53.2)(27.2,50.5)
+\pscurve(14.6,45.4)(14.3,50.0)(15.9,55.9)(19.2,55.9)(24.8,50.1)
+%^^A right
+\psbezier(49.2,42.9)(51.4,42.4)(51.8,44.9)(54.6,45.3)
+\psbezier(57.4,34.1)(57.8,36.7)(59.7,36.3)(61.3,38.1)
+\psbezier(57.4,34.1)(59.6,36.5)(61.0,35.1)(63.7,36.2)
+\pscurve(47.7,39.2)(51.8,43.1)(55.9,45.8)(58.4,44.8)(59.7,38.5)
+%^^A eyebrows
+%^^A left
+\psbezier(24.7,32.6)(23.6,35.3)(20.8,38.0)(20.9,41.1)
+\psbezier(26.2,31.3)(26.0,34.3)(24.5,36.7)(24.6,39.8)
+%^^A right
+\psbezier(34.7,30.1)(35.7,33.3)(37.5,36.1)(40.4,37.4)
+\psbezier(35.8,30.4)(38.2,32.0)(39.1,34.7)(42.1,35.5)
+%^^A eyelashes
+%^^A left
+\psbezier(16.4,29.8)(17.2,29.3)(17.3,28.8)(18.2,28.8)
+\psbezier(18.3,31.5)(19.2,30.3)(19.4,30.0)(20.7,29.9)
+%^^A right
+\psbezier(37.0,26.0)(38.8,25.9)(40.1,26.3)(41.3,27.8)
+\psbezier(40.1,24.1)(42.0,24.5)(43.3,23.3)(45.2,23.1)
+%^^A eyes
+%^^A left
+\psccurve(19.7,25.0)(22.9,23.6)(24.2,25.3)(23.5,28.0)(21.5,29.2)(19.3,28.6)
+\psccurve[fillstyle=solid](22.3,27.4)(22.0,26.0)(21.3,25.5)(21.6,26.7)
+\pscurve(24.2,25.3)(24.1,24.1)(23.8,23.3)
+\pscurve(23.8,23.3)(23.5,23.6)(23.2,23.8)
+%^^A right
+\psccurve(34.5,24.0)(37.2,25.0)(40.6,22.4)(38.1,19.8)(34.4,20.6)
+\psccurve[fillstyle=solid](36.8,23.6)(37.2,22.4)(36.8,21.3)(36.5,22.6)
+\pscurve(34.5,24.0)(33.4,22.8)(32.3,21.8)
+\pscurve(32.3,21.8)(33.5,21.3)(34.4,20.6)
+%^^A whiskers
+%^^A left
+\psbezier(4.4,19.4)(8.8,21.3)(15.1,18.6)(18.9,16.2)
+\psbezier(4.5,13.5)(7.6,15.3)(15.3,15.5)(18.7,14.4)
+\psbezier(8.6,6.8)(10.5,9.9)(13.6,10.7)(16.7,11.7)
+%^^A right
+\psbezier(36.1,11.3)(41.6,11.8)(45.8,8.3)(49.8,5.1)
+\psbezier(34.0,10.5)(40.9,9.1)(43.1,7.8)(48.9,2.3)
+\psbezier(29.2,10.5)(33.3,10.1)(34.8,3.3)(38.4,0.0)
+%^^A mouth
+\psbezier(20.3,10.7)(22.9,10.3)(25.1,11.5)(25.4,14.4)
+\psbezier(25.4,14.4)(24.8,10.9)(26.7,8.8)(29.7,7.6)
+\psbezier(22.5,8.6)(23.0,6.8)(25.6,6.6)(27.1,7.1)
+%^^A nose
+\pscurve(28.0,15.7)(27.0,15.3)(26.4,15.8)(28.0,15.7)
+(29.2,16.0)(27.5,18.0)(25.2,18.4)(22.9,17.2)
+(23.7,16.9)(24.4,16.5)(24.5,16.0)(25.5,14.6)(26.5,15.4)
+\psbezier(23.7,16.9)(24.0,16.4)(24.0,16.2)(24.5,16.0)
+\end{pspicture}%
+\fi
+\endinput
diff --git a/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex b/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex
new file mode 100644
index 00000000000..3783c31107c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex
@@ -0,0 +1,3481 @@
+% \iffalse
+% floatrow-rus.tex - The float row package (extension of float package)
+% Russian documentation.
+% (c) 2004-2005 Olga Lapko (Lapko.O@g23.relcom.ru)
+%
+% This program is provided under the terms of the
+% LaTeX Project Public License distributed from CTAN
+% archives in directory macros/latex/base/lppl.txt.
+%
+%<*dtx>
+ \ProvidesFile{floatrow-rus.tex}
+%</dtx>
+%
+%<*driver>
+\input pictures
+\documentclass[twoside]{ltxdoc}
+
+\usepackage{mathtext}
+\usepackage[T2A]{fontenc}
+\usepackage[cp1251]{inputenc}
+\usepackage[english,russian]{babel}
+
+\usepackage{calc}
+\usepackage{tabularx,array}
+
+\IfFileExists{titlesec.sty}{\usepackage[raggedright]{titlesec}}{}
+
+\IfFileExists{footmisc.sty}{\usepackage[perpage]{footmisc}}{}
+
+\usepackage{floatpagestyle}
+
+\usepackage[font=small,labelfont=bf,labelsep=period,justification=centerlast]%
+ {caption}[2004/11/28]
+\usepackage[format=default,justification=centerlast,labelfont=up]{subfig}[2005/06/28]
+
+\IfFileExists{rotating.sty}{\usepackage[figuresright]{rotating}}{}
+
+\usepackage{wrapfig}
+\usepackage[vflt]{floatflt}
+\usepackage{picins}
+%^^A\RequirePackage[writefile]{listings}[2004/09/07]
+
+\usepackage[style=plain,font=small,footskip=.5\skip\footins,
+ footnoterule=fullsize,margins=centering,objectset=centering,floatrowsep=qquad,
+ captionskip=5pt,capbesidesep=quad,facing=yes,capbesideposition=inside]{floatrow}
+
+\usepackage{fr-fancy}
+
+\IfFileExists{hyperref.sty}{\usepackage[unicode]{hyperref}
+ \IfFileExists{hypcap.sty}{\usepackage{hypcap}}{}
+}{}
+\ifx\pdftexversion\undefined
+ \IfFileExists{pstricks.sty}{\usepackage{pstricks}}{}
+\fi
+\IfFileExists{makecell.sty}{\usepackage{makecell}}{}
+\makeatletter
+\@ifundefined{thead}%
+ {\newcommand\thead[1]{\footnotesize
+ \raisebox{0pt}[\height+\jot][\depth+\jot]{\begin{tabular}{@{}c@{}} #1\end{tabular}}}
+%^^A For this documentation only
+ \def\multirowthead#1[#2]#3{\raisebox{-1.5ex}{\thead{#3}}}}{}
+\makeatother
+
+\IfFileExists{multirow.sty}{\usepackage{multirow}}{}
+\IfFileExists{lscape.sty}{\usepackage{lscape}}{}
+
+\floatsetup[table]{style=Plaintop,footnoterule=none}
+
+\floatstyle{ruled}
+\newfloat{Program}{tbp}{lop}[section]
+\floatname{Program}{\CYRP\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra}
+
+\DeclareFloatStyle{MyBoxed}{style=Boxed,captionskip=5pt,frameset={\fboxrule1pt\fboxsep12pt}}
+\DeclareFloatVCode{lowthickrule}{\kern2pt\hrule height.8ptdepth0pt}
+
+\DeclareNewFloatType{Example}%
+ {placement=tb,within=section,fileext=lox,name=\CYRP\cyrr\cyri\cyrm\cyre\cyrr}
+
+%^^A for Appendix-----------
+\DeclareFloatSeparators{none}{}
+\DeclareFloatSeparators{cicero}{\hskip1cc}
+\DeclareFloatSeparators{enskip}{\hskip.5em}
+\DeclareFloatSeparators{mcapwidth}{\hskip-\FCwidth}
+
+\newfloatcommand{fcapsideleft}{figure}[{\capbeside
+ \captionsetup[capbesidefigure]{format=break,labelsep=none,
+ justification=raggedleft}\thisfloatsetup{capbesideposition=left}}][\FBwidth]
+\newfloatcommand{fcapsideright}{figure}[{\capbeside
+ \captionsetup[capbesidefigure]{format=break,labelsep=none,
+ justification=raggedright}\thisfloatsetup{capbesideposition=right}}][\FBwidth]
+%^^A -----------------------
+
+\def\rightlast{\leftskip0ptplus1fil
+ \rightskip0ptplus-1fil\parfillskip0ptplus1fil}
+\def\leftlast{\leftskip0pt\rightskip0pt\parfillskip0ptplus1fil}
+%^^A for all versions of caption 3.x?
+\DeclareCaptionFormat{flushrightlabel}{\leavevmode\rightline{#1}#2\par#3\par}
+\DeclareCaptionJustification{togglelast}
+ {\floatfacing*\rightlast\leftlast}
+\DeclareCaptionStyle{capbesidefigure}{justification=togglelast}
+\captionsetup[table]%
+ {format=flushrightlabel,textfont=bf,labelsep=none,labelfont=sl,captionskip=5pt}
+\captionsetup[capbesidefigure]{justification=togglelast}
+\captionsetup[floatfoot]{format=default}
+
+%^^A for Appendix-----------
+\DeclareCaptionFormat{break}{#1#2\par#3\par}
+%^^A -----------------------
+
+\makeatletter
+\evensidemargin\oddsidemargin
+\@mparswitchfalse
+\widowpenalty10000
+\clubpenalty10000
+\@beginparpenalty10000
+\@itempenalty1000
+\@endparpenalty0
+\tolerance2000
+\hbadness8000
+\vbadness5000
+\def\l@subsection{\@dottedtocline {2}{1.5em}{2.7em}}
+\def\l@subsubsection{\@dottedtocline {3}{4.2em}{3.6em}}
+
+\newcommand\Resizebox[5]{\setbox0\hbox{\setlength\unitlength{#1/#3}%^^A
+ \ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi{#5}}%^^A
+ \@tempdima\ht0\advance\@tempdima\dp0%^^A
+ \ifdim\@tempdima>#2\setlength\unitlength{#2/#4}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ {#5}\else\box0\fi}
+
+\providecommand*{\file}[1]{\texttt{#1}}
+\providecommand*{\pkg}[1]{\textsf{#1}}
+\providecommand*{\cls}[1]{\textsf{#1}}
+\providecommand*{\env}[1]{\texttt{#1}}
+\providecommand*{\meta}[1]{$\langle$\textit{#1}$\rangle$}
+
+\newenvironment{Options}[1]%
+ {\list{}{\renewcommand{\makelabel}[1]{\texttt{##1}\hfil}%
+ \settowidth{\labelwidth}{\texttt{#1\space}}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{0pt}%
+ \setlength{\parsep}{0pt}%
+ }}%
+ {\endlist}
+\def\OptionLabel{RaggedRight}
+
+\DeclareRobustCommand\La{L\kern-.36em%
+ {\sbox\z@ T%
+ \vbox to\ht\z@{\hbox{\check@mathfonts
+ \fontsize\sf@size\z@
+ \math@fontsfalse\selectfont
+ A}%
+ \vss}%
+ }%
+ }
+\makeatother
+
+%\OnlyDescription
+\EnableCrossrefs
+\RecordChanges
+\begin{document}
+ \DocInput{floatrow-rus.tex}
+ \PrintChanges
+\end{document}
+%</driver>
+% \fi
+%
+% \GetFileInfo{floatrow-rus.tex}
+%
+% \ifx\pspicture\undefined\else\psset{unit=1pt}\fi
+%
+% \def\fileversion{v0.1g}
+% \def\filedate{2005/07/15}
+% \title{Документация к пакету \pkg{floatrow}\thanks{Версия
+% документации \fileversion, датирована
+% \filedate.}}
+%
+% \author{%
+% Ольга Лапко\\
+% {\tt Lapko.O@g23.relcom.ru} }
+% \date{\filedate}
+% \maketitle
+%
+% \begin{abstract}\openup-.5pt
+% Данный пакет создан как расширение или дополнение пакета \pkg{float}.
+% \pkg{floatrow} использует коды из пакетов \pkg{float}\footnote{Пакет \pkg{float},
+% версия v1.3d датирована 2001/11/08, \copyright{} 1991-2000
+% Anselm Lingnau.} и \pkg{rotfloat}\footnote{Пакет \pkg{rotfloat},
+% версия v1.2 датирована 2004/01/04, \copyright{} 1995--2004 Axel
+% Sommerfeldt.}, поэтому эти пакеты не должны загружаться.
+%
+% Пакет \pkg{float} обладает хорошим механизмом для создания (и простой модификации)
+% единообразного оформления для всех плавающих объектов (флотов)
+% без добавления повторяющихся команд в документации; к сожалению он работает
+% только с простыми комбинациями <<объект---подпись>>.
+%
+% Пакет \pkg{floatrow} расширяет этот механизм и позволяет:
+% \begin{itemize}\itemsep0pt\parskip0pt
+% \item%
+% изменять ширину флота;
+% \item%
+% задать всему флоту ширину, равную ширине объекта;
+% \item%
+% поместить подпись сбоку объекта;
+% \item%
+% поместить несколько флотов рядом;
+% \item%
+% поместить сноски внутри плавающего объекта (используя режим,
+% аналогичный \env{minipage}); поместить текст экспликации;
+% \item%
+% создавать и изменять специальное оформление для каждого типа флотов
+% и различных размещений флота и его компонентов (расположенных на две
+% колонки или развёрнутых вертикально).
+% \end{itemize}
+%
+% Пакет \pkg{floatrow} объединён с пакетом \pkg{caption}
+% (версии 3.0 и выше). Также пакет \pkg{floatrow} (как
+% и пакет \pkg{caption}) использует механизм пакета \pkg{keyval}
+% ключ---опция для задания оформления.
+% \medskip
+%
+% \emph{Терминология документации}:
+% \begin{description}\vskip-\lastskip\itemsep0pt\parskip0pt
+% \item[флот] или \textbf{плавающий объект} (float [box]) "--- может включать \emph{объект},
+% \emph{подпись} и \emph{дополнительный материал};
+% создаётся внутри окружений \env{figure} или \env{table} (\emph{простой флот}),
+% или командой |\floatbox|;
+%
+% \item[объект] (object) "--- таблица (\env{tabular}) или любая графика, являющаяся
+% содержимым таблицы (\env{figure}), рисунка (\env{table}) или другого типа плавающего
+% объекта;
+%
+% \item[подпись] (caption) "--- подпись или табличный заголовок, заданный командой |\caption|;
+%
+% \item[дополнительный материал] (foot material) "--- экспликации и/или сноски внутри
+% \emph{флота} (|\footnote|/|\mpfootnotemark|/|\footnotetext| или |\floatfoot|).
+% \end{description}
+%
+% \end{abstract}
+%
+% \clearpage
+% \begingroup
+% \small
+% \tableofcontents
+% \listoffigures
+% \listoftables
+% \endgroup
+% \clearpage
+% \suppressfloats[t]
+%
+% \section{Введение}
+%
+% Одной из первых макрокоманд пакета, созданных для плавающего объекта (флота), является
+% команда, которая помещает содержимое таблицы с табличным заголовком вверху. Ширина
+% заголовка равна ширине содержимого, здесь "--- таблицы (см. табл.~\ref{intro:table}).
+%\begin{verbatim}
+%\begin{table}
+%\ttabbox
+% {\caption{Таблица ...}\label{...}}
+% {\begin{tabular}...\end{tabular}}
+%\end{table}
+%\end{verbatim}
+% \begin{table}[h]
+% \ttabbox
+% {\caption{Таблица с заголовком сверху}\label{intro:table}}
+% {\begin{tabular}{|c|c|c|}
+% \hline
+% \thead{First data} & \thead{Second data} & \thead{Third data} \\
+% \hline
+% A & B & C \\
+% D & E & F \\
+% \hline
+% \end{tabular}}
+% \end{table}%^^A
+%
+% Пара этой команде, создающая рисунки "---|\ffigbox| "---помещает
+% подрисуночную подпись снизу и ширина по умолчанию равна ширине основного
+% текста. Оформление, создаваемое по умолчанию командой |\ffigbox| такое же,
+% как в обычном окружении \env{figure}; эта макрокоманда будет
+% полезнее для помещения плавающих объектов рядом (см. например,
+% рис.~\ref{intro:leftfig} и~\ref{intro:rightfig})
+%
+% Третья макрокоманда "---|\fcapside| (рис.~\ref{intro:beside}) "---помещает
+% подрисуночную подпись рядом:
+%
+%\begin{verbatim}
+%\begin{figure}
+%\fcapside
+% {\caption[Подпись рядом]{Подпись рядом ...}\label{...}}
+% {...}
+%\end{figure}
+%\end{verbatim}
+% \begin{figure}[h]
+% \fcapside
+% {\caption[Подпись рядом (ширина равна одной <<колонке>>)]{Подпись рядом,
+% (ширина подписи равна ширине объекта) and more text
+% and some more text and a bit more text and
+% a little more text and a little peace of text to fill
+% space}\label{intro:beside}}
+% {{\setlength\unitlength{4cm/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{Mouse.picture}}}
+% \end{figure}
+%
+% Все три команды являются сокращениями команды |\floatbox|, которая создаёт
+% флоты (см. разд.~\ref{sec:floatbox}).
+%
+% Окружение \env{floatrow} позволяет поместить плавающие объекты рядом, как
+% рис.~\ref{intro:leftfig} и~\ref{intro:rightfig}. По умолчанию \env{floatrow}
+% создаёт необходимое число <<колонок>> (обычно две) где и помещает объекты:
+%\begin{verbatim}
+%\begin{figure}
+% \begin{floatrow}
+% \ffigbox
+% {...}{\caption{...}\label{...}}
+%
+% \ffigbox
+% {...}{\caption{...}\label{...}}
+% \end{floatrow}
+%\end{figure}
+%\end{verbatim}
+% \begin{figure}[h]
+% \begin{floatrow}
+% \ffigbox
+% {\input{BlackDog.picture}}
+% {\caption{Рисунок слева в ряду}%
+% \label{intro:leftfig}}%
+%
+% \ffigbox
+% {\caption{Рисунок расположенный справа, в простом ряду рисунков}\label{fig:rotrow:FcatI}}
+% {\input{TheCat.picture}\label{intro:rightfig}}
+% \end{floatrow}
+% \end{figure}%^^A
+% Обратите внимание, что внутри окружения \env{floatrow} вы должны использовать
+% макрокоманды |\ffigbox| или |\ttabbox| для каждого флота. (См. подробнее
+% о командах, используемых в примерах введения и о команде |\floatbox| в разд.~\ref{sec:floatbox};
+% об окружении \env{floatrow} "--- в разд.~\ref{sec:floatrow}.)
+%
+% \subsection{Это не допускается пакетом \pkg{floatrow}}
+%
+% Пакет \pkg{floatrow} создаёт некоторые особенности и ограничения
+% в построении плавающих объектов. Если вы запишете:
+%\begin{verbatim}
+%\begin{figure}
+%\caption{A figure caption}
+%\centering \input{Mouse.picture}
+%\end{figure}
+%\end{verbatim}
+% не ожидайте что получите подрисуночную подпись сверху рисунка. Если
+% вы хотите, например, поместить подрисуночные подписи сверху, вы должны
+% задать в преамбуле |\floatsetup[figure]{style=plaintop}| (см. также
+% разд.~\ref{sec:floatsetup} о механизме команды |\floatsetup|).
+%
+%^^A \begin{figure}
+%^^A \caption{A figure caption}\label{Wrong:expect}
+%^^A \centering \input{Mouse.picture}
+%^^A \end{figure}
+%
+% Другой пример. Если вы поместите плавающие объекты следующим образом:
+%\begin{verbatim}
+%\begin{figure}
+%\begin{minipage}{0.5\textwidth}
+%\centering \input{Mouse.picture}
+%\caption{A figure caption}
+%\end{minipage}
+%\begin{minipage}{0.5\textwidth}
+%\captionof{table}{A table caption}
+%\centering \begin{tabular}{cc} A & B \\ C & D \end{tabular}
+%\end{minipage}
+%\end{figure}
+%\end{verbatim}
+% вы также не получите ожидаемого результата. Чтобы получить верный результат,
+% используйте окружение \env{floatrow}, как в примере
+% с рис.~\ref{intro:leftfig} и~\ref{intro:rightfig}\footnote{См. также
+% с.~\pageref{mixrow} о размещении рядом флотов разных типов }.
+%
+% \section{Настройка оформления плавающих объектов}\label{sec:floatsetup}
+%
+% Идея пакета \pkg{floatrow} заключается в том, чтобы избежать множества повторяющихся
+% команд внутри документа для создания желаемого оформления плавающих объектов (которые
+% к тому же снижают читаемость документа), и упростить изменения, если вам нужно
+% изменить оформление книги. В этом случае вы уделяете внимание только \emph{разметке}
+% флотов и их содержанию.
+%
+% Простота изменения общего оформления флотов одного типа возможна
+% благодаря коду, взятому из пакета \pkg{float}, который позволяет
+% изменять целиком оформление плавающего объекта.
+%
+% Единое оформление и изменение подписей флотов и настройки для каждого типа флотов, поддерживается пакетом
+% \pkg{caption}, версии~3.x.
+%
+% Настройки оформления пакета \pkg{floatrow} построены аналогично пакету
+% \pkg{caption} и используют механизм |\floatsetup|\footnote{Некоторые имена
+% ключей и опций изменены после версии 0.1d, для упорядочения и создания более
+% запоминаемых названий, и, иногда, сокращения их имён
+% (см. разд.~\ref{sec:changed}).}, который аналогичен механизму
+% |\captionsetup|\footnote{См. также документацию пакета \pkg{caption}
+% (версии 3.0 и выше)}.
+%
+% \DescribeMacro{\floatsetup}
+% Вы можете использовать настройки оформления флотов как опции пакета
+% \pkg{floatrow} в строке |\usepackage|.
+% \begin{quote}
+% |\usepackage[|\meta{options}|]{floatrow}|
+% \end{quote}
+% Вы можете записать
+% \begin{quote}
+% |\usepackage[style=boxed,font=small]{floatrow}|
+% \end{quote}
+% Тот же результат вы получите при
+% \begin{quote}
+% |\floatsetup{style=boxed,font=small}|
+% \end{quote}
+% Строки выше определяют стиль \texttt{boxed} (рамка |\fbox| вокруг объекта) и шрифт |\small| для содержимого
+% объектов. Эти установки заданы для \emph{всех} типов плавающих объектов.
+%
+% Команда |\floatsetup| имеет следующую форму задания:
+% \begin{quote}
+% |\floatsetup|\oarg{float type}\marg{options}
+% \end{quote}
+%
+% Для задания специальных настроек для плавающих объектов одного типа используется
+% дополнительный аргумент в котором указывается тип флота. Следующая команда
+% \begin{quote}
+% |\floatsetup[table]{style=Plaintop}|
+% \end{quote}
+% задаёт специальный стиль для таблиц (табличный заголовки помещаются над
+% объектами; если таблицы стоят рядом внутри окружения \env{floatrow},
+% табличные заголовки выравниваются по верхней строке)\footnote{Ключи,
+% используемые в специальной настройке для плавающих объектов одного
+% типа, всегда <<сильнее>> их синонимов, заданных в общей настройке. Другими
+% словами, если вы захотите, после приведённого примера переопределить стиль для всех флотов,
+% с помощью \cmd{\floatsetup\{style={\normalfont \meta{option}}\}}
+% вы не измените оформления таблицы "--- используйте опять
+% \cmd{\floatsetup[table]}\allowbreak\texttt{\{style={\normalfont \meta{option}}\}}.}.
+%
+% Созданы также специальные опции команды |\floatsetup| для настройки флотов
+% с разными вариантами размещения:
+% для набора в две колонки (в одноколонной книге |*|-окружение, типа \env{figure*}, можно использовать
+% для вёрстки, например, широких рисунков) для флотов, развёрнутых вертикально и других.
+% <<Сила>> приведённых ниже в перечнях опций убывает от предыдущего к следующему пункту
+% (в качестве примера использовано окружение \env{figure}):
+% \begin{itemize}\label{stsetorder}\itemsep0pt\parskip0pt
+% \item Широкие флоты или флоты вразрез двух колонок
+% (например, \env{figure*}, вы можете определить специальные настройки для
+% |*|-окружений и в одноколонном документе):
+% \begin{itemize}
+% \item |\floatsetup[widefigure]|---самые <<сильные>> настройки; если они отсутствуют,
+% пакет использует настройки из следующего пункта;
+% \item |\floatsetup[widefloat]|---эти настройки <<сильнее>> чем настройки
+% из следующего пункта (|\floatsetup[figure]|); если они отсутствуют, пакет
+% использует настройки из следующего пункта;
+% \item |\floatsetup[figure]|; если эти настройки отсутствуют, пакет использует настройки,
+% заданные в опции в строке |\usepackage| или как |\floatsetup{...}|;
+% если и эти установки отсутствуют "--- установки пакета
+% по умолчанию (см.~с.~\pageref{sec:default});
+% \end{itemize}
+% \item Плавающие объекты в оборку (использующие окружение типа \env{wrapfigure}):
+% \begin{itemize}\itemsep0pt\parskip.5\parskip
+% \item |\floatsetup[wrapfigure]|;
+% \item |\floatsetup[wrapfloat]|;
+% \item |\floatsetup[figure]|;
+% \end{itemize}
+% \item Плавающие объекты развёрнутые вертикально (\env{sidewaysfigure}):
+% \begin{itemize}\itemsep0pt\parskip.5\parskip
+% \item |\floatsetup[rotfigure]|;
+% \item |\floatsetup[rotfloat]|;
+% \item |\floatsetup[figure]|;
+% \end{itemize}
+% \item Развёрнутые плавающие объекты вразрез двух колонок (\env{sidewaysfigure*})\footnote{Настройки
+% для флотов на две колонки (или широких в одноколонной вёрстке)
+% (\texttt{widefloat}, \texttt{widefigure}) удалены "--- используйте настройки
+% для \texttt{widerotfloat} и "--- здесь "---\texttt{widerotfigure}}:
+% \begin{itemize}\itemsep0pt\parskip.5\parskip
+% \item |\floatsetup[widerotfigure]|;
+% \item |\floatsetup[widerotfloat]|;
+% \item |\floatsetup[rotfigure]|;
+% \item |\floatsetup[rotfloat]|;
+% \item |\floatsetup[figure]|;
+% \end{itemize}
+% \item Плавающие объекты с подписями рядом:
+% \begin{itemize}\itemsep0pt
+% \item |\floatsetup[capbesidefigure]|;
+% \item |\floatsetup[capbesidefloat]|;
+% \item настройки окружений перечисленных выше, где помещён флот:
+% \env{sidewaysfigure*}, \env{sidewaysfigure}, и \env{figure*}.
+% \end{itemize}
+% Обратите внимание, что ключ \texttt{style=} (см. начало следующего раздела)
+% отменяет настройку для размещения подписи сбоку.
+% \end{itemize}
+% Вы можете создать специальные настройки для подрисуночных подписей, используя
+% те же названия опций \meta{float~type} в команде |\captionsetup|.
+%
+% Следующие несколько разделов описывают ключи, используемые командой |\floatsetup|.
+%
+% \subsection{Ключи Floatsetup}\label{sec:floatsetup}
+%
+% \subsubsection{Стиль плавающего объекта}
+%
+% \DescribeMacro{style=}
+% Ключ \emph{float style} задаётся следующим образом:
+% \begin{quote}
+% |style=|\meta{float style name}\quad ,
+% \end{quote}
+% где \meta{float style name} вы можете взять из табл.~\ref{tab:floatlayouts}.
+%
+%
+% Стиль для подписи, \texttt{ruled}, единственный из пакета \pkg{float},
+% который также предопределён в пакете \pkg{caption}. Для его использования, запишите, например
+% \begin{quote}
+% |\captionsetup[figure]{style=ruled}|\quad .
+% \end{quote}
+%
+% \begin{sidewaystable}%[p]%
+% \extrarowheight1pt\tabcolsep.5\tabcolsep
+% \newcommand\leftcell[2][16.5mm]{\extrarowheight0pt\def\arraystretch{.75}
+% \hspace*{-\tabcolsep}\begin{tabular}[t]{>{\footnotesize
+% \ttfamily\noindent\vphantom{\small()\mpfootnotemark[1]}}p{#1}}#2\end{tabular}%
+% \hspace*{-\tabcolsep}\ignorespaces}
+% \emptyfloatpage
+% \begin{tabularx}\hsize{|@{}l@{}|@{}l@{}|X|}
+% \hline
+% \hfil\thead{Стиль} &
+% \hfil\thead{Ключи \cmd{\floatsetup}} &
+% \hfil\thead{Описание} \\
+% \hline
+% \multicolumn{3}{|c|}{Определено в пакете \pkg{floatrow}}\\
+% \hline \leftcell{\texttt{plain}{\mpfootnotemark[1]}}
+% & \leftcell{\meta{none}}
+% &Стандартное оформление \LaTeX'а
+% \\\hline
+% \leftcell{\texttt{plaintop}{\mpfootnotemark[1]}
+% \\\hline\texttt{Plaintop}{\mpfootnotemark[2]}}
+% & \leftcell[50mm]{capposition=top\\\hline
+% capposition=TOP}
+% &То же что и стиль \texttt{plain} но помещает подпись сверху "--- аналог стиля из пакета
+% \pkg{float}. Стиль, записанный с прописной выравнивает подписи
+% у флотов, помещённых в окружение \env{floatrow}, по верхней строке
+% \\\hline
+% \leftcell{\texttt{ruled}{\mpfootnotemark[1]}
+% \\ \\ \\\hline\texttt{Ruled}}
+% & \leftcell[50mm]{capposition=top,precode=thickrule,\\
+% midcode=rule,postcode=lowrule,\\
+% heightadjust=all\\\hline
+% style=ruled,capposition=TOP}
+% &Первый повторяет оформление одноимённого стиля из пакета \pkg{float}.
+% Стиль, записанный с прописной выравнивает подписи в окружении
+% \env{floatrow} по верхней строке
+% \\\hline
+% \leftcell{\texttt{boxed}\smash{\mpfootnotemark[1]\mpfootnotemark[2]}
+% \\ \\ \\\hline\texttt{Boxed}
+% \\\hline\texttt{BOXED}}
+% & \leftcell[50mm]{captionskip=2pt,framestyle=fbox,\\
+% heightadjust=object,\\framearound=object\\\hline
+% style=boxed,framefit=yes\\\hline
+% framestyle=fbox,framefit=yes,\\
+% heightadjust=all,framearound=all}
+% &Первый повторяет стиль пакета \pkg{float}:
+% ширина объекта равна \cmd{\hsize} или
+% предопределённой ширине бокса; рамка выступает по сторонам.
+% В форме с прописной буквы ширина рамки совпадает с
+% \cmd{\hsize} или заданной шириной; ширина объекта при этом уменьшается,
+% чтобы поместиться внутри рамки. Прописная форма создаёт рамку
+% которая равна \cmd{\hsize} или заданной ширине,
+% уже вокруг всего флота: подписи, объекта и возможных экспликаций.
+% \\\hline
+% \multicolumn{3}{|c|}{Определено в пакете \pkg{fr-fancy}.
+% Эти стили также требуют пакет \pkg{fancybox}.}\\
+% \hline \leftcell{\texttt{shadowbox}\smash{\mpfootnotemark[2]}
+% \\\hline\texttt{Shadowbox}
+% \\\hline\texttt{SHADOWBOX}}
+% & \leftcell[50mm]{style=boxed,framestyle=shadowbox\\ \hline
+% style=Boxed,framestyle=shadowbox\\ \hline
+% style=BOXED,framestyle=shadowbox}
+% &То же, что и \texttt{boxed}, \texttt{Boxed} и \texttt{BOXED}
+% соответственно. Рамка \cmd{\fbox} заменена на \cmd{\shadowbox}
+% из пакета \pkg{fancybox}.
+% \\\hline
+% \leftcell{\texttt{doublebox}\smash{\mpfootnotemark[2]}
+% \\\hline\texttt{Doublebox}\\\hline\texttt{DOUBLEBOX}}
+% & \leftcell[50mm]{style=boxed,framestyle=doublebox\\\hline
+% style=Boxed,framestyle=doublebox\\\hline
+% style=BOXED,framestyle=doublebox}
+% &То же, что и \texttt{boxed}, \texttt{Boxed} и \texttt{BOXED}
+% соответственно. Рамка \cmd{\fbox} заменена на \cmd{\doublebox}
+% из пакета \pkg{fancybox}.
+% \\\hline
+% \multicolumn{3}{|c|}{Дополнительный стиль. Он также требует пакет
+% \pkg{fancybox}.}\\\hline
+% \leftcell{\texttt{wshadowbox}\smash{\mpfootnotemark[2]}
+% \\\hline\texttt{Wshadowbox}
+% \\\hline\texttt{WSHADOWBOX}}
+% & \leftcell[50mm]{style=boxed,framestyle=wshadowbox\\\hline
+% style=Boxed,framestyle=wshadowbox\\\hline
+% style=BOXED,framestyle=wshadowbox}
+% &То же, что и \texttt{boxed}, \texttt{Boxed} и \texttt{BOXED}
+% соответственно. Рамка \cmd{\fbox} заменена на \cmd{\wshadowbox},
+% похожую на \cmd{\shadowbox} (но создаёт белую тень, или
+% края <<второй копии>>) из пакета \pkg{fancybox}.
+% \\\hline
+% \end{tabularx}
+%
+% \caption{Стили плавающих объектов}\label{tab:floatlayouts}%
+%
+% \floatfoot{Если задан стиль флота с рамкой вокруг объекта, равной ширине
+% основного текста или предопределённой ширине (как \texttt{Boxed}, etc.),
+% и в опции \meta{width} макрокоманды \cmd{\floatbox} определена команда
+% \cmd{\FBwidth}, устанавливающая ширину всех элементов флота равной
+% ширине объекта (см.~с.~\pageref{sec:floatbox}), ширина остальных элементов флота
+% в этом случае увеличивается, до ширины равной обрамлённому объекту.}
+%
+% \footnotetext[1]{Стили аналогичны предложенным пакетом \pkg{float}.}
+% \footnotetext[2]{При использовании этих стилей в окружении \env{floatrow}
+% вам необходимо увеличить расстояние между флотами (переопределив
+% ключ \texttt{floatrowsep}).}
+% \end{sidewaystable}
+% \label{setup:start}
+%
+%^^A\pagebreak[4]
+%
+% \subsubsection{Настройки шрифта}
+%
+% \DescribeMacro{font=}
+% Определяет шрифт для содержимого плавающего объекта. Опции аналогичны ключу \texttt{font=}
+% в команде |\captionsetup|.\nopagebreak
+%
+% Существующие уже опции настройки шрифта:
+%
+% \begin{Options}{\OptionLabel}
+% \item[scriptsize] {\scriptsize очень маленький размер}
+% \item[footnotesize] {\footnotesize размер, используемый сносками}
+% \item[small] {\small маленький размер, в русских изданиях рекомендуется для плавающих объектов}
+% \item[normalsize] {\normalsize нормальный размер}
+% \item[large] {\large большой размер}
+% \item[Large] {\Large б\'ольший размер}
+%
+% \item[up] {\upshape прямое начертание}
+% \item[it] {\itshape курсивное начертание}
+% \item[sl] {\slshape наклонное начертание}
+% \item[sc] {\scshape капитель}
+%
+% \item[md] {\mdseries нормальная насыщенность}
+% \item[bf] {\bfseries полужирный шрифт}
+%
+% \item[rm] {\rmfamily романский шрифт или шрифт с засечками}
+% \item[sf] {\sffamily рубленый шрифт}
+% \item[tt] {\ttfamily шрифт пишущей машинки}
+% \end{Options}
+%
+% Вы можете определить шрифт для объекта как
+% \begin{quote}
+% |font=small|
+% \end{quote}
+% или
+% \begin{quote}
+% |font={small,sf}|\quad .
+% \end{quote}
+%
+% \DescribeMacro{footfont=}\label{sec:setfloatfoot}%^^A
+% Определяет шрифт для экспликаций.
+% Эта макрокоманда использует механизм команды |\captionsetup| (поскольку
+% |\floatfoot| использует механизм пакета \pkg{caption}).
+% По умолчанию размер шрифта для экспликации эквивалентен
+% размеру сносок: |footfont=footnotesize|.
+%
+% \subsubsection{Размещение подписей и других элементов}
+%
+% \DescribeMacro{capposition=}
+% Определяет расположение подписей. Ключ похож
+% на ключ \texttt{position=} пакета \pkg{caption}, но он имеет
+% две дополнительные опции\footnote{Опция \texttt{auto} не используется ключом
+% \texttt{capposition=}.}: \texttt{TOP}, если вы предпочитаете выровнять подписи,
+% расположенные сверху объектов, при расположении флотов рядом (в окружении \env{floatrow}),
+% по верхней строке; и \texttt{beside} для размещения подписи сбоку от объекта (эта опция
+% может быть более предпочтительна для настроек отдельного окружения, см. о команде
+% |\thisfloatsetup| на с.~\pageref{thisfloatsetup}):
+% \begin{Options}{\OptionLabel}
+% \item[top] подпись сверху объекта (соответствует команде |\captop|);
+% \item[TOP] подпись сверху объекта и при размещении флотов рядом (в окружении \env{floatrow}) подписи выравниваются
+% по верхней строке (соответствует команде |\CAPTOP|).
+% Например, стиль \texttt{Plaintop} является вариантом стиля \texttt{plaintop}
+% где определена |capposition=TOP|,
+% см. табл.~\ref{tab:row:tabIII}--\ref{tab:row:tabIV};
+% \item[bottom] подпись снизу объекта (соответствует команде |\capbot|);
+% \item[beside] подпись сбоку объекта (соответствует команде |\capbeside|).
+% \end{Options}
+%
+% \DeleteShortVerb{\|}%
+% \begin{table}[h]
+% \begin{floatrow}
+% \extrarowheight1pt
+% \ttabbox
+% {\caption[Длинный заголовок таблицы~I]%^^A
+% {Таблица~I в ряду с длинным, длинным, длинным заголовком, выровненным по верхней строке}\label{tab:row:tabIII}}%^^A
+% {\begin{tabular}{|l|>{\phantom0}c|>{\phantom0}c|}
+% \hline
+% \multirowthead{2}[-1ex]{Left Column Head}
+% & \multicolumn{2}{c|}{\thead{Data}} \\
+% \cline{2-3}
+% & \multicolumn{1}{c|}{\thead{I}}
+% & \multicolumn{1}{c|}{\thead{II}}
+% \\\hline
+% First row & 1 & 2 \\
+% Second row & 3 & 4 \\
+% Third row & 6 & 8 \\
+% Fourth row & \llap{1}0 & \llap{1}6 \\
+% \hline
+% \end{tabular}}
+%
+% \ttabbox
+% {\caption{Таблица~II в ряду с заголовком, выровненным по верхней
+% строке}\label{tab:row:tabIV}}%^^A
+% {\begin{tabular}{|l|c|c|c|}
+% \hline
+% \multirowthead{2}[-1ex]{Column Head}
+% & \multicolumn{3}{c|}{Data} \\
+% \cline{2-4}
+% & \thead{I} & \thead{II} & \thead{III} \\
+% \hline
+% First row & 1 & 2 & \phantom01 \\
+% Second row & 3 & 4 & \phantom06 \\
+% Third row & 6 & 8 & 28 \\
+% \hline
+% \end{tabular}}
+% \end{floatrow}
+% \end{table}
+% \MakeShortVerb{\|}%
+%
+% \emph{Замечание}. Опция \texttt{TOP} использует механизм |\label|---|\ref|,
+% поэтому, чтобы получить нужный результат, нужно дважды обработать текст \LaTeX'ом
+% (если вы внесли изменения, которые изменили количество строк вы также
+% получите результат после второй обработки).
+%
+% \DescribeMacro{capbesideposition=}
+% Определяет вертикальное и горизонтальное расположение подписи рядом с объектом.
+% Для горизонтального расположения определены четыре опции:
+% \begin{Options}{\OptionLabel}
+% \item[left]
+% подпись помещается с левой стороны от объекта;
+% \item[right]
+% подпись помещается с правой стороны от объекта;
+% \item[inside]
+% подпись помещается со стороны корешкового поля, если включена опция |twoside|
+% в классе документа;
+% \item[outside]
+% менее популярная опция: подпись помещается со стороны внешнего поля,
+% если опция |twoside| включена.
+% \end{Options}
+%
+% Для вертикального расположения определены три опции
+% \begin{Options}{\OptionLabel}\samepage
+% \item[top]
+% подпись выравнивается по верху объекта;
+% \item[bottom]
+% подпись выравнивается по низу объекта;
+% \item[center]
+% подпись и объекта выравниваются по средней линии.
+% \end{Options}
+% Вы можете определить расположение подписи рядом следующим образом:
+% \begin{quote}
+% |capbesideposition={top,outside}|\quad.
+% \end{quote}
+%
+% \noindent
+% \DescribeMacro{capbesidewidth=}
+% Определяет ширину подписи рядом (эта опция может быть более предпочтительна для
+% настройки отдельного окружения, см. о команде |\thisfloatsetup| на
+% с.~\pageref{thisfloatsetup}). Вы можете задать:
+% \begin{quote}
+% |capbesidewidth=4cm|\quad.
+% \end{quote}
+% Если вы напишете \texttt{capbesidewidth=none} или \texttt{capbesidewidth=sidefill}
+% (это настройка по умолчанию), ширина подписи будет рассчитана
+% относительно ширины объекта (то есть займет остальное пространство
+% в боксе, см. рис.~\ref{fig:beside:mouse} на с.~\pageref{fig:beside:mouse}).
+%
+% \noindent
+% \DescribeMacro{capbesideframe=}
+% Этот ключ (работает как булев параметр) декларирует, размещена ли подпись рядом
+% с объектом, заключённым в рамку (\texttt{capbesideframe=yes}): в этом случае
+% строки подписи будут выравнивается по верху или низу рамки; в противном случае верх или низ
+% \emph{содержимого} объекта в рамке будет выровнено со строками подписи (\texttt{capbesideframe=no}).
+%
+% \penalty-5000
+% \subsubsection{Определение расположения экспликаций (и сносок)}\label{sec:footposition}
+%
+% \DescribeMacro{footposition=}\label{foot:pos}%^^A
+% Определяет расположение содержимого команд |\footnote| и |\floatfoot| внутри бокса
+% плавающего объекта с подписями сверху/снизу.
+% \begin{Options}{\OptionLabel}
+% \item[default]
+% если подпись сверху, экспликации и сноски помещаются под объектом; в противном случае
+% "--- под подписью;
+% \item[caption]
+% всегда помещаются под подписью;
+% \item[bottom]
+% всегда помещаются внизу бокса.
+% \end{Options}
+% См. примеры в файле \file{frsample01.tex}. В случае подписи стоящей сбоку,
+% сноски и экспликации всегда помещаются под подписью.
+%
+% \subsubsection{Определение вертикального выравнивания}\label{sec:heightadjust}
+%
+% \DescribeMacro{heightadjust=}
+% Определяет будет ли использоваться в ряду (\env{floatrow}) максимальная высота объекта
+% и/или подписи в качестве общей. ключ имеет следующие опции
+% \begin{Options}{\OptionLabel}\samepage
+% \item[all]
+% выровнять высоты объектов и подписей по максимальной высоте (например, используется стилями \texttt{Ruled} и \texttt{BOXED});
+% \item[caption]
+% выровнять высоты подписей по максимальной высоте (используется стилем \texttt{Plaintop});
+% \item[object]
+% выровнять высоты объектов по максимальной высоте (используется стилем \texttt{Boxed});
+% \item[none]
+% никакие высоты не изменяются (используется стилем \texttt{plain});
+% \item[nocaption]
+% высоты подписей не изменяются;
+% \item[noobject]
+% высоты объектов не изменяются;
+% \end{Options}
+% Вы можете определить, как делать общие высоты, даже так:
+% \begin{quote}
+% |heightadjust={caption,noobject}|\quad.
+% \end{quote}
+%
+% \noindent
+% \DescribeMacro{valign=}
+% Определяет вертикальное выравнивание объектов в ряду
+% (\env{floatrow}) если задан ключ |heightadjust=all| или
+% |heightadjust=object| или в командах |\floatbox| используется аргумент \meta{height}
+% с величиной б\'ольшей высоты объекта. Опции этого ключа аналогичны опции вертикального
+% выравнивания в окружении \env{minipage} и команде |\parbox|. Опция по умолчанию: |c|
+% (центрированное вертикальное выравнивание).
+% \begin{Options}{\OptionLabel}\samepage
+% \item[t]
+% выравнивает объекты по верхней линии;
+% \item[c]
+% выравнивает объекты по средней линии;
+% \item[b]
+% выравнивает объекты по нижней линии;
+% \item[s]
+% растягивает объекты на всю высоту (если возможно).
+% \end{Options}
+%
+% \subsubsection{Оформление для разворотов}
+%
+% \DescribeMacro{facing=}
+% Этот ключ определяет будет ли использоваться оформление флотов для разворотов (зеркальное
+% отображение чётных и нечётных полос).
+% Этот ключ работает, если включена опция |twoside| в классе документа.
+%
+% \subsubsection{Определение полей вокруг флотов и настройка для содержимого объекта}\label{sec:set:box}
+%
+% \DescribeMacro{margins=}
+% Определяет поля для отдельных флотов с подписями сверху/снизу,
+% для отдельных флотов с подписями сбоку, и для окружения
+% \env{floatrow}. Ключ уже имеет три предопределённые опции:
+% \begin{Options}{\OptionLabel}
+% \item[centering]
+% плавающий объект центрируется;
+% \item[raggedright]
+% плавающий объект выключается влево;
+% \item[raggedleft]
+% плавающий объект выключается вправо.
+% \end{Options}
+% Вы можете задать специальное выравнивание, см.~с.~\pageref{ssec:decl:marg}.
+%
+% \noindent
+% \DescribeMacro{objectset=}\DescribeMacro{justification=}
+% Определяет выключку содержимого объекта.
+% Предопределённые опции те же, что и для ключа
+% \texttt{justification=} команды |\captionsetup|.
+% \begin{Options}{\OptionLabel}
+% \item[justified]
+% Печатает текст объекта как обычный абзац. (Задано по умолчанию.)
+%
+% \item[centering]
+% Строки объекта центрируются.
+%
+% \item[raggedright]
+% Строки объекта выключаются влево.
+%
+% \item[RaggedRight]
+% Строки объекта также выключаются влево.
+% Но в этом случае используется команда |\RaggedRight| пакета \pkg{ragged2e}.
+% Разница заключается в том, что задействован алгоритм переносов внутри текста.
+%
+% \item[raggedleft]
+% Строки выключаются вправо.
+%
+% \item[RaggedLeft]
+% Аналогична |RaggedRight|.
+%
+% \end{Options}
+% Вы можете задать свои собственные настройки (см.~с.~\pageref{ssec:decl:rule})
+%
+% \noindent
+% \DescribeMacro{floatwidth=}
+% Вы можете использовать этот ключ для переопределения ширины флотов. Можно задать
+% \begin{quote}
+% |floatwidth=.6\hsize|
+% \end{quote}
+% или
+% \begin{quote}
+% |floatwidth=7cm|
+% \end{quote}
+% Этот ключ удобно использовать в настройке для отдельного окружения
+% (см. о команде |\thisfloatsetup| на с.~\pageref{thisfloatsetup}).
+%
+% Если вы используете опцию \texttt{floatwidth=sidefill} для флотов с подписью сбоку
+% (в случае если в \texttt{capbesidewidth=} задано абсолютное значение ширины, как
+% \texttt{4cm}) объект (вместо подписи) займет остальное пространство в боксе
+% (см. приложение, рис.~\ref{fig:capbeside:trick} на с.~\pageref{fig:capbeside:trick})
+%
+% \subsubsection{Определение разделителей в боксах флотов}\label{sec:set:sep}
+%
+% \noindent
+% \DescribeMacro{floatrowsep=}
+% Задаёт разделительный материал между флотами рядом (заданных командой |\floatbox| и её
+% производными, см.~с.~\pageref{sec:floatbox}) внутри окружения \env{floatrow}
+% (см.~с.~\pageref{sec:floatrow}).
+%
+% \noindent
+% \DescribeMacro{capbesidesep=}
+% Задаёт разделительный материал между объектом и подписью сбоку.
+%
+% Настройки обоих ключей работают аналогично настройкам ключа |labelsep=| в команде
+% |\captionsetup|.
+%
+% Они используют следующие предопределённые опции:
+% \begin{Options}{\OptionLabel}
+% \item[columnsep]
+% горизонтальная отбивка${}={}$|\columnsep| (межколонник при двух- и многоколонном наборе);
+% \item[quad]
+% горизонтальная отбивка${}={}1$\,em (одна кегельная);
+% \item[qquad]
+% горизонтальная отбивка${}={}2$\,em (две кегельные);
+% \item[hfil]
+% горизонтальная отбивка${}={}1$\,fil (растяжимая длина |\hfil|);
+% \item[hfill]
+% горизонтальная отбивка${}={}1$\,fill (ещё более растяжимая длина |\hfill|);
+% \item[none]
+% пустой разделитель.
+% \end{Options}
+%
+% \subsubsection{Определение вертикальных отбивок или линеек}\label{sec:set:rule}
+%
+% \DescribeMacro{precode=}
+% Определяет отбивку, линейку или другой подобный материал сверху флота.
+%
+% \noindent
+% \DescribeMacro{rowprecode=}
+% Определяет отбивку, линейку или другой подобный материал сверху отдельного флота и, при
+% размещении флотов рядом в окружении \env{floatrow}, сверху ряда флотов.
+% (см.~с.~\pageref{fig:rotrow:WcatI}).
+%
+% \noindent
+% \DescribeMacro{midcode=}
+% Определяет отбивку, линейку или другой подобный материал
+% между подписью сверху/снизу и объектом.
+%
+% \noindent
+% \DescribeMacro{postcode=}
+% Определяет отбивку, линейку или другой подобный материал снизу флота.
+%
+% \noindent
+% \DescribeMacro{rowpostcode=}
+% Определяет отбивку, линейку или другой подобный материал снизу отдельного флота и, при
+% размещении флотов рядом в окружении \env{floatrow}, снизу ряда флотов (см.~с.~\pageref{fig:rotrow:WcatI}).
+%
+% Для всех этих ключей предопределены следующие опции (настройки
+% взяты из стилей, созданных пакетом \pkg{float}):
+% \begin{Options}{\OptionLabel}\makeatletter\@itempenalty10000\makeatother
+% \item[none]
+% отбивка отсутствует;
+% \item[thickrule]
+% толстая линия (.8pt) с отбивкой снизу в 2pt "--- верхняя линейка над флотов в стиле \texttt{ruled};
+% \item[rule]
+% линейка обычной толщины (.4pt), с отбивками сверху и снизу в 2pt "---средняя линейка в стиле \texttt{ruled};
+% \item[lowrule]
+% линейка обычной толщины (.4pt), с отбивкой сверху в 2pt "--- нижняя линейка в стиле \texttt{ruled};
+% \item[captionskip]
+% вертикальная отбивка равная величине, заданной в ключе |captionskip=|.
+% \end{Options}
+% Вы можете задать свои опции, см.~с.~\pageref{ssec:decl:rule}.
+%
+% \subsubsection{Задание рамок для флотов}
+%
+% \DescribeMacro{framestyle=}
+% Определяет тип рамки; пакет
+% \pkg{floatrow} предлагает только один вид рамки:
+% \begin{Options}{\OptionLabel}
+% \item[fbox]
+% стандартная рамка.
+% \end{Options}
+% Далее идут опции для задания дополнительных вариантов рамок, предлагаемых пакетом \pkg{fr-fancy},
+% который инсталлируется вместе с \pkg{floatrow}:
+% \begin{Options}{\OptionLabel}
+% \item[colorbox]
+% цветная рамка, для неё нужен пакет \pkg{color};
+% если эта рамка не определена, используется обычная |\fbox|;
+% \item[doublebox]
+% двойная рамка, для неё нужен пакет \pkg{fancybox};
+% \item[shadowbox]
+% рамка с тенью, для неё нужен пакет \pkg{fancybox};
+% \item[wshadowbox]
+% изменённая рамка \texttt{shadowbox} (с <<белой тенью>>), для неё нужен пакет \pkg{fancybox};
+% \end{Options}
+%
+% \noindent
+% \DescribeMacro{framearound=}
+% Задаёт элемент флота, вокруг которого нужно создать рамку:
+% \begin{Options}{\OptionLabel}
+% \item[object]
+% только содержимое объекта;
+% \item[all]
+% флот полностью, включая объект, подпись и дополнительный материал.
+% \end{Options}
+%
+% \noindent
+% \DescribeMacro{framefit=}
+% Переключатель (работает как булев параметр) который определяет нужно ли ширину рамки делать равной ширине
+% текста |\hsize| или предопределённой ширине (\texttt{framefit=yes}), объект в этом случае
+% сужается; или рамка выступает в обе стороны и, в этом случае ширина объекта равна |\hsize|
+% или предопределённой ширине (\texttt{framefit=no})
+%
+% \noindent
+% \DescribeMacro{frameset=}
+% Параметры выбранной рамки; для этого ключа нет предопределённых опций,
+% он определяется следующим образом:
+% \begin{quote}
+% |frameset={\fboxrule1pt\fboxsep12pt}|\quad.
+% \end{quote}
+%
+% \noindent
+% \DescribeMacro{colorframeset=}
+% Ключ предлагается пакетом \pkg{fr-fancy}: определяет
+% цветную рамку (по умолчанию это обычная |\fbox|).
+% В текущей версии вы можете использовать только команду |\fcolorbox| для цветной рамки. Вы
+% можете определить цветную рамку следующим образом:
+% \begin{quote}
+% |colorframeset={\fcolorbox{white}{yellow}}|\quad.
+% \end{quote}
+%
+% \subsubsection{Определение отбивок}
+%
+% \DescribeMacro{captionskip=}
+% Определяет размер вертикальной отбивки между подписью и объектом
+% если ключ |midcode| определён как
+% |midcode=captionskip|; или в случае использования стилей (ключ \texttt{style=})
+% \texttt{plain}, \texttt{plaintop} или \texttt{Plaintop}, пример:
+% \begin{quote}
+% |captionskip=10pt|\quad.
+% \end{quote}
+%
+% \noindent
+% \DescribeMacro{footskip=}
+% Определяет вертикальную отбивку до сносок и экспликаций.
+% \begin{quote}
+% |footskip=4pt|\quad,
+% \end{quote}
+% or
+% \begin{quote}
+% |footskip=\skip\footins|\quad.
+% \end{quote}
+%
+% \subsubsection{Задание стиля для линейки над сноской}\label{sec:footnotestyle}
+%
+% \DescribeMacro{footnoterule=}
+% Определяет тип линейки над сноской внутри бокса плавающего элемента.
+% \begin{Options}{\OptionLabel}
+% \item[normal]
+% стандартное определение \LaTeX'а, используемое в окружении \env{minipage}, ширина её равна
+% 0.4 текущей ширины текста (|\columnwidth|);
+% \item[limited]
+% аналогична предыдущей, но максимальная ширина сноски равна величине определённой в
+% команде |\frulemax|, следующим образом:
+% \begin{quote}
+% |\renewcommand\frulemax{1in}|
+% \end{quote}
+% \item[fullsize]
+% линейка на всю ширину текста.
+% \item[none]
+% нет линейки.
+% \end{Options}
+%
+% \label{setup:end}
+%
+% %^^A ???needed?
+% \subsubsection{Загрузка пакета для необычных рамок}
+%
+% \DescribeMacro{fancyboxes=}
+% Переключатель (работает как булев параметр) загружает пакет \pkg{fr-fancy}. Этот ключ можно использовать
+% только в дополнительном аргументе строки |\usepackage|.
+%
+% \subsection{Настройки для одного флота}
+%
+% \DescribeMacro{\thisfloatsetup}\label{thisfloatsetup}%^^A
+% Вы можете задать некоторые настройки только для одного флота
+% перед необходимым окружением. Команда |\thisfloatsetup| может
+% включать в себя те же ключи и опции как и |\floatsetup|. Она содержит
+% только обязательный аргумент\footnote{Команда \cmd{\thisfloatsetup} определена
+% как аббревиатура \cmd{\floatsetup[tmpset]}.}.\par\strut\par\kern-\baselineskip
+%
+%^^A Please note that |\thisfloatsetup| doesn't overwrite co-named key
+%^^A declarations from settings like |\floatsetup[|\meta{options}|]|---this command
+%^^A created e.g for temporary change of float or caption widths: keys \texttt{captionwidth=}
+%^^A \texttt{floatwidth} do not used usually in |\floatsetup| stuff.
+%
+% \subsection{<<Очистка>> предыдущих настроек для определённого типа плавающих объектов}
+%
+% \DescribeMacro{\clearfloatsetup}
+% Если вы хотите отменить параметры, определённые для
+% использования в определённом окружении
+% вы можете использовать команду\footnote{См. также в документации пакета
+% \pkg{caption} о команду \cmd{\clearcaptionsetup}}:
+% \begin{quote}
+% |\clearfloatsetup|\marg{Typ}\quad.
+% \end{quote}
+%
+% %^^A !!!for footnotes!
+% %^^A \newpage
+%
+% \subsection{Установки для флотов заданные по умолчанию}\label{sec:default}
+%
+% Следующие ключи и опции включаются, при загрузке пакета \pkg{floatrow}.
+% Они эквивалентны стилю \texttt{plain}:
+% \begin{Options}{\OptionLabel}
+% \item[font=normalsize]
+% \item[footfont=footnotesize]
+% \item[capposition=bottom]
+% \item[capbesideposition=inside]
+% \item[capbesideframe=no]
+% \item[footposition=default]
+% \item[heightadjust=none]
+% \item[facing=no]
+% \item[margins=centering]
+% \item[objectset=centering] ($\equiv$\texttt{justification=centering})
+% \item[floatrowsep=columnsep]
+% \item[capbesidesep=columnsep]
+% \item[precode=none]
+% \item[rawprecode=none]
+% \item[postcode=none]
+% \item[rawpostcode=none]
+% \item[midcode=captionskip]
+% \item[captionskip=10pt]
+% \end{Options}
+%
+%
+% \subsection{Определение новых опций}
+%
+% В следующих разделах перечисляются команды, которые определяют опции
+% ключей команды |\floatsetup|. Примеры опций взяты, как правило,
+% из определений опций пакета \pkg{floatrow}.
+%
+% \subsubsection{Стиль флота}
+%
+% \DescribeMacro{\DeclareFloatStyle}
+% Определяет новый стиль. Пример демонстрирует задание нового стиля
+% \texttt{MyBoxed}. Рисунок~\ref{fig:plain:MyBoxed}, и
+% некоторые другие в данной документации показывают результат.
+%\begin{verbatim}
+%\DeclareFloatStyle{MyBoxed}{style=Boxed,captionskip=5pt,
+% frameset={\fboxrule1pt\fboxsep12pt}}
+%\floatsetup[figure]{style=MyBoxed}
+%\end{verbatim}
+%
+% \begingroup
+%
+% \floatsetup[figure]{style=MyBoxed}
+% \begin{figure}[!t]
+% {\input{BlackCat.picture}}%
+% \caption{%^^A
+% Простой рисунок в стиле \texttt{MyBoxed}}%
+% \label{fig:plain:MyBoxed}%
+% \floatfoot{Much more, more and more and more and more and more and more and
+% more and more text inside macro \cmd{\floatfoot}}%
+% \end{figure}
+%
+% Тот же результат вы можете получить:
+%\begin{verbatim}
+%\floatsetup[figure]{style=Boxed,captionskip=5pt,
+% frameset={\fboxsep12pt\fboxrule1pt}}
+%\end{verbatim}
+% \endgroup
+%
+% \subsubsection{Определение новых линеек или отбивок}\label{ssec:decl:rule}
+%
+% \DescribeMacro{\DeclareFloatVCode}
+% Эта команда создаёт определение отбивки, линейки или другого подобного материала
+% сверху и снизу всего бокса объект---подпись и между
+% подписью сверху/снизу и объектом.
+% Созданную опцию вы можете использовать в ключах \texttt{rowprecode},
+% \texttt{precode}, \texttt{midcode}, \texttt{postcode} и
+% \texttt{rowpostcode}.
+% \begin{quote}
+% |\DeclareFloatVCode{thickrule}{\hrule height.8ptdepth0pt%|\\
+% \strut\qquad|\kern2pt}|
+% \end{quote}
+%
+% \subsubsection{Определение выключки содержимого объекта}\label{ssec:decl:marg}
+%
+% \DescribeMacro{\DeclareObjectSet}
+% Вы можете определить свою опцию выключки для ключа \texttt{objectset=} следующим образом:
+% \begin{quote}
+% |\DeclareObjectSet{centering}{\centering}|
+% \end{quote}
+% В определении опции вы можете попробовать задать и другие повторяющие команды,
+% которые вам нужны при оформлении содержимого объекта\footnote{Вы можете использовать
+% опции ключей, заданные \cmd{\DeclareCaptionJustification} "---
+% командой из пакета \pkg{caption},
+% как опции ключа \texttt{objectset=}.}.\par\strut\par\kern-\baselineskip
+%
+% \subsubsection{Определение выключки (и другого материала) для всего бокса флота}\label{ssec:decl:marg}
+%
+% \DescribeMacro{\DeclareMarginSet}\label{fsetup:besmarg}%^^A
+% Вы можете определить выключку всего бокса (ключ \texttt{margins=}) следующим образом:
+% \begin{quote}
+% |\DeclareMarginSet{center}{%|\\
+% | \setfloatmargins{\hfil}{\hfil}}|
+% \end{quote}
+% или (см. также файлы примеров);
+% \begin{quote}
+% |\DeclareMarginSet{outside}{%|\\
+% | \setfloatmargins*{\hfil}{}}|
+% \end{quote}
+%
+% Команда |\setfloatmargins| определяет левое и правое поля.
+% \begin{quote}
+% |\setfloatmargins{|\meta{left margin}|}{|\meta{right margin}|}|
+% \end{quote}
+%
+% |*|-форма команды, |\setfloatmargins*|, определяет оформление для разворота: внутреннее и
+% внешнее поля.
+% \begin{quote}
+% |\setfloatmargins*{|\meta{inside margin}|}{|\meta{outside margin}|}|
+% \end{quote}
+%
+% Вы можете сделать ещё более сложное определение:
+% \begin{quote}\leftmargin0pt
+% |\DeclareObjectSet{facingrule}{%|
+% |\setfloatmargins*{%|\\
+% | \floatfacing{\hskip-12pt\vrule width4pt\hskip8pt\hfill}%|\\
+% | {\hfill\hskip8pt\vrule width4pt\hskip-12pt}}{}}|
+% \end{quote}
+% Команда |\floatfacing| определяет следующее
+% \begin{quote}
+% |\floatfacing{|\meta{odd page definition}|}{|\meta{even page definition}|}|
+% \end{quote}
+% Эта макрокоманда также имеет |*|-форму |\floatfacing*|,
+% которой вы можете воспользоваться в опциях ключей для команды |\captionsetup|.
+%
+% Команда |\setfloatmargins| состоит из трёх макрокоманд, которые определяют
+% поля (выключку и другой материал) для трёх вариантов расположения флота:
+% \begin{Options}{\OptionLabel}
+% \item[\cmd{\floatboxmargins}]задаёт левое/правое поля для отдельного флота;
+% \item[\cmd{\floatrowmargins}]задаёт левое/правое поля для флотов рядом в окружении \env{floatrow};
+% \item[\cmd{\floatcapbesidemargins}]задаёт левое/правое поля для отдельного флота с подписью сбоку.
+% \end{Options}
+% Грамматика использования этих трёх команд такая же как и у
+% |\setfloatmargins|. Настройки, использующие команду |\floatfacing|
+% будут работать если включён ключ \texttt{facing=yes}.
+%
+% \emph{Замечание}. Пакет \pkg{floatrow} задаёт некоторые настройки оформления таблиц
+% для окружения \env{longtable},
+% поэтому вы можете задать параметры |\LTleft| и |\LTright| в команде |\DeclareMarginSet|.
+% Например, опция \texttt{centering} была определена следующим образом:
+% \begin{quote}
+% |\DeclareMarginSet{centering}{\setfloatmargins{\hfill}{\hfill}%|\\
+% | \LTleft=\fill \LTright=\fill}|
+% \end{quote}
+%
+% \subsubsection{Определение разделителей флотов}
+%
+% \DescribeMacro{\DeclareFloatSeparators}\label{decl:sep}%^^A
+% Вы можете определить разделитель между флотами рядом (в окружении \env{floatrow})
+% или между флотом и подписью сбоку, пример разделителя:
+% \begin{quote}
+% |\DeclareFloatSeparators{columnsep}{\hskip\columnsep}|
+% \end{quote}
+% или более сложный, с использованием пакета \pkg{color} и макрокоманды |\floatfacing|
+% (не забудьте также ключ \texttt{facing=yes}):
+% \begin{quote}
+% |\DeclareFloatSeparators{colorsep}%|\\
+% | {\begingroup\color{blue}%|\\
+% | \floatfacing{\hskip14pt\vrule width1.8pt\hskip2pt}%|\\
+% | {\hskip2pt\vrule width1.8pt\hskip14pt}%|\\
+% | \endgroup}|
+% \end{quote}
+%
+% Вы можете использовать заданные опции в ключах \texttt{floatrowsep=} и
+% \texttt{capbesidesep=}\footnote{Вы можете воспользоваться опциями, заданными
+% \cmd{\DeclareCaptionLabelSeparator} "--- командой из \pkg{caption}.}.\par\strut\par\kern-\baselineskip
+%
+% \subsubsection{Шрифт содержимого объекта}
+%
+% \DescribeMacro{\DeclareFloatFont}
+% Этой макрокомандой вы можете определить новую опцию
+% для шрифта (ключ \texttt{font=}) содержимого объекта. Эта макрокоманда работает
+% также как |\DeclareCaptionFont| из пакета \pkg{caption}. (Вы можете также
+% воспользоваться опциями, заданными в команде |\DeclareCaptionFont|.)
+%
+% \subsubsection{Определение линейки для сносок}
+%
+% \DescribeMacro{\DeclareFloatFootnoterule}
+% Вы можете определить новую линейку для сноски (ключ \texttt{footnoterule=}) следующим образом:
+% \begin{quote}
+% |\DeclareFloatFootnoterule{fullsize}{%|\\
+% | \kern-3\p@|\\
+% | \hrule \@width\hsize\kern 2.6\p@}|
+% \end{quote}
+% Помните, что суммарный вертикальный пробел для линейки должен составлять~0pt.
+%\newpage
+% \section{Создание нового типа плавающих объектов (флотов)}
+%
+% \DescribeMacro{\DeclareNewFloatType}
+% Для создания нового типа флотов создана команда
+% |\DeclareNewFloatType|, которая также использует механизм
+% \meta{key}${}=\nobreak {}$\meta{value}:
+% \begin{quote}
+% |\DeclareNewFloatType{|\meta{type}|}{|\meta{options}|}|
+% \end{quote}
+% Аргумент \meta{type} включает имя нового окружения флота.\\
+% Аргумент \meta{options} может включать следующие ключи:
+%
+% \noindent
+% \DescribeMacro{placement=}
+% (размещение) опцией этого ключа может быть любая комбинация букв
+% \texttt{t}, \texttt{b}, \texttt{h}, и \texttt{p}, которые
+% определяют размещение данного типа флотов на странице
+% в случае, если не используется дополнительный аргумент в окружении.
+% (По умолчанию определено \texttt{placement=tbp}.)
+%
+% \noindent
+% \DescribeMacro{name=}
+% Определяет имя флота в нумерационном заголовке подписи.
+% (По умолчанию для нумерационного заголовка используется имя окружения.)
+%
+% \noindent
+% \DescribeMacro{fileext=}
+% Определяет расширение файла, где будет собираться список флотов.
+% (По умолчанию, подписи собираются в файле с расширением \texttt{lox}).
+%
+% \noindent
+% \DescribeMacro{within=}
+% Определяет раздел, внутри которого будет производиться перенумерация.
+% Если ключ отсутствует, задаётся сквозная нумерация по всему документу.
+%
+% \noindent
+% \DescribeMacro{relatedcapstyle=}
+% В пакете \pkg{float} команды \cmd{\newfloat}/\cmd{\restylefloat}
+% присоединяют специальный стиль подписи, связанный с данным стилем флота (см.
+% разд.~\ref{sec:floatst}). Если вы используете механизм |\DeclareNewFloatType|,
+% и имеется (вы создали с помощью |\captionsetup|) одноимённый, связанный,
+% стиль подписи, вы можете присоединить этот стиль с помощью ключа
+% \texttt{relatedcapstyle=yes}.
+% %^^A \begin{quote}
+% %^^A |\captionsetup[figure]{style=ruled}|
+% %^^A \end{quote}
+%
+% Команда |\DeclareNewFloatType| была использована для определения окружения \env{Example}
+% (см. с.~\pageref{exa1.1}). Она была задана следующим образом:
+% \begin{quote}
+% |\DeclareNewFloatType{Example}%|\\
+% | {placement=t,within=section,fileext=lox,|\\
+% | name=\CYRP\cyrr\cyri\cyrm\cyre\cyrr}}|
+% \end{quote}
+% Для русской документации пришлось в примере добавить ключ \texttt{name=}.
+%
+% \section{Заимствованный код}
+%
+% \subsection{Пакет \pkg{float}: совместимость}\label{sec:floatst}
+%
+% Пакет \pkg{floatrow} включает некоторые макрокоманды пакета \pkg{float} (версии
+% v1.3d, датированной 2001/11/08)
+% с необходимыми изменениями. Если вы загрузили пакет \pkg{float}
+% до \pkg{floatrow} выдаётся сообщение об ошибке.
+%
+% \emph{Замечание}.
+% Поскольку некоторые пакеты могут вызывать
+% пакет \pkg{float}\footnote{Мне известен пакет \pkg{algorithm}.}
+% пакет \pkg{floatrow} вводит некоторый код, который эмулирует
+% уже загруженный пакет \pkg{float} v1.3 и последующие запросы пакета игнорируются.
+% Это поможет избежать сообщений об ошибках,
+% если эти пакеты загружены \emph{после} \pkg{floatrow}.
+% Обратите внимание, что пакеты, загружающие пакет \pkg{float}, должны быть
+% загружены \emph{после} \pkg{floatrow}.
+%
+% Я надеюсь что старые документы будут работать с \pkg{floatrow}. Первое
+% ограничение или особенность "--- если вы не использовали команд |\restylefloat|
+% "--- все рисунки и таблицы будут выводиться в стиле \texttt{plain}
+% с подписями снизу. Другое ограничение "--- вы должны перенести все команды
+% |\newfloat|, |\floatstyle| и |\restylefloat| в преамбулу,
+% до команды |\begin{document}|. Команды |\newfloat|, |\floatstyle| и |\restylefloat|
+% устаревшие, хотя и поддерживаются\footnote{Всё же лучше заменить
+% их на команды \cmd{\floatsetup},
+% Пакет \pkg{floatrow} поддерживает старые команды, но не даёт гарантии.}. См. также
+% разд.~\ref{float-obs} о том как переводятся эти команды в команду |\floatsetup|.
+%
+% Разделы, помеченные текстом <<[\pkg{float}]>>, были заимствованы из документации пакета
+% \pkg{float}\footnote{Настоятельно рекомендуется читать эти разделы в оригинале.
+% За корректность перевода не ручаюсь.}.
+%
+% \subsubsection{Интерфейс пользователя "--- новые плавающие объекты (флоты) [\pkg{float}]}\label{sec:floatborrowI}
+%
+% \DescribeMacro{\newfloat}
+% Самой важной командой в пакете \pkg{float}
+% является команда |\newfloat|\footnote{Она дублируется командой \cmd{\DeclareNewFloatType}.}.
+% Она сделана по образцу
+% |\newtheorem|. Команда |\newfloat| имеет три основных и один дополнительный
+% аргумент; форма задания:
+% \begin{quote}
+% \hspace*{\MacroIndent}|\newfloat{|\meta{type}|}{|^^A
+% \meta{placement}|}{|\meta{ext}|}[|\meta{within}{\tt]}
+% \end{quote}
+% \begin{itemize}
+% \item \marg{type} задаёт тип нового класса флотов, таких как
+% \texttt{program} (программа) или \texttt{algorithm} (алгоритм). Определив эти слова в аргументе
+% |\newfloat|, вы можете задать команды, как |\begin{program}| или |\end{algorithm*}|.
+% \item \marg{placement} задаёт размещение по умолчанию
+% для данного класса флотов. Параметры те же самые,
+% что и в стандартном \LaTeX'е, например, \texttt{t}, \texttt{b},
+% \texttt{p} и \texttt{h} для `top' (вверху), `bottom' (внизу), `page' (отдельная страницы) и `here' (здесь),
+% соответственно.
+% \item \marg{ext}. Когда \LaTeX\ записывает подписи во вспомогательный файл
+% для списка рисунков (или любого другого флота), он использует имя рабочего файла (документа)
+% с расширением \marg{ext} как имя файла.
+% \item \oarg{within}. Наконец, дополнительный
+% аргумент \meta{within} определяет будут ли плавающие объекты данного класса нумероваться
+% внутри указанного раздела документа. Например,
+% если \oarg{within}${}={}$\texttt{chapter}, флоты будут перенумеровываться
+% по главам. (В стандартном \LaTeX'е, это задано для рисунков и таблиц
+% в классах документов \cls{report} и \cls{book}.) Как
+% пример, программа~\ref{prog1.1} была создана командной последовательностью
+% похожей на продемонстрированную в следующем
+% примере\footnote{Настройки для этого окружения примера
+% были созданы командой \cmd{\DeclareNewFloatType}.}.
+% \end{itemize}
+% \emph{Floatrow замечание.}
+% Также создана команда-пара |\newfloat*|, которая работает аналогично команде
+% |\restylefloat*| (см. ниже).
+% \begin{Program}
+%\begin{verbatim}
+%#include <stdio.h>
+%
+%int main(int argc, char **argv) {
+% int i;
+% for (i = 0; i < argc; ++i)
+% printf("argv[%d] = %s\n", i, argv[i]);
+% return 0;
+%}
+%\end{verbatim}
+% \caption{Первая программа. Она ничего не делает в пакете,
+% просто включена в него как пример.
+% Обратите внимание на стиль \texttt{ruled}%
+% \label{prog1.1}}
+% \end{Program}
+% \begin{Example}[H]
+% \begin{verse}
+% |\floatstyle{ruled}|\\
+% |\newfloat{Program}{tbp}{lop}[section]|\\
+% |\floatname{Program}{\CYRP\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra}|\\
+% \dots\ loads o' stuff \dots\\
+% |\begin{Program}|\\
+% |\begin{verbatim}|\\
+% \dots\ program text \dots\\
+% |\end{verbatim}|\\
+% |\caption{|\dots\ caption \dots|}|\\
+% |\end{Program}|
+% \end{verse}
+% \caption{Это ещё один простенький плавающий пример. Исключая
+% то, что он плавает, так как использует параметр {\tt[H]}, чтобы
+% появиться \textbf{Здесь}. (Обратите внимание, что в примере настроек программы определено
+% имя флота для нумерационного заголовка подписи.)}\label{exa1.1}
+% \end{Example}
+%
+% \DescribeMacro{\floatstyle}
+% Команда |\floatstyle| определяет стиль флота по
+% умолчанию. Этот стиль будет использоваться для всех типов флотов
+% которые впоследствии будут определены в команде |\newfloat|, до появления другой
+% команды |\floatstyle|. Команда |\floatstyle| имеет один аргумент,
+% имя стиля флота. Например,
+% |\floatstyle{ruled}|. Указание названия несуществующего стиля приведёт к ошибке.
+%
+% \DescribeMacro{\floatname}
+% Команда |\floatname| позволяет вам определить
+% \emph{имя флота}, которое \LaTeX\ использует в подписи флота,
+% например, `Figure' для окружения рисунков и тому подобное. Например,
+% |\floatname{program}{Program}| (или |\floatname|\nobreak\hfil|{Program}|\allowbreak\hfil
+% |{\CYRP\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra}|).\allowbreak{} Команда |\newfloat| определяет
+% имя флота по аргументу определяющему имя окружения (\meta{type}) если не было
+% определено другого имени до этого.
+%
+% \DescribeMacro{\floatplacement}
+% Команда |\floatplacement| переопределяет
+% размещения флота по умолчанию для данного класса флотов. Например,
+% |\floatplacement{figure}{tp}|.
+%
+% \DescribeMacro{\restylefloat}\nopagebreak
+% Команда |\restylefloat| необходима для
+% изменения стиля для стандартных типов флотов
+% \texttt{figure} и \texttt{table}. Так как они не определяются
+% через команду |\newfloat|, они не имеют стиля, связанного с ними.
+% Поэтому вы должны задать, например,
+% \begin{quote}
+% \hspace*{\MacroIndent}|\floatstyle{ruled}|\\
+% \hspace*{\MacroIndent}|\restylefloat{table}|
+% \end{quote}
+% чтобы получить таблицы в стиле \texttt{ruled}. Команда также позволяет
+% изменить стиль флота, определённого командой |\newfloat|, хотя
+% это, по типографским правилам, не лучшая идея. См.
+% табл.~\ref{table1} для примера\footnote{В пакете \pkg{float}
+% создан специальный стиль подписи с полужирным нумерационным заголовком для стиля \texttt{boxed}.
+% Обратите внимание, что стили флота \texttt{plain} и \texttt{boxed}
+% не имеют специальных настроек в пакете \pkg{caption} 3.x.
+% Для эмуляции стиля \texttt{boxed} из документации пакета \pkg{float} были:
+% отменены все специальные установки для таблиц, и восстановлено двоеточие
+% как разделитель после нумерационного заголовка.}. Существует команда |\restylefloat*|,
+% которая переопределяет стиль флота, но не затрагивает стиля подписи.
+% В этом случае пользователь сам отвечает за создание оформления подписей.
+% \DeleteShortVerb{\|}
+% %^^AEmulation of float's documentation settings
+% %^^A\floatstyle{boxed}
+% %^^A\restylefloat{table}
+% \begingroup
+% \clearcaptionsetup{table}
+% \captionsetup{labelsep=default,labelfont=bf}
+% \floatsetup[table]{style=boxed}
+% \begin{table} \def\B#1{$\displaystyle{n\choose#1}$}
+% \begin{center} \begin{tabular}{c|cccccccc}
+% $n$&\B0&\B1&\B2&\B3&\B4&\B5&\B6&\B7\\ \hline
+% 0 & 1\\
+% 1 & 1&1\\
+% 2 & 1&2&1\\
+% 3 & 1&3&3&1\\
+% 4 & 1&4&6&4&1\\
+% 5 & 1&5&10&10&5&1\\
+% 6 & 1&6&15&20&15&6&1\\
+% 7 & 1&7&21&35&35&21&7&1
+% \end{tabular} \end{center}
+% \caption{Треугольник Паскаля. Это переоформленное окружение \LaTeX'а \texttt{table}.%^^A
+% \label{table1}}
+% \end{table}
+% \endgroup
+% \MakeShortVerb{\|}
+%
+% \subsubsection{Как макрокоманды из пакета \pkg{float}
+% работают в \pkg{floatrow}}\label{float-obs}
+%
+% Комбинация команды |\floatstyle|\marg{style} и любой из
+% \cmd{\newfloat}\marg{float} или
+% \cmd{\restylefloat}\marg{float} означает в пакете \pkg{floatrow}
+% определение стиля флота следующим образом:
+% \begin{quote}
+% |\floatsetup|\oarg{float}|{style=|\meta{style}|}|
+% \end{quote}
+% Обратите внимание, что одноимённые ключи из |\floatsetup|\oarg{float}|{...}|
+% перепишут настройки из общей команды |\floatsetup{...}|. Это означает,
+% если вы задали оформление, используя эти устаревшие команды, дальнейшую
+% настройку оформления вы должны делать с помощью |\floatsetup|\oarg{float}|{...}|.
+%
+% \subsubsection{Печать списка плавающих объектов (флотов) [\pkg{float}]}\label{sec:floatborrowIa}
+%
+% \nobreak\DescribeMacro{\listof}
+% \nopagebreak
+% Команда |\listof| создаёт список всех флотов данного
+% класса. Её синтаксис\\[2pt]
+% \hspace*{\MacroIndent}|\listof{|\meta{type}|}{|\meta{title}^^A
+% |}|\\[2pt]
+% \meta{type} это тип флота, заданный командой |\newfloat|.
+% \meta{title} задаёт заголовок списка флотов и колонтитулы
+% если стиль страницы задаёт их. В противном случае, команда
+% |\listof| работает аналогично встроенным командам \LaTeX'а
+% |\listoffigures| и |\listoftables|.
+%
+% \subsubsection{Пользовательский интерфейс "--- указатель
+% размещения флота \texttt{[H]} [\pkg{float}]}\label{sec:floatborrowII}
+%
+% Многие находят набор указателей размещения флотов в \LaTeX'е
+% ограниченным. Commonly Uttered Complaint (CUC) призвала найти путь
+% поместить флот точно в то место, где он появляется в исходном файле,
+% иными словами не делать плавающим его вообще. С первого взгляда указатель
+% \texttt{[h]} должен делать это, но фактически он только предлагает
+% \LaTeX'у <<поместить здесь если получится>>.
+% На самом деле \LaTeX\ едва склонен в действительности
+% делать это. (Эта ситуация может быть исправлена только хитроумными
+% манипуляциями параметров флота.)
+%
+% Тот же эффект может быть достигнут изменением метода
+% размещения флотов. Опция \pkg{here} (David Carlisle) предлагает
+% новый указатель размещения флота, названный \texttt{[H]}, который, при
+% добавлении в опции флота, говорит \LaTeX'у <<поставить ЗДЕСЬ, точка>>. Если
+% места на странице недостаточно, флот переносится на другую страницу
+% вместе с последующим текстом, даже в случае, если этот текст
+% мог бы там разместиться. Пакет поддерживает эту опцию, указатель
+% \texttt{[H]}, как для новых классов флотов так и для
+% предопределённых \texttt{figure} и \texttt{table}, вместо
+% \pkg{here}. David предполагает, что пакет \pkg{here}
+% может быть со временем удалён из архивов.
+%
+% Указатель {\tt[H]} может быть просто добавлен к флоту
+% как опция, как другие указатели. Он \emph{не}
+% может быть использован совместно с другими указателями, поэтому
+% {\tt[Hhtbp]} неверно. Также он не может быть использован как параметр по умолчанию
+% для класса флотов. Следующая таблица
+% определена следующим образом:
+% \begin{verse}
+% |\begin{table}[H]| \\*
+% |\begin{tabular}{cl}|\\
+% |\tt t & Top of the page\\|\\*
+% \dots\ more stuff \dots\\
+% |\end{tabular}|
+% \end{verse}
+% (Кажется мне пришлось добавить здесь немного ненужной болтовни
+% чтобы флот был помещён точно посередине страницы.
+% Когда я обрабатывал документацию \LaTeX'ом\footnote{Пакета \pkg{float}.}
+% обнаружилось что разрыв страницы приходится между строкой
+% <<Итак теперь>> и флотом. Это ничего не доказывает.
+% Bother.) Итак теперь мы имеем следующие указатели размещения
+% флота:
+% \begin{table}[H]
+% \begin{tabular}{cl}
+% \tt t & Top of the page\\
+% \tt b & Bottom of the page\\
+% \tt p & Page of floats\\
+% \tt h & Here, if possible\\
+% \tt H & Here, definitely
+% \end{tabular}
+% ^^A\caption{Could it be that this just needs a caption?}
+% \end{table}
+%
+% \subsection{Пакет \pkg{rotfloat}}
+%
+% Код пакета \pkg{rotfloat} был также позаимствован пакетом \pkg{floatrow}.
+% Если пакет \pkg{rotfloat} был загружен до \pkg{floatrow}, вы получите сообщение об ошибке.
+%
+% Пакет \pkg{floatrow} вводит код, который эмулирует уже загруженный пакет
+% \pkg{rotfloat} и последующая его загрузка игнорируется.
+% Пакет \pkg{rotfloat} построен таким образом, что может быть
+% загружен в одной строке \verb|\usepackage| вместе с пакетом \pkg{rotating}, который может иметь опции.
+% Необходимо также удалить пакет \pkg{rotfloat} из строки \verb|\usepackage|, где
+% задан пакет \pkg{rotating} с опциями: в противном случае
+% вы получите сообщение об ошибке со словами `option clash'.
+%
+% \section{Макрокоманды для построения флотов}
+%
+% \subsection{Макрокоманда Floatbox}\label{sec:floatbox}
+%
+% Данный пакет предлагает макрокоманду, которая создаёт необходимое размещение
+% компонентов содержимого и подписи плавающего объекта (см. также введение).
+% Эта макрокоманда выглядит следующим образом:
+% \begin{quote}
+% |\floatbox[|\meta{preamble}|]{|\meta{captype}|}[|^^A
+% \meta{width}|][|\meta{height}|][|\meta{vert pos}|]|\\
+% | {|\meta{caption}|}{|\meta{object}|}|\footnote{Порядок обязательных
+% аргументов и их содержимое не имеет значения
+% для построения флота. Эта макрокоманда исторически требует
+% два обязательных аргумента, но они могут быть заполнены как угодно.}
+% \end{quote}
+% где\label{floatboxsets}:
+% \begin{description}\itemsep0pt
+% \item[\meta{preamble}]здесь могут быть такие команды, как |\capbeside|, которая
+% размещает подписи сбоку объекта; |\nocapbeside|
+% (размещает подписи сверху/снизу, в зависимости
+% от настроек стиля); или другая повторяющаяся команда
+% (даже возможно использование |\captionsetup| и |\thisfloatsetup| "--- см.
+% примеры в документации и приложении).
+% \item[\meta{captype}]тип флота, для которого строится оформление;
+% \item[\meta{width}]ширина флота
+% (если подпись сверху или снизу объекта),
+% или ширина объекта (если подпись сбоку).
+% Команда |\FBwidth| в аргументе \meta{width}
+% позволяет использовать натуральную ширину объекта.\par
+% \emph{Замечание}. Если вы используете \verb|\FBwidth| в аргументе \meta{width},
+% вы должны быть уверены, что содержимое объекта может быть помещено внутри |\hbox|
+% (вы можете воспользоваться командой |\vspace| в начале
+% и/или в конце содержимого объекта для корректировки вертикальных
+% отбивок);
+% \item[\meta{height}]высота флота
+% (если подпись сверху или снизу),
+% или высота объекта (если подпись сбоку);
+% \item[\meta{vert pos}]вертикальное выравнивание содержимого объекта в боксе
+% в случае, если аргумент \meta{height} имеет б\'ольшую величину чем заданная высота объекта,
+% или флот помещён в ряд в окружении \env{floatrow}.
+% \item[\meta{caption}]подпись и экспликации (вы можете использовать команду |\floatfoot|
+% (см.~с.~\pageref{subsec:floatfoot}); вы можете использовать команды
+% |\footnote|/\allowbreak|\mpfootnotemark|/\allowbreak|\footnotetext| для сносок внутри флота, или команду |\floatfoot|;
+% \item[\meta{object}]содержимое флота; вы также можете использовать команды
+% |\footnote|/\allowbreak|\mpfootnotemark|/\allowbreak|\footnotetext| или |\floatfoot|.
+% \end{description}
+%
+% \begingroup
+% Первый простейший пример:
+%\begin{verbatim}
+%\begin{figure}
+%\floatbox{figure}[4cm]
+%{\caption{Простой пример ...}}%
+%\label{fig:WcatI}}
+%{\input{TheCat.picture}}
+%\end{figure}
+%\end{verbatim}
+% создал картинку на рис.~\ref{fig:WcatI}.\pagebreak[3]
+% \begin{figure}
+% \floatbox{figure}[4cm]
+% {\caption{Простой пример использования команды \cmd{\floatbox}}%
+% \label{fig:WcatI}}
+% {\unitlength1.28\unitlength\input{TheCat.picture}}
+% \end{figure}%
+% \endgroup
+%
+% Но более актуальный вариант использования команды |\floatbox| "--- поместить
+% табличный заголовок \emph{над} таблицей и задать ширину заголовка равной ширине
+% таблицы. Расположение заголовка определяется в преамбуле документа командой
+% |\floatsetup[table]{style=Plaintop}|
+%\begin{verbatim}
+%\begin{table}
+%\floatbox{table}[\FBwidth] {\caption{Simple tabular in
+%\cmd{\floatbox}
+% with caption above}\label{tab:tabII}}
+%{\begin{tabular}{|l|c|c|}
+% \hline
+% Column head & Data I & Data II \\
+% \hline
+% First row & 1 & 2 \\
+%...
+% \hline
+%\end{tabular}}
+%\end{table}
+%\end{verbatim}
+% \DeleteShortVerb{\|}%
+% \begin{table}
+% \floatbox{table}[\FBwidth]
+% {\caption{Простая таблица с заголовком
+% сверху}\label{tab:tabII}}
+% {\begin{tabular}{|l|c|c|}
+% \hline
+% \thead{Column head} & \thead{Data I} & \thead{Data II} \\
+% \hline
+% First row & 1 & 2 \\
+% Second row & 3 & 4 \\
+% Third row & 6 & 8 \\
+% Fourth row & \llap{1}0 & \llap{1}6 \\
+% \hline
+% \end{tabular}}
+% \end{table}%
+% \MakeShortVerb{\|}%
+% как показано в табл.~\ref{tab:tabII}. Для задания ширины заголовка (или всего бокса
+% плавающего объекта) равной ширине окружения \env{tabular} была использована команда |\FBwidth|
+% в аргументе \meta{width}.
+%
+% Следующий пример показывает окружение \env{figure} где подпись задана сбоку.
+% В этом примере используются команды |\capbeside|, в аргументе \meta{preamble},
+% и |\FBwidth|, в аргументе \meta{width}. Подпись занимает
+% оставшееся место в боксе шириной |\hsize| (в данном примере ширина бокса равна
+% ширине основного текста "---|\textwidth|).
+%
+%\begin{verbatim}
+%\begin{figure}
+%\floatbox[\capbeside]{figure}[\FBwidth]
+% {\caption[Beside caption]{Beside caption ...}\label{...}}
+% {...}
+%\end{figure}
+%\end{verbatim}
+% \begin{figure}[h]
+% \floatbox[\capbeside]{figure}[\FBwidth]
+% {\caption[Подпись сбоку]{Подпись сбоку and more text
+% and some more text and a bit more text and
+% a little more text and a little peace of text to fill
+% space}\label{fig:beside:mouse}}
+% {{\setlength\unitlength{4cm/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{Mouse.picture}}}
+% \end{figure}
+%
+% Ширина подписи сбоку и объекта по умолчанию равна одной
+% <<колонке>>, иными словами половине ширины текущего значения |\hsize| (рис.~\ref{intro:beside}) исключая
+% поля вокруг бокса и разделитель между объектом и подписью. (См. также другие
+% примеры с подписью сбоку в приложении, с.~\pageref{fig:Idog:w}.)
+%
+%
+% \subsubsection{Пользовательские команды для флотов}
+%
+% Использование команды |\floatbox| иногда получается очень сложным.
+% Вы можете определить пользовательские команды для ваших целей
+% и определить там необходимые настройки.
+%
+% Определение пользовательской команды выглядит следующим образом:
+% \begin{quote}
+% |\newfloatcommand|\marg{command}%^^A\\\strut\qquad
+% \marg{captype}\oarg{preamble}\oarg{default width}
+% \end{quote}
+% где:
+% \begin{description}
+% \item[\meta{command}]команда пользователя (без обратного слэша);
+% \item[\meta{captype}]тип флота, для которого создаётся команда;
+% \item[\meta{preamble}]
+% вы можете использовать команды, перечисленные на с.~\pageref{floatboxsets}
+% и другие команды оформления, как показано в примерах;
+% вы можете попробовать использовать некоторые другие повторяющиеся
+% команды (например, |\captionsetup| или |\thisfloatsetup|);
+% \item[\meta{default width}]здесь вы можете определить любую величину, типа |6cm|
+% или |.75\textwidth|\footnote{Есть также возможность установить постоянную ширину
+% для данного типа флота, используя ключ \texttt{floatwidth=}
+% в команде \cmd{\floatsetup}.}; если вы зададите команду |\FBwidth|
+% ширина флота (если подпись
+% сверху или снизу "--- должна быть определена
+% |\nocapbeside| в \meta{preamble}) или ширина объекта (если подпись
+% стоит сбоку "--- команда |\capbeside| в \meta{preamble}) будет
+% равна ширине содержимого плавающего объекта.
+% \end{description}
+%
+% Уже определены следующие пользовательские команды:\label{abbrcom}
+% \begin{quote}
+% |\newfloatcommand{ffigbox}{figure}[\nocapbeside]|\\*
+% |\newfloatcommand{fcapside}{figure}[\capbeside]|\\*
+% |\newfloatcommand{ttabbox}{table}[\captop][\FBwidth]|
+% \end{quote}
+% Первые две определены для рисунков, а последняя "--- для таблицы. Вы можете
+% переопределить эти команды, используя команду |\renewfloatcommand| (она использует те же
+% аргументы, как и |\newfloatcommand|).
+%
+%
+% \subsection{Помещение флотов рядом}\label{sec:floatrow}
+%
+% Если вам нужно поместить два или более флотов рядом, вы
+% можете воспользоваться окружением \env{floatrow}.
+%
+% Это окружение выглядит следующим образом:
+% \begin{quote}
+% |\begin{floatrow}[|\meta{number of beside floats}|]|\\
+% |\floatbox...|\\
+% |...|\\
+% |\floatbox...|\\
+% |...|\\
+% |\end{floatrow}|
+% \end{quote}
+%
+% И теперь пример. Первый флот (в |\ffigbox|) имеет ширину по умолчанию, равную <<колонке>>.
+% ряда, следующий использует ширину включённой графики (использована команда
+% |\FBwidth| в дополнительном аргументе \meta{width}), третий занимает оставшееся место в ряду
+% которое подсчитывается командой |\Xhsize|.
+%
+% \emph{Замечание}. Обычно команда |\Xhsize| используется для последнего флота в ряду. Но
+% если вы используете пакет \pkg{calc} вы можете попытаться использовать |\Xhsize| раньше,
+% если известна \emph{абсолютная} величина ширины флотов по правую сторону,
+% или использовать в аргументе \meta{width} нечто вроде
+% |\Xhsize/2| а затем |\Xhsize| для последних двух боксов в
+% |\floatbox|, см. также примеры \file{frsample10}--\file{frsample12}, и файл \file{fr-sample.tex}.
+%\begin{verbatim}
+%\begin{floatrow}[3]
+%\ffigbox
+%{\caption{Рисунок рядом~I...}...}
+%{...}
+%
+%\ffigbox[\FBwidth]
+%{\caption{Рисунок рядом~II...}...}
+%{...}
+%
+%\ffigbox[\Xhsize]
+%{\caption{Рисунок рядом~III...}...}
+%{...}
+%\end{floatrow}
+%\end{figure}
+%\end{verbatim}
+% \begin{figure}
+% \begin{floatrow}[3]
+% \ffigbox
+% {\caption{Рисунок рядом~I, ширина <<колонки>>}%
+% \label{fig:row:WcatI}}
+% {\unitlength1.25\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}}
+%
+% \ffigbox[\FBwidth]
+% {\caption{Рисунок рядом~II в окружении \env{floatrow}, ширина бокса равна ширине графики}%
+% \label{fig:row:BcatI}}
+% {\unitlength1.25\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheBlackCat.picture}}
+%
+% \ffigbox[\Xhsize]
+% {\caption{Рисунок рядом~III в \env{floatrow},
+% занимает остальное место в ряду}%
+% \label{fig:row:mouseI}}
+% {{\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{Mouse.picture}}}
+% \end{floatrow}
+% \end{figure}%
+% Результат вы видите в ряду
+% рисунков~\ref{fig:row:WcatI}--\ref{fig:row:mouseI}. Вертикальное выравнивание
+% флотов лежит по нижней линии верхней части (здесь: графики) и верху нижней части (подписи).
+%
+% \subsection{Сноски внутри окружения флота}\label{sec:floatfootnote}
+%
+% Иногда таблица или рисунок может содержать материал, который помечается
+% а снизу даётся объяснение в виде сноски. Пакет имеет механизм, позволяющий
+% размещение сносок внутри окружения флота, как это сделано
+% в окружении \env{minipage}.
+%
+% В тех случаях, когда несколько элементов
+% имеют одинаковую сноску, мы не можем воспользоваться стандартной
+% комбинацией |\footnotemark|---|\footnotetext|, потому что команда
+% |\footnotemark| создаёт знак для сноски основного текста.
+% Для этих случаев данный пакет предлагает макрокоманду |\mpfootnotemark|
+% вместо |\footnotemark|%
+% \footnote{Та же макрокоманда также определена в пакете \pkg{footmisc},
+% версия 4.10, датированная 2003/01/20.}.
+%
+% Макрокоманда |\floatbox| использует определение линейки для сноски
+% (команда |\FBfootnoterule|) и отбивку до сносок и экспликаций
+% (ключ |footskip=|). (См. также
+% с.~\pageref{sec:footnotestyle} о вариантах линейки для сносок.)
+%
+% \subsection{Макрокоманда для экспликаций}\label{subsec:floatfoot}
+%
+% Если таблица или рисунок имеют дополнительные объяснения
+% которые не должны быть в подписи и они не являются сноской
+% вы можете использовать команду |\floatfoot|. Команда |\floatfoot|
+% использует механизм оформления команд |\caption| и использует выключку, заданную для подписей;
+% |*|-форма (|\floatfoot*|) печатает содержимое в виде обычного абзаца без отступа
+% (см. табл.~\ref{tab:floatfoot}).
+%
+% Для определения шрифта для экспликаций используйте ключ \texttt{footfont=}
+% (с.~\pageref{sec:setfloatfoot}) в команде |\floatsetup|. Вы можете задать
+% дополнительные настройки оформления задав командную последовательность
+% \cmd{\captionsetup[floatfoot]}.
+%\begin{verbatim}
+%\begin{table}
+%\ttabbox
+%{\caption{Таблица с экспликацией}%
+%\label{tab:floatfoot}}
+%{\extrarowheight1pt
+% \tabcolsep2\tabcolsep
+% \begin{tabular}{|l|c|c|}
+% \hline
+% ...
+% \end{tabular}%
+% \floatfoot*{`Data I' column ...}}
+%\end{table}
+%\end{verbatim}
+% \DeleteShortVerb{\|}%
+% \begin{table}
+% \ttabbox
+% {\caption{Таблица с экспликацией}%^^A
+% \label{tab:floatfoot}}%^^A
+% {\extrarowheight1pt\tabcolsep2\tabcolsep
+% \begin{tabular}{|l|c|c|}
+% \hline
+% \thead{Column head} & \thead{Data I} & \thead{Data II} \\
+% \hline
+% First row & \phantom01 & 2 \\
+% Second row & \phantom06 & 4 \\
+% Third row & 28 & 8 \\
+% \hline
+% \end{tabular}%^^A
+% \floatfoot*{`Data I' column---numbers which equal to sum of all
+% their divisors; `Data II' column---$2^n$ values}}
+% \end{table}%
+% \MakeShortVerb{\|}%
+%
+% \emph{Замечания.} 1)\enskip Пакет \pkg{float} определяет дополнительный
+% аргумент после текста подписи. Поскольку эта возможность
+% не была документирована в части документации для пользователей
+% текущая версия пакета \pkg{caption} (3.0 и выше), а также пакет \pkg{floatrow},
+% не поддерживают эту возможность. Используйте команду |\floatfoot| и команды
+% |\footnote|/|\footnotemark|/|\footnotetext|.
+%
+% 2)\enskip Если вы используете одновременно команды |\floatfoot| и |\footnote|
+% внутри одного флота, содержимое команды |\floatfoot| появится над |\footnote|.
+%
+% 3)\enskip Сноски и экспликации могут быть размещены несколькими способами:
+% в самом низу флота, под подписью
+% (даже в случае подписи сверху). См. с.~\pageref{foot:pos}
+% и файл примера \file{frsample01.tex}. В случае подписи сбоку,
+% сноски и экспликации всегда помещаются под подписью.
+%
+%
+% \subsection{Корректировка вертикальных отбивок в флоте}\label{sec:FBabskips}
+%
+% В заключительном варианте документа вам возможно понадобится откорректировать
+% вертикальные отбивки между флотом и основным текстом, между содержимым объекта и
+% подписью.
+%
+% Для изменения отбивок между флотом и основным текстом вы можете
+% использовать две простые команды |\FBaskip| и |\FBbskip|. Например, определите
+% \begin{verse}
+% |\renewcommand\FBaskip{-4pt}|
+% \end{verse}
+% чтобы передвинуть флот вверх (или уменьшить отбивку сверху) на 4pt. В данном документе
+% команда |\FBaskip| понадобилась для корректировки положения некоторых рисунков в оборку.
+%
+% Используйте команду |\vspace| для корректировки отбивок вокруг содержимого
+% объекта\footnote{В простом окружении флота можно пользоваться и командой
+% \cmd{\vskip}. Но команды \cmd{\floatbox}
+% (сама \cmd{\floatbox}, \cmd{\ffigbox}\dots) в случае использования
+% в аргументе \meta{width} опции \cmd{\FBwidth}, выдадут сообщение об ошибке
+% если встретят команду \cmd{\vskip}.}.
+%
+% \subsection{Плавающие объекты как в обычном \LaTeX'е}
+%
+% Пакет \pkg{floatrow} переопределяет окружение флотов так, чтобы на выходе получалось
+% единообразное оформление всех флотов. Это накладывает некоторые ограничения на
+% запись флота в исходном файле, о которых, в частности, говорилось
+% во введении.
+% Если вам всё же нужно окружение, работающее как в обычном \LaTeX'е
+% поместите команду |\RawFloats| \emph{внутри} окружения:
+%\begin{verbatim}
+%\begingroup
+%\captionsetup[table]{position=top}
+%\begin{figure}\RawFloats
+%\begin{minipage}{0.45\textwidth}
+%\centering ...
+%\caption{...}\label{...}
+%\end{minipage}
+%\begin{minipage}{0.45\textwidth}
+%\captionof{table}{...}\label{...}
+%\centering ...
+%\end{minipage}
+%\end{figure}
+%\endgroup
+%\end{verbatim}
+% и вы получите рис.~\ref{Right:expect:fig}
+% и табл.~\ref{Right:expect:tab}\footnote{Это будет работать, если вы
+% не используете необычного оформления.}.
+% \begingroup
+% \captionsetup[table]{position=top}
+% \begin{figure}\RawFloats
+% \begin{minipage}{0.45\textwidth}
+% \centering \input{Mouse.picture}
+% \caption{Подрисуночная подпись в обычном \LaTeX'е}\label{Right:expect:fig}
+% \end{minipage}
+% \begin{minipage}{0.45\textwidth}
+% \captionof{table}{Табличный заголовок в обычном \LaTeX'е}\label{Right:expect:tab}
+% \centering\tabcolsep3\tabcolsep \begin{tabular}{|c|c|} A & B \\ C & D \end{tabular}
+% \end{minipage}
+% \end{figure}
+% \endgroup
+%
+% Из приведённого ниже примера видно, что окружение \env{floatrow} и команды |\floatbox| всё равно
+% работают после |\RawFloats| (рис.~\ref{intro:leftfig:raw} и табл.~\ref{intro:righttab:raw})
+%\begin{verbatim}
+%\begin{figure}\RawFloats\CenterFloatBoxes
+% \begin{floatrow}
+% \floatbox{figure}
+% {...}{\caption{...}\label{...}}
+%
+% \floatbox{table}[\FBwidth]
+% {...}{\caption{...}\label{...}}
+% \end{floatrow}
+%\end{figure}
+%\end{verbatim}
+% \begin{figure}\RawFloats\CenterFloatBoxes
+% \begin{floatrow}
+% \floatbox{figure}
+% {\input{Mouse.picture}}
+% {\caption{Подрисуночная подпись внутри \cmd{\floatbox} в обычном \LaTeX'е}%
+% \label{intro:leftfig:raw}}%
+%
+% \floatbox{table}[\FBwidth]
+% {\caption{Табличный заголовок внутри \cmd{\floatbox} в обычном \LaTeX'е}\label{intro:righttab:raw}}
+% {\tabcolsep3\tabcolsep\begin{tabular}{|c|c|} A & B \\ C & D \end{tabular}}
+% \end{floatrow}
+% \end{figure}%^^A
+% См. также с.~\pageref{mixrow} о том как задать и выровнять различные типы флотов
+% как рис.~\ref{intro:leftfig:raw} и табл.~\ref{intro:righttab:raw} в одном ряду
+% (окружении \env{floatrow}).
+%
+%
+% \section{Тандемы стилей}
+%
+% Несколько следующих разделов показывают примеры и объясняют некоторые
+% замеченные особенности с использованием пакета \pkg{floatrow} вместе с другими
+% пакетами. Это не полный список таких пакетов. Возможно совмещение и
+% с другими версиями указанных пакетов, и с неуказанными пакетами тоже.
+%
+% \subsection{Пакет \pkg{caption}}
+%
+% Тестировалось с версиями v3.0a--v3.0g.
+%
+% Пакет \pkg{caption} обладает сильным механизмом создания оформления
+% подписей, поэтому \pkg{floatrow} адресует создание новых стилей
+% для подписей этому пакету (см. документацию для пакета \pkg{caption}).
+%
+% Пакет \pkg{floatrow} добавляет возможность создать варианты оформления подписей
+% для флотов с различным размещением (например для флотов вразрез двух колонок или широких флотов,
+% или развёрнутых вертикально флотов) за счёт использования дополнительного аргумента в команде
+% |\captionsetup|.
+%
+% Например вы желаете создать специальное оформление для подписи под широким флотом или
+% флотом вразрез двух колонок. В этом случае вы можете использовать
+% \begin{quote}
+% |\captionsetup[widefloat]|\marg{options}
+% \end{quote}
+% или, для широких или рисунков вразрез двух колонок:
+% \begin{quote}
+% |\captionsetup[widefigure]|\marg{options}
+% \end{quote}
+% Приоритет опций в команде |\captionsetup| такой же, как в опциях команды
+% |\floatsetup|. В приведённых примерах настройки |\captionsetup[widefigure]|
+% будут сильнее, чем |\captionsetup[widefloat]|. Приоритет и использование
+% <<\meta{float subtype}>> в дополнительных аргументах
+% см. на с.~\pageref{stsetorder}\label{cap:beside:order}.
+%
+%
+% \subsection{Пакет \pkg{subfig}}
+%
+% Тестировалось с версиями 1.2, датированной 2003/12/20 и 1.3 датированной 2005/06/28.\nopagebreak
+%
+% Пример с \cmd{\subfloat}'ами (табл.~\ref{tab:tabIII}). Команда
+% настройки оформления в преамбуле, |\floatsetup[table]{style=Plaintop}|,
+% включает также настройки для положения подподписей, задаваемых пакетом
+% \pkg{subfloat} (аналогично |\captionsetup[table]{position=top}| в пакете
+% \pkg{caption}):
+%\begin{verbatim}
+%\begin{table}\extrarowheight1pt
+% \floatbox{table}[\FBwidth]
+% {\caption{Two ...}\label{...}}
+% {\begin{subfloatrow}
+% \subfloat[First table]
+% {\begin{tabular}{|l|c|c|}
+% ...
+% \end{tabular}}
+% \subfloat[Second table]
+% {\begin{tabular}{|l|c|c|}
+% ...
+% \end{tabular}%
+% \end{subfloatrow}}}
+%\end{table}
+%\end{verbatim}
+% \DeleteShortVerb{\|}%
+% \captionsetup[subtable]{textfont=md}
+% \begin{table}[h]\extrarowheight1pt
+% \floatbox{table}[\FBwidth]
+% {\caption{Две подтаблицы (\cmd{\subtable})
+% (созданные с пакетом \pkg{subfig})}\label{tab:tabIII}}
+% {\begin{subfloatrow}
+% \subfloat[Первая подтаблица]
+% {\begin{tabular}{|l|>{\phantom0}c|>{\phantom0}c|}
+% \hline
+% \multirowthead{2}[-1ex]{Left Column Head}
+% & \multicolumn{2}{c|}{\thead{Data}} \\
+% \cline{2-3}
+% & \multicolumn{1}{c|}{\thead{I}}
+% & \multicolumn{1}{c|}{\thead{II}}
+% \\\hline
+% First row & 1 & 2 \\
+% Second row & 3 & 4 \\
+% Third row & 6 & 8 \\
+% Fourth row & \llap{1}0 & \llap{1}6 \\
+% \hline
+% \end{tabular}}
+%
+% \subfloat[Вторая подтаблица with long long long subcaption]
+% {\begin{tabular}{|l|c|c|}
+% \hline
+% \multirowthead{2}[-1ex]{Column Head}
+% & \multicolumn{2}{c|}{\thead{Data}} \\
+% \cline{2-3}
+% & \multicolumn{1}{c|}{\thead{I}}
+% & \multicolumn{1}{c|}{\thead{II}}
+% \\\hline
+% First row & \phantom01 & \phantom02 \\
+% Second row & \phantom03 & \phantom04 \\
+% Third row & \phantom06 & \phantom08 \\
+% %^^A Fourth row & 10 & 16 \\
+% \hline
+% \end{tabular}}%
+% \end{subfloatrow}}
+% \end{table}%
+% \MakeShortVerb{\|}%
+%
+% \emph{Замечание.} В данном примере было использовано окружение \env{subfloatrow}.
+% Это упрощённый вариант окружения \env{floatrow}, который
+% распространяет вертикальное выравнивание содержимого объектов и подписей, а между подфлотами
+% создаёт разделитель, заданный
+% ключом \texttt{subfloatrowsep=}. Этот ключ использует те же опции, что и ключи
+% \texttt{floatrowsep=} и \texttt{capbesidesep=} (опции этих ключей
+% задаются командой |\DeclareFloatSeparators|,
+% с.~\pageref{decl:sep}).
+%
+%^^A To use \env{subfloatrow} environment load
+%^^A \pkg{fr-subfig}\footnote{This package could have only beta-status,
+%^^A because of it redefines two macros of \pkg{subfig} package for
+%^^A creation of subcaption and subfloat boxes.} package installed
+%^^A together with \pkg{floatrow}.\pagebreak[3]
+%
+% См. примеры с окружениями \env{subfloatrow} в файлах примеров
+% \file{frsample03.tex}, \file{frsample05.tex}; а также
+% \file{frsample10.tex}--\file{frsample12.tex} где подфлоты
+% даны в различных оформлениях и размещениях.)
+%
+% Следующий пример с подписью сбоку(рис.~\ref{fig:subfig:catsI}).%^^A
+% \footnote{В версии 1.2 подобъекты рядом, один из которых помещён в \cmd{\fbox},
+% а другой "--- нет (как
+% рис.~\ref{fig:subfig:catsI}), и в других подобных ситуациях могут дать невыровненные по низу (верху)
+% подподписи. В данном примере (когда загружен пакет \pkg{pstricks}) при использовании версии
+% 1.2 пришлось задать следующие строки для подрисунка~\ref{subfig:b}:\\[2ex]\ttfamily
+% \cmd{\raisebox}\{\cmd{\depth}\}\{\cmd{\input}\{\texttt{TheBlackCat.picture}\}\}}
+%\begin{verbatim}
+%\floatsetup{style=Shadowbox,capbesidesep=columnsep,
+% capbesideframe=yes,capbesideposition={top,inside}}
+%\fcapside[\FBwidth]
+%{\begin{subfloatrow}
+% \subfloat[White ...]{...}
+% \subfloat[Black ...]{...}
+%\end{subfloatrow}}
+%{\caption{...}}
+%\end{verbatim}
+% \floatsetup[figure]{style=Shadowbox,capbesidesep=columnsep,capbesideframe=yes,
+% capbesideposition={top,inside}}
+% \begin{figure}[h]
+% \fcapside[\FBwidth]
+% {\begin{subfloatrow}
+% \subfloat[Белая кошка\label{subfig:w}]{\input{TheCat.picture}}
+%
+% \subfloat[Чёрный кот\label{subfig:b}]{\input{TheBlackCat.picture}}%
+% \end{subfloatrow}}
+% {\caption{Подпись сбоку выровненная по верху, оформление флота в стиле
+% \texttt{Shadowbox}}\label{fig:subfig:catsI}}
+% \end{figure}
+%
+%
+% \vfil\pagebreak[4]
+% \subsection{Пакет \pkg{wrapfig}}
+%
+% \begingroup
+% \def\FBaskip{-14pt}
+% \floatsetup[figure]{style=ruled,relatedcapstyle=yes,footposition=caption}
+% \begin{wrapfigure}[13]{O}{48mm}
+%^^A \ffigbox[40mm]
+% {\caption{Простой рисунок в оборку (пакет \pkg{wrapfig})}%
+% \floatfoot{Обычный рисунок может не получиться в версии
+% 3.3}\label{fig:wrapfig:WcatI}}
+% {\unitlength1.728\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}}
+% \end{wrapfigure}
+%
+% Тестировано с версией 3.3 датированной 1999/10/12 (стиль из группы пакетов \pkg{ltxmisc})
+% и версией 3.6 датированной 2003/01/31 (отдельный пакет).
+%
+% Аргументы при задании окружения (текст взят из комментариев к пакету):
+% \begin{quote}
+% |\begin{wrapfigure}%|\\*
+% \strut\quad\oarg{number}\marg{placement}|%|\\*
+% \strut\quad\oarg{overhang}\marg{width of figure}\\
+% |...|\\*
+% |\end{wrapfigure}|
+% \end{quote}
+% \meta{Placement} это может быть \texttt{r}, \texttt{l}, \texttt{i},
+% \texttt{o}, \texttt{R}, \texttt{L}, \texttt{I}, \texttt{O}, для
+% расположения справа, слева, к внутреннему полю, к внешнему полю. Строчные буквы задают неплавающее
+% размещение, прописные "--- плавающий вариант. Рисунок может выступать
+% в поле на величину \meta{overhang}, если она задана, или на величину заданную в параметре
+% |\wrapoverhang|, который обычно равен нулю. Параметр \meta{number} задаёт число
+% строк в оборку, которое обычно рассчитывается автоматически из высоты
+% рисунка, но может быть задан и вручную, например
+% \begin{quote}
+% |\begin{wrapfigure}[10]{r}[34pt]{5cm}|\\* \meta{figure}\\*
+% |\end{wrapfigure}|
+% \end{quote}
+% \endgroup
+%
+% \begingroup
+% \def\FBaskip{-14pt}
+% \floatsetup[figure]{style=BOXED,frameset={\fboxsep9pt}}
+% \begin{wrapfigure}{O}{0mm}
+% \ffigbox[48mm]
+% {\par{\setlength\unitlength{\hsize/64}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}}}
+% {\caption{Рисунок в оборку с командой \cmd{\ffigbox} (пакет \pkg{wrapfig})}%
+% \label{fig:wrapfig:WcatII}}
+% \end{wrapfigure}
+%
+% \emph{Замечание Floatrow.}
+% Для рисунка, помещённого в окружение \env{wrap...} вы должны задать
+% ширину в обязательном аргументе. Если вы зададите |0mm| как аргумент \marg{width of figure},
+% пакет \pkg{wrapfig} рассчитает ширину по натуральной ширине содержимого объекта.
+%
+% Иногда над (под) флотом в окружении \env{wrap...} может появиться нежелательный
+% пробел. Для корректировки вертикальной отбивки используйте определение команд |\FBaskip| и
+% |\FBbskip| (см. разд.~\ref{sec:FBabskips}).
+%
+% \emph{Специальные настройки}.
+%
+% Вы можете создать настройки для окружения \env{wrap...}, здесь
+% существуют следующие приоритеты
+% (обратите внимание, что вы можете задать и специальные настройки оформления подписей в команде |\captionsetup|.):
+% \begin{itemize}\itemsep0pt
+% \item %
+% если существуют настройки |\floatsetup[wrap|\meta{captype}|]{...}|
+% \pkg{floatrow} использует эти настройки "--- они <<сильнейшие>> настройки;
+% если они отсутствуют "--- использует настройки из следующего пункта;
+%^^A \end{itemize}
+%
+%^^A \begin{itemize}
+% \item
+% если существуют настройки |\floatsetup[wrapfloat]{...}|
+% \pkg{floatrow} использует эти настройки "--- эти настройки <<сильнее>> чем следующие;
+% если они отсутствуют "--- настройки данного типа флотов\\[\medskipamount]
+% |\floatsetup[|\meta{captype}|]{...}|\,;\\[\medskipamount]
+% если и они отсутствуют "--- настройки по умолчанию
+% (|\floatsetup{...}| или настройки пакета).
+% \end{itemize}
+%
+%
+% \emph{Обнаруженные ограничения}.
+%
+% Использование простого окружения в версии 3.3 не
+% даст правильного результата с текущей версией \pkg{floatrow} "---используйте |\floatbox|.
+% Версия 3.6 позволяет использование простых окружений \env{wrap...} со стилями \texttt{plain} (или
+% \texttt{ruled}), но
+% стили с рамками, как \texttt{Boxed} (где текст внутри рамки изменяет свою ширину под рамку, ширина которой равна
+% текущему значению |\hsize|)
+% может работать только с командой |\floatbox|, в противном случае вы получите некорректное
+% оформление и ширину флота.
+% \endgroup
+%
+% \begingroup
+% \floatsetup[figure]{style=WSHADOWBOX,captionskip=8pt}
+% \subsection{Пакет \pkg{floatflt}}
+%
+% \begin{floatingfigure}[v]{54mm}\def\FBaskip{-2.5pt}
+% \ffigbox[54mm]
+% {\setlength\unitlength{.85\hsize/60}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{BlackDog.picture}}
+% {\caption{\hyphenpenalty-100\pretolerance-1%
+% Рисунок в оборку внутри окружения \env{floating\-figure}
+% (\pkg{floatflt})}\label{fig:floatflt:WcatI}}
+% \end{floatingfigure}%\FBbuildtrue
+%
+% \noindent Тестировалось с версией v.1.3,
+% 1996/02/27.
+%
+% \emph{Обнаруженные ограничения} 1)\enskip У данного пакета нет поддержки
+% для создания нового окружения \env{floating...}. Но поскольку окружение \env{floatflt}
+% требует использование команд |\floatbox| в любом случае, вы можете
+% использовать как \env{floatingfigure} так и \env{floatingtable} и задавать необходимый
+% тип флота в аргументе команды |\floatbox| (или использовать соответствующую
+% пользовательскую команду, типа |\ffigbox|).
+%
+%
+% Следующие ограничения могут быть не связаны с пакетом \pkg{floatrow}.
+%
+% 2)\enskip Если вы поместите окружение \env{floatingfigure} сразу после команд
+% |\...section| вы должны (если вы не задаёте абзацного отступа после заголовков)
+% поставить |\noindent| в первом абзаце.
+%
+% 3)\enskip Окружения \env{floatflt} могут дать неверный результат с окружениями
+% перечней (\env{list}).
+%
+% 4)\enskip Чтобы получить корректную отбивку перед заголовком следующего раздела |\...section| вам
+% может быть придётся задать следующие команды;
+% |\makeatletter\@nobreakfalse\makeatother| (как было сделано в английской документации перед следующим разделом).
+%
+% \makeatletter\@nobreakfalse\makeatother
+%
+% \penalty-10000
+%
+% \subsection{Пакет \pkg{picins}}
+%
+% \floatsetup[figure]{style=ruled}
+%
+% \parpic[l]{{%\def\floatrowsep{}\let\FBiffloatrow\iftrue
+% \def\FBbskip{12pt}
+% \ffigbox[42mm]
+% {{\setlength\unitlength{18mm/61}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{BlackCat.picture}}}
+% {\caption{Рисунок в оборку (\cmd{\parpic});
+% \cmd{\floatbox}
+% с опцией \cmd{\FBwidth}}\label{fig:parpic:BcatI}}%
+% }}
+%
+% \noindent Тестировано с версией v\,3.0, 1999/10/12.
+%
+% Этот пакет создаёт рисунки внутри абзаца. Он предлагает
+% использование подписей с помощью команд |\piccaption|. Также он поддерживает настройки
+% пакета \pkg{caption}.
+%
+% В макрокоманде \cmd{\parpic} можно использовать макрокоманду |\floatbox| внутри обязательного
+% аргумента.
+%
+%^^A \emph{Founded limitations}.\nopagebreak
+%
+%^^A 1)\enskip In |\parpic| argument you ought to put before |\floatbox|
+%^^A following commands:\\[\medskipamount]
+%^^A |\def\floatrowsep{}|\allowbreak|\let\FBiffloatrow\iftrue|\\[\medskipamount]
+%^^A to get correct layout.
+%
+% Следующие ограничения могут быть не связаны с пакетом \pkg{floatrow}.
+%
+%^^A \floatsetup[figure]{style=DOUBLEBOX}
+%
+%^^A \parpic[r]{{%\def\floatrowsep{}\let\FBiffloatrow\iftrue
+%^^A \hsize36mm
+%^^A \ffigbox[\hsize]
+%^^A {{\setlength\unitlength{16mm/61}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+%^^A \input{BlackCat.picture}}}
+%^^A {\caption{Wrapped figure (\cmd{\parpic})}\label{fig:parpic:BcatII}}%
+%^^A }}
+%
+% 1)\enskip Если вы задаёте \cmd{\parpic} сразу после команды |\...section|
+% вам придётся (если вы отменяете абзацный отступ после заголовков) задать команду |\noindent|
+% для первого абзаца.
+%
+% 2)\enskip Вы можете попытаться использовать \cmd{\parpic} внутри окружения перечня,
+% но в некоторых случаях использование \cmd{\parpic} в окружении перечня
+% может дать неверный результат.
+%
+% 3)\enskip Этот пакет не имеет опции \meta{outside} или
+% \meta{inside}, как предыдущие два пакета (опция |[o]| означает
+% овальную рамку вокруг картинки), поэтому вы должны задавать горизонтальное расположение
+% вручную.
+%
+% \endgroup
+%
+% \subsection{Пакет \pkg{rotating} и окружение \env{sideways\ldots}}
+%
+% Тестировано с версией v2.13 датированной Sep. 1992.
+%
+% Далее идёт пример (рис.~\ref{fig:rot}) с развёрнутым вертикально флотом, использующим окружение
+% \env{sidewaysfigure}.
+%\begin{verbatim}
+%\floatsetup[figure]{style=WSHADOWBOX}
+%\begin{sidewaysfigure}\emptyfloatpage
+%\ffigbox[\FBwidth]
+%{\includegraphics[width=4in]{pslearn.eps}}
+%{\caption{Figure inside \env{sidewaysfigure} environment}%
+%\label{fig:rot}}
+%\end{sidewaysfigure}%
+%\end{verbatim}
+% \floatsetup[figure]{style=WSHADOWBOX}
+% \begin{sidewaysfigure}\emptyfloatpage
+% \ffigbox[\FBwidth] {\includegraphics[width=4in]{pslearn}}
+% {\caption{Рисунок развёрнутый вертикально внутри окружения \env{sidewaysfigure}}%
+% \label{fig:rot}}
+% \end{sidewaysfigure}%
+% %^^A For rotating floats on right side (like in
+% %^^A current documentation) put in preamble
+% %^^A \begin{quote}
+% %^^A |\usepackage[figuresright]{rotating}|
+% %^^A \end{quote}
+%
+%
+% \emph{Специальные настройки}.\nopagebreak
+%
+% Вы можете создать специальные настройки для всех флотов, развёрнутых вертикально, которые используют
+% окружение \env{sideways...} (см.~с.~\pageref{stsetorder}).
+%
+% Для одноколонного флота
+% \begin{itemize}
+% \item %
+% если существуют настройки |\floatsetup[rot|\meta{captype}|]{...}|
+% пакет использует эти настройки "--- <<сильнейшие>> настройки; если они отсутствуют "---
+% используются настройки из следующего пункта;
+% \item
+% если существуют настройки |\floatsetup[rotfloat]{...}|
+% пакет использует эти настройки "--- эти настройки <<сильнее>> чем следующие;
+% если они отсутствуют "--- настройки для данного типа флота
+% (|\floatsetup[|\meta{captype}|]{...}|);
+% если и они отсутствуют "--- используются настройки по умолчанию в команде
+% (|\floatsetup{...}| или настройки пакета).
+% \end{itemize}
+%
+% Для флота вразрез двух колонок или широкого флота (|*|-окружение)
+% \begin{itemize}
+% \item %
+% если существуют настройки |\floatsetup[widerot|\meta{captype}|]{...}|
+% пакет использует эти настройки "--- <<сильнейшие>> настройкиt;
+% если они отсутствуют "---используются настройки из следующего пункта;
+% \item %
+% если существуют настройки |\floatsetup[widerotfloat]{...}|
+% пакет использует эти настройки "--- эти настройки <<сильнее>> чем следующие;
+% если они отсутствуют "---используются настройки из следующего пункта;
+% \item %
+% если существуют настройки |\floatsetup[rot|\meta{captype}|]{...}|
+% пакет использует эти настройки "---эти настройки <<сильнее>> чем следующие;
+% если они отсутствуют "---используются настройки из следующего пункта;
+% \item %
+% если существуют настройки |\floatsetup[rotfloat]{...}|
+% пакет использует эти настройки "---эти настройки <<сильнее>> чем следующие;
+% %^^A if they absent---settings of next item;
+% %^^A \item %
+% %^^A if exists |\floatsetup[wide|\meta{captype}|]{...}|
+% %^^A package uses these settings; if they absent---settings of next item;
+% %^^A \item %
+% %^^A if exists |\floatsetup[widefloat]{...}|
+% %^^A package uses these settings;
+% если они отсутствуют "--- настройки для данного типа флота
+% (|\floatsetup|\marg{captype}|{...}|);
+% если и они отсутствуют "--- используются настройки по умолчанию в команде
+% (|\floatsetup{...}| или настройки пакета).
+% \end{itemize}
+%
+% \emph{Замечания}.\nopagebreak
+%
+% 1)\enskip Если вы помещаете два продолжающихся флота, развёрнутых вертикально,
+% на развороте, лучше будет их собрать у корешкового поля. Для этого вы
+% можете определить\footnote{Если пакет \pkg{rotating} использует опцию |[figuresright]|,
+% см. также файлы примеров \file{frsample10.tex}--\file{frsample12.tex}
+% и код файла \file{fr-sample.tex}.} до первого флота
+% \begin{quote}
+% |\buildFBBOX{\vbox to\rottextwidth\bgroup\vss}{\egroup}|
+% \end{quote}
+% а перед вторым
+% \begin{quote}
+% |\buildFBBOX{\vbox to\rottextwidth\bgroup}{\vss\egroup}|
+% \end{quote}
+% \medskip
+% Величина |\rottextwidth| "---здесь сохранённое значение |\textwidth|
+% документа "--- параметры |\columnwidth| м |\textwidth| внутри окружения
+% \texttt{sideways...} равны
+% |\textheight|.
+%
+% 2)\enskip В данном примере вы можете видеть команду |\emptyfloatpage|.
+% Эта команда предлагается пакетом \pkg{floatpagestyle}, (инсталлируемым вместе
+% с пакетом \pkg{floatrow}). Макрокоманда |\emptyfloatpage| является сокращением
+% команды |\floatpagestyle{empty}|. Последняя макрокоманда переопределяет стиль страницы
+% когда появляется на ней данное окружение флота.
+%
+% Я предполагаю, что пакет \pkg{floatpagestyle} использует не очень корректный
+% путь для переопределения стиля страницы (\emph{этот пакет переопределяет
+% макрокоманду из ядра \LaTeX'а}, |\@outputpage|).\footnote{Если вам известен более
+% честный путь получить тот же результат "--- переопределение стиля страницы с плавающим флотом
+% "--- дайте знать.} Поскольку пакет \pkg{floatpagestyle} использует
+% механизм |\label|---|\ref|, команда |\floatpagestyle| даёт результат
+% после \emph{второй} (и более) обработок \LaTeX'ом.
+%
+% \subsection{Пакет \pkg{lscape} и окружение \env{landscape}}
+%
+% Тестировалось с версией v3.0a датированной 1999/02/16.\nopagebreak
+%
+%\ifx\landscape\undefined\else
+% \ifx\landscape\relax\else
+% Пример с использованием окружения \env{landscape} из пакета
+% \pkg{lscape} на с.~\pageref{fig:rotrow:WcatI},
+% рис.\ref{fig:rotrow:WcatI}--\ref{fig:rotrow:FcatI}):
+%\begin{verbatim}
+%\DeclareFloatVCode{lowthickrule}{\kern2pt\hrule height.8ptdepth0pt}
+%\floatsetup[figure]{style=ruled,rowprecode=thickrule,
+% rowpostcode=lowthickrule,capposition=TOP}
+%\begin{landscape}
+%\begin{figure}\emptyfloatpage
+%...
+%\end{verbatim}
+% Команда |\floatsetup| определяет стиль флота \texttt{ruled},
+% затем настройки для материала сверху и снизу переопределены:
+% ключи \texttt{rowprecode=} и \texttt{rowpostcode=} определяют
+% толстые линейки для всего ряда рисунков (<<индивидуальные>> линейки сверху/снизу
+% в ряду отменены).
+%\fi\fi
+%
+%
+% Окружение \env{landscape} создаёт новую страницу. Оно полезно для
+% задания нового раздела документа, например, приложения. (В данном документе
+% окружение было помещено перед приложением)
+%
+%^^A \emph{Founded limitations}.\nopagebreak
+%^^A The tested version works incorrect (does not rotates contents)
+%^^A with \pkg{hypcap} package.
+%
+% \subsection{Пакет \pkg{listings}}
+%
+% Тестировалось с версией v1.3 датированной 2004/09/07.\nopagebreak
+%
+% Этот пакет имеет свой сильный механизм создания плавающих
+% алгоритмов. Использование команды |\lstset| и настроек пакета \pkg{caption}
+% даст нужный результат оформления\footnote{Обратите внимание и прочтите документацию \pkg{caption}:
+% кооперация пакета \pkg{caption}3.x и \pkg{listings} будет успешной
+% только с версией последнего не ниже 1.2.} для флотов типа алгоритмов.
+%
+% В случаях появления листингов внутри других окружений,
+% например, внутри окружения \env{figure} со стилями использующими рамки, типа \texttt{Boxed}
+% и \texttt{BOXED} и при предопределённой шириной флота, вы должны задать:
+% \begin{quote}
+% |\lstset{linewidth=\hsize}|
+% \end{quote}
+% в преамбуле, или прямо перед окружением \env{lstlisting}. Или в дополнительном аргументе
+% окружения \env{lstlisting} "---здесь вы должны определить ширину следующим образом:
+% \begin{quote}
+% |\begin{lstlisting}[linewidth=\hsize]|
+% \end{quote}
+%
+% Другое ограничение заключается в том, что вы не можете поместить окружение \env{lstlisting}
+% внутрь команды |\floatbox|.
+%
+% \subsection{Пакет \pkg{longtable}}
+%
+% Был добавлен код в макрокоманду |\LT@array| из пакета \pkg{longtable}\footnote{Спасибо
+% A. Sommerfeldt за помощь в создании компактного кода.}: этот код задаёт настройки того
+% же шрифта, что и в таблицах в окружении \env{table}, а также при возможность задать ширину
+% табличного заголовка в окружении \env{longtable} равной ширине таблицы. Для задания ширины
+% табличного заголовка задан ключ.
+%
+% \DescribeMacro{LTcapwidth=}
+% Этот ключ может иметь любое значение типа |5cm| или |\textwidth|.
+% Если же вы зададите \texttt{LTcapwidth=table} или \texttt{LTcapwidth=contents},
+% ширина табличного заголовка будет равна ширине таблицы. Настройка ширины
+% табличного заголовка в этом случае производится по информации из \texttt{aux}-файла,
+% поэтому вы получите правильный результат только тогда, когда ширина всей таблицы будет
+% стабильной.
+%
+% Окружение \env{longtable} использует настройки, заданные в командах |\floatsetup[table]|
+% и |\floatsetup[longtable]|. Настройки из |\floatsetup[longtable]| будет <<сильнейшими>>
+% в этой паре.
+%
+% \subsection{Пакеты \pkg{hyperref} и \pkg{hypcap}}
+%
+% Тестированы версии v6.74i (\pkg{hyperref}) и v1.3 (\pkg{hypcap}).
+%
+% Пакет \pkg{floatrow} пытается не распространять свой код на команды |\caption|.
+% Я надеюсь что окружения, поддерживаемые пакетом \pkg{floatrow} не навредят
+% тандему пакетов \pkg{caption}---\pkg{hyperref}/\pkg{hypcap}.
+%
+% \subsection{Несовместимости}
+%
+% Несовместимости в первую очередь совпадают с несовместимостями пакета \pkg{caption} 3.x:
+% \begin{quote}
+% \pkg{ccaption}, \pkg{hvfloat}, \pkg{nonfloat}
+% \end{quote}
+%
+% Известная несовместимость пакета \pkg{floatrow} "--- это
+% пакет \pkg{sidecap}\footnote{Несмотря на это я пыталась получить
+% все предложенные этим пакетом оформления размещения подписей сбоку. Большое спасибо
+% Rolf Niepraschk и Hubert G\"{a}\ss{}lein за пакет в
+% котором дана полная гамма таких оформлений.}: пакет \pkg{floatrow} не распространяет
+% своё оформление на окружения \env{SCfigure} и \env{SCtable}.
+%
+% \addtocontents{toc}{\string\pagebreak[3]}
+% \section{Ограничения}
+%
+% Здесь даны ограничения, которые были обнаружены при пользовании пакетом
+% \pkg{floatrow}:
+% \begin{itemize}
+% %^^A \item %
+% %^^A Limitations for boxed and ruled styles in beside floats:
+% %^^A be careful with usage of \emph{alone} minipage environment in object or caption
+% %^^A in |\floatbox| macro. Since the object and caption are created in minipage
+% %^^A environment already, the added \texttt{minipage} could get wrong layout
+% %^^A (vertical alignment). But, as I found, you may use a few \texttt{minipage}s in
+% %^^A object without harm.
+% \item %
+% Вы не можете использовать команды типа |\floatbox| для флотов с окружением \texttt{verbatim}
+% или командой |\verb|.
+% \item %
+% Это ограничение упоминалось выше: пакет использует механизм
+% |\label|---|\ref|, поэтому, если вы используете оформление, которое
+% требует задания общей высоты для объектов и/или подписей в ряду флотов,
+% вы получите верный результат только после второй (и более) обработки. Если вы измените
+% содержимое так, что изменяется высота объекта/подписи вы также должны обработать \LaTeX'ом
+% дважды и более раз.
+%
+% Подписи сбоку и другое оформление для разворотов также даст верный результат
+% только после второй (и более) обработки \LaTeX'ом.
+% \item %
+% Версия 3.0a (и выше) пакета \pkg{caption} и пакет
+% \pkg{floatrow} не поддерживают дополнительный аргумент \emph{после}
+% текста подписи. Вы можете использовать команду |\floatfoot|
+% вместо этого.
+% \item %
+% Не используйте команду |\FBwidth| для сложного содержимого флота (которое вы не можете
+% поместить внутри |\hbox|). (Но вы можете использовать команды |\vspace|
+% в самом начале или в самом конце содержимого объекта для корректировки отбивок.)
+% \item %
+% Внутри окружения \env{floatrow} возможны пробелы (и даже
+% пустые строки, что даёт иногда более корректный результат!) между
+% командами |\floatbox|, но если вы добавите код между флотами, вы должны
+% поставить знак процента |%| после такой команды.
+% \item %
+% Это общее правило "--- будьте внимательны с пробелами в конце строк
+% внутри окружения флота (см. документ \texttt{CTAN:/info/epslatex.ps} для
+% дополнительной информации).
+%
+% Когда вы строите простое окружение (без |\floatbox|) лучше всего
+% разделить |\caption| и содержимое объекта (а заодно и содержимое
+% |\floatfoot|/|\footnotetext|) каждое пустой строкой или (если не
+% пустые строки) завершить каждую часть (и аргументы указанных команд)
+% знаком процента. В этом случае вы избежите ненужных пробелов и пустых строк
+% в конце каждой из частей, или неверную выключку содержимого объекта.
+% %^^A \item %
+% %^^A Usage of fancy boxes \texttt{shadowbox} and \texttt{wshadowbox} could get wrong
+% %^^A layout with beside captions.
+% \item Если вы используете внутри команды |\floatbox| окружения
+% \env{tabularx} или \env{tabular*} (или им подобные) с командой
+% |\hsize| внутри аргумента \meta{width}, вы должны повторить аргумент
+% |\hsize| в аргументе \meta{width} команды |\floatbox|.
+%
+% Если вы хотите задать ширину окружения \env{tabularx} или \env{tabular*}
+% (или другого) как |.8\hsize| (или |1.2\hsize|) и
+% эти окружения помещены внутри команды |\floatbox|, поместите
+% |.8\hsize| в аргумент \meta{width} макрокоманды |\floatbox| (или другой), а в
+% аргументе \meta{width} команды \env{tabularx} или \env{tabular*} поставьте только
+% |\hsize| (см. также код файла \file{frsample03.tex}).
+%
+% В иных случаях (особенно при использовании необычных оформлений) будьте внимательны
+% при использовании |\hsize| как опции \meta{width} команды |\floatbox|.
+% \end{itemize}
+%
+% \addtocontents{toc}{\string\nopagebreak}
+%
+% \section{Благодарности}
+%
+% Спасибо Steven Cochran и Axel Sommerfeldt за советы и поддержку.
+% Особая благодарность Axel Sommerfeldt за терпеливые ответы, код, и
+% помощь во \emph{всех} вопросах и проблемах в пакете \pkg{floatrow}.
+%
+% \medskip\noindent
+% Спасибо \emph{всем} невольным учителям по (\La)\TeX'у, кто обучал
+% меня программному коду всё время.
+%
+% \medskip\noindent
+% Спасибо Keith Reckdahl, автору документации \file{epslatex}, которая,
+% в конце концов, дала отвагу поместить создать версию пакета для CTAN.
+%
+% \medskip\noindent
+% \emph{Спасибо \emph{всем} авторам второго издания \LaTeX{}
+% Companion за эту книгу.}
+%
+%\ifx\landscape\undefined\else
+% \ifx\landscape\relax\else
+% \clearfloatsetup{figure}
+% \floatsetup[figure]{style=ruled,rowprecode=thickrule,
+% rowpostcode=lowthickrule,capposition=TOP,
+% footposition=caption}
+% \newlength\Mylen\Mylen\textwidth
+%
+% \begin{landscape}
+%
+% \begin{figure}\emptyfloatpage
+%
+% \begin{floatrow}[4]
+% \ffigbox[][][t]
+% {{\input{TheCat.picture}}%^^A
+% \footnotetext[1]{Картинка
+% нарисована макрокомандой
+% \cmd{\qbezier}}}%
+% {\caption[Рисунок рядом~I, внизу бокса объекта]%
+% {Рисунок рядом~I, внизу бокса объекта\protect\mpfootnotemark}%
+% \label{fig:rotrow:WcatI}}%
+%
+% \floatbox{figure}[2\FBwidth][][b]
+% {\caption{Рисунок рядом~II, вверху бокса объекта}%
+% \label{fig:rotrow:BcatI}%
+% \floatfoot{Всё нарисовано макрокомандами \cmd{\qbezier} и двумя вертикальными линиями}}%
+% {\input{BlackCat.picture}}%
+%
+% \ffigbox[\FBwidth]
+% {{\unitlength2.5\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{Mouse.picture}}\footnote[2]
+% {Гляньте на чудную сноску!}}
+% {\caption{Рисунок рядом~III, в центра бокса объекта}%
+% \label{fig:rotrow:mouseI}\floatfoot{Изображение мыши}}%
+%
+% \floatbox{figure}[\Xhsize][\Mylen]
+% {\caption{Рисунок рядом~IV}\label{fig:rotrow:FcatI}}
+% {\Resizebox\hsize\vsize{35}{136}{\input{BlackCat2.picture}}}
+% \end{floatrow}
+%
+% \end{figure}
+%
+% \end{landscape}
+%\fi\fi
+%
+% \clearpage
+% \suppressfloats[t]
+% \section{Приложение}
+%
+% \subsection{Miscellaneous}
+%
+% \subsubsection{Смешанные ряды}
+%
+% \floatsetup[figure]{style=Boxed,midcode=captionskip,
+% frameset={\fboxsep12pt\fboxrule1pt}}
+% Иногда автор (или дизайнер) желает поместить разные типы флотов, например, таблицу и рисунок
+% рядом в одном ряду. Такая ситуация создаёт некоторые проблемы.
+%
+% Первая проблема заключается в том, что вы должны поместить разные типы флотов
+% в одно окружение флота, которое задаёт своё оформление для содержимого.
+% Для создания верного оформления задайте команду
+% |\killfloatstyle| в начале окружения \env{floatrow}
+% или до первой <<чужой>> макрокоманды |\floatbox| (в данном
+% примере "--- до |\ttabbox|; команда |\ffigbox| является
+% <<родной>> для окружения \env{figure}).
+%
+% Следующая проблема состоит в том, что подпись к рисункам обычно помещают снизу,
+% а табличный заголовок помещается сверху таблиц.
+% Выравнивание всех флотов одинаково: по нижней линии верхней части и
+% по верхней "--- у нижней. В таком случае, если вы захотите поместить такие рисунок
+% и таблицу, вы получите не лучший вариант вёрстки.
+% В таких ситуациях вы можете использовать одну из приведённых команд:
+%\begin{verbatim}
+%\CenterFloatBoxes
+%\TopFloatBoxes
+%\BottomFloatBoxes
+%\end{verbatim}
+% Которые выравнивают флоты \emph{целиком} по центральной линии, по верху или по низу.
+% Эти команды были созданы командой |\buildFBBOX|.
+% Существует также команда |\PlainFloatBoxes|, которая восстанавливает
+% <<поведение>> флотов внутри команд |\floatbox|.
+%
+% Использование |\CenterFloatBoxes| и |\killfloatstyle| вы видите в смешанном ряду
+% состоящем из рис.~\ref{fig:rowmixspec:WcatI} и табл.~\ref{tab:rowmixspec:tabI}\label{mixrow}:
+% \DeleteShortVerb{\|}%
+% \begin{figure}
+% \begin{floatrow}
+% \CenterFloatBoxes \killfloatstyle
+% \ffigbox[\FBwidth]
+% {{\unitlength1.15\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}}}
+% {\caption{Рисунок (\texttt{Boxed} style) рядом с таблицей
+% (центрирован вертикально)}\label{fig:rowmixspec:WcatI}}%
+% \extrarowheight1pt
+% \ttabbox
+% {\caption{Таблица рядом с рисунком в стиле \texttt{Boxed}
+% (центрирована вертикально)}\label{tab:rowmixspec:tabI}}
+% {\begin{tabular}{|l|c|c|c|}
+% \hline
+% \multirowthead{2}[-1ex]{Column Head}
+% & \multicolumn{3}{c|}{\thead{Data}} \\
+% \cline{2-4}
+% & \thead{I} & \thead{II} & \thead{III} \\
+% \hline
+% First row & 1 & 2 & \phantom01 \\
+% Second row & 3 & 4 & \phantom06 \\
+% Third row & 6 & 8 & 28 \\
+% \hline
+% \end{tabular}}
+% \end{floatrow}
+% \end{figure}
+% \MakeShortVerb{\|}%
+%\begin{verbatim}
+%\begin{figure}
+%\begin{floatrow}
+%\CenterFloatBoxes\killfloatstyle
+%\ffigbox[\FBwidth]
+% ...
+%\ttabbox
+% ...
+%\end{verbatim}
+%
+% \emph{Замечание.} Как рисунок, так и таблица имеют ширину, равную
+% содержимому объектов. Команда |\ffigbox| имеет дополнительный аргумент
+% |[\FBwidth]|, но у команды |\ttabbox| нет никакой опции "--- опция
+% |[\FBwidth]| используется по умолчанию (см. определения на с.~\pageref{abbrcom}).
+%
+%
+% \subsubsection{Использование команд Captionsetup и Thisfloatsetup
+% внутри дополнительного аргумента команды Floatbox}
+%
+% Пример рисунков рядом (рис.~\ref{floatbox:FR:lfig} и
+% \ref{floatbox:FR:fig}). В примере были использованы предопределённые команды постройки флотов
+% |\fcapsideleft| и |\fcapsideright|, в которых добавлены команды |\captionsetup| и
+% |\thisfloatsetup|:
+%\begin{verbatim}
+%\newfloatcommand{fcapsideleft}{figure}[{\capbeside
+% \captionsetup[capbesidefigure]{format=break,labelsep=none,
+% justification=raggedleft}%
+% \thisfloatsetup{capbesideposition=left}}]%
+% [\FBwidth]
+%\newfloatcommand{fcapsideright}{figure}[{\capbeside
+% \captionsetup[capbesidefigure]{format=break,labelsep=none,
+% justification=raggedright}%
+% \thisfloatsetup{capbesideposition=right}}]%
+% [\FBwidth]
+%\end{verbatim}
+%
+% \clearfloatsetup{figure} \floatsetup[figure]
+% {style=Boxed,capposition=beside,objectset=centering,
+% floatwidth=\columnwidth,capbesidewidth=5.75cc,
+% capbesidesep=cicero,margins=centering,
+% capbesideframe=yes,floatwidth=sidefil}
+%
+% \begin{figure}[b!]
+% \begin{floatrow}
+% \fcapsideleft
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}}
+% {\caption{%^^A
+% Флот (\cmd{\fcapsideleft})
+% бокс для объекта имеет ширину включённой графики}\label{floatbox:FR:lfig}}%
+% \hsize\Xhsize \fcapsideright[\hsize]
+% {\setlength\unitlength{\hsize/61}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{BlackCat.picture}}%
+% {\caption{%^^A
+% Флот (\cmd{\fcapsideright})
+% ширина всего флота занимает оставшееся пространство в ряду}\label{floatbox:FR:fig}}%
+% \end{floatrow}%
+% \end{figure}%
+% Формат подписи \texttt{break} был определён следующим образом:
+%\begin{verbatim}
+%\DeclareCaptionFormat{break}{#1#2\par#3\par}
+%\end{verbatim}
+%
+% Для этих рисунков были заданы следующие настройки в команде \verb|\floatsetup|:
+%\begin{verbatim}
+%\floatsetup[figure]
+% {style=Boxed,capposition=beside,
+% objectset=centering,floatwidth=\columnwidth,
+% capbesidewidth=5.75cc,capbesidesep=cicero,margins=centering,
+% capbesideframe=yes,floatwidth=sidefil}
+%\end{verbatim}
+% Ключ \texttt{floatwidth=sidefill} означает, что в случае заданной ширины
+% для подписи сбоку, объект занимает остальное место
+% \verb|\hsize| (если не задана опция \meta{width}, или используется опция
+% \verb|\hsize|).
+%
+% Правый рисунок использует ширину графики, левый занимает остальное
+% место в ряду "--- для этого перед командой \verb|\fcapsideright|
+% была задана команда:
+%\begin{verbatim}
+%\hsize\Xhsize
+%\end{verbatim}
+% которая, в случае подписи сбоку определяет ширину всего флота.
+%
+% В качестве опции ширины по умолчанию, \meta{width}, в командах \verb|\fcapsideleft| и
+% \verb|\fcapsideright| задана команда \verb|\FBwidth|, поэтому для
+% рисунка~\ref{floatbox:FR:fig} справа (созданном командой
+% \verb|\fcapsideright|) в опции \meta{width} задана команда
+% \verb|\hsize|, чтобы заполнить остальное пространство в ряду.
+%
+% Поскольку в стиле флота ключ \texttt{heightadjust=object} (заданный
+% в определения стиля \texttt{Boxed}), оба объекта имеют одинаковую высоту.
+%
+% \subsubsection{Предопределённая ширина подписи сбоку}
+%
+% Этот пример включает команду |\useFCwidth|, которая включает
+% предварительно определённую ширину подписи с заданным значением ключа \texttt{capbesidewidth=}
+% в команде |\thisfloatsetup| до команды |\floatbox|) или, если вы не определили ширину подписи
+% (как в данном примере), рассчитывается натуральная ширина подписи
+% (см. рис.~\ref{fig:Idog:w}\footnote{Внутри команды \cmd{\floatbox} не
+% обязательно определять ширину подписи заранее, но помните, что ширину подписи
+% \emph{нужно} определить, если это простое окружение флота.}).
+% Флот в этом случае выровнен горизонтально с использованием
+% настроек выравнивания, взятых из ключа \texttt{margins=} (опции определяются командами
+% |\setfloatmargins| или |\floatcapbesidemargins|). В этой документации задано
+% центрирование (см. с.~\pageref{fsetup:besmarg}).
+%\begin{verbatim}
+%\begin{figure}
+%\floatbox[\capbeside\useFCwidth]{figure}[\FBwidth]
+% ...
+%\end{figure}
+%\end{verbatim}
+% \clearfloatsetup{figure} \floatsetup[figure]{style=plain}
+%
+% \begin{figure}[h]
+% \floatbox[\capbeside\useFCwidth]{figure}[\FBwidth]
+% {\caption[Подпись сбоку
+% бокс которой равен тексту подписи]{Подпись
+% сбоку}\label{fig:Idog:w}}
+% {{\setlength\unitlength{{4cm}/60}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{BlackDog.picture}}}
+% \end{figure}%
+%
+% Настройки данного флота:
+%\begin{verbatim}
+%\floatsetup[figure]{style=plain}
+%\end{verbatim}
+%
+% \subsubsection{Предопределённая ширина подписи и остальное "--- для объекта}
+%
+% Рисунок \ref{fig:capbeside:trick} использует следующий стиль флота:%^^A
+%^^A \footnote{There are also addition settings for captions:
+%^^A \cmd{\captionsetup[capbesidefigure]}\allowbreak
+%^^A \texttt{\{format=default,}\allowbreak\texttt{labelsep=none\}}
+%^^A which is necessary for current documentation: the \pkg{hyperref}
+%^^A creates unwanted result with empty argument of caption title. The same settings used
+%^^A for figures~\ref{floatrow:pre:figI} and \ref{floatrow:pre:figII}}
+%\begin{verbatim}
+%\floatsetup[figure]
+% {style=Boxed,capposition=beside,objectset=centering,
+% floatwidth=\columnwidth,capbesidewidth=\Mylen,
+% capbesideposition=left,capbesidesep=cicero,
+% margins=centering,capbesideframe=yes,
+% floatwidth=sidefil}
+%\end{verbatim}
+% Величина \verb|\Mylen| была определена как ширина нумерационного заголовка подписи:
+%\begin{verbatim}
+%\newdimen\Mylen
+%\settowidth\Mylen{\captionfont\captionlabelfont
+% \figurename\ \thefigure}
+%\end{verbatim}
+%
+% \clearfloatsetup{figure}
+% \floatsetup[figure]
+% {style=Boxed,capposition=beside,objectset=centering,
+% floatwidth=\columnwidth,capbesidewidth=\Mylen,
+% capbesideposition=left,capbesidesep=cicero,
+% margins=centering,capbesideframe=yes,floatwidth=sidefil}
+% \newdimen\Mylen\settowidth\Mylen{\captionfont\captionlabelfont\figurename\ \thefigure}
+%
+% \begin{figure}
+%^^A \captionsetup[capbesidefigure]{format=default,labelsep=none}
+% \fcapside
+% {\unitlength1.1\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}}
+% {\caption{}\label{fig:capbeside:trick}}
+% \end{figure}%
+%
+%
+% \subsubsection{Подпись рядом с отцентрированным объектом}
+%
+% Рисунок \ref{fig:plain:trick} использует хитроумный вариант оформления:
+%\begin{verbatim}
+%\floatsetup[figure]
+% {style=plain,capposition=beside,objectset=centering,
+% floatwidth=\columnwidth,capbesidewidth=6cc,
+% capbesideposition=left,capbesidesep=mcapwidth,
+% margins=centering,capbesideframe=yes,
+% floatwidth=sidefil}
+%\end{verbatim}
+% опция \texttt{mcapwidth} задаёт отрицательную отбивку, равную ширине
+% подписи:
+%\begin{verbatim}
+%\DeclareFloatSeparators{mcapwidth}{\hskip-\FCwidth}
+%\end{verbatim}
+% В этом случае все рисунки с подписями сбоку будут центрированы
+% относительно текущей величине \verb|\hsize|. Использование такого оформления флота
+% предполагает что все объекты флота \'уже чем |\textwidth|, как минимум на 2~ширины
+% подписи.
+%
+% \clearfloatsetup{figure} \floatsetup[figure]
+% {style=plain,capposition=beside,objectset=centering,
+% floatwidth=\columnwidth,capbesidewidth=6cc,
+% capbesideposition=left,capbesidesep=mcapwidth,
+% margins=centering,capbesideframe=yes,floatwidth=sidefil}
+% \begingroup
+% \captionsetup[capbesidefigure]{format=break,labelsep=none,
+% justification=raggedright}
+% \begin{figure}
+% \unitlength1.1\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}
+% \caption{%^^A
+% Обычный рисунок}\label{fig:plain:trick}
+% \end{figure}%
+% \endgroup
+%
+% Здесь также временно, в группе, заменены настройки для подрисуночной
+% подписи~\ref{fig:plain:trick}:
+%\begin{verbatim}
+%\captionsetup[capbesidefigure]{format=break,labelsep=none,
+% justification=raggedright}
+%\end{verbatim}
+%
+% \subsubsection{Определение ширины для блока подпись сбоку---объект в окружении
+% \env{floatrow}}
+%
+% Ряд с предопределёнными ширинами для боксов подпись сбоку---объект
+% (рис.~\ref{floatrow:pre:figI} и
+% \ref{floatrow:pre:figII}): просто определите перед командами \verb|\fcapside|
+% что-то типа
+%\begin{verbatim}
+%\setlength\hsize{1.098\hsize}%
+%\end{verbatim}
+% как было определено для первого рисунка, или
+%\begin{verbatim}
+%\setlength\hsize\Xhsize
+%\end{verbatim}
+% перед вторым (здесь видно, что можно задать и |\setlength\hsize{.902\hsize}|).
+%
+% В начале окружения \env{floatrow} была задана команда \verb|\useFCwidth|
+% которая включает механизм использования и расчёта ширины подписи сбоку и, поскольку
+% используются команды \verb|\fcapside|, ширину подписей можно не определять
+% (ключ \texttt{capbesidewidth=} не задан), поэтому ширина боксов подписей будет
+% равна их содержимому.
+%
+% \clearfloatsetup{figure}
+% \floatsetup[figure]
+% {style=plain,capposition=beside,objectset=centering,
+% capbesideposition=left,capbesidesep=enskip,
+% margins=centering,capbesideframe=yes,floatwidth=sidefil}
+% \begin{figure}[h]\useFCwidth
+%^^A \captionsetup[capbesidefigure]{format=default,labelsep=none}
+% \begin{floatrow}
+% \setlength\hsize{1.098\hsize}%
+% \fcapside
+% {\setlength\unitlength{\hsize/64}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}}
+% {\caption{%^^A
+% }\label{floatrow:pre:figI}}
+% \setlength\hsize\Xhsize
+% \fcapside
+% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{Mouse.picture}}
+% {\caption{%^^A
+% }\label{floatrow:pre:figII}}
+% \end{floatrow}%
+% \end{figure}%
+% Были использованы следующие настройки для рисунков:
+%\begin{verbatim}
+%\floatsetup[figure]
+% {style=plain,capposition=beside,objectset=centering,
+% capbesideposition=left,capbesidesep=enskip,
+% margins=centering,capbesideframe=yes,floatwidth=sidefil}
+%\end{verbatim}
+%
+% \subsubsection{Флот с подписью сверху/снизу и флот с подписью сбоку в одном ряду}
+%
+% В ряду совмещены бокс объект---подпись сбоку и бокс с объект---подпись снизу
+% (рис.~\ref{flrow:mix:figI} и
+% \ref{flrow:mix:figII}). Здесь приходится опять использовать команды
+% \verb|\TopFloatBoxes|, \verb|\CenterFloatBoxes|, или
+% |\BottomFloatBoxes|, чтобы получить нужную вёрстку "--- поскольку аргумент
+% \meta{height} в обоих флотах определён как \texttt{4cm}
+% вы можете использовать любую из этих трёх команд. К сожалению вам приходится задать
+% высоту таких флотов рядом вручную. Строки, которые создают
+% описанный выше ряд флотов:
+%\begin{verbatim}
+%\begin{figure}\CenterFloatBoxes
+%\begin{floatrow}
+%\hsize1.098\hsize
+% \fcapside[\FBwidth][4cm]
+% ...
+%
+% \ffigbox[\Xhsize][4cm]
+% ...
+%\end{floatrow}%
+%\end{figure}
+%\end{verbatim}
+%
+% \clearfloatsetup{figure}
+% \floatsetup[figure]
+% {style=Boxed,frameset={\fboxsep6pt},captionskip=5pt,capposition=bottom,
+% objectset=centering,capbesidewidth=none,capbesideposition=inside,
+% capbesidesep=enskip,margins=centering,capbesideframe=yes}
+%
+% \begin{figure}\CenterFloatBoxes
+% \begin{floatrow}
+% \hsize1.098\hsize \fcapside[\FBwidth][4cm]
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}}
+% {\caption{%^^A
+% Флот (\cmd{\fcapside}) с подписью сбоку в ряду с
+% флотом с подписью снизу}\label{flrow:mix:figI}}%
+%
+% \ffigbox[\Xhsize][4cm]
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{BlackDog.picture}}
+% {\caption{%^^A
+% Флот (\cmd{\ffigbox}), занимает оставшееся в ряду
+% место} \label{flrow:mix:figII}}
+% \end{floatrow}%
+% \end{figure}
+%
+% <<Зеркальная вёрстка>> (но не идентичная) выглядит так:
+%\begin{verbatim}
+%\begin{figure}\CenterFloatBoxes
+%\begin{floatrow}
+% \ffigbox[1.2\FBwidth][4cm]
+% ...
+%
+% \hsize\Xhsize
+% \fcapside[\FBwidth][4cm]
+% ...
+%\end{floatrow}%
+%\end{figure}
+%\end{verbatim}
+%
+% \begin{figure}\CenterFloatBoxes
+% \begin{floatrow}
+% \ffigbox[1.2\FBwidth][4cm]
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{BlackDog.picture}}
+% {\caption{%^^A
+% Флот (\cmd{\ffigbox})}\label{floatrow:mirrmix:figII}}%
+% \hsize\Xhsize
+%
+% \fcapside[\FBwidth][4cm]
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{TheCat.picture}}
+% {\caption{%^^A
+% Флот с подписью сбоку (\cmd{\fcapside}) в зеркальном ряду
+% с флотом с подписью снизу}\label{floatrow:mirrmix:figI}}
+% \end{floatrow}%
+% \end{figure}
+%
+% Рисунки~\ref{floatrow:mirrmix:figII}--\ref{floatrow:mirrmix:figI} использовали
+% следующие настройки:
+%\begin{verbatim}
+%\floatsetup[figure]
+% {style=Boxed,frameset={\fboxsep4pt},captionskip=5pt,
+% capposition=bottom,objectset=centering,capbesidewidth=none,
+% capbesideposition=inside,capbesidesep=enskip,margins=centering,
+% capbesideframe=yes}
+%\end{verbatim}
+%
+% \subsubsection{Вёрстка под фотоальбом}
+%
+% Другой пример необычного ряда флотов
+% (рис.~\ref{flrow:three:figIII}--\ref{floatrow:threemirr:figII},
+% и, <<зеркальная вёрстка>>, "---
+% \ref{floatrow:threemirr:figI}--\ref{floatrow:threemirr:figIII}) были
+% созданы следующим кодом:
+%\begin{verbatim}
+%\begin{figure}[t]\BottomFloatBoxes
+%\begin{floatrow}
+%\hsize1.2\hsize \ffigbox[][6.7cm]
+% ...
+%
+%\vbox to6.7cm
+% {\floatsetup[figure]{floatrowsep=none}\killfloatstyle
+% \ffigbox[.8\hsize]
+% ...
+% \vss
+% \ffigbox[.8\hsize]
+% ...%
+% }%
+%\end{floatrow}%
+%\end{figure}
+%\end{verbatim}
+%
+% \floatsetup[figure]{heightadjust=none}
+% \begin{figure}\BottomFloatBoxes
+% \begin{floatrow}
+% \hsize1.2\hsize
+% \ffigbox[][6.7cm]
+% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{Mouse.picture}}%
+% {\caption{Бокс флота в вёрстке под фотоальбом:
+% один в левой колонке}\label{flrow:three:figIII}}%
+%
+% \vbox to6.7cm {\floatsetup[figure]{floatrowsep=none}\killfloatstyle
+% \ffigbox[.8\hsize]
+% {\input{TheCat.picture}}
+% {\caption{%^^A
+% Бокс флота в вёрстке под фотоальбом: верхний флот в правой
+% колонке}\label{floatrow:three:figI}} \vss \ffigbox[.8\hsize]
+% {\input{BlackDog.picture}}%
+% {\caption{%^^A
+% Нижний флот в правой колонке}%
+% \label{floatrow:threemirr:figII}}}%
+% \end{floatrow}%
+% \end{figure}
+%
+% <<Зеркальная вёрстка>> создана следующими командами:
+%\begin{verbatim}
+%\begin{figure}[t]\TopFloatBoxes
+%\begin{floatrow}
+%\vtop to7cm
+% {\floatsetup[figure]{floatrowsep=none}\killfloatstyle
+% \ffigbox[.8\hsize]
+% ...
+% \vss
+% \ffigbox[.8\hsize]
+% ...%
+% \vskip0pt}\floatrowsep
+%
+%\ffigbox[\Xhsize][7cm-11pt]
+% ...
+%\end{floatrow}%
+%\end{figure}
+%\end{verbatim}
+% Обратите внимание, что во втором примере с <<зеркальной вёрсткой>> был
+% использован трюк с определением высоты в аргументе \meta{height} "--- подпись в левой
+% колонке длиннее на одну строку, поэтому для правой колонки высота флота
+% была уменьшена на 22pt "---2|\baselineskip| для шрифта размером |\small|\footnote{Вы
+% получите корректную высоту с такими расчётами для флотов рядом
+% при использовании версией пакета \pkg{caption} не ниже 3.0d.}
+% (здесь были использованы возможности пакета \pkg{calc}). Бокс |\vtop| в
+% левой колонке завершён командой |\vskip0pt|, иначе вы получите неожиданный
+% результат.
+%
+%
+% \begin{figure}\TopFloatBoxes
+% \begin{floatrow}
+% \vtop to8cm {\floatsetup[figure]{floatrowsep=none}\killfloatstyle
+% \ffigbox[.8\hsize]
+% {\input{TheCat.picture}}
+% {\caption{%^^A
+% Бокс флота в зеркальной вёрстке под фотоальбом: верхний флота в левой
+% колонке}\label{floatrow:threemirr:figI}} \vss \ffigbox[.8\hsize]
+% {\input{BlackDog.picture}}%
+% {\caption{%^^A
+% Бокс флота в зеркальной вёрстке под фотоальбом: нижний флот в левой колонке}%
+% \label{floatrow:three:figII}}\vskip0pt}\floatrowsep
+%
+% \ffigbox[\Xhsize][8cm-22pt]
+% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \input{Mouse.picture}}%
+% {\caption{%^^A
+% Бокс флота в зеркальной вёрстке под фотоальбом: отдельный в правой
+% колонке}\label{floatrow:threemirr:figIII}}
+% \end{floatrow}%
+% \end{figure}
+%
+% В обоих примерах для двух флотов друг под другом была отменена команда
+% |\floatrowsep| внутри |\vbox|/|\vtop|.
+%
+% Обратите внимание, что эти примеры довольно специфичны "--- можно попробовать
+% создать другие комбинации (например, <<многоколонные>>), но возможно
+% такая вёрстка потребует большей внимательности по отношению к использованию
+% |\Xhsize| и/или |\floatrowsep|.
+%
+% Я предполагаю, что два последних примера конфликтуют с <<девизом>> данного
+% пакета "--- уменьшить и переместить код оформления из текста документа; но
+% вёрстка под фотоальбом довольно редка в технической литературе (или
+% это не так?).
+%
+% \subsection{Файлы примеров}
+%
+% Дистрибутив пакета \env{floatrow} предлагает несколько файлов с примерами,
+% которые демонстрируют настройки, не описанные в данном документе (некоторые
+% из них несколько экзотичны и ненатуральны). Примеры не имеют цели создать
+% совершенную вёрстку, только показать быстроту и простоту модификации оформления
+% для флотов всех типов, и показывает достоинства и недостатки в комбинациях выбранного
+% оформления при разных размещениях флотов.
+%
+% \emph{Замечание}. Все нестандартные стили флотов (фактически все
+% файлы примеров) требуют как минимум две обработки \LaTeX'ом.
+%
+% Перечень файлов примеров:
+%
+% \begin{Options}{\OptionLabel}
+% \item[frsample01.tex] все возможные комбинации предопределённых стилей пакета \pkg{floatrow}
+% для подписей сверху/снизу с экспликациями;
+% были созданы простые флоты, окружения с рядом флотов (окружение \env{floatrow}),
+% а также варианты объекта без подписи и подписи без объекта;
+% \item[frsample02.tex] все возможные комбинации с предопределёнными стилями пакета \pkg{floatrow}
+% для подписей сбоку и все возможные расположения подписей;
+% \item[frsample03.tex] различные тесты с таблицами;
+% \item[frsample04.tex] пример с необычным оформлением и размещением подписей сбоку;
+% \item[frsample05.tex] одноколонная вёрстка, зеркальный макет на развороте;
+% необычные настройки для подписей.
+% \end{Options}
+%
+% Следующий связанный ряд файлов-примеров имеют несколько файлов"=заголовков с
+% различной преамбулой, которые обрабатывают файл с различным размещением
+% флотов. В этих примерах был создан новый тип флота
+% \texttt{textbox} "--- который включает в себя текст.
+% \begin{Options}{\OptionLabel}
+% \item[frsample10.tex] одноколонная вёрстка; рисунки оформлены в стиле \texttt{plain};
+% боксы текста (\texttt{textbox}) используют необычный стиль с линейками;
+% \item[frsample11.tex] одноколонная вёрстка с элементами выхода на левое поле
+% (например, широкие флоты в |*|-окружениях, как \env{figure*});
+% \item[frsample12.tex] двухколонная вёрстка с попытками использования расцвеченных стилей флотов.
+% \end{Options}
+%
+%
+% \section{Устаревшие команды}\label{sec:changed}
+%
+% Здесь приведены устаревшие макрокоманды, которые были заменены ключами из команды
+% |\floatsetup|, переименованы или удалены после версии 0.1b.
+%
+% \begingroup\extrarowheight1.75pt\small\tabcolsep.5\tabcolsep
+% \medskip\parindent0pt
+% \begin{tabular*}\hsize{@{\extracolsep{-.3ptplus1fill}}|
+% >{\rightskip0ptplus1fil}p{.35\hsize}|
+% >{\rightskip0ptplus1fil}p{.6\hsize}|}
+% \multicolumn{2}{c}{Удалённые или заменённые команды}
+% \\\hline
+% \thead{Команда}
+% &
+% \thead{Заменена на}
+% \\\hline
+% \extrarowheight0pt\begin{tabular}[t]{@{}l}
+% \cmd{\renewfloatstyle},\\
+% \cmd{\newfloatstyle},\\
+% \cmd{\definefloatstyle}
+% \end{tabular}&
+% \cmd{\DeclareFloatStyle}---эта команда использует механизм \cmd{\floatsetup}
+% \\\hline
+% \cmd{\restorerestylefloat} & удалена
+% \\\hline
+% \cmd{\captionskip} & команда, а не величина
+% \\\hline
+% \cmd{\floatfootskip} & команда, а не величина
+% \\\hline
+% \end{tabular*}
+%
+% \vskip1pt
+% \begin{tabular*}\hsize{@{\extracolsep{-.3ptplus1fill}}|
+% >{\rightskip0ptplus1fil}p{.35\hsize}|
+% >{\rightskip0ptplus1fil}p{.6\hsize}|}
+% \multicolumn{2}{c}{Команды, заменённые на ключи}
+% \\\hline
+% \thead{Удалённая команда}
+% &
+% \thead{Ключ-аналог}
+% \\\hline
+% \cmd{\floatobjectset} &
+% в текущей версии \emph{не используется для определения
+% настроек оформления объекта}, используйте ключ
+% \texttt{objectset=}
+% \\\hline
+% \cmd{\alignsidecaption}&
+% \texttt{capbesideframe=yes}
+% \\\hline
+% \extrarowheight0pt\begin{tabular}[t]{@{}l}
+% \smash{\cmd{\capbesidecenter}},\\ \smash{\cmd{\capbesidetop}},\\ \smash{\cmd{\capbesidebottom}},\\
+% \smash{\cmd{\capbesideinside}},\\ \smash{\cmd{\capbesideoutside}},\\
+% \smash{\cmd{\capbesideleft}},\\ \smash{\cmd{\capbesideright}}
+% \end{tabular}&
+% \extrarowheight0pt\begin{tabular}[t]{@{}l}
+% \texttt{capbesideposition=center}\\
+% \texttt{capbesideposition=top}\\
+% \texttt{capbesideposition=bottom}\\
+% \texttt{capbesideposition=inside}\\
+% \texttt{capbesideposition=outside}\\
+% \texttt{capbesideposition=left}\\
+% \texttt{capbesideposition=right}
+% \end{tabular}
+% \\\hline
+% \extrarowheight0pt\begin{tabular}[t]{@{}l}
+% \cmd{\floatrowsep},\\ \cmd{\floatcapbesidesep}
+% \end{tabular}&
+% в текущей версии \emph{не используется для задания
+% разделительного материала}, используйте ключи\par \extrarowheight0pt
+% \begin{tabular}[t]{@{}l}
+% \texttt{floatrowsep=}\\
+% \texttt{capbesidesep=}
+% \end{tabular}
+% \\\hline
+% \extrarowheight0pt\begin{tabular}[t]{@{}l}
+% \cmd{\FBcenter}\vphantom{g},\\ \cmd{\FBleft}\vphantom{g},\\ \cmd{\FBright},\\ \cmd{\FBnormal}
+% \end{tabular}&
+% \extrarowheight0pt\begin{tabular}[t]{@{}l}
+% \texttt{margins=center},\\
+% \texttt{margins=raggedright},\\
+% \texttt{margins=raggedleft}, \\
+% \texttt{margins=center},\\
+% \end{tabular}
+% \\\hline
+% \cmd{\setfloatstyle} & \texttt{style=}
+% \\\hline
+% \begin{tabular}[t]{@{}l}
+% \cmd{\Setframe}\\
+% \cmd{\setframe}
+% \end{tabular}
+% & используйте ключи \texttt{framestyle=} и \texttt{frameset=}
+% \\\hline
+% \cmd{\setrules}
+% & используйте \texttt{precode=}, \texttt{postcode=}, \texttt{midcode=} (а также
+% \texttt{rowpercode} и \texttt{rowpostcode}) ключи
+% \\\hline
+% \end{tabular*}
+%
+% \vskip1pt
+%
+% \begin{tabular*}\hsize{@{\extracolsep{-.3ptplus1fill}}|
+% >{\rightskip0ptplus1fil}p{.35\hsize}|
+% >{\rightskip0ptplus1fil}p{.6\hsize}|}
+% \multicolumn{2}{c}{Переименованные ключи}
+% \\\hline
+% \thead{Ключ}
+% &
+% \thead{Заменён на}
+% \\\hline
+% \texttt{attachedcapstyle=} & \texttt{relatedcapstyle=}
+% \\\hline
+% \texttt{floatstyle=} & \texttt{style=}
+% \\\hline
+% \texttt{floatfont=} & \texttt{font=}
+% \\\hline
+% \texttt{putcaptionbeside=} & {capposition=beside}
+% \\\hline
+% \texttt{besidecapposition=} & \texttt{capbesideposition=}
+% \\\hline
+% \texttt{besidecapwidth=} & \texttt{capbesidewidth=}
+% \\\hline
+% \texttt{besidecapframe=} & \texttt{capbesideframe=}
+% \\\hline
+% \texttt{floatmarginsset=} & \texttt{margins=}
+% \\\hline
+% \texttt{besidecapsep=} & \texttt{capbesidesep=}
+% \\\hline
+% \texttt{Precode=} & \texttt{rowprecode=}
+% \\\hline
+% \texttt{Postcode=} & \texttt{rowpostcode=}
+% \\\hline
+% \texttt{framereduce=} & \texttt{framefit=}
+% \\\hline
+% \extrarowheight0pt\begin{tabular}[t]{@{}l@{}}
+% \vphantom{(}опции ключей \texttt{objectset=}\\\quad и \texttt{margins=}\\
+% \texttt{flushleft},\\ \texttt{flushright},\\\texttt{center}
+% \end{tabular} &
+% \extrarowheight0pt\begin{tabular}[t]{@{}l@{}}
+% \vphantom{(}опции ключей \texttt{objectset=} и \texttt{margins=}\\\quad (для унификации
+% с аналогичными опциями\\\quad ключей в пакете \pkg{caption})\\
+% \texttt{raggedright},\\ \texttt{raggedleft},\\ \texttt{centering}
+% \end{tabular}
+% \\\hline
+% \end{tabular*}
+% \endgroup
+% \MakeShortVerb{\|}%
+%
+% \Finale
+%\endinput
diff --git a/Master/texmf-dist/doc/latex/floatrow/floatrow.pdf b/Master/texmf-dist/doc/latex/floatrow/floatrow.pdf
new file mode 100644
index 00000000000..ba17628f8b9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/floatrow.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/floatrow/floatrow.xml b/Master/texmf-dist/doc/latex/floatrow/floatrow.xml
new file mode 100644
index 00000000000..a3472d2d50a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/floatrow.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!DOCTYPE entry SYSTEM "../catalogue.dtd">
+<entry id="caption"
+ datestamp="2005/07/02"
+ modifier="Lapko.O@g23.relcom.ru">
+ <about>
+ <name>floatrow</name>
+ <caption>Modifying the layout of floats</caption>
+ <author>
+ <name>Olga Lapko</name>
+ <email>Lapko.O@g23.relcom.ru</email>
+ </author>
+ <license type="lppl"/>
+ <version>
+ <number>0.1f</number>
+ </version>
+ </about>
+ <description>
+ <abstract>
+ The floatrow package provides many ways to customise layouts of
+ floating environments; it offers possibilities to put floats side
+ by side, to put caption beside float. All floats of one type
+ appear in one layout. Some floatrow settings could be expanded
+ to rows of subfloats (subfig package, version 1.3).
+ Package co-operates with caption 3.x package.
+ </abstract>
+ </description>
+ <distribution>
+ <ctan>macros/latex/contrib/floatrow</ctan>
+ </distribution>
+</entry>
diff --git a/Master/texmf-dist/doc/latex/floatrow/fr-sample.tex b/Master/texmf-dist/doc/latex/floatrow/fr-sample.tex
new file mode 100644
index 00000000000..1319e2be916
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/fr-sample.tex
@@ -0,0 +1,886 @@
+%fr-sample - sample body
+\newif\ifqq\widowpenalty10000
+\makeatletter
+\newcommand\ifTwocolumn{\if@twocolumn}
+\newcommand\Resizebox[5]{\setbox0\hbox{\setlength\unitlength{#1/#3}%
+ \ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi{#5}}%
+ \@tempdima\ht0\advance\@tempdima\dp0%
+ \ifdim\@tempdima>#2\setlength\unitlength{#2/#4}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ {#5}\else\box0\fi}
+\makeatother
+
+\newfloatcommand{ttextbox}{textbox}
+\newfloatcommand{tcapside}{textbox}[\capbeside]
+\providecommand*{\Lopt}[1]{\textsf{#1}}
+\providecommand*{\file}[1]{\texttt{#1}}
+\providecommand*{\pkg}[1]{\texttt{#1}}
+\providecommand*{\env}[1]{\texttt{#1}}
+\providecommand*{\com}[1]{\texttt{\char`\\#1}}
+\providecommand*{\meta}[1]{$\langle$\textit{#1}$\rangle$}
+
+\def\text{{\mdseries And more text and some more text and a bit more text and
+a little more text and a little piece of text to fill space}}
+
+\def\Text{{\mdseries \text. \text. \text. \text. }}
+
+\unitlength1.44pt
+\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+
+\newcommand\TEXTBOX[1][]{%
+Here goes first line of text \text\par
+There goes second line of text#1\par
+Thence goes third line of text \text\par
+Hence goes fourth line of text}
+
+\bfseries
+\clearpage
+
+Example of plain \env{figure} environment (figure~\ref{float:plain:fig}).
+
+\begin{figure}
+ {\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+ \caption{Plain figure. \text }%
+ \footnote{Simple footnote}
+\label{float:plain:fig}%
+\end{figure}
+
+\Text
+
+\clearpage
+Example of plain \env{textbox} environment (text~\ref{float:plain:text}).
+
+\begin{textbox}
+\TEXTBOX
+\caption{Plain textbox. \text }%
+\label{float:plain:text}%
+\end{textbox}
+
+\Text
+
+\clearpage
+
+Example of plain \env{figure} environment with beside caption (figure~\ref{float:side:fig}).
+\begin{verbatim}
+\thisfloatsetup{capposition=beside}
+\end{verbatim}
+
+\thisfloatsetup{capposition=beside}
+
+\begin{figure}
+ {\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+ \caption{Plain figure with side caption. \text \protect\mpfootnotemark[1]}%
+ \footnotetext[1]{Simple footnote}
+\label{float:side:fig}%
+\end{figure}
+
+\Text
+
+\clearpage
+
+Example of plain \env{figure} environment (figure~\ref{float:W:plain:fig})
+with predefined width.
+\begin{verbatim}
+\thisfloatsetup{floatwidth=7cm}
+\end{verbatim}
+
+\thisfloatsetup{floatwidth=7cm}%floatrow
+\begin{figure}
+ {\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+ \caption{Plain figure with changed width. \text \protect\mpfootnotemark[1]}%
+ \footnotetext[1]{\emph{Current} float has width${{}=7}$\,cm.}
+\label{float:W:plain:fig}%
+\end{figure}%
+
+\Text
+
+\clearpage
+Example of plain \env{textbox} environment (box~\ref{float:w:plain:Text})
+with predefined width inside group.
+\begin{verbatim}
+\begingroup
+\floatsetup{floatwidth=.7\hsize}
+...
+\endgroup
+\end{verbatim}
+
+
+\begingroup
+\floatsetup{floatwidth=.7\hsize}
+\begin{textbox}
+\caption{Plain text box with predefined width. \text}\label{float:w:plain:Text}
+\TEXTBOX
+\end{textbox}
+
+\Text
+\endgroup
+
+\clearpage
+
+Example of figure placed in \verb|\ffigbox| (\verb|\floatbox| stuff);
+the width of float box equals to the width of graphics
+(see figure~\ref{floatbox:FB:fig}):
+\begin{verbatim}
+\begin{figure}
+\ffigbox[\FBwidth]
+ ...
+\end{figure}
+\end{verbatim}
+
+\begin{figure}
+\ffigbox[\FBwidth]
+ {\unitlength1.5\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{TheCat.picture}}
+ {\caption{%
+Float box (\protect\com{ffigbox})
+width of graphics. \text }\label{floatbox:FB:fig}}
+\end{figure}
+
+\Text
+
+\ifLoadSubfig
+
+\clearpage
+Example of float with beside caption (see text box~\ref{floatbox:subfloat:text}).
+with two subboxes~\subref{subtext:A} and \subref{subtext:B}.
+These subfloats are placed inside \env{subfloatrow} environment, left subafloat has width 5\,cm,
+second---occupies the rest width of row.
+\begin{verbatim}
+\floatsetup{subfloatrowsep=qquad}
+\begin{textbox}
+\ttextbox
+{\FRifFBOX\vspace{-\topskip}\fi%for boxed styles
+\begin{subfloatrow}
+\subfloat[First ...\label{...}]%
+{\vbox{\hsize4.5cm...}}
+
+\subfloat[Second ...\label{...}]%
+{\vbox{\hsize\Xhsize...}}
+\end{subfloatrow}}
+{\caption{The ...}\label{...}}
+\end{textbox}
+\end{verbatim}
+
+Since the \verb|\subfloat| macro uses \verb|\vtop| during subfloat building, for
+float styles which use boxes you may ought to put before \env{subfloatrow}
+environment the compensated space like this:
+\begin{verbatim}
+\vspace{-\topskip}
+\end{verbatim}
+
+\begin{textbox}[!t]
+\ttextbox
+{\FRifFBOX\vspace{-\topskip}\fi%for boxed styles
+\begin{subfloatrow}
+\subfloat[First text box\label{subtext:A}]%
+{\vbox{\hsize4.5cm\TEXTBOX}}
+
+\subfloat[Second text box with long long text\label{subtext:B}]%
+{\vbox{\hsize\Xhsize\TEXTBOX}}%
+\end{subfloatrow}}
+{\caption{The \env{textbox} environment with subfloats. \text}%
+\label{floatbox:subfloat:text}}
+\end{textbox}
+
+\text.
+
+\fi
+
+\ifTwocolumn\else
+
+\clearpage
+
+\ifLoadSubfig
+
+Example of figure in \verb|\fcapside| with beside caption (see figure~\ref{floatbox:beside:fig})
+with two subfigures~\subref{subfig:A} and \subref{subfig:B}. The object has the width of included graphics;
+caption occupies the rest of width.
+\begin{verbatim}
+\begin{figure}
+\fcapside[\FBwidth]
+ ...
+\end{figure}
+\end{verbatim}
+Here was also used \env{subfloatrow} environment:
+\begin{verbatim}
+\begin{figure}
+\fcapside[\FBwidth]
+{\begin{subfloatrow}
+\subfloat[...]{...}
+
+\subfloat[...]{...}
+\end{subfloatrow}}
+{\caption{...}\label{...}}
+\end{figure}
+\end{verbatim}
+
+\begin{figure}
+\fcapside[\FBwidth]
+{\begin{subfloatrow}
+\subfloat[The simple PostScript file\label{subfig:A}]{\includegraphics{pslearn.eps}}
+
+\subfloat[Black dog\label{subfig:B}]{\input{Blackdog.picture}}
+\end{subfloatrow}}
+{\caption{Beside caption (in \protect\com{fcapside}) width of object box equals to width of
+graphics. \text}%
+\label{floatbox:beside:fig}}
+\end{figure}
+
+\Text
+
+\fi
+
+\clearpage
+Example of text box in \verb|\tcapside| command (see box~\ref{floatbox:subfloat:text}) with beside caption.
+\begin{verbatim}
+\begin{textbox}
+\tcapside[1.25\hsize]
+ ...
+\end{textbox}
+\end{verbatim}
+text box contents occupy 1.25``column'' width.
+
+\begin{textbox}
+\tcapside[1.25\hsize]
+{\TEXTBOX}
+{\caption{Beside caption (in \protect\com{tcapside}). The width of object equals
+to 1.25``column'' width. \text}%
+\label{floatbox:beside:text}}
+\end{textbox}
+
+
+\Text
+
+\clearpage
+Example of figure in \verb|\fcapside| with beside caption (see figure~\ref{floatbox:beside:figI}).
+The object box has width of object contents.
+\begin{figure}
+\fcapside[\FBwidth]
+{\includegraphics{pslearn}}
+{\caption{Beside caption (in \protect\com{fcapside}) with of object equals to width of
+graphics. \text}%
+\label{floatbox:beside:figI}}
+\end{figure}
+
+\Text
+
+\clearpage
+Example of plain text box (see box~\ref{floatbox:subfloat:text}).
+\begin{verbatim}
+\thisfloatsetup{capposition=beside}
+\end{verbatim}
+\thisfloatsetup{capposition=beside}
+\begin{textbox}
+{\TEXTBOX}
+{\caption{Beside plain caption. \text}%
+\label{floatbox:beside:text}}
+\end{textbox}
+
+
+\Text
+
+\clearpage
+Example of plain figure with beside caption (see figure~\ref{floatbox:beside:figI}).
+Both caption and object boxes have 1``column'' width.
+\begin{verbatim}
+\thisfloatsetup{capposition=beside}
+\end{verbatim}
+\thisfloatsetup{capposition=beside}
+\begin{figure}
+{\includegraphics[scale=1.44]{pslearn}}
+{\caption{Beside plain caption with of object equals to width of
+graphics. \text}%
+\label{floatbox:beside:figI}}
+\end{figure}
+
+\Text
+
+\fi
+
+\ifWideLayout
+\clearpage
+Example of two-column or wide plain figure (see figure~\ref{float:wide:fig}).
+
+\begin{figure*}
+ {\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+ \caption{%
+Plain wide figure. \text }%
+\label{float:wide:fig}%
+\end{figure*}
+
+\Text
+
+\clearpage
+Example of plain two-column or wide \env{textbox} environment
+(see text~\ref{float:wide:text}).
+
+\begin{textbox*}
+\TEXTBOX
+ \caption{Plain wide textbox. \text }%
+\label{float:wide:text}%
+\end{textbox*}
+
+\Text
+
+\clearpage
+
+Example of plain two-column or wide \env{figure} environment (figure~\ref{wfloat:W:plain:fig})
+with predefined width.
+\begin{verbatim}
+\thisfloatsetup{floatwidth=5cm}
+\end{verbatim}
+
+\thisfloatsetup{floatwidth=5cm}
+\begin{figure*}[!t]
+ {\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+ \caption{Plain figure with changed width. \text }%
+ \footnote{\emph{Current} float has width${{}=5}$\,cm.}
+\label{wfloat:W:plain:fig}%
+\end{figure*}
+
+\Text
+
+\fi
+
+\ifLoadSubfig
+
+\clearpage
+Example of two-column or wide figure with beside caption (see figure~\ref{floatbox:wbeside:fig})
+with two subfigures~\subref{subfig:wA} and \subref{subfig:wB}.
+
+\begin{figure*}[!t]
+\fcapside[\FBwidth]
+{\begin{subfloatrow}
+\subfloat[The simple PostScript file\label{subfig:wA}]{\includegraphics{pslearn}}%
+
+\subfloat[Black dog\label{subfig:wB}]{\input{BlackDog.picture}}%
+\end{subfloatrow}}
+{\caption{Wide beside caption width of object equals to width of
+graphics. \text}%
+\label{floatbox:wbeside:fig}}
+\end{figure*}
+
+\Text
+
+\clearpage
+Example of two-column or wide figure with caption below (see figure~\ref{floatbox:wbeside:fig})
+with two subfigures~\subref{subfig:wA} and \subref{subfig:wB}.
+
+\begin{figure*}[!t]
+%\fcapside[\FBwidth]
+{\begin{subfloatrow}
+\subfloat[The simple PostScript file\label{subfig:wA}]{\includegraphics{pslearn}}%
+
+\subfloat[Black dog\label{subfig:wB}]{\input{BlackDog.picture}}%
+\end{subfloatrow}}
+{\caption{Wide beside caption width of object equals to width of
+graphics. \text}%
+\label{floatbox:wbeside:fig}}
+\end{figure*}
+
+\Text
+
+\fi
+
+\clearpage
+Example of two-column or wide figure with beside caption (see figure~\ref{floatbox:wbeside:figI}).
+
+\begin{figure*}[!t]
+\fcapside[\FBwidth]
+{\includegraphics[scale=1.5]{pslearn}}
+{\caption{Wide beside caption width of object equals to width of
+graphics. \text}%
+\label{floatbox:wbeside:figI}}
+\end{figure*}
+
+\Text
+
+\clearpage
+Example of text box in \verb|\tcapside| with beside caption (see text box~\ref{floatbox:wbeside:text})
+
+\begin{textbox*}
+\tcapside[1.2\hsize]
+{\TEXTBOX}
+{\caption{Wide beside caption with of object box equals to 1.2``column'' width. \text}%
+\label{floatbox:wbeside:text}}
+\end{textbox*}
+
+\Text
+
+\clearpage
+Example of plain text box with beside caption (see text box~\ref{floatbox:wbeside:text})
+
+\thisfloatsetup{capposition=beside}
+\begin{textbox*}
+{\TEXTBOX}
+{\caption{Wide beside caption with of object box equals to 1.2``column'' width. \text}%
+\label{floatbox:wbeside:text}}
+\end{textbox*}
+
+\Text
+
+\clearpage
+Example of `filled' row of figures
+(figures~\ref{row:full:WcatI}--\ref{row:full:FcatI}).
+There was predefined height for fourth figure in row which equals to
+\verb|\textwidth|.
+
+If you want to get all float row contents with height${}={}$\verb|\textwidth|, you ought to put
+\begin{verbatim}
+\floatsetup{heightadjust=all}
+\end{verbatim}
+just before \env{floatrow} environment. Since heights of boxes are adjusted,
+you may use vertical alignment for object box.
+
+\begin{figure*}[!t]
+\floatsetup{heightadjust=all}
+\begin{floatrow}[4]
+\ffigbox[][][c]
+{{\setlength\unitlength{\hsize/{64}}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+\input{TheCat.picture}}\footnotetext[1]{The
+picture was created with \pkg{pstricks}' \protect\com{psbezier} macro}}
+{\caption{Beside figure~I in wide float row. Vertically centered\protect\footnotemark[1]}%
+\label{row:full:WcatI}}%
+
+\floatbox{figure}[\FBwidth][][b]
+{\caption{Beside figure~II in wide float row. Flushed to bottom of box}%
+\label{row:full:BcatI}%
+\floatfoot{There are
+ just four~\protect\com{psellipse},
+ two \protect\com{psbezier}, two \protect\com{pspolygon} macros used
+ in current picture}}%
+{\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+\input{BlackCat.picture}}%
+
+\ffigbox[\Xhsize-2.85cm][][t]
+{{\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+\input{Mouse.picture}}%
+ \floatfoot{The Mouse-animal image}}%
+{\caption{Beside figure~III in wide float row. Flushed to top of object box}%
+\label{row:full:mouseI}}%
+
+\floatbox{figure}[2.85cm][\textwidth]%
+{\caption{Beside figure~IV in wide float row}\label{row:full:FcatI}}%
+{\Resizebox\hsize\vsize{35}{136}{\input{BlackCat2.picture}}}%
+\end{floatrow}\vspace{-8pt}
+\end{figure*}
+
+\Text
+
+\ifTwocolumn\else
+\clearpage
+Example of `non-filled' row of figures
+(figures~\ref{row:loose:WcatI}--\ref{row:loose:mouseI}).
+If current float style for figures doesn't support height adjustment of boxes,
+there are not any vertical alignment of floats.
+
+\begin{figure}
+
+\begin{floatrow}[3]
+\ffigbox[][][c]
+{{\setlength\unitlength{\hsize/{64}}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+\input{TheCat.picture}}\footnotetext[1]{The
+picture was created with \pkg{pstricks}' \protect\com{psbezier} macro}}
+{\caption{Beside figure~I in wide float row. Vertically centered\protect\footnotemark[1]}%
+\label{row:loose:WcatI}}%
+
+\floatbox{figure}[\FBwidth][][b]
+{\caption{Beside figure~II, width of graphics, bottom of object box}%
+\label{row:loose:BcatI}%
+\floatfoot{There are
+ just four \protect\com{psellipse},
+ two \protect\com{psbezier}, two \protect\com{pspolygon} macros used
+ in current picture}}%
+{\unitlength1.098\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+\input{BlackCat.picture}}%
+
+\ffigbox[\FBwidth][][t]
+{\footnote{Look at funny footnotemark!}\input{Mouse.picture}%
+ %
+ \floatfoot{The Mouse-animal image}}
+{\caption{Beside figure~III in wide float row. Flushed to top of object box}%
+\label{row:loose:mouseI}}%
+\end{floatrow}
+\end{figure}
+
+\Text
+
+\fi
+
+\qqtrue
+\clearpage
+Example of `filled' row of text boxes
+(boxes \hbox{\ref{row:text:I}--\ref{row:text:II}}).
+
+\Text
+
+\begin{textbox*}[!t]
+\begin{floatrow}
+\ttextbox
+{\TEXTBOX\footnote{Text of footnote. \text}}
+{\caption{Beside text~I in float row. \text}%
+\label{row:text:I}}%
+
+\floatbox{textbox}
+{\TEXTBOX[. \text.]
+
+\floatfoot{Text of float foot. \text}}%
+{\caption{Beside text~II in float row}%
+\label{row:text:II}}%
+\end{floatrow}
+\end{textbox*}
+
+\ifLoadRotating
+\newlength\rotatedheight\rotatedheight\textwidth
+
+\clearpage
+Example of plain rotated figure (see figure~\ref{rot:fig} on the page~\pageref{rot:fig}).
+
+\begin{sidewaysfigure}
+\emptyfloatpage
+\includegraphics[width=4in]{pslearn}
+%\floatfoot{The \texttt{BOXED} style could get wrong layout}%
+\caption{Plain figure inside
+\protect\env{sidewaysfigure} environment. \text. \text}%
+\label{rot:fig}%
+\end{sidewaysfigure}%
+\Text
+
+\clearpage
+Example of plain wide rotated figure (see figure~\ref{rot:wide:fig} on the page~\pageref{rot:wide:fig}).
+
+\begin{sidewaysfigure*}
+\wideemptyfloatpage
+\includegraphics[width=4in]{pslearn}%
+\caption{Plain wide figure inside
+\protect\env{sidewaysfigure*} environment. \text. \text}%
+\label{rot:wide:fig}%
+\end{sidewaysfigure*}%
+\Text
+
+\clearpage
+
+Example of rotated figure in \verb|\ffigbox| (see figure~\ref{rotbox:figI} on the page~\pageref{rotbox:figI})
+width of graphics.
+
+\begin{sidewaysfigure}
+\emptyfloatpage
+\ffigbox[\FBwidth]
+{\includegraphics[width=4in]{pslearn}}
+{\caption{Figure in \protect\com{ffigbox} inside
+\protect\env{sidewaysfigure} environment, width of graphics. \text. \text}%
+\label{rotbox:figI}}
+\end{sidewaysfigure}
+
+\Text
+
+\ifWideLayout
+\clearpage
+Example of wide rotated figure in \verb|\ffigbox| (see figure~\ref{rotbox:wide:figI} on the page~\pageref{rotbox:wide:figI})
+width of graphics.
+
+\begin{sidewaysfigure*}
+\wideemptyfloatpage
+\ffigbox[\FBwidth]
+{\includegraphics[width=7in]{pslearn}}
+{\caption{Wide figure in \protect\com{ffigbox} inside
+\protect\env{sidewaysfigure} environment, width of graphics. \text. \text}%
+\label{rotbox:wide:figI}}
+\end{sidewaysfigure*}
+
+\Text
+
+\fi
+
+\clearpage
+
+Example of rotated \env{figure} with beside caption
+(see figure~\ref{rot:beside:fig} on the page~\pageref{rot:beside:fig}).
+
+\begin{sidewaysfigure}
+\emptyfloatpage
+\fcapside[\FBwidth]
+{\includegraphics[width=5in]{pslearn}}
+{\caption{Rotated beside caption. \text}%
+\label{rot:beside:fig}}
+\end{sidewaysfigure}
+
+\Text
+
+\ifWideLayout
+\clearpage
+Example of wide rotated \env{figure} with beside caption
+(see figure~\ref{rot:wbeside:fig} on the page~\pageref{rot:wbeside:fig}).
+
+\begin{sidewaysfigure*}
+\wideemptyfloatpage
+\fcapside[\FBwidth]
+{\includegraphics[width=5in]{pslearn}}
+{\caption{Wide rotated figure with beside caption. \text}%
+\label{rot:wbeside:fig}}
+\end{sidewaysfigure*}
+
+\Text
+
+\fi
+
+\clearpage
+Example of plain rotated \env{textbox} with beside caption
+(see figure~\ref{rot:beside:text} on the page~\pageref{rot:beside:text}).
+
+\thisfloatsetup{capposition=beside}
+\begin{sidewaystextbox}
+\emptyfloatpage
+{\TEXTBOX[ \text.]}
+{\caption{Beside caption. \text. \text. \text}%
+\label{rot:beside:text}}
+\end{sidewaystextbox}
+
+\Text
+
+\ifWideLayout
+
+\clearpage
+Example of wide rotated \env{textbox} with beside caption
+(see figure~\ref{rot:wbeside:text} on the page~\pageref{rot:wbeside:text}).
+
+\begin{sidewaystextbox*}
+\wideemptyfloatpage
+\tcapside[1.2\hsize]
+{\TEXTBOX[ \text.]}
+{\caption{Beside caption. \text. \text. \text}%
+\label{rot:wbeside:text}}
+\end{sidewaystextbox*}
+
+\Text
+
+\fi
+\clearpage
+
+\newdimen\rottextwidth\rottextwidth\textwidth
+
+Example of `filled' two-column or wide float row
+(figures~\ref{fig:rotrow:WcatI}--\ref{fig:rotrow:FcatI})
+on the page~\pageref{fig:rotrow:WcatI}.
+There was predefined height for fourth figure in row which equals to \verb|\textwidth|.
+
+If you want to get all float row contents with height${}={}$\verb|\textwidth|, you ought to put
+\begin{verbatim}
+\floatsetup{heightadjust=all}
+\end{verbatim}
+just before \env{floatrow} environment in the case of float style doesn't requires adjustment of float box's
+elements.
+
+\begin{sidewaysfigure*}
+\floatsetup{heightadjust=all}
+\wideemptyfloatpage
+\begin{floatrow}[4]
+\ffigbox[][][c]
+{{\setlength\unitlength{\hsize/{64}}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+\input{TheCat.picture}}\footnote
+{The picture was created with
+\protect\pkg{pstricks}' \protect\com{psbezier}
+ macro}}%
+{\caption{Beside figure~I in wide rotated float row. Vertically centered}%
+\label{fig:rotrow:WcatI}}%
+
+\floatbox{figure}[1.2\FBwidth][][b]
+{\caption{Beside figure~II in wide rotated float row. Flushed to bottom of box}%
+\label{fig:rotrow:BcatI}%
+\floatfoot{There are
+ just four \protect\com{psellipse},
+ two \protect\com{psbezier}, two
+ \protect\com{pspolygon} macros used
+ in current picture}}%
+{\input{BlackCat.picture}}%
+
+\ffigbox[\Xhsize/2][][t]
+{\input{Mouse.picture}%
+ \footnote{Look at funny footnotemark!}%
+ \floatfoot{The Mouse-animal image}
+ }%
+{\caption{Beside figure~III in wide rotated float row. Flushed to top of object box}%
+\label{fig:rotrow:mouseI}}%
+
+\floatbox{figure}[\Xhsize][\rottextwidth]
+{\caption{Beside figure~IV in wide rotated float row.
+When you put height argument in float row you must
+put flag \protect\com{CADJtrue} (and maybe \protect\com{OADJtrue})
+just before \env{floatrow} to get
+correct height of float box}\label{fig:rotrow:FcatI}}%
+{\Resizebox\hsize\vsize{35}{136}{\input{BlackCat2.picture}}}
+\end{floatrow}
+\end{sidewaysfigure*}
+
+\Text
+\Text
+
+\clearpage
+Example of `non-filled' float row
+(figures~\ref{fig:rotloose:WcatI}--\ref{fig:rotloose:mouseI}) on the page~\pageref{fig:rotloose:WcatI}.
+
+\begin{sidewaysfigure*}
+\wideemptyfloatpage\CADJtrue
+\begin{floatrow}[3]
+\ffigbox[][][c]
+{{\setlength\unitlength{\hsize/{64}}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+\input{TheCat.picture}}\footnote
+{The picture was created with
+\protect\pkg{pstricks}' \protect\com{psbezier}
+ macro}}
+{\caption{Beside figure~I in wide rotated float row. Vertically centered}%
+\label{fig:rotloose:WcatI}}%
+
+\floatbox{figure}[\FBwidth][][b]
+{\caption{Beside figure~II in wide rotated float row. Flushed to bottom of box}%
+\label{fig:rotloose:BcatI}%
+\floatfoot{There are
+ just four \protect\com{psellipse},
+ two \protect\com{psbezier}, two
+ \protect\com{pspolygon} macros used
+ in current picture}%
+}%
+{\unitlength1.098\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+
+\ffigbox[\FBwidth][][t]
+{\input{Mouse.picture}%
+ \footnote{Look at funny footnotemark!}%
+ \floatfoot{The Mouse-animal image}}
+{\caption{Beside figure~III in wide rotated float row. Flushed to top of object box}%
+\label{fig:rotloose:mouseI}}%
+\end{floatrow}
+\end{sidewaysfigure*}
+
+\Text
+\Text
+
+\Text
+\Text
+
+\clearpage
+Example of float row with textboxes (texts~\ref{row:textI:I}--\ref{row:textI:II} on the page~\pageref{row:textI:II}).
+
+\begin{sidewaystextbox*}
+\wideemptyfloatpage
+\begin{floatrow}
+\ttextbox
+{\TEXTBOX\par\TEXTBOX\footnote
+{Text of footnote. \text}}
+{\caption{Beside text~I. \text}%
+\label{row:textI:I}}%
+
+\floatbox{textbox}
+{\caption{Beside text~II}%
+\label{row:textI:II}%
+\floatfoot{Text of float foot. \text}%
+}%
+{\TEXTBOX[ \text.]}%
+\end{floatrow}
+\end{sidewaystextbox*}
+
+\Text \Text \Text
+
+\Text \Text
+
+\Text \Text
+
+
+\clearpage
+
+See example of continued textboxes (texts~\ref{cont:text:I}--\ref{cont:text:II}
+ on the pages~\pageref{cont:text:I}--\pageref{cont:text:II}).
+The continued floats
+\ifodd\value{page}\else
+\Text \Text
+
+\Text \Text
+
+\ifodd\value{page}\else
+\Text \Text
+
+\fi
+
+\ifodd\value{page}\else
+\Text \Text
+
+\fi
+
+\fi
+
+\begin{sidewaystextbox*}
+\buildFBBOX{\vbox to\rottextwidth\bgroup\vss}{\egroup}
+\wideemptyfloatpage
+\ttextbox
+{\TEXTBOX[ \Text \Text \par \Text \Text \text]}
+{\caption{Beside text~I. \text}%
+\label{cont:text:I}}%
+\end{sidewaystextbox*}
+
+\begin{sidewaystextbox*}
+\buildFBBOX{\vbox to\rottextwidth\bgroup}{\vss\egroup}
+\wideemptyfloatpage\ContinuedFloat
+\floatbox{textbox}
+{\caption{\emph{Continued}}%
+\label{cont:text:II}%
+\floatfoot{Text of float foot. \text}}%
+{\TEXTBOX[ \text.]}%
+\end{sidewaystextbox*}
+
+\Text \Text \Text
+
+\Text \Text
+
+\Text \Text
+
+\Text
+
+
+\fi
+
+
+\ifTwocolumn\else
+\ifLoadWrapfig
+
+\clearpage
+\Text
+
+\begin{wrapfigure}{O}{40mm}
+{\input{TheCat.picture}}
+\caption{Wrapped plain figure
+(\protect\pkg{wrapfig} package)}\floatfoot{The \texttt{BOXED}
+ style could get wrong layout in plain \texttt{wrap...} environment}\label{fig:wrapfig:WcatI}
+\end{wrapfigure}
+
+Example of plain wrapped figure (see figure~\ref{fig:wrapfig:WcatI}).
+\Text
+\Text
+
+\Text
+
+\clearpage
+\Text
+\begin{wrapfigure}{O}{40mm}
+\ffigbox
+{\par{\input{TheCat.picture}}}
+{\caption[Wrapped figure in \protect\com{floatbox}]{Wrapped figure in \protect\com{floatbox}
+ (\protect\pkg{wrapfig} package)\mpfootnotemark[1]}\footnotetext[1]{In some cases you ought to
+ correct height of wrapped float, or create faked paragraphs.}\label{fig:wrapfig:WcatII}}
+\end{wrapfigure}
+
+Example of wrapped figure in \verb|\floatbox| (see
+figure~\ref{fig:wrapfig:WcatII}).
+\Text
+\Text
+
+\Text
+
+\Text
+
+\fi\fi
+
+\endinput
diff --git a/Master/texmf-dist/doc/latex/floatrow/frsample01.tex b/Master/texmf-dist/doc/latex/floatrow/frsample01.tex
new file mode 100644
index 00000000000..e2a802fd5a7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample01.tex
@@ -0,0 +1,193 @@
+%sample file
+%all possible combinations of predefined floatrow styles
+%plain environments and float rows
+%caption above/below float object
+\listfiles
+\documentclass{book}
+
+\usepackage[footskip=4pt,objectset=centering]{floatrow}
+
+%load caption
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ justification=justified,singlelinecheck=no]{caption}[2004/11/28]
+
+\providecommand*{\com}[1]{\texttt{\char`\\#1}}
+
+%%%try with fancy shadowbox frame
+%%%there is the trick: base boxed and BOXED styles changed to use shadowbox frame
+%\usepackage{fr-fancy}
+%\DeclareFloatStyle{boxed}{capposition=bottom,captionskip=2pt,
+% framestyle=shadowbox,heightadjust=object,framearound=object}
+%\DeclareFloatStyle{BOXED}{capposition=bottom,framestyle=shadowbox,
+% framefit=yes,heightadjust=all,framearound=all}
+
+\setlength\textfloatsep{8ptplus2ptminus2pt}
+\setlength\intextsep{8ptplus2ptminus2pt}
+\advance\textheight1.2in
+\advance\topmargin-.6in
+\hbadness2000
+\advance\textwidth.5in
+\advance\evensidemargin-.25in
+\advance\oddsidemargin-.25in
+
+\begin{document}
+\chapter{Float Boxes with Foots: Variants of Layout}
+
+In this sample file are gathered plain float environments and float rows
+with usage of all predefined base float styles. You may try to run this document
+with \texttt{shadowbox} frame: uncomment line with \verb|\usepackage{fr-fancy}|
+at the preamble and lines below.
+
+The default vertical alignment of float objects is centered.
+To change alignment to top edge you may say:
+\begin{verbatim}
+\floatsetup{valign=t}
+\end{verbatim}
+like in current sample.
+Keys are analogous to option of vertical alignment in minipage and \verb|\parbox|:
+\texttt{t}---for top alignment, \texttt{c}---for center alignment,
+\texttt{b}---for bottom alignment, and \texttt{s}---to stretch float object material
+to full height.
+
+\emph{Note}. All float styles with frames get \verb|frameset={\fboxsep7.5pt}|
+to get more visible differences between fitted and non-fitted frames.
+
+%%%aligns float objects by top
+\floatsetup{valign=t}
+
+\newcommand\PICTURE[4]{\begin{picture}(#1,#2)
+ \put(0,0){\line(#3,#4){#1}}\put(0,0){\line(1,0){#1}}\put(0,0){\line(0,1){#2}}
+ \put(0,#2){\line(#3,-#4){#1}}\put(0,#2){\line(1,0){#1}}
+ \put(#1,0){\line(0,1){#2}}
+ \end{picture}}
+\newcommand\FIGS[5][]{
+\clearpage
+\markboth
+{{\small Variant #3: \texttt{style=#2,capposition=#4,footposition=#5}}}
+{{\small Variant #3: \texttt{style=#2,capposition=#4,footposition=#5}}}
+
+\noindent Var.\,#3: \protect\com{floatsetup}\texttt{\{style=#2,\allowbreak capposition=#4,\allowbreak
+footposition=#5\}}
+
+\clearfloatsetup{figure}
+\floatsetup[figure]{style=#2,capposition=#4,footposition=#5#1
+%%%you may try to create row with usage of predefined height uncomment next line
+%%%and [150] few lines below
+%,heightadjust=all
+}
+\begingroup\samepage
+\begin{figure}[H]
+ {\PICTURE{20}{20}11}%
+ \caption{%
+Plain figure in \texttt{#2} style. Caption position \texttt{#4}}%
+\label{fig:plain:#3}%
+\floatfoot{\sloppy Much more, more and more and more and more and more and more and more text inside macro
+\protect\com{floatfoot}}%
+\end{figure}
+
+\medskip
+\strut\vrule
+\medskip
+
+\begin{figure}[H]
+\begin{floatrow}[3]
+\floatbox{figure}
+{\caption{Beside figure in float row, ``column'' width. And more text\protect\footnote{\texttt{footpos=#5}}}}
+{\PICTURE{20}{20}11%
+\floatfoot{\sloppy Text inside \protect\com{floatfoot}}%
+\label{figI:#2:row:#3}}
+
+\floatbox{figure}[\FBwidth]
+{\caption{Beside figure, graphic width\strut}\label{figII:#2:row:#3}}
+{\PICTURE{96}{48}21%
+\floatfoot{\sloppy More and more text inside the \protect\com{floatfoot}}}
+
+%%%you may try to create float rows with usage of predefined height - uncomment [150pt]
+%%%and key heightadjust in \floatsetup few lines above
+\floatbox{figure}[\Xhsize]%[150pt]
+{\caption{Beside figure in float row. Float row in \texttt{#2} style, caption \texttt{#4}}}
+{\PICTURE{35}{35}11%
+\floatfoot{\sloppy Much more, more and more, more and more text inside \protect\com{floatfoot}}%
+\label{figIII:#2:row:#3}}
+\end{floatrow}
+\end{figure}
+
+\medskip
+\strut\vrule
+\medskip
+
+\captionof{figure}{Beside figure in float row. Float row in \texttt{#2} style, caption \texttt{#4}}
+
+\medskip
+\strut\vrule
+\medskip
+
+\captionof*{figure}{Beside figure in float row. Float row in \texttt{#2} style, caption \texttt{#4}}
+
+\medskip
+\strut\vrule
+\medskip
+
+\floatbox{figure}{}{\caption{Beside figure in float row. Float row in \texttt{#2} style, caption \texttt{#4}}}
+
+\medskip
+\strut\vrule
+\medskip
+
+\floatbox{figure}{\PICTURE{35}{35}11}{}
+
+\endgroup}
+
+\clearpage\raggedright
+%
+\FIGS[,frameset={\fboxsep7.5pt}]{BOXED}{I}{TOP}{caption}
+\FIGS[,frameset={\fboxsep7.5pt}]{BOXED}{II}{bottom}{caption}
+
+\FIGS{Ruled}{III}{TOP}{caption}
+\FIGS{Ruled}{IV}{bottom}{caption}
+
+\FIGS[,frameset={\fboxsep7.5pt}]{Boxed}{V}{TOP}{caption}
+\FIGS[,frameset={\fboxsep7.5pt}]{Boxed}{VI}{bottom}{caption}
+
+%
+\FIGS[,frameset={\fboxsep7.5pt}]{BOXED}{VII}{TOP}{default}
+\FIGS[,frameset={\fboxsep7.5pt}]{BOXED}{VIII}{bottom}{default}
+
+\FIGS{Ruled}{IX}{TOP}{default}
+\FIGS{Ruled}{X}{bottom}{default}
+
+\FIGS[,frameset={\fboxsep7.5pt}]{Boxed}{XI}{TOP}{default}
+\FIGS[,frameset={\fboxsep7.5pt}]{Boxed}{XII}{bottom}{default}
+
+%
+\FIGS[,frameset={\fboxsep7.5pt}]{BOXED}{XIII}{TOP}{bottom}
+\FIGS{Ruled}{XIV}{TOP}{bottom}
+
+\FIGS[,frameset={\fboxsep7.5pt}]{Boxed}{XV}{TOP}{bottom}
+
+\clearpage
+\textbf{The next variants (XVI--XXI) show layout of framed styles
+with key \texttt{framefit=no}; \texttt{boxed} style (native style of \textsf{float} package),
+and \texttt{BOXED} with added key \texttt{framefit=no}.}
+\vfill\vbox{}\vfill
+
+\floatsetup{floatrowsep=qquad}
+\clearpage
+\FIGS[,frameset={\fboxsep7.5pt}]{boxed}{XVI}{TOP}{caption}
+\FIGS[,framefit=no,frameset={\fboxsep7.5pt}]{BOXED}{XVII}{TOP}{caption}
+
+\FIGS[,frameset={\fboxsep7.5pt}]{boxed}{XVIII}{TOP}{default}
+\FIGS[,framefit=no,frameset={\fboxsep7.5pt}]{BOXED}{XIX}{TOP}{default}
+
+\FIGS[,frameset={\fboxsep7.5pt}]{boxed}{XX}{TOP}{bottom}
+\FIGS[,framefit=no,frameset={\fboxsep7.5pt}]{BOXED}{XXI}{TOP}{bottom}
+
+\FIGS{plain}{XXII}{TOP}{caption}
+\FIGS{plain}{XXIII}{bottom}{caption}
+
+\FIGS{plain}{XXIV}{TOP}{default}
+\FIGS{plain}{XXV}{bottom}{default}
+
+\FIGS{plain}{XXVI}{TOP}{bottom}
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/floatrow/frsample02.tex b/Master/texmf-dist/doc/latex/floatrow/frsample02.tex
new file mode 100644
index 00000000000..f92bab54607
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample02.tex
@@ -0,0 +1,360 @@
+%sample file
+%all possible combinations of predefined floatrow styles
+%caption beside float object
+\listfiles
+\documentclass{book}
+
+\usepackage{graphicx}
+\usepackage[footskip=4pt,objectset=centering,capbesidesep=quad]{floatrow}
+
+%load caption
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ justification=raggedright,singlelinecheck=no]{caption}[2004/11/28]
+
+\providecommand*\rightlast{\leftskip0ptplus1fil
+ \rightskip0ptplus-1fil\parfillskip0ptplus1fil}
+\providecommand*\leftlast{\leftskip0pt\rightskip0pt\parfillskip0ptplus1fil}
+\DeclareCaptionJustification{togglelast}
+ {\floatfacing*\rightlast\leftlast}
+\captionsetup[floatbeside]{justification=togglelast}
+
+\providecommand*{\com}[1]{\texttt{\char`\\#1}}
+
+%%try with fancy shadowbox frame
+%%there is the trick: base boxed style changed to use shadowbox frame
+%\usepackage{fr-fancy}
+%\DeclareFloatStyle{boxed}{capposition=bottom,captionskip=2pt,
+% framestyle=shadowbox,heightadjust=object,framearound=object}
+%\DeclareFloatStyle{BOXED}{capposition=bottom,framestyle=shadowbox,
+% framefit=yes,heightadjust=all,framearound=all}
+
+\setlength\textfloatsep{8ptplus2ptminus2pt}
+\setlength\intextsep{8ptplus2ptminus2pt}
+\advance\textheight2in
+\advance\topmargin-.85in
+\hbadness5000
+\advance\textwidth.5in
+\advance\evensidemargin-.25in
+\advance\oddsidemargin-.25in
+
+\begin{document}
+\chapter{Float Boxes with Beside Captions: Variants of Layout}
+
+In this sample are gathered all possible combinations with beside captions
+with all predefined base float styles. You may try to run this document
+with \texttt{shadowbox} frame: uncomment line with \verb|\usepackage{fr-fancy}|
+at the preamble and lines below.
+
+\emph{Notes}.
+
+1)\enskip All float styles with frames get \verb|frameset={\fboxsep6pt}|
+to get more visible differences between fitted and non-fitted frames.
+
+2)\enskip The fancy boxes \texttt{shadowbox} and \texttt{wshadowbox}
+do not make differences between \texttt{capbesideframe=yes} and \texttt{capbesideframe=no}.
+
+\raggedright
+
+\newcommand\FIGS[5][]{%
+\markboth{\hbox{\small Variant #3}}{\hbox{\small Variant #3}}
+
+\small Variant #3: {\ttfamily\raggedright
+style=#2,capposition=beside,\allowbreak capbesideposition=\{#4\},\allowbreak capbesideframe=#5\par}
+
+\clearfloatsetup{figure}
+\floatsetup[figure]{style=#2,capposition=beside,capbesideposition=#4,capbesideframe=#5,facing=yes#1}
+\begin{figure}[!h]
+ {{\fboxsep2pt\fbox{\begin{picture}(128,32)\put(0,0){\line(4,1){128}}\put(0,32){\line(4,-1){128}}\end{picture}}}}%
+ \caption{%
+ Plain figure in \texttt{#2} style. \texttt{#2} style. Width of column}%
+ \label{fig:plain:#3}%
+\end{figure}
+
+\begin{figure}[!h]
+\fcapside
+ {{\fboxsep2pt\fbox{\begin{picture}(128,32)\put(0,0){\line(4,1){128}}\put(0,32){\line(4,-1){128}}\end{picture}}}}%
+ {\caption{%
+ Figure in \protect\com{ffigbox}. \texttt{#2} style. Width of column}%
+ \label{fig:floatbox:#3}}%
+
+\vskip\floatsep
+\fcapside[\FBwidth]
+ {{\fboxsep2pt\fbox{\begin{picture}(128,32)\put(0,0){\line(4,1){128}}\put(0,32){\line(4,-1){128}}\end{picture}}}}%
+ {\caption{%
+ Figure in \protect\com{ffigbox}. \texttt{#2} style. Width of graphics}%
+ \label{fig:fbwidth:#3}}%
+\end{figure}
+
+}
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{1}{{top,inside}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{2}{{center,inside}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{3}{{bottom,inside}}{yes}
+\vfill
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{4}{{top,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{5}{{center,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{6}{{bottom,inside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{7}{{top,outside}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{8}{{center,outside}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{9}{{bottom,outside}}{yes}
+\vfill
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{10}{{top,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{11}{{center,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{12}{{bottom,outside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{13}{{top,left}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{14}{{center,left}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{15}{{bottom,left}}{yes}
+\vfill
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{16}{{top,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{17}{{center,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{18}{{bottom,left}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{19}{{top,right}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{20}{{center,right}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{21}{{bottom,right}}{yes}
+\vfill
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{Boxed}{22}{{top,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{23}{{center,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{24}{{bottom,right}}{no}
+\vfill
+
+%%%
+
+\clearpage
+\floatsetup{capbesidesep=qquad}
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{25}{{top,inside}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{26}{{center,inside}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{27}{{bottom,inside}}{yes}
+\vfill
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{28}{{top,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{29}{{center,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{30}{{bottom,inside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{31}{{top,outside}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{32}{{center,outside}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{33}{{bottom,outside}}{yes}
+\vfill
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{34}{{top,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{35}{{center,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{36}{{bottom,outside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{37}{{top,left}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{38}{{center,left}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{39}{{bottom,left}}{yes}
+\vfill
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{40}{{top,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{41}{{center,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{42}{{bottom,left}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{43}{{top,right}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{44}{{center,right}}{yes}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{45}{{bottom,right}}{yes}
+\vfill
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{46}{{top,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{47}{{center,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{boxed}{48}{{bottom,right}}{no}
+\vfill
+
+%%%
+
+\clearpage
+\floatsetup{capbesidesep=quad}
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{49}{{top,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{50}{{center,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{51}{{bottom,inside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{52}{{top,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{53}{{center,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{54}{{bottom,outside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{55}{{top,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{56}{{center,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{57}{{bottom,left}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{58}{{top,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{59}{{center,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{BOXED}{60}{{bottom,right}}{no}
+\vfill
+
+%%%
+
+\clearpage
+\floatsetup{capbesidesep=qquad}
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{61}{{top,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{62}{{center,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{63}{{bottom,inside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{64}{{top,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{65}{{center,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{66}{{bottom,outside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{67}{{top,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{68}{{center,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{69}{{bottom,left}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{70}{{top,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{71}{{center,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt},framefit=no]{BOXED}{72}{{bottom,right}}{no}
+\vfill
+
+%%%
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{73}{{top,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{74}{{center,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{75}{{bottom,inside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{76}{{top,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{77}{{center,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{78}{{bottom,outside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{79}{{top,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{80}{{center,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{81}{{bottom,left}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{82}{{top,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{83}{{center,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{ruled}{84}{{bottom,right}}{no}
+\vfill
+
+%%%
+
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{plain}{85}{{top,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{plain}{86}{{center,inside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{plain}{87}{{bottom,inside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{plain}{88}{{top,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{plain}{89}{{center,outside}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{plain}{90}{{bottom,outside}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{plain}{91}{{top,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{plain}{92}{{center,left}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{plain}{93}{{bottom,left}}{no}
+\vfill
+%
+\clearpage
+\FIGS[,frameset={\fboxsep6pt}]{plain}{94}{{top,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{plain}{95}{{center,right}}{no}
+\vfill
+\FIGS[,frameset={\fboxsep6pt}]{plain}{96}{{bottom,right}}{no}
+\vfill
+
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/floatrow/frsample03.tex b/Master/texmf-dist/doc/latex/floatrow/frsample03.tex
new file mode 100644
index 00000000000..476147e8724
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample03.tex
@@ -0,0 +1,610 @@
+%sample file
+%table floats---different tests
+\listfiles
+\documentclass{book}
+
+\usepackage{calc}
+\usepackage{tabularx,array}
+
+\usepackage{longtable}
+\usepackage{floatpagestyle}
+
+%load floatrow
+\usepackage[font=small,footskip=.5\skip\footins,
+ capbesidesep=quad,floatrowsep=quad]{floatrow}
+\usepackage{fr-lngtab}
+
+\floatsetup[table]{style=Plaintop,captionskip=5pt}
+
+%load caption
+\usepackage[font=small,justification=centerlast]{caption}[2004/11/28]
+
+%%%for all versions of caption 3.x?
+\DeclareCaptionFormat{flushrightlabel}{\leavevmode\rightline{#1}#2#3\normalfont\par}
+%%%for caption 3.d?
+%\DeclareCaptionFormat*{flushrightlabel}{\rightline{#1}#3\par}
+
+\captionsetup[table]%
+ {format=flushrightlabel,labelformat=continued,labelsep=newline,textfont=bf,labelfont=sl}
+%%%for caption 3.d?
+%\captionsetup[table]%
+% {format=flushrightlabel,labelsep=none,textfont=bf,labelfont=sl}
+
+%>>>
+\DeclareCaptionLabelFormat{continued}{\bothIfFirst{#1}{ }#2\Continued}
+\newcommand\Continued{}
+%\DeclareCaptionLabelFormat{continued}{\bothIfFirst{#1}{ }#2. \emph{Continued}}
+\def\ContinuedTable{\ContinuedFloat\def\Continued{. \emph{Continued}}\caption{}}
+%\def\ContinuedTable{\ContinuedFloat\captionsetup[table]{labelformat=continued}\caption{}}
+%<<<
+
+\captionsetup[floatfoot]{format=default}
+\captionsetup[longtable]{labelformat=default}
+
+
+%load subfig
+\newif\ifLoadSubfig
+\IfFileExists{subfig.sty}{\usepackage[justification=centerlast]{subfig}
+\captionsetup[subtable]{format=default,labelfont=bf,textfont=sl}
+
+\floatsetup{subfloatrowsep=quad}
+\LoadSubfigtrue}{\LoadSubfigfalse}
+
+\let\wideemptyfloatpage\emptyfloatpage
+
+\newif\ifLoadRotating
+\IfFileExists{rotating.sty}
+{\usepackage[figuresright]{rotating}
+
+\DeclareMarginSet{expand}%
+ {\setfloatmargins{\hfil}
+ {\hskip-\headsep\hskip-.7\headheight plus1fil}}
+\floatsetup[rotfloat]{margins=expand}
+\LoadRotatingtrue}{\LoadRotatingfalse}
+
+\newcommand\TABULARX[1][]{\begin{tabularx}{\hsize}{|X|X|X|}
+\hline
+Text for first column of first row#1&
+ More text for second column of first row#1&
+ More text for third column of first row#1\\\hline
+Text for first column of second row#1&
+ More text for second column of second row#1&
+ More text for third column of second row#1\\\hline
+Text for first column of third row#1&
+ More text for second column of third row#1&
+ More text for third column of third row#1\\\hline
+\end{tabularx}}
+
+\newcommand\TABULARS[1][]{\begin{tabular*}
+ {\hsize}{@{\extracolsep{-.4\tabcolsep plus1fill}}|p{.29\hsize}|p{.29\hsize}|p{.29\hsize}|}
+\hline
+Text for first column of first row#1&
+ More text for second column of first row#1&
+ More text for third column of first row#1\\\hline
+Text for first column of second row#1&
+ More text for second column of second row#1&
+ More text for third column of second row#1\\\hline
+Text for first column of third row#1&
+ More text for second column of third row#1&
+ More text for third column of third row#1\\\hline
+\end{tabular*}}
+
+\newcommand\TABULARI{\begin{tabular}{|l|>{\phantom0}c|>{\phantom0}c|}
+ \hline
+ \raisebox{-1.5ex}{Column Head}
+ & \multicolumn{2}{c|}{Data} \\
+ \cline{2-3}
+ & \multicolumn{1}{c|}{I}
+ & \multicolumn{1}{c|}{II}
+ \\\hline
+ First row & 1 & 2 \\
+ Second row & 3 & 4 \\
+ Third row & 6 & 8 \\
+ Fourth row & \llap{1}0 & \llap{1}6 \\
+ \hline
+\end{tabular}}
+
+\newcommand\TABULARII{\begin{tabular}{|l|c|c|c|}
+ \hline
+ \raisebox{-1.5ex}{Column Head}
+ & \multicolumn{3}{c|}{Data} \\
+ \cline{2-4}
+ & I & II & III \\
+ \hline
+ First row & 1 & 2 & \phantom01 \\
+ Second row & 3 & 4 & \phantom06 \\
+ Third row & 6 & 8 & 28 \\
+ \hline
+\end{tabular}}
+
+\providecommand*{\Lopt}[1]{\textsf{#1}}
+\providecommand*{\file}[1]{\texttt{#1}}
+\providecommand*{\pkg}[1]{\texttt{#1}}
+\providecommand*{\env}[1]{\texttt{#1}}
+\providecommand*{\com}[1]{\texttt{\char`\\#1}}
+\providecommand*{\meta}[1]{$\langle$\textit{#1}$\rangle$}
+
+\hfuzz3pt
+\hbadness7000
+
+\def\text{And more text and some more text and a bit more text and
+a little more text and a little peace of text to fill space}
+
+\def\Text{{\mdseries \text. \text. \text. \text. }}
+
+\begin{document}
+
+\chapter{Table Layout}
+
+\begin{sl}
+This example shows floats in one-column document.
+
+\emph{Common float settings.}\\
+Font for float contents \verb|\small|; skips before foot material half reduced;
+footnote rule has maximum width${{}\approx27}$\,mm; separation between
+beside caption and object equals to 1\,em; separation between beside float
+boxes also equals to 1\,em.
+\begin{verbatim}
+\usepackage[font=small,footskip=.5\skip\footins,
+ captionskip=5pt,capbesidesep=quad,floatrowsep=quad]{floatrow}
+\end{verbatim}
+
+\emph{Common caption settings.}\\
+For caption text used \verb|\small| font;
+justification \texttt{centerlast} (last line centered).
+\begin{verbatim}
+\usepackage[font=small,justification=centerlast]{caption}
+\end{verbatim}
+
+\emph{Common subcaption settings.}\\
+Justification centerlast (last line centered).
+\begin{verbatim}
+\usepackage[justification=centerlast]{subfig}
+\end{verbatim}
+
+\emph{Special settings for float types.}
+
+\emph{Table.}\\
+For tables is used \texttt{Plaintop} style (captions aligned by top line);
+skip between caption and object half reduced.
+\begin{verbatim}
+\floatsetup[table]{style=Plaintop,captionskip=5pt}
+\end{verbatim}
+
+\emph{Special caption settings for float types.}
+
+\emph{Table.}\\
+For tables was created special format with separated label flushed to the right;
+font of label slanted, font of caption text bold.
+
+To restore normal behavior for \verb|\floatfoot| macro, here goes \verb|\captionsetup|
+for \texttt{floatfoot} style.
+\begin{verbatim}
+\DeclareCaptionFormat{flushrightlabel}{\leavevmode
+ \rightline{#1}#2#3\par}
+
+\captionsetup[table]%
+ {format=flushrightlabel,labelsep=newline,
+ textfont=bf,labelfont=sl}
+
+\captionsetup[floatfoot]{format=default}
+\end{verbatim}
+With caption's version 3d you may set table format by this way:
+\begin{verbatim}
+\DeclareCaptionFormat*{flushrightlabel}{\rightline{#1}#3\par}
+
+\captionsetup[table]%
+ {format=flushrightlabel,labelsep=none,textfont=bf,labelfont=sl}
+\end{verbatim}
+You may see, that there are absent settings for \verb|\floatfoot|.
+(Unfortunately, if your table has only label, and no any text, the unwanted
+space appears instead of caption title.)
+
+For continued table (like table~\ref{rot:tab:cont} on the page~\pageref{rot:tab:cont})
+was created new label format and defined command \verb|\ContinuedTable|, which includes
+special \texttt{continued} format and \verb|\ContinuedFloat| command.
+\begin{verbatim}
+\DeclareCaptionLabelFormat{continued}{\bothIfFirst{#1}{ }#2.
+ \emph{Continued}}
+
+\def\ContinuedTable{\ContinuedFloat
+ \captionsetup[table]{labelformat=continued}}
+\end{verbatim}
+
+\emph{Special settings for special float layout.}
+
+\emph{Rotated.}\\
+For rotated floats beside caption placed to right side of object;
+right side expanded to the top of running head. To delete running head from pages
+with rotated float was used \verb|\emptyfloatpage| macro\footnote{In current example the
+\protect\com{wideemptyfloatpage} command is the synonym.} and
+loaded \pkg{floatpagestyle} package.
+\begin{verbatim}
+\DeclareMarginSet{expand}%
+ {\setfloatmargins{\hfil}
+ {\hskip-\headsep\hskip-.7\headheight plus1fil}}
+\floatsetup[rotfloat]{sidecappos=right,floatmargins=expand}
+\end{verbatim}
+
+\end{sl}
+
+\clearpage
+\bfseries\boldmath
+Example of plain \env{table} environment (table~\ref{float:plain:table}),
+
+\begin{table}
+\caption{Plain table environment with \env{tabularx}. \text}\label{float:plain:table}
+\TABULARX
+\end{table}
+
+\Text
+
+\Text
+
+\clearpage
+Example of plain \env{table} environment (table~\ref{float:w:plain:table})
+with predefined width.
+Before \env{table} environment was written:
+\begin{verbatim}
+\thisfloatsetup{floatwidth=.85\hsize}
+\end{verbatim}
+
+\thisfloatsetup{floatwidth=.85\hsize}
+\begin{table}
+\caption{Plain table environment (\env{tabularx}) with predefined width. \text}\label{float:w:plain:table}
+\TABULARX
+\end{table}
+
+
+\Text
+
+\clearpage
+Example of table placed in \verb|\ttabbox| (\verb|\floatbox| stuff);
+the width of float box equals to the width of table
+(see table~\ref{floatbox:FB:tab}).
+
+\begin{table}
+\floatbox{table}[\FBwidth]
+{\caption{Float box table (\protect\com{ttabbox})
+width of table}\label{floatbox:FB:tab}}
+{\tabcolsep2\tabcolsep\TABULARI\floatfoot{Text of floatfoot. \text}}
+\end{table}
+
+\Text
+
+\ifLoadSubfig
+
+\clearpage
+The example of subtables (table~\ref{floatbox:wide:subtab}) with two
+subtables~\subref{subtab:A} and~\subref{subtab:B}.
+
+Here for sub tables was used the \env{subfloatrow} environment (this environment
+allows usage (and definition) of common horizontal skip between subfloats).
+\begin{verbatim}
+\begin{table*}\extrarowheight1pt
+\floatbox[\captop]{table}[\FBwidth]
+{\caption{...}
+{\begin{subfloatrow}
+\subfloat[...]{...}
+
+\subfloat[...]{...}%
+\end{subfloatrow}}
+\end{table*}%
+\end{verbatim}
+
+\begin{table*}\extrarowheight1pt
+\floatbox[\captop]{table}[\FBwidth]
+{\caption{Table with two \protect\com{subfloats}
+ (from \pkg{subfig} package)}\label{floatbox:wide:subtab}}
+{\begin{subfloatrow}
+\subfloat[First table\label{subtab:A}]
+{\TABULARI}%
+
+\subfloat[Second table with long long long caption\label{subtab:B}]
+{\TABULARII}%
+\end{subfloatrow}}
+\end{table*}%
+
+\Text
+
+\fi
+
+\clearpage
+The example of table row (tables~\ref{tab:row:tabI}--\ref{tab:row:tabII}).
+
+\begin{table*}
+\begin{floatrow}
+\extrarowheight1pt
+\ttabbox
+{\caption[Beside table~I long header]%
+ {Beside table~I with long long long top aligned header}\label{tab:row:tabI}}
+{\TABULARI}
+%
+\ttabbox
+{\caption{Beside table~II short header}\label{tab:row:tabII}}
+{\TABULARII}
+\end{floatrow}
+\end{table*}
+
+\Text
+
+\clearpage
+Example of two rows: first---of beside tables in \env{tabularx} environments;
+second---of beside tables in \env{tabular*} environments. Both rows use first column width${}=.85$\verb|\hsize|,
+and second column${}=1.15$\verb|\hsize|.
+(see tables~\ref{rot:tabx:tab1}--\ref{rot:tabx:tab2}).
+
+\begin{table}[!t]
+\begin{floatrow}\tabcolsep.5\tabcolsep
+ \ttabbox[.85\hsize]{\begin{tabularx}{\hsize}{|X|X|}
+\hline
+A text for first column of first row&
+ More text for second column of first row\\\hline
+A text for first column of second row&
+ More text for second column of second row\\\hline
+A text for first column of third row&
+ More text for second column of third row\\\hline
+\end{tabularx}}{\caption{The \env{tabularx} environment with width \texttt{.85}\protect\com{hsize}}\label{rot:tabx:tab1}}
+ \ttabbox[1.15\hsize]{\begin{tabularx}{\hsize}{|X|X|}
+\hline
+Text for first column of first row&
+ More text for second column of first row\\\hline
+Text for first column of second row&
+ More text for second column of second row\\\hline
+Text for first column of third row&
+ More text for second column of third row\\\hline
+\end{tabularx}}{\caption{The \env{tabularx} (from \pkg{tools} bundle) environment with width \texttt{1.15}\protect\com{hsize}}}
+\end{floatrow}
+\vskip\floatsep
+
+\begin{floatrow}\tabcolsep.75\tabcolsep
+ \ttabbox[.85\hsize]{{\begin{tabular*}{\hsize}{@{\extracolsep{-.4\tabcolsep plus1fill}}
+ |p{.44\hsize}|p{.44\hsize}|}
+\hline
+A text for first column of first row&
+ More text for second column of first row\\\hline
+A text for first column of second row&
+ More text for second column of second row\\\hline
+A text for first column of third row &
+ More text for second column of third row\\\hline
+\end{tabular*}}}{\caption{The \env{tabular*} environment with width \texttt{.85}\protect\com{hsize}}}
+ \ttabbox[1.15\hsize]{{\begin{tabular*}{\hsize}{@{\extracolsep{-.4\tabcolsep plus1fill}}|p{.45\hsize}|p{.45\hsize}|}
+\hline
+Text for first column of first row&
+ More text for second column of first row\\\hline
+Text for first column of second row&
+ More text for second column of second row\\\hline
+Text for first column of third row &
+ More text for second column of third row\\\hline
+\end{tabular*}}}{\caption{The starred \LaTeX's \env{tabular*} environment with width \texttt{1.15}\protect\com{hsize}}\label{rot:tabx:tab2}}
+\end{floatrow}
+\end{table}
+
+\Text
+
+\clearpage
+Example of continued rotated plain table on facing pages
+(see table~\ref{rot:tab} on pages~\pageref{rot:tab}--\pageref{rot:tab:cont}).
+
+\ifodd\value{page}\else
+\Text \Text
+
+\Text \Text
+
+\ifodd\value{page}\else
+\Text \Text
+\Text \Text
+
+\Text \Text
+
+\fi
+
+\fi
+
+\newdimen\rottextwidth\rottextwidth\textwidth
+
+\begin{sidewaystable}
+\buildFBBOX{\vbox to\rottextwidth\bgroup\vss}{\egroup}
+\wideemptyfloatpage
+\caption{Plain table inside
+\protect\env{sidewaystable} environment,
+full text width. \text}\label{rot:tab}
+
+\TABULARX[ \text. \text. ]
+\end{sidewaystable}
+%
+\begin{sidewaystable}
+\buildFBBOX{\vbox to\rottextwidth\bgroup}{\vss\egroup}
+\emptyfloatpage\ContinuedTable
+\label{rot:tab:cont}
+
+\TABULARX[ \text.]
+\end{sidewaystable}
+
+\Text
+
+\Text
+
+\Text
+
+\Text
+
+\clearpage
+Example of two beside tables in wide rotated table environment (\env{sidewaystable*})
+(see tables~\hbox{\ref{rot:side:tab1}--\ref{rot:side:tab2}}
+on page~\pageref{rot:side:tab1}).
+
+\begin{sidewaystable*}\wideemptyfloatpage
+\begin{floatrow}
+ \ttabbox[\hsize]
+ {{\TABULARS[. \text]\floatfoot{If you use inside \protect\com{floatbox} stuff
+\texttt{tabularx} or \texttt{tabular*} environments with \protect\com{hsize}
+command inside \meta{width} argument, you must repeat the \protect\com{hsize} argument
+in \meta{width} argument of \protect\com{floatbox} macro.}}}
+ {\caption{}\label{rot:side:tab1}}
+ \ttabbox[\hsize]
+ {{\TABULARS[. \text]\floatfoot{If you want to set width of \texttt{tabularx} or \texttt{tabular*} environments
+ like \texttt{.8}\protect\com{hsize} (or \texttt{1.2}\protect\com{hsize}) and they placed inside any
+\protect\com{floatbox} macro, load \texttt{.8}\protect\com{hsize} in \meta{width} argument of
+\protect\com{floatbox} macro, and in \meta{width} argument of \texttt{tabularx} or \texttt{tabular*}
+load only \protect\com{hsize} macro.}}}
+ {\caption{}\label{rot:side:tab2}}
+\end{floatrow}
+
+\end{sidewaystable*}
+
+\Text
+
+\Text
+
+\clearpage
+Example of two rows of beside tables in wide rotated table
+(see tables~\ref{rot:tworow:tab1}--\ref{rot:tworow:tab2} on page~\pageref{rot:tworow:tab2}).
+There were used \env{tabularx} environment in first row and
+\env{tabular*}---in the second.
+
+\begin{sidewaystable*}\wideemptyfloatpage
+\begin{floatrow}
+ \ttabbox[\hsize]
+ {{\TABULARX}}{\caption{}\label{rot:tworow:tab1}}
+ \ttabbox[\hsize]
+ {{\TABULARX}}{\caption{}}
+\end{floatrow}
+\vskip\floatsep
+
+\begin{floatrow}
+ \ttabbox[\hsize]{{\TABULARS}}{\caption{}}
+ \ttabbox[\hsize]{{\TABULARS}}{\caption{}\label{rot:tworow:tab2}}
+\end{floatrow}
+
+\end{sidewaystable*}
+
+\Text
+\Text
+
+\normalfont
+\begin{longtable}{@{}lll}
+ \caption{The ISOGRK3 entity set and more more more more more more more more more
+ more more more more more more more more more text}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endfirsthead
+\noalign{\gdef\Continued{. \emph{Continued}}}
+\caption{}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endhead
+ \hline \multicolumn{3}{@{}r@{}}{\emph{Continued on next page}}
+\endfoot
+\noalign{\gdef\Continued{}}
+ \hline
+\endlastfoot
+alpha & GREEK SMALL LETTER ALPHA & 03B1\\
+beta & GREEK SMALL LETTER BETA & 03B2\\
+chi & GREEK SMALL LETTER CHI & 03C7\\
+\empty
+Delta & GREEK CAPITAL LETTER DELTA & 0394\\
+delta & GREEK SMALL LETTER DELTA & 03B4\\
+epsi & GREEK SMALL LETTER EPSILON & 03B5\\
+epsis & GREEK LUNATE EPSILON SYMBOL & 03F5\\
+epsiv & GREEK SMALL LETTER EPSILON & 03B5\\
+eta & GREEK SMALL LETTER ETA & 03B7\\
+Gamma & GREEK CAPITAL LETTER GAMMA & 0393\\
+gamma & GREEK SMALL LETTER GAMMA & 03B3\\
+gammad & GREEK SMALL LETTER DIGAMMA & 03DD\\
+iota & GREEK SMALL LETTER IOTA & 03B9\\
+kappa & GREEK SMALL LETTER KAPPA & 03BA\\
+kappav & GREEK KAPPA SYMBOL & 03F0\\
+Lambda & GREEK CAPITAL LETTER LAMDA & 039B\\
+lambda & GREEK SMALL LETTER LAMDA & 03BB\\
+mu & GREEK SMALL LETTER MU & 03BC\\
+nu & GREEK SMALL LETTER NU & 03BD\\
+Omega & GREEK CAPITAL LETTER OMEGA & 03A9\\
+omega & GREEK SMALL LETTER OMEGA & 03C9\\
+Phi & GREEK CAPITAL LETTER PHI & 03A6\\
+phis & GREEK PHI SYMBOL & 03D5\\
+phiv & GREEK SMALL LETTER PHI & 03C6\\
+Pi & GREEK CAPITAL LETTER PI & 03A0\\
+pi & GREEK SMALL LETTER PI & 03C0\\
+piv & GREEK PI SYMBOL & 03D6\\
+Psi & GREEK CAPITAL LETTER PSI & 03A8\\
+psi & GREEK SMALL LETTER PSI & 03C8\\
+rho & GREEK SMALL LETTER RHO & 03C1\\
+rhov & GREEK RHO SYMBOL & 03F1\\
+Sigma & GREEK CAPITAL LETTER SIGMA & 03A3\\
+sigma & GREEK SMALL LETTER SIGMA & 03C3\\
+sigmav & GREEK SMALL LETTER FINAL SIGMA & 03C2\\
+tau & GREEK SMALL LETTER TAU & 03C4\\
+Theta & GREEK CAPITAL LETTER THETA & 0398\\
+thetas & GREEK SMALL LETTER THETA & 03B8\\
+thetav & GREEK THETA SYMBOL & 03D1\\
+Upsi & GREEK UPSILON WITH HOOK SYMBOL & 03D2\\
+upsi & GREEK SMALL LETTER UPSILON & 03C5\\
+Xi & GREEK CAPITAL LETTER XI & 039E\\
+xi & GREEK SMALL LETTER XI & 03BE\\
+zeta & GREEK SMALL LETTER ZETA & 03B6\\
+\end{longtable}
+
+\begin{longtable}{!{\vrule width6pt}l|l|l!{\vrule width6pt}}
+ \caption{The ISOGRK3 entity set and more more more more more more more more more
+ more more more more more more more more more text}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endfirsthead
+%>>>
+\noalign{\gdef\Continued{. \emph{Continued}}}
+%<<<
+\caption{}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endhead
+ \hline \multicolumn{3}{@{}r@{}}{\emph{Continued on next page}}
+\endfoot
+%>>>
+\noalign{\gdef\Continued{}}
+%<<<
+ \hline
+\endlastfoot
+alpha & SMALL LETTER ALPHA & 03B1\\
+beta & SMALL LETTER BETA & 03B2\\
+chi & SMALL LETTER CHI & 03C7\\
+\empty
+Delta & CAPITAL LETTER DELTA & 0394\\
+delta & SMALL LETTER DELTA & 03B4\\
+epsi & SMALL LETTER EPSILON & 03B5\\
+epsis & LUNATE EPSILON SYMBOL & 03F5\\
+epsiv & SMALL LETTER EPSILON & 03B5\\
+eta & SMALL LETTER ETA & 03B7\\
+Gamma & CAPITAL LETTER GAMMA & 0393\\
+gamma & SMALL LETTER GAMMA & 03B3\\
+gammad & SMALL LETTER DIGAMMA & 03DD\\
+iota & SMALL LETTER IOTA & 03B9\\
+kappa & SMALL LETTER KAPPA & 03BA\\
+kappav & KAPPA SYMBOL & 03F0\\
+Lambda & CAPITAL LETTER LAMDA & 039B\\
+lambda & SMALL LETTER LAMDA & 03BB\\
+mu & SMALL LETTER MU & 03BC\\
+nu & SMALL LETTER NU & 03BD\\
+Omega & CAPITAL LETTER OMEGA & 03A9\\
+omega & SMALL LETTER OMEGA & 03C9\\
+Phi & CAPITAL LETTER PHI & 03A6\\
+phis & PHI SYMBOL & 03D5\\
+phiv & SMALL LETTER PHI & 03C6\\
+Pi & CAPITAL LETTER PI & 03A0\\
+pi & SMALL LETTER PI & 03C0\\
+piv & PI SYMBOL & 03D6\\
+Psi & CAPITAL LETTER PSI & 03A8\\
+psi & SMALL LETTER PSI & 03C8\\
+rho & SMALL LETTER RHO & 03C1\\
+rhov & RHO SYMBOL & 03F1\\
+Sigma & CAPITAL LETTER SIGMA & 03A3\\
+sigma & SMALL LETTER SIGMA & 03C3\\
+sigmav & SMALL LETTER FINAL SIGMA & 03C2\\
+tau & SMALL LETTER TAU & 03C4\\
+Theta & CAPITAL LETTER THETA & 0398\\
+thetas & SMALL LETTER THETA & 03B8\\
+thetav & THETA SYMBOL & 03D1\\
+Upsi & UPSILON WITH HOOK SYMBOL & 03D2\\
+upsi & SMALL LETTER UPSILON & 03C5\\
+Xi & CAPITAL LETTER XI & 039E\\
+xi & SMALL LETTER XI & 03BE\\
+zeta & SMALL LETTER ZETA & 03B6\\
+\end{longtable}
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/floatrow/frsample04.tex b/Master/texmf-dist/doc/latex/floatrow/frsample04.tex
new file mode 100644
index 00000000000..b157441c1d4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample04.tex
@@ -0,0 +1,369 @@
+%frsample05 - sample
+%sample with layout with usage of beside captions
+\input pictures
+\listfiles
+\documentclass{book}
+
+\usepackage{calc}
+\usepackage{tabularx,array}
+
+\IfFileExists{pstricks.sty}{\usepackage{pstricks}\psset{unit=1pt}}{}
+
+\IfFileExists{fancyhdr.sty}{\RequirePackage{fancyhdr}\pagestyle{fancy}\fancyfoot{}
+\fancyhead[LE]{\leavevmode\hspace*{-7cc}\def\arraystretch{1,2}\begin{tabular}{@{}l@{}}
+ \rlap{\thepage}\hskip7cc\hbox to\textwidth{\slshape\leftmark\hfill}\strut\\\hline\end{tabular}}
+\fancyhead[LO]{\leavevmode\hspace*{-7cc}\def\arraystretch{1.2}\begin{tabular}{@{}l@{}}
+ \hskip7cc\hbox to\textwidth{\slshape\rightmark\quad\hfill\thepage}\strut\\\hline\end{tabular}}
+\fancyhead[RE]{}\fancyhead[CE]{}
+\fancyhead[RO]{}\fancyhead[CO]{}
+\def\headrulewidth{0pt}}
+{\pagestyle{plain}}
+
+%load floatrow
+\usepackage[font=small,captionskip=5pt,
+ capbesideframe=yes]{floatrow}
+
+%load caption
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ justification=raggedright,singlelinecheck=no]{caption}[2004/11/28]
+
+\DeclareMarginSet{hangleft}%
+ {\setfloatmargins{\hskip-7cc}{\hfill}}
+
+\DeclareFloatSeparators{cicero}{\hskip1cc}
+
+\DeclareCaptionFormat{Hang}{\leftskip7cc\parindent0pt
+ \noindent\llap{\hbox to\leftskip{#1#2\hfil}}#3\par}
+\DeclareCaptionFormat{break}{#1#2\break#3}
+
+\floatsetup[figure]{style=Boxed,
+ capposition=beside,capbesidewidth=6cc,objectset=centering,
+ capbesideposition=left,capbesidesep=cicero,
+ floatwidth=\columnwidth,
+ margins=hangleft}
+
+\floatsetup[widefigure]{capposition=bottom}
+
+\captionsetup[figure]{format=Hang,labelsep=none,justification=raggedright}
+\captionsetup[capbesidefigure]%
+ {format=default,labelsep=newline}
+
+\DeclareNewFloatType{textbox}{fileext=lor,name=Text,placement=tp,within=chapter}
+
+\DeclareMarginSet{capleft}%
+ {\setfloatmargins{\hfill}{\hfill\hskip\FCwidth}}
+
+\DeclareObjectSet{indent}{\raggedright\parindent15pt\parskip2pt}
+
+\floatsetup[textbox]{style=Boxed,
+ frameset={\fboxrule=1pt\fboxsep=12pt},
+ capposition=beside,capbesideposition=left,
+ floatwidth=6cm,capbesidewidth=4.5cc,
+ capbesidesep=cicero,margins=capleft,
+ objectset=indent}
+
+\floatsetup[widetextbox]{capposition=bottom,
+ floatwidth=\columnwidth,margins=raggedright}
+
+\captionsetup[textbox]{justification=raggedright}
+\captionsetup[capbesidetextbox]%
+ {format=break,labelsep=none,justification=raggedleft}
+
+\providecommand*{\pkg}[1]{\texttt{#1}}
+\newfloatcommand{ttextbox}{textbox}
+\providecommand*{\pkg}[1]{\texttt{#1}}
+\providecommand*{\env}[1]{\texttt{#1}}
+\providecommand*{\com}[1]{\texttt{\char`\\#1}}
+\providecommand*{\meta}[1]{$\langle$\textit{#1}$\rangle$}
+\setcounter{topnumber}{1}
+
+\def\TEXTBOX{Here goes first line of text \text
+
+There goes second line of text
+
+Thence goes third line of text \text
+
+Hence goes fourth line of text}
+
+\parskip0pt
+\begin{document}
+
+\chapter{Beside and Other Captions (Beta-Version Example)}
+
+\begin{sl}
+This example shows floats in one-column document in facing layouts.
+
+\emph{Common float settings}\\
+Font for float contents \verb|\small|;
+\com{captionskip} is defined as 5pt;
+separation between beside float boxes equals to 2\,em;
+flag for captions beside framed object is true (frames will be defined later).
+\begin{verbatim}
+\usepackage[font=small,captionskip=5pt,
+ capbesideframe=yes]{floatrow}
+\end{verbatim}
+
+\emph{Common caption settings.}\\
+For caption text used \verb|\small| font;
+caption label font bold;
+label separated by period sign;
+justification left;
+one-line captions have the same alignment as multiline ones.
+\begin{verbatim}
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ justification=raggedright,singlelinecheck=no]{caption}
+\end{verbatim}
+
+\emph{Special caption settings for current float types.}
+
+\emph{Figure.}\\
+Label hangs on the left margin without label separator; justification left.
+In beside captions label is placed above caption text.
+\begin{verbatim}
+\DeclareCaptionFormat{Hang}{\leftskip7cc\parindent0pt
+ \noindent\llap{\hbox to\leftskip{#1#2\hfil}}#3\par}
+\captionsetup[figure]%
+ {format=Hang,labelsep=none,justification=raggedright}
+\captionsetup[capbesidefigure]%
+ {format=default,labelsep=newline}
+\end{verbatim}
+
+\emph{Textbox.}\\
+Justification left.
+For beside captions used \texttt{break} style (the \texttt{labelsep=none} won't help here, because of
+\verb|\newline| command adds a glue at the end of line); justification right.
+\begin{verbatim}
+\captionsetup[textbox]{justification=raggedright}
+\DeclareCaptionFormat{break}{#1#2\break#3}
+\captionsetup[capbesidetextbox]%
+ {format=break,labelsep=none,justification=raggedleft}
+\end{verbatim}
+
+\emph{Special settings for float types.}
+
+\emph{Figure.}\\
+For figures is used \texttt{Boxed} style;
+captions always beside object and have width of margin (with separation);
+they always placed on the left margin and separated by 1~cicero space;
+object contents centered;
+the default width of float object equals to text width;
+float margins hang to the left by 7~cicero.
+
+The wide figures (starred environment) put captions below object
+\begin{verbatim}
+\DeclareMarginSet{hangleft}%
+ {\setfloatmargins{\hskip-7cc}{\hfill}}
+\floatsetup[figure]{style=Boxed,
+ capposition=beside,capbesidewidth=6cc,objectset=centering,
+ capbesideposition=left,capbesidesep=cicero,
+ floatwidth=\columnwidth,
+ margins=hangleft}
+
+\floatsetup[widefigure]{capposition=bottom}
+\end{verbatim}
+
+\emph{Textbox.}\\
+The new float \env{textbox} uses corrected \texttt{Boxed} style;
+caption always stays beside float object---on the left side;
+the default width of float object 6 centimeters;
+the default width of caption 4.5~cicero;
+caption separated from objects by 1~cicero;
+margins use settings which center float object;
+object contents flushed to left margins;
+\verb|\parindent|${{}=15}$\,pt, \verb|\parskip|${{}=2}$\,pt.
+
+For wide text boxes caption placed below float object;
+the default object width equals to text width;
+float box alignment left.
+\begin{verbatim}
+\DeclareMarginSet{capleft}%
+ {\setfloatmargins{\hfill}{\hfill\hskip\FCwidth}}
+
+\DeclareObjectSet{indent}{\raggedright\parindent15pt\parskip2pt}
+
+\floatsetup[textbox]{style=Boxed,
+ frameset={\fboxrule=1pt\fboxsep=12pt},
+ capposition=beside,capbesideposition=left,
+ floatwidth=6cm,capbesidewidth=4.5cc,
+ capbesidesep=cicero,margins=capleft,
+ objectset=indent}
+
+\floatsetup[widetextbox]{capposition=bottom,
+ floatwidth=\columnwidth,margins=raggedright}
+\end{verbatim}
+
+\end{sl}
+
+\widowpenalty10000
+
+\def\text{{\mdseries
+And more text and some more text and a bit more text and
+a little more text and a little peace of text to fill space}}
+
+\def\Text{{\mdseries
+\text. \text. \text. \text. \par \text. \text. \text.}}
+
+\unitlength1.44pt
+\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+\bfseries
+\clearpage
+
+Example of plain \env{figure} environment (figure~\ref{float:plain:fig}).
+\begin{figure}
+ {\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+ \caption{Plain figure}%
+\label{float:plain:fig}%
+\end{figure}%
+\Text
+
+\Text
+
+Example of plain \env{textbox} environment (text~\ref{float:plain:text1}).
+The width of object equals to 6\,cm.
+\begin{textbox}
+\TEXTBOX
+\caption{Plain textbox without any settings}%
+\label{float:plain:text1}%
+\end{textbox}%
+\Text
+
+\Text
+
+Example of plain \env{textbox} environment (text~\ref{float:plain:text2}) with defined width
+\begin{verbatim}
+\thisfloatsetup{floatwidth=8cm}
+\end{verbatim}
+This width is a bit more than \verb|\textwidth-2\captionwidth| value.
+
+\thisfloatsetup{floatwidth=8cm}
+\begin{textbox}
+\TEXTBOX
+\caption{Plain textbox. Width settings}%
+\label{float:plain:text2}%
+\end{textbox}%
+\Text
+
+\Text
+
+Example of plain \env{textbox} environment (text~\ref{float:plain:text3}) with defined width
+\begin{verbatim}
+\thisfloatsetup{floatwidth=5cm}
+\end{verbatim}
+This width less than \verb|\textwidth-2\captionwidth| value.
+
+\thisfloatsetup{floatwidth=5cm}
+\begin{textbox}[!tb]
+\TEXTBOX
+\caption{Plain textbox. Width settings}%
+\label{float:plain:text3}%
+\end{textbox}%
+\Text
+
+Example of plain \env{figure} environment (figure~\ref{float:W:plain:fig2})
+with predefined width${{}=5}$\,cm.
+\begin{verbatim}
+\thisfloatsetup{floatwidth=5cm}
+\end{verbatim}
+\thisfloatsetup{floatwidth=5cm}%floatrow
+\begin{figure}
+ {\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+ \caption{Plain figure with changed width}%
+ \label{float:W:plain:fig2}%
+\end{figure}%
+\Text
+
+\Text
+
+
+Example of two-column or wide plain figure (see figure~\ref{float:wide:fig3}).
+\begin{figure*}
+ {\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+ \caption{%
+Plain wide figure. \text}%
+\label{float:wide:fig3}%
+\end{figure*}%
+\Text
+
+\Text
+
+\Text
+
+
+Example of plain \env{figure} environment (figure~\ref{wfloat:W:plain:fig4})
+with predefined width${{}=9}$\,cm.
+\begin{verbatim}
+\thisfloatsetup{floatwidth=9cm}
+\end{verbatim}
+The real width equals to 9\,cm${}+{}$margin width
+
+\thisfloatsetup{floatwidth=9cm}
+\begin{figure*}
+ {\unitlength.85\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{BlackCat.picture}}%
+ \caption{Plain figure with changed width}%
+\label{wfloat:W:plain:fig4}%
+\end{figure*}%
+
+\Text
+
+Example of plain ``wide'' \env{textbox} environment with predefined width
+(see text~\ref{float:prewide:text5}).
+\begin{verbatim}
+\thisfloatsetup{floatwidth=.7\textwidth}
+\end{verbatim}
+
+\thisfloatsetup{floatwidth=.7\textwidth}
+\begin{textbox*}
+ \TEXTBOX
+ \caption{Plain wide textbox. Changed width}%
+ \label{float:prewide:text5}%
+\end{textbox*}%
+
+\Text
+
+Example of plain ``wide'' \env{textbox} environment
+(see text~\ref{float:wide:text6}).
+\begin{textbox*}[!tbp]
+\TEXTBOX
+ \caption{Plain wide textbox}%
+\label{float:wide:text6}%
+\end{textbox*}%
+
+\Text
+
+\Text
+
+Example of figure placed in \verb|\fcapside| (\verb|\floatbox| stuff for usage of beside captions);
+the width of float box equals to the width of graphics
+(see figure~\ref{floatbox:FB:fig7}).
+\begin{figure}
+\fcapside[\FBwidth]
+ {\unitlength2.8\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{TheCat.picture}}
+ {\caption{%
+Figure (\protect\com{ffigbox})
+width of graphics}\label{floatbox:FB:fig7}}
+\end{figure}%
+\Text
+
+\Text
+
+Example of wide figure placed in \verb|\ffigbox| (\verb|\floatbox| stuff);
+the width of float box equals to the width of grahics
+(see figure~\ref{floatbox:FB:fig8}).
+\begin{figure*}
+\ffigbox[\FBwidth]
+ {\unitlength2.8\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+ \input{TheCat.picture}}
+ {\caption{%
+Wide figure (\protect\com{ffigbox})
+width of graphics}\label{floatbox:FB:fig8}}
+\end{figure*}%
+\Text
+
+
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/floatrow/frsample05.tex b/Master/texmf-dist/doc/latex/floatrow/frsample05.tex
new file mode 100644
index 00000000000..c5e5a1876de
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample05.tex
@@ -0,0 +1,504 @@
+%frsample06 - sample
+%one-column facing layout with miscellaneous caption settings
+\input pictures
+\listfiles
+\documentclass{book}
+
+\usepackage{calc}
+\usepackage{tabularx,array}
+\usepackage{floatpagestyle}
+
+\IfFileExists{fancyhdr.sty}{\RequirePackage{fancyhdr}\pagestyle{fancy}\fancyfoot{}
+\fancyhead[LE]{\leavevmode\hspace*{-\marginparwidth}\hskip-\marginparsep
+ \def\arraystretch{1,2}\begin{tabular}{@{}l@{}}
+ \rlap{\thepage}\hskip\marginparwidth\hskip\marginparsep
+ \hbox to\textwidth{\slshape\leftmark\hfill}\\\hline\end{tabular}}
+\fancyhead[LO]{\leavevmode
+ \def\arraystretch{1,2}\begin{tabular}{@{}l@{}}
+ \hbox to\textwidth{\hfill\slshape\rightmark}
+ \hskip\marginparwidth\hskip\marginparsep\llap{\thepage} \\
+ \hline\end{tabular}\hskip-\marginparsep
+ \hspace*{-\marginparwidth}}
+\fancyhead[RE]{}\fancyhead[CE]{}
+\fancyhead[RO]{}\fancyhead[CO]{}
+\def\headrulewidth{0pt}}
+{\pagestyle{plain}}
+
+%load floatrow
+\usepackage{floatrow}
+
+%load caption
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ singlelinecheck=no]{caption}[2004/11/28]
+
+%load subfig
+\newif\ifLoadSubfig
+\IfFileExists{subfig.sty}{\usepackage[justification=raggedright,
+ singlelinecheck=no,captionskip=7pt]{subfig}
+\LoadSubfigtrue}{\LoadSubfigfalse}
+
+\DeclareNewFloatType{textbox}{fileext=lor,name=Text,placement=tp}
+
+\DeclareObjectSet{indent}{\raggedright\parindent15pt\parskip2pt}
+
+\floatsetup[textbox]{style=Boxed,heightadjust=all,
+ frameset={\fboxrule=1pt\fboxsep=12pt},
+ margins=raggedright,captionskip=7pt,
+ capposition=bottom,objectset=indent,
+ capbesideframe=yes,capbesideposition=outside,
+ capbesidewidth=\marginparwidth,valign=t}
+
+\DeclareMarginSet{hangoutside}%
+ {\setfloatmargins*
+ {\hfil}{\hskip-\marginparwidth\hskip-\marginparsep}}
+
+\floatsetup[widetextbox]{margins=hangoutside,facing=yes,
+ floatwidth=\textwidth}
+
+\makeatletter
+\DeclareCaptionFormat{hangorbreak}{\FBiffloatrow#1#2#3\par
+ \else\@hangfrom{#1#2}%
+ \advance\captionparindent\hangindent
+ \advance\captionhangindent\hangindent
+ #3\par\fi}
+\makeatother
+
+\DeclareCaptionFormat{marginpars}{\FBiffloatrow#1#2#3\par
+ \else
+ \vbox to0pt{\RaggedRight\FBifcaptop\vss\fi
+ \floatfacing
+ {\addtolength\leftskip{\textwidth+1em}}%
+ {\addtolength\rightskip{\textwidth+1em}}%
+ #1\par#3%
+ \FBifcaptop\else\vss\fi}\fi}
+
+\captionsetup[textbox]{justification=justified,format=hangorbreak}
+
+\captionsetup[capbesidetextbox]{justification=raggedright,
+ format=default,labelsep=newline}
+
+\captionsetup[widetextbox]{format=marginpars}
+
+\newif\ifLoadRotating
+\IfFileExists{rotating.sty}
+{\usepackage[figuresright]{rotating}
+\DeclareMarginSet{expand}%
+ {\setfloatmargins
+ {\hfil}{\hskip-\headsep\hskip-.7\headheight plus1fil}}
+
+\floatsetup[rotfloat]{capbesideposition=right,margins=expand,
+ facing=no,capbesidewidth=none}
+\LoadRotatingtrue}{\LoadRotatingfalse}
+
+\let\wideemptyfloatpage\emptyfloatpage
+
+\providecommand*{\pkg}[1]{\texttt{#1}}
+\providecommand*{\com}[1]{\texttt{\char`\\#1}}
+\providecommand*{\Lopt}[1]{\textsf{#1}}
+\providecommand*{\file}[1]{\texttt{#1}}
+\providecommand*{\env}[1]{\texttt{#1}}
+\providecommand*{\meta}[1]{$\langle$\textit{#1}$\rangle$}
+
+\newfloatcommand{ttextbox}{textbox}
+
+\makeatletter
+\newcommand\ifTwocolumn{\if@twocolumn}
+\newcommand\Resizebox[5]{\setbox0\hbox{\setlength\unitlength{#1/#3}{#5}}%
+ \@tempdima\ht0\advance\@tempdima\dp0%
+ \ifdim\@tempdima>#2\setlength\unitlength{#2/#4}{#5}\else\box0\fi}
+\makeatother
+
+\def\text{{\mdseries And more text and some more text and a bit more text and
+a little more text and a little peace of text to fill space}}
+
+\def\Text{{\mdseries \text. \text. \text. \text.} }
+
+\unitlength1.44pt
+
+\newcommand\TEXTBOX[1][]{%
+Here goes first line of text \text\par
+There goes second line of text#1\par
+Thence goes third line of text \text\par
+Hence goes fourth line of text}
+
+\begin{document}
+\providecommand\RaggedRight{\raggedright}
+
+\chapter{One Column Facing~Document
+(Beta-Version~Example)}
+\markboth{One Column Facing Document}{One Column Facing Document}
+\begin{sl}
+This example shows floats in one-column document in facing layouts.
+
+\emph{Common caption settings.}\\
+For caption text used \verb|\small| font;
+caption label font bold, separated
+by period sign.
+\begin{verbatim}
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ singlelinecheck=no]{caption}
+\end{verbatim}
+
+\emph{Special caption settings for current float types.}
+
+\emph{Textbox.}\\
+Justified alignment.
+If float stays alone caption label hangs to the left;
+if float stays in \env{floatrow} environment---there is used normal float style (with in-line caption label).
+
+In beside captions caption label stays separately on line. Justification left.
+
+For captions in wide floats (which climb out to the left margin) used miscellaneous format,
+which in \env{floatrow} environment restored to normal.
+\begin{verbatim}
+\makeatletter
+\DeclareCaptionFormat{hangorbreak}{\FBiffloatrow#1#2#3\par
+ \else\@hangfrom{#1#2}%
+ \advance\captionparindent\hangindent
+ \advance\captionhangindent\hangindent
+ #3\par\fi}
+\makeatother
+
+\DeclareCaptionFormat{marginpars}{\FBiffloatrow#1#2#3\par
+ \else
+ \vbox to0pt{\RaggedRight\FBifcaptop\vss\fi
+ \floatfacing
+ {\addtolength\leftskip{\textwidth+1em}}%
+ {\addtolength\rightskip{\textwidth+1em}}%
+ #1\par#3%
+ \FBifcaptop\else\vss\fi}\fi}
+
+\captionsetup[textbox]{justification=justified,
+ format=hangorbreak}
+
+\captionsetup[capbesidetextbox]{justification=raggedright,
+ format=default,labelsep=newline}
+
+\captionsetup[widetextbox]{format=marginpars}
+\end{verbatim}
+
+\emph{Common subcaption settings.}\\
+Justification left. One line subcaptions have the same alignment.
+\begin{verbatim}
+\usepackage[justification=raggedright,
+ singlelinecheck=no]{subfig}
+\end{verbatim}
+
+\emph{Special settings for float types.}
+
+\emph{Textbox.}\\
+The new float textbox uses
+corrected \texttt{Boxed} style; object contents flushed to left margins;
+\verb|\captionskip| defined as 7~pt;
+captions below objects;
+object contents; alignment: \verb|\parindent|${{}=15}$\,pt, \verb|\parskip|${{}=2}$\,pt;
+beside captions aligned to frames;
+width of beside captions equals to margin width;
+objects aligned by top line.
+\begin{verbatim}
+\DeclareObjectSet{indent}{\raggedright\parindent15pt\parskip2pt}
+
+\floatsetup[textbox]{style=Boxed,heightadjust=all,
+ frameset={\fboxrule=1pt\fboxsep=12pt},
+ margins=raggedright,captionskip=7pt,
+ capposition=bottom,objectset=indent,
+ capbesideframe=yes,capbesideposition=outside,
+ capbesidewidth=\marginparwidth,valign=t}
+\end{verbatim}
+
+\emph{Special settings for special float layout.}
+
+\emph{Wide float.}\\
+For wide float set hanged indentation to binder margin;
+the default width of object equals ti text width;
+The facing control switched on.
+\begin{verbatim}
+\DeclareMarginSet{hangoutside}%
+ {\setfloatmargins*
+ {\hfil}{\hskip-\marginparwidth\hskip-\marginparsep}}
+
+\floatsetup[widetextbox]{margins=hangoutside,facing=yes,
+ floatwidth=\textwidth}
+\end{verbatim}
+
+\emph{Rotated float.}\\
+For rotated floats beside caption placed to right side of object;
+right side expanded to the top of running head. To delete running head from pages
+with rotated float was used \verb|\emptyfloatpage| macro\footnote{In current example the
+\protect\com{wideemptyfloatpage} command is the synonym.} and
+loaded \pkg{floatpagestyle} package.
+\begin{verbatim}
+\DeclareMarginSet{expand}%
+ {\setfloatmargins
+ {\hfil}{\hskip-\headsep\hskip-.7\headheight plus1fil}}
+
+\floatsetup[rotfloat]{capbesideposition=right,margins=expand,
+ facing=no,capbesidewidth=none}
+\end{verbatim}
+
+For this document there was also used special page style for running heads
+using \pkg{fancyhdr}. If this style exists on your system the special page
+style will be loaded otherwise the \texttt{plain} page style used.
+\end{sl}
+
+\clearpage
+\bfseries
+
+Example of plain \env{textbox} environment (text~\ref{float:plain:text}).
+
+\begin{textbox}
+\TEXTBOX
+\caption{Plain \env{textbox} environment. \text }%
+\label{float:plain:text}%
+\end{textbox}
+
+\Text
+
+\clearpage
+
+Example of plain \env{textbox} environment (box~\ref{float:w:plain:Text})
+with predefined width.
+\begin{verbatim}
+\thisfloatsetup{floatwidth=7cm}
+\end{verbatim}
+
+\thisfloatsetup{floatwidth=7cm}
+\begin{textbox}
+\caption{Plain \env{textbox} environment with predefined width. \text}\label{float:w:plain:Text}
+\TEXTBOX
+\end{textbox}
+
+\Text
+
+\clearpage
+
+Example of textbox placed in \verb|\ttextbox| (\verb|\floatbox| stuff);
+the width of float box equals to defined width
+(see text box~\ref{floatbox:FB:text}).
+\begin{verbatim}
+\ttextbox[.85\hsize]
+ ...
+\end{verbatim}
+
+\begin{textbox}
+\ttextbox[.85\hsize]
+ {\TEXTBOX}
+ {\caption{%
+The \env{textbox} environment including \protect\com{ttextbox}
+with defined width. \text}\label{floatbox:FB:text}}
+\end{textbox}
+
+\Text
+
+\ifLoadSubfig
+
+\clearpage
+Example of float with beside caption (see text box~\ref{floatbox:beside:text})
+with two subboxes~\subref{subtext:A} and \subref{subtext:B}.
+These subfloats are placed inside \env{subfloatrow} environment, left subfloat has width 6\,cm,
+second---occupies the rest width of row.
+\begin{verbatim}
+\begin{textbox}
+\ttextbox
+{\vspace{-\topskip}\begin{subfloatrow}
+\subfloat[First ...\label{...}]{\vbox{\hsize6cm...}}
+
+\subfloat[Second ...\label{...}]{\vbox{\hsize\Xhsize...}}
+\end{subfloatrow}}
+{\caption{...}\label{...}}
+\end{textbox}
+\end{verbatim}
+
+Since the \verb|\subfloat| macro uses \verb|\vtop| during subfloat building, before \env{subfloatrow}
+environment was placed compensated space
+\begin{verbatim}
+\vspace{-\topskip}
+\end{verbatim}
+
+\begin{textbox}
+\ttextbox
+{\vspace{-\topskip}\begin{subfloatrow}
+\subfloat[First text box\label{subtext:A}]%
+{\vbox{\hsize6cm\TEXTBOX}}
+
+\subfloat[Second text box with long long subcaption\label{subtext:B}]%
+{\vbox{\hsize\Xhsize\TEXTBOX}}
+\end{subfloatrow}}
+{\caption{The \env{textbox} environment with subfloats. \text}%
+\label{floatbox:subfloat:text}}
+\end{textbox}
+
+%\Text
+
+\fi
+
+\ifTwocolumn\else
+
+\clearpage
+
+Example of text box with beside caption (see box~\ref{floatbox:subfloat:text}).
+\begin{verbatim}
+\thisfloatsetup{capposition=beside,capbesidewidth=none}
+\end{verbatim}
+Since the \env{textbox} setup defines width for beside caption, there
+was redefined key \texttt{capbesidewidth=none}.
+Both caption and float object occupy 1``column'' width.
+
+\thisfloatsetup{capposition=beside,capbesidewidth=none}
+\begin{textbox}
+{\TEXTBOX}
+{\caption{Beside caption. The width of object equals
+to 1``column'' width. \text}%
+\label{floatbox:beside:text}}
+\end{textbox}
+
+\Text
+
+\fi
+
+\clearpage
+
+Examples of plain wide \env{textbox} environments
+(see text boxes~\ref{float:wide:text}--\ref{floatbox:wideii:text}).
+
+For text box \ref{floatbox:wideii:text} (at the bottom of page~\pageref{floatbox:wideii:text})
+was redefined position of caption
+\begin{verbatim}
+\floatsetup[textbox]{capposition=top}
+\end{verbatim}
+inside group.
+
+\begin{textbox*}
+\TEXTBOX
+ \caption{Plain wide textbox. \text }%
+\label{float:wide:text}%
+\end{textbox*}
+
+\Text
+
+\Text
+
+\Text
+
+\Text
+
+\Text
+\text.
+
+\Text
+
+\begin{textbox*}[h]
+{\TEXTBOX}
+{\caption{Plain wide textbox with \texttt{[h]} placement option. \text}%
+\label{floatbox:widei:text}}
+\end{textbox*}
+
+
+\Text
+\text.
+
+\begingroup
+\floatsetup[textbox]{capposition=top}
+\begin{textbox*}[b]
+{\TEXTBOX}
+{\caption{Plain wide textbox with \texttt{[b]} placement option. \text}%
+\label{floatbox:wideii:text}}
+\end{textbox*}
+\endgroup
+
+\text.
+\text.
+
+
+\clearpage
+
+Example of text box with beside caption (see text box~\ref{floatbox:wbeside:text}).
+The default settings of caption and text box width put text box' contents at the space of main
+text and caption at the space of marginal paragraphs.
+
+\thisfloatsetup{capposition=beside}
+\begin{textbox*}
+{\TEXTBOX}
+{\caption{Wide beside caption with default settings. \text}%
+\label{floatbox:wbeside:text}}
+\end{textbox*}
+
+\Text
+
+\Text
+
+\Text
+
+\clearpage
+
+Example of row with two textboxes
+(boxes~\ref{row:text:I}--\ref{row:text:II}).
+
+\begin{textbox*}
+\begin{floatrow}
+\ttextbox
+{\TEXTBOX\footnote{Text of footnote. \text}}
+{\caption{Beside text~I in float row. \text}%
+\label{row:text:I}}%
+
+\floatbox{textbox}
+{\TEXTBOX. \text.
+
+\floatfoot{Text of float foot. \text}}%
+{\caption{Beside text~II in float row}%
+\label{row:text:II}}%
+\end{floatrow}
+\end{textbox*}
+
+\Text
+
+\ifLoadRotating
+\newlength\rotatedheight\rotatedheight\textwidth
+
+\clearpage
+
+Example of plain rotated text box with beside caption
+(see figure~\ref{rot:beside:text} on page~\pageref{rot:beside:text}).
+
+\thisfloatsetup{capposition=beside}
+\begin{sidewaystextbox}
+\emptyfloatpage
+{\TEXTBOX[ \text.]}
+{\caption{Beside caption. \text. \text. \text}%
+\label{rot:beside:text}}
+\end{sidewaystextbox}
+
+\Text
+
+\Text
+
+\clearpage
+
+Example of rotated float row with text boxes
+(see texts~\ref{row:textI:I}--\ref{row:textI:II} on page~\pageref{row:textI:II}).
+
+\begin{sidewaystextbox}
+\wideemptyfloatpage
+\begin{floatrow}
+\ttextbox
+{\TEXTBOX\par\TEXTBOX\footnote
+{Text of footnote. \text}}
+{\caption{Beside text~I. \text}%
+\label{row:textI:I}}%
+
+\floatbox{textbox}
+{\caption{Beside text~II}%
+\label{row:textI:II}%
+\floatfoot{Text of float foot. \text}%
+}%
+{\TEXTBOX[ \text.]}%
+\end{floatrow}
+\end{sidewaystextbox}
+
+\Text \Text \Text
+
+\Text \Text
+
+\fi
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/floatrow/frsample10.tex b/Master/texmf-dist/doc/latex/floatrow/frsample10.tex
new file mode 100644
index 00000000000..37813e8bb31
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample10.tex
@@ -0,0 +1,188 @@
+%frsample01 - sample head
+%one column non-facing layout
+%plain style for figures
+%miscellaneous ruled style for textboxes
+\input pictures
+\listfiles
+\documentclass{book}
+
+\usepackage{calc}
+\usepackage{tabularx,array}
+\usepackage{floatpagestyle}
+
+\IfFileExists{pstricks.sty}{\usepackage{pstricks}\psset{unit=1pt}}{}
+
+%load floatrow
+\usepackage[font=small,footskip=.65\skip\footins,capbesideposition=inside,
+ footnoterule=limited,margins=centering,captionskip=5pt,facing=yes,
+ capbesidesep=quad,floatrowsep=quad]{floatrow}
+\marginparwidth0pt
+
+% new float
+\DeclareNewFloatType{textbox}{fileext=lor,name=Text,placement=tp}
+
+\DeclareFloatVCode{textprerule}%
+ {{\hskip-6pt\vrule depth5ptwidth2pt\hrulefill
+ \vrule depth5ptwidth2pt\hspace*{-6pt}}\par\kern-3pt}
+\DeclareFloatVCode{textmidrule}%
+ {\kern4pt\hrule\kern4pt}
+\DeclareFloatVCode{textpostrule}%
+ {\par\kern-6pt
+ \hbox to\hsize{\hskip-6pt
+ \vrule height5ptwidth2pt\hrulefill
+ \vrule height5ptwidth2pt\hskip-6pt}\par\relax}
+
+\DeclareFloatStyle{textbox}{style=BOXED,
+ frameset={\fboxsep6pt\fboxrule0pt},
+ framefit=yes,precode=textprerule,midcode=textmidrule,
+ postcode=textpostrule,heightadjust=all}
+
+\DeclareFloatSeparators{textbox}{\kern6pt\vrule\kern6pt}
+\DeclareObjectSet{textbox}{\raggedright\parindent15pt\parskip2pt}
+
+\floatsetup[textbox]{style=textbox,capposition=bottom,
+ objectset=textbox,capbesidesep=textbox,
+ heightadjust=object,valign=t}
+
+\newif\ifWideLayout
+
+%load caption
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ justification=centerlast]{caption}[2004/11/28]
+
+\providecommand*\rightlast{\leftskip0ptplus1fil
+ \rightskip0ptplus-1fil\parfillskip0ptplus1fil}
+\providecommand*\leftlast{\leftskip0pt\rightskip0pt\parfillskip0ptplus1fil}
+\DeclareCaptionJustification{togglelast}
+ {\floatfacing*\rightlast\leftlast}
+\captionsetup[floatbeside]{justification=togglelast}
+\captionsetup[textbox]{justification=centerlast}
+
+%load subfig
+\newif\ifLoadSubfig
+\IfFileExists{subfig.sty}
+{\usepackage[justification=centerlast,captionskip=7pt]{subfig}
+\floatsetup{subfloatrowsep=columnsep}
+
+\LoadSubfigtrue}{\LoadSubfigfalse}
+
+%better put wrapfig before floatrow
+\newif\ifLoadWrapfig
+\IfFileExists{wrapfig.sty}
+{\usepackage{wrapfig}\LoadWrapfigtrue}{\LoadWrapfigfalse}
+
+\usepackage{floatpagestyle}
+\let\wideemptyfloatpage\emptyfloatpage
+
+\newif\ifLoadRotating
+\IfFileExists{rotating.sty}
+{\usepackage[figuresright]{rotating}
+
+\DeclareMarginSet{expand}%
+ {\setfloatmargins
+ {\hfil}
+ {\hskip-\headsep\hskip-.7\headheight plus1fil}}
+\floatsetup[rotfloat]{capbesideposition=right,margins=expand}
+\LoadRotatingtrue}{\LoadRotatingfalse}
+
+\providecommand*{\pkg}[1]{\texttt{#1}}
+\providecommand*{\com}[1]{\texttt{\char`\\#1}}
+\providecommand*{\env}[1]{\texttt{#1}}
+\begin{document}
+
+\chapter{Examples in One Column Document}
+
+\begin{sl}
+This example shows floats in one-column document.
+
+\emph{Common float settings.}\\
+Font for float contents \verb|\small|; skips before foot material half reduced;
+skip between caption above/below and object also half reduced;
+footnote rule has maximal width$1$\,in (the maximal width defined by \verb|\frulemax| command); separation between
+beside caption and object equals to 1\,em; separation between beside float
+boxes also equals to 1\,em.
+\begin{verbatim}
+\usepackage[font=small,footskip=.65\skip\footins,
+ capbesideposition=inside,footnoterule=limited,
+ margins=centering,captionskip=5pt,facing=yes,
+ capbesidesep=quad,floatrowsep=quad]{floatrow}
+\end{verbatim}
+
+\emph{Common caption settings.}\\
+For caption text used \verb|\small| font, caption label font bold, separated
+by period sign, justification centerlast (last line centered).
+\begin{verbatim}
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ justification=centerlast]{caption}
+\end{verbatim}
+
+\emph{Common subcaption settings.}\\
+Justification centerlast (last line centered). The skip between caption and object enlarged to 7\,pt.
+\begin{verbatim}
+\usepackage[captionskip=7pt]{subfig}
+\end{verbatim}
+
+\emph{Special settings for float types.}
+
+\emph{Textbox.}\\
+The new float \env{textbox} uses special ruled style: there are defined three new options
+\texttt{textprerule}, \texttt{textmidrule}, and \texttt{textpostrule}.
+Please note that, in the case of usage of \env{floatrow} environment where float boxes must be aligned,
+the rule below float must have total height no more than 2~pt to get correct alignment,
+so first goes compensate vertical space.
+\begin{verbatim}
+\DeclareFloatVCode{textprerule}%
+ {{\hskip-6pt\vrule depth5ptwidth2pt\hrulefill
+ \vrule depth5ptwidth2pt\hspace*{-6pt}}\par\kern-3pt}
+\DeclareFloatVCode{textmidrule}%
+ {\kern4pt\hrule\kern4pt}
+\DeclareFloatVCode{textpostrule}%
+ {\par\kern-6pt
+ \hbox to\hsize{\hskip-6pt
+ \vrule height5ptwidth2pt\hrulefill
+ \vrule height5ptwidth2pt\hskip-6pt}\par\relax}
+
+\DeclareFloatStyle{textbox}{style=BOXED,
+ frameset={\fboxsep6pt\fboxrule0pt},
+ framefit=yes,precode=textprerule,midcode=textmidrule,
+ postcode=textpostrule,heightadjust=all}
+
+\DeclareFloatSeparators{textbox}{\kern6pt\vrule\kern6pt}
+\DeclareObjectSet{textbox}{\raggedright\parindent15pt\parskip2pt}
+
+\floatsetup[textbox]{style=textbox,capposition=bottom,
+ objectset=textbox,capbesidesep=textbox,
+ heightadjust=object,valign=t}
+\end{verbatim}
+
+\emph{Special settings for special float layout.}
+
+\emph{Rotated.}\\
+For rotated floats beside caption placed to right side of object;
+right side expanded to the top of running head. To delete running head from pages
+with rotated float was used \verb|\emptyfloatpage| macro\footnote{In current example the
+\protect\com{wideemptyfloatpage} command is the synonym.} and
+loaded \pkg{floatpagestyle} package.
+\begin{verbatim}
+\DeclareMarginSet{expand}%
+ {\setfloatmargins
+ {\hfil}
+ {\hskip-\headsep\hskip-.7\headheight plus1fil}}
+\floatsetup[rotfloat]{capbesideposition=right,margins=expand}
+\end{verbatim}
+
+\emph{Beside caption.}\\
+There was set of changed \verb|\captionsetup| for alignment of beside captions.
+There was created special justification: the last line of beside caption flushed to
+object side.
+\begin{verbatim}
+\DeclareCaptionJustification{togglelast}
+ {\floatfacing*\rightlast\leftlast}
+\captionsetup[floatbeside]{justification=togglelast}
+\end{verbatim}
+
+\end{sl}
+
+\input fr-sample
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/floatrow/frsample11.tex b/Master/texmf-dist/doc/latex/floatrow/frsample11.tex
new file mode 100644
index 00000000000..1381bd870bf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample11.tex
@@ -0,0 +1,169 @@
+%frsample02 - sample head
+%one-column non-facing layout with left margin
+%figures use BOXED style
+%text boxes use modified Boxed style
+\input pictures
+\listfiles
+\documentclass{book}
+
+\usepackage{calc}
+\usepackage{tabularx,array}
+
+\IfFileExists{pstricks.sty}{\usepackage{pstricks}\psset{unit=1pt}}{}
+
+\IfFileExists{fancyhdr.sty}{\RequirePackage{fancyhdr}\pagestyle{fancy}\fancyfoot{}
+\fancyhead[LE]{\leavevmode\hspace*{-.5\marginparwidth}\hskip-\marginparsep
+ \def\arraystretch{1,2}\begin{tabular}{@{}l@{}}
+ \leavevmode\rlap{\thepage}\hskip.5\marginparwidth\hskip\marginparsep
+ \hbox to\textwidth{\slshape\leftmark\hfill}\\\hline\end{tabular}}
+\fancyhead[LO]{\leavevmode\hspace*{-.5\marginparwidth}\hskip-\marginparsep
+ \def\arraystretch{1,2}\begin{tabular}{@{}l@{}}
+ \hskip.5\marginparwidth\hskip\marginparsep
+ \hbox to\textwidth{{\slshape\rightmark}\quad\hfill\thepage}\\\hline\end{tabular}}
+\fancyhead[RE]{}\fancyhead[CE]{}
+\fancyhead[RO]{}\fancyhead[CO]{}
+\def\headrulewidth{0pt}}
+{\pagestyle{plain}}
+
+%load floatrow
+\usepackage{floatrow}
+\floatsetup{font={small,sf},footskip=.5\skip\footins,
+ footnoterule=limited,captionskip=5pt,margins=raggedright,
+ objectset=raggedright,capbesideposition=right,
+ capbesidesep=quad,floatrowsep=quad,style=BOXED}
+\usepackage{fr-fancy}
+\usepackage{floatpagestyle}
+
+% new float
+\DeclareNewFloatType{textbox}{fileext=lor,name=Text,placement=tp}
+
+\DeclareObjectSet{unindent}{\leftskip12pt\parindent-\leftskip\parskip2pt}
+
+\floatsetup[textbox]{style=Boxed,heightadjust=all,
+ frameset={\fboxrule=1pt\fboxsep=12pt},
+ capposition=bottom,objectset=unindent,
+ capbesideframe=yes,heightadjust=object,
+ valign=t}
+
+\newif\ifWideLayout\WideLayouttrue
+
+\DeclareMarginSet{hangleft}%
+ {\setfloatmargins
+ {\hskip-.5\marginparwidth\hskip-\marginparsep}{\hfil}}
+\floatsetup[widefloat]{margins=hangleft}
+
+%load caption
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ justification=justified,singlelinecheck=no]{caption}[2004/11/28]
+
+\newif\ifLoadRotating
+\IfFileExists{rotating.sty}
+{\usepackage[figuresright]{rotating}
+
+\DeclareMarginSet{expand}%
+ {\setfloatmargins
+ {}{\hskip-\headsep\hskip-.7\headheight plus1fil}}
+\floatsetup[rotfloat]{capbesideposition=right,margins=expand}
+\LoadRotatingtrue}{\LoadRotatingfalse}
+
+%load subfig
+\newif\ifLoadSubfig
+\IfFileExists{subfig.sty}
+{\usepackage[justification=justified,font=rm]{subfig}
+\LoadSubfigtrue}{\LoadSubfigfalse}
+
+%load wrapfig
+\newif\ifLoadWrapfig
+\IfFileExists{wrapfig.sty}{\usepackage{wrapfig}
+\LoadWrapfigtrue}{\LoadWrapfigfalse}
+
+\let\wideemptyfloatpage\emptyfloatpage
+
+\providecommand*{\pkg}[1]{\texttt{#1}}
+\providecommand*{\com}[1]{\texttt{\char`\\#1}}
+\begin{document}
+
+\chapter{One Column Document and~Wide Floats}
+
+\begin{sl}
+This example shows floats in one-column document, wide float left hanged.
+
+\emph{Common settings.}\\
+Font for float contents \verb|\small| sans serif (except tables),
+in this case font settings for subfloats was restored Roman family;
+skips before foot material half reduced;
+skip between caption and object also half reduced;
+footnote rule has maximum width 1\,in (here is created special footnote style);
+box alignment and justification of object contents flushed to left margin;
+separation between beside caption and object equals to 1\,em; separation
+between beside float boxes also equals to 1\,em. Common float style
+\texttt{BOXED} (box around all float contents).
+\begin{verbatim}
+\floatsetup{font={small,sf},footskip=.5\skip\footins,
+ footnoterule=limited,captionskip=5pt,margins=raggedright,
+ objectset=raggedright,capbesideposition=right,
+ capbesidesep=quad,floatrowsep=quad,style=BOXED}
+\end{verbatim}
+
+\emph{Common caption settings.}\\
+For caption text used \verb|\small| font, caption label font bold, separated
+by period sign, justification justified.
+\begin{verbatim}
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ justification=justified,singlelinecheck=no]{caption}
+\end{verbatim}
+
+\emph{Common subcaption settings.}\\
+Justification centerlast (last line centered). Restored roman family.
+\begin{verbatim}
+\usepackage[justification=justified,font=rm]{subfig}
+\end{verbatim}
+
+\emph{Special settings for float types.}
+
+\emph{Textbox.}\\
+The new float textbox uses corrected \texttt{Boxed} style (changed frame
+settings); object contents left aligned (\verb|\raggedright|), with
+\verb|\parindent|${{}=15}$\,pt, \verb|\parskip|${{}=15}$\,pt.
+To get aligned subfloats the key \texttt{heightadjust=all} loaded.
+\begin{verbatim}
+\DeclareNewFloatType{textbox}{fileext=lor,name=Text,placement=tp}
+
+\DeclareObjectSet{unindent}{\leftskip12pt\parindent-\leftskip\parskip2pt}
+
+\floatsetup[textbox]{style=Boxed,heightadjust=all,
+ frameset={\fboxrule=1pt\fboxsep=12pt},
+ capposition=bottom,objectset=unindent,
+ capbesideframe=yes,heightadjust=object,
+ valign=t}
+\end{verbatim}
+
+\emph{Special settings for special float layout.}
+
+\emph{Wide float.}\\
+For wide float set hanged indentation to the left margin.
+\begin{verbatim}
+\DeclareMarginSet{hangleft}%
+ {\setfloatmargins
+ {\hskip-.5\marginparwidth\hskip-\marginparsep}{\hfil}}
+\floatsetup[widefloat]{margins=hangleft}
+\end{verbatim}
+
+\emph{Rotated float.}\\
+For rotated floats beside caption placed to right side of object;
+right side expanded to the top of running head. To delete running head from pages
+with rotated float was used \verb|\emptyfloatpage| macro\footnote{In current example the
+\protect\com{wideemptyfloatpage} command is the synonym.} and
+loaded \pkg{floatpagestyle} package.
+\begin{verbatim}
+\DeclareMarginSet{expand}%
+ {\setfloatmargins
+ {}{\hskip-\headsep\hskip-.7\headheight plus1fil}}
+\floatsetup[rotfloat]{capbesideposition=right,margins=expand}
+\end{verbatim}
+
+\end{sl}
+
+\input fr-sample
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/floatrow/frsample12.tex b/Master/texmf-dist/doc/latex/floatrow/frsample12.tex
new file mode 100644
index 00000000000..afd694fc899
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample12.tex
@@ -0,0 +1,283 @@
+%frsample03 - sample head
+%two-column layout with attempts of usage colored float styles
+%figures use colored Boxed style
+%textboxes use colored rules (like ruled style)
+\input pictures
+\listfiles
+\documentclass[twocolumn]{book}
+
+\IfFileExists{color.sty}{}{\errmessage{This sample file needs `color' package}{}\stop}
+\usepackage{color}
+\usepackage{calc}
+\usepackage{tabularx,array}
+\usepackage{floatpagestyle}
+
+\marginparwidth0pt
+%load floatrow
+\usepackage[font={small,sf},
+ footskip=.5\skip\footins,
+ footnoterule=limited,
+ captionskip=5pt,
+ margins=raggedright,
+ objectset=raggedright,
+ capbesidesep=qquad,
+ floatrowsep=quad,
+ capbesideposition=inside,
+ facing=yes]%
+ {floatrow}
+\usepackage{fr-fancy}
+
+%load caption
+\usepackage[font=small,labelfont=bf,
+ labelsep=period,justification=justified,
+ singlelinecheck=no]{caption}[2004/11/28]
+
+%load subfig
+\newif\ifLoadSubfig
+\IfFileExists{subfig.sty}
+{\usepackage[justification=centerlast,captionskip=7pt,
+ farskip=0pt]{subfig}
+\LoadSubfigtrue}{\LoadSubfigfalse}
+
+\DeclareColorBox{forfigure}{\fcolorbox{red}{yellow}}
+\DeclareObjectSet{colorblue}{\color{blue}}
+
+\floatsetup[figure]{framestyle=colorbox,
+ colorframeset=forfigure,
+ objectset=colorblue,
+ frameset={\fboxrule1pt\fboxsep6pt},
+ capbesideframe=yes,
+ framearound=object,framefit=yes,
+ heightadjust=object}
+
+% new float
+\DeclareNewFloatType{textbox}%
+ {fileext=lor,name=Text,placement=tp}
+
+\DeclareFloatVCode{rulei}%
+ {\begingroup
+ \color{blue}%
+ \hrule height1.8ptdepth0pt\kern2pt%
+ \endgroup}
+\DeclareFloatVCode{ruleii}%
+ {\begingroup
+ \color{blue}%
+ \kern5pt\hrule height1.8pt depth0pt%
+ \kern5pt
+ \endgroup}
+\DeclareObjectSet{colorred}
+ {\parskip2pt\color{red}}
+\DeclareFloatSeparators{colorsep}%
+ {\begingroup
+ \color{blue}%
+ \floatfacing
+ {\hskip14pt
+ \vrule width1.8pt\hskip2pt}%
+ {\hskip2pt
+ \vrule width1.8pt\hskip14pt}%
+ \endgroup}
+\floatsetup[textbox]{precode=rulei,
+ midcode=ruleii,
+ capposition=bottom,
+ objectset=colorred,
+ floatrowsep=qquad,
+ heightadjust=all,valign=t}
+\captionsetup[textbox]{format=hang}
+
+\floatsetup[capbesidetextbox]%
+ {precode=none,capbesidesep=colorsep,
+ capbesideframe=no}
+\providecommand*\rightlast{\leftskip0ptplus1fil
+ \rightskip0ptplus-1fil\parfillskip0ptplus1fil}
+\providecommand*\leftlast{\leftskip0pt
+\rightskip0pt\parfillskip0ptplus1fil}
+\DeclareCaptionJustification{togglelast}
+ {\floatfacing*\rightlast\leftlast}
+\makeatother
+\captionsetup[floatbeside]%
+ {format=default,labelsep=newline,
+ justification=togglelast}
+\captionsetup[capbesidetextbox]%
+ {format=default,labelsep=newline,
+ justification=togglelast}
+
+\newif\ifLoadRotating
+\IfFileExists{rotating.sty}
+{\usepackage[figuresright]{rotating}
+
+\DeclareMarginSet{sideways}%
+ {\setfloatmargins
+ {}{\hskip.5\topskip plus1fil}}
+\floatsetup[rotfloat]{%
+ capbesideposition={right,top},
+ margins=sideways,facing=no}%for facing caption `facing=no' prohibited
+
+\newif\ifWideLayout\WideLayouttrue
+
+\DeclareMarginSet{widesideways}%
+ {\setfloatmargins{}%
+ {\hskip-\headsep
+ \hskip-.7\headheight plus1fil}}
+\floatsetup[widerotfloat]{%
+ capbesideposition={right,center},
+ capbesideframe=no,
+ margins=widesideways,facing=no}
+\LoadRotatingtrue}{\LoadRotatingfalse}
+
+\newif\ifLoadWrapfig
+\IfFileExists{wrapfig.sty}
+{\usepackage{wrapfig}
+\LoadWrapfigtrue}{\LoadWrapfigfalse}
+
+\let\wideemptyfloatpage\emptyfloatpage
+\let\emptyfloatpage\relax
+
+\providecommand*{\pkg}[1]{\texttt{#1}}
+\providecommand*{\com}[1]{\texttt{\char`\\#1}}
+\begin{document}
+
+\unitlength1.44pt
+
+\chapter{Two Column Document and Color (Beta-Version Example)}
+
+\begin{sl}
+This example shows floats in two-column document.
+There are also color settings.
+
+\emph{Common float settings.}
+Font for float contents \verb|\small| sans serif;
+skips before foot material half reduced;
+skip between caption and object also half reduced;
+footnote rule has maximum width${{}\approx27}$\,mm;
+box alignment and justification of object contents flushed to left margin;
+separation between beside caption and object equals to 2\,em; separation
+between beside float boxes also equals to 1\,em.
+\begin{verbatim}
+\usepackage[font={small,sf},
+ footskip=.5\skip\footins,
+ footnoterule=limited,
+ captionskip=5pt,
+ margins=raggedright,
+ objectset=raggedright,
+ capbesidesep=qquad,
+ floatrowsep=quad]{floatrow}
+\end{verbatim}
+
+\emph{Common caption settings.}
+For caption text used \verb|\small| font, caption label font bold, separated
+by period sign, justification justified.
+\begin{verbatim}
+\usepackage[font=small,labelfont=bf,
+ labelsep=period,justification=justified,
+ singlelinecheck=no]{caption}
+\end{verbatim}
+
+\emph{Common subcaption settings.}
+Justification centerlast (last line centered). The value of \verb|\farskip|
+equals zero (to avoid unwanted colored space in tables).
+\begin{verbatim}
+\usepackage[justification=centerlast,
+ farskip=0pt]{subfig}
+\end{verbatim}
+
+\emph{Special settings for float types.}\\
+\emph{Figure.}
+For figures is used box around float object, box width reduced to
+current \verb|\hsize|, heights of boxes adjusted in float row
+(float style was `gathered' by \verb|\floatsetup| keys),
+beside captions aligned to the edges of frame, footnote rule absent.
+\begin{verbatim}
+\floatsetup[figure]{framestyle=doublebox,
+ capbesideframe=yes,
+ framearound=object,framefit=yes,
+ heightadjust=object,footnoterule=none}
+\end{verbatim}
+\emph{Textbox.}
+The new float textbox uses defined colored thick rules above and below,
+(defined by \verb|\DeclareFloatVCode| and macros);
+object contents have red color and \verb|\parskip|${={}}2$\,pt;
+floats in float row separated by 2\,em space.\\
+Captions use hanged label.
+\begin{verbatim}
+\DeclareNewFloatType{textbox}%
+ {fileext=lor,name=Text,placement=tp}
+
+\DeclareFloatVCode{rulei}%
+ {\begingroup
+ \color{blue}%
+ \hrule height1.8ptdepth0pt\kern2pt%
+ \endgroup}
+\DeclareFloatVCode{ruleii}%
+ {\begingroup
+ \color{blue}%
+ \kern2pt\hrule height1.8pt depth0pt%
+ \kern5pt
+ \endgroup}
+\DeclareObjectSet{colorred}
+ {\parskip2pt\color{red}}
+\DeclareFloatSeparators{colorsep}%
+ {\begingroup
+ \color{blue}%
+ \floatfacing
+ {\hskip14pt
+ \vrule width1.8pt\hskip2pt}%
+ {\hskip2pt
+ \vrule width1.8pt\hskip14pt}%
+ \endgroup}
+\floatsetup[textbox]{precode=rulei,
+ midcode=ruleii,
+ capposition=bottom,
+ objectset=colorred,
+ floatrowsep=qquad,
+ heightadjust=object}
+
+\captionsetup[textbox]{format=hang}
+\end{verbatim}
+\emph{Textbox with beside caption.}
+For beside captions the rules above and below were replaced by vertical
+separate rule. Caption label placed in separate line.
+\begin{verbatim}
+\floatsetup[capbesidetextbox]%
+ {precode=none,capbesidesep=colorsep}
+
+\captionsetup[capbesidetextbox]%
+ {format=default,labelsep=newline}
+\end{verbatim}
+
+\emph{Special settings for special float layout.}\\
+\emph{Rotated.}
+For rotated floats created special settings to align visual top of rotated
+float with beside text column was created spacial alignment; beside captions
+positioned to the right from object contents and top aligned.
+\begin{verbatim}
+\DeclareMarginSet{sideways}%
+ {\setfloatmargins
+ {}{\hskip.5\topskip plus1fil}}
+\floatsetup[rotfloat]{%
+ capbesideposition={right,top},
+ margins=sideways}
+\end{verbatim}
+\emph{Wide rotated.}
+For wide or two-column (starred)
+environment right side expanded to the top of running head. To delete running
+head from pages with wide rotated float there was used \verb|\emptyfloatpage|
+command from loaded \pkg{floatpagestyle} package\footnote{In current example
+\protect\com{wideemptyfloatpage} does work of \protect\com{emptyfloatpage};
+\protect\com{emptyfloatpage} equals to \protect\com{relax}.}; beside captions
+positioned to the right from object contents and vertically centered.
+\begin{verbatim}
+\DeclareMarginSet{widesideways}%
+ {\setfloatmargins{}%
+ {\hskip-\headsep
+ \hskip-.7\headheight plus1fil}}
+\floatsetup[widerotfloat]{%
+ capbesideposition={right,center},
+ capbesideframe=no,
+ margins=widesideways}
+\end{verbatim}
+
+\end{sl}
+
+\input fr-sample
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/floatrow/pictures.tex b/Master/texmf-dist/doc/latex/floatrow/pictures.tex
new file mode 100644
index 00000000000..9dbe06f2d33
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/pictures.tex
@@ -0,0 +1,382 @@
+\begin{filecontents*}{pslearn.eps}
+%!PS-Adobe-3.0 EPSF-3.0
+%%BoundingBox: 28 175 99 213
+%%Title: pslearn.ps
+%%Creator: GSview from pslearn.ps
+%%CreationDate: Sat May 15 16:27:11 2004
+%%Pages: 1
+%%EndComments
+%%Page: 1 1
+%BeginDocument: pslearn.ps
+1 1 scale
+
+/Times-BoldItalic findfont
+16 scalefont
+setfont
+
+30 200 moveto
+(PostScript)
+true charpath
+gsave
+0.8 setgray
+fill
+grestore
+0.2 setlinewidth
+stroke
+
+/Times-BoldItalic findfont
+20 scalefont
+setfont
+
+29 180 moveto
+(Graphic)
+true charpath
+gsave
+0.64 setgray
+fill
+grestore
+0.2 setlinewidth
+stroke
+
+showpage
+%%EndDocument
+%%Trailer
+\end{filecontents*}
+%
+\begin{filecontents*}{BlackCat.picture}
+\ifx\pspicture\undefined
+\begingroup
+\def\mycircle#1#2#3#4{%
+\qbezier[#4](0,#1)(#3,#1)(#2,#2)\qbezier[#4](#2,#2)(#1,#3)(#1,0)
+\qbezier[#4](0,-#1)(#3,-#1)(#2,-#2)\qbezier[#4](#2,-#2)(#1,-#3)(#1,0)}
+\def\Mycircle#1#2#3#4{\mycircle{#1}{#2}{#3}{#4}
+\qbezier[#4](0,#1)(-#3,#1)(-#2,#2)\qbezier[#4](-#2,#2)(-#1,#3)(-#1,0)
+\qbezier[#4](0,-#1)(-#3,-#1)(-#2,-#2)\qbezier[#4](-#2,-#2)(-#1,-#3)(-#1,0)}
+\begin{picture}(61,103)(0,-15)
+\put(20,72){\Mycircle{12}{8.485}{4.969}{30}}
+\put(20,46){\Mycircle{14}{9.898}{5.797}{32}}
+\put(20,16){\Mycircle{16}{11.313}{6.625}{35}}
+\put(54,0){
+ \qbezier[120](0,-8)(-24,-8)(-29.5,0.5)
+ \qbezier[160](0,-14)(-32,-14)(-38.5,0.5)}
+\put(54,-11){\mycircle{3}{2.121}{1.242}{6}}
+\put(32,72){\line(0,1){16}}\put(8,72){\line(0,1){16}}
+\put(32,88){\qbezier[20](0,0)(-2.877,-2.877)(-5.754,-5.754)}
+\put(8,88){\qbezier[20](0,0)(2.877,-2.877)(5.754,-5.754)}
+\end{picture}%
+\endgroup
+\else
+\begin{pspicture}(0,0)(61,103)
+\psset{linewidth=.125,linestyle=none,fillstyle=solid,fillcolor=black}
+\psellipse(20,85)(14,14)
+\psellipse(20,61)(17,16)
+\psellipse(20,32)(22.8,20)
+\pspolygon(6,102.25)(6,85)(15,92)
+\pspolygon(34,102.25)(34,85)(25,92)
+\psbezier[linewidth=5.125,linestyle=solid,linecolor=black,fillstyle=none](16,19.5)(16,7.35)(25,2.5)(56,2.5)
+\psbezier[linewidth=5.125,linestyle=solid,linecolor=black,fillstyle=none](20,19.5)(20,7.35)(25,2.5)(56,2.5)
+\psellipse(56,2.5)(5,2.5)
+\end{pspicture}%
+\fi
+\endinput
+\end{filecontents*}
+%
+\begin{filecontents*}{BlackCat2.picture}
+\ifx\pspicture\undefined
+\begin{picture}(35,136)(11,0)
+\put(28.5,3){\oval(24,6)[b]}
+\put(22,3){\oval(11,6)[tl]}
+\put(35,3){\oval(11,6)[tr]}
+%^^A neck
+\put(21,118){\line(-1,-6){8.5}}
+\put(31,119.5){\line(1,-6){7.9}}
+%^^A bottom
+\put(44.67,64){\line(-1,-6){9.67}}
+\put(12.33,64){\line(1,-6){9.67}}
+\put(12.33,64){\line(0,1){3}}
+%^^A head
+\qbezier(21,118)(15,118)(11.67,122.67)
+\put(11.67,122.67){\line(2,1){11}}
+\put(22.67,128.33){\line(0,1){8}}
+\put(22.67,136.33){\line(5,-6){8}}
+\qbezier(30.67,126.67)(33.67,122.6)(31,119.5)
+\put(39,64){\oval(11.67,16)[tr]}
+\end{picture}%
+\else
+\begin{pspicture}(11,0)(46,136)
+\psset{linewidth=.125,fillstyle=solid,fillcolor=black}
+\psframe[framearc=4](18,0)(42,8)
+\psellipse(30,70)(15.025,12)
+\pspolygon(22,0.025)(15,68)(45,68)(38,0.025)
+\pspolygon(15,70)(22,136)(32,125)(38,70)
+\psellipse(21.4,123.2)(11.4,7.2)
+\pspolygon[linestyle=none,fillstyle=solid,fillcolor=white]
+(10,123)(22,128)(22,136.2)(10,130.2)
+\end{pspicture}%
+\fi
+\endinput
+\end{filecontents*}
+%
+\begin{filecontents*}{Mouse.picture}
+\ifx\pspicture\undefined
+\begin{picture}(58,36)(0,0)
+\qbezier[50](25.1,15.0)(20.1,15.0)(16.7,16.8)
+\qbezier[35](16.7,16.8)(15.0,18.8)(15.3,21.5)
+\qbezier[45](15.3,21.5)(16.3,26.3)(20.7,27.3)
+\qbezier[64](20.7,27.3)(26.7,27.8)(31.1,24.3)
+\qbezier[60](31.1,24.3)(32.7,22.7)(32.0,18.0)
+\qbezier[60](32.0,18.0)(30.0,15.0)(25.1,15.0)
+%^^A ears
+\qbezier[42](16.0,23.6)(14.5,23.9)(13.2,25.6)
+\qbezier[42](13.2,25.6)(12.2,28.3)(13.2,30.0)
+\qbezier[42](13.2,30.0)(15.2,31.9)(17.8,31.6)
+\qbezier[42](17.8,31.6)(21.8,29.9)(21.5,27.8)
+%^^A
+\qbezier[42](25.3,27.6)(26.3,31.0)(28.6,31.5)
+\qbezier[42](28.6,31.5)(31.2,32.3)(33.4,29.8)
+\qbezier[42](33.4,29.8)(34.5,28.0)(33.9,26.0)
+\qbezier[42](33.9,26.0)(32.9,24.0)(31.3,23.9)
+%^^A muzzle
+\qbezier[42](21.3,28.9)(21.7,30.0)(22.4,33.4)
+\qbezier[42](25.5,28.8)(24.0,29.3)(23.2,33.8)
+%^^A nose
+\qbezier[42](22.4,33.4)(22.0,35.6)(23.5,35.3)
+\qbezier[42](23.5,35.3)(23.5,35.3)(23.2,33.8)
+\qbezier[42](23.2,33.8)(22.9,33.6)(22.4,33.4)
+%^^A whiskers
+\qbezier[42](16.4,33.3)(19.3,33.0)(22.0,33.4)
+\qbezier[42](16.2,35.8)(19.1,34.5)(22.3,33.5)
+\qbezier[42](23.2,33.7)(26.3,34.2)(29.4,35.0)
+\qbezier[42](23.1,33.1)(25.3,33.1)(28.3,32.2)
+%^^A tail
+\qbezier[80](24.0,18.6)(26.9,14.0)(35.2,12.0)
+\qbezier[80](23.3,18.2)(26.9,14.0)(35.2,12.0)
+\qbezier[80](35.2,12.0)(41.2,11.5)(48.8,12.2)
+\qbezier[80](48.8,12.2)(54.2,12.2)(57.7,8.3)
+\qbezier[42](57.7,8.3)(58.4,7.0)(58.1,5.6)
+\qbezier[60](58.1,5.6)(56.1,1.4)(47.7,1.9)
+\qbezier[200](47.7,1.9)(30.7,2.9)(13.8,3.7)
+\qbezier[32](13.8,3.7)(10.8,3.7)(7.7,3.3)
+\qbezier[32](7.7,3.3)(5.7,3.3)(4.6,2.8)
+\qbezier[32](4.6,2.8)(2.2,2.5)(0.0,0.0)
+\end{picture}%
+\else
+\begin{pspicture}(0,0)(58,36)
+\psset{linewidth=.25}
+\psccurve(25.1,15.0)(16.7,16.8)(15.3,21.5)(18.7,26.8)(31.1,24.3)(32.0,18.0)
+%^^A ears
+\pscurve(16.0,23.6)(12.9,26.6)(13.2,30.0)(17.5,31.9)(21.5,27.8)
+\pscurve(25.3,27.6)(28.6,31.5)(33.4,29.5)(33.9,26.0)(31.3,23.9)
+%^^A muzzle
+\psbezier(21.3,28.9)(21.7,30.0)(22.4,32.0)(22.4,33.4)
+\psbezier(25.5,28.8)(24.0,29.3)(23.5,31.4)(23.2,33.8)
+%^^A nose
+\pscurve(22.4,33.4)(22.0,35.6)(23.5,35.3)(23.2,33.8)
+%^^A whiskers
+\pscurve(16.4,33.3)(19.3,33.0)(22.0,33.4)
+\pscurve(16.2,35.8)(19.1,34.5)(22.3,33.5)
+\pscurve(23.2,33.7)(26.3,34.2)(29.4,35.0)
+\pscurve(23.1,33.1)(25.3,33.1)(28.3,32.2)
+%^^A tail
+\pscurve(24.0,18.6)(26.9,14.0)(35.2,12.0)
+\pscurve(23.3,18.2)(24.2,16.5)(27.9,13.3)(35.2,12.0)(51.8,12.2)(57.7,8.3)
+(58.1,5.6)(47.7,1.9)(13.8,3.7)(7.7,3.3)(4.6,2.8)(2.2,2.0)(0.0,0.0)
+\end{pspicture}%
+\fi
+\endinput
+\end{filecontents*}
+%
+\begin{filecontents*}{TheCat.picture}
+\ifx\pspicture\undefined
+\begingroup
+\ifx\undefined\MOVERIGHT\def\MOVERIGHT{0}\fi
+\ifx\undefined\Qbezier
+ \def\Qbezier[#1](#2,#3)(#4,#5)(#6,#7){\qbezier[#1](#2,#3)(#4,#5)(#6,#7)}\fi
+\begin{picture}(64,57)(\MOVERIGHT,0)
+%^^A "checks"
+%^^A left
+\Qbezier[7](0.5,31.8)(2.5,31.3)(6.5,31.8)
+\Qbezier[7](0,29.2)(1.0,28.8)(6.6,30.3)
+%^^A right
+\Qbezier[7](57.5,16.8)(60.1,16.5)(63.9,13.7)
+\Qbezier[7](57.4,15.5)(60.3,15.0)(63.5,11.1)
+%^^A ears
+%^^A left
+\Qbezier[7](11.8,47.0)(12.8,45.4)(14.9,44.3)
+\Qbezier[7](24.8,56.4)(23.9,54.0)(26.0,50.6)
+\Qbezier[7](27.2,55.5)(26.6,53.4)(27.2,50.5)
+\Qbezier[12](14.6,45.4)(14.3,50.0)(15.9,55.9)
+\Qbezier[12](15.9,55.9)(19.2,55.9)(24.8,50.1)
+%^^A right
+\Qbezier[7](49.2,42.9)(51.4,42.4)(54.6,45.3)
+\Qbezier[7](57.4,34.1)(57.8,36.7)(61.3,38.1)
+\Qbezier[7](57.4,34.1)(59.6,36.5)(63.7,36.2)
+\Qbezier[12](47.7,39.2)(51.8,43.1)(55.9,45.8)
+\Qbezier[12](55.9,45.8)(58.4,44.8)(59.7,38.5)
+%^^A eyebrows
+%^^A left
+\Qbezier[9](24.7,32.6)(23.6,35.3)(20.9,41.1)
+\Qbezier[9](26.2,31.3)(26.0,34.3)(24.6,39.8)
+%^^A right
+\Qbezier[9](34.7,30.1)(35.7,33.3)(40.4,37.4)
+\Qbezier[9](35.8,30.4)(38.2,32.0)(42.1,35.5)
+%^^A eyelashes
+%^^A left
+\Qbezier[3](16.4,29.8)(17.2,29.3)(18.2,28.8)
+\Qbezier[4](18.3,31.5)(19.2,30.3)(20.7,29.9)
+%^^A right
+\Qbezier[7](37.0,26.0)(38.8,25.9)(41.3,27.8)
+\Qbezier[7](40.1,24.1)(42.0,24.5)(45.2,23.1)
+%^^A eyes
+%^^A left
+\Qbezier[0](19.7,25.0)(22.9,22.6)(24.2,25.3)
+\Qbezier[0](24.2,25.3)(23.5,28.0)(21.5,29.2)
+\Qbezier[0](21.5,29.2)(19.3,29.2)(19.3,28.6)
+\Qbezier[0](19.3,28.6)(19.3,25.6)(19.7,25.0)
+\Qbezier[0](22.3,27.4)(22.0,26.0)(21.3,25.5)
+\Qbezier[0](22.3,27.4)(21.0,26.0)(21.3,25.5)
+\Qbezier[0](24.2,25.3)(24.1,24.1)(23.8,23.3)
+\Qbezier[0](23.8,23.3)(23.5,23.6)(23.2,23.8)
+%^^A right
+\Qbezier[0](34.5,24.0)(37.2,25.5)(40.6,22.4)
+\Qbezier[0](40.6,22.4)(38.1,19.3)(34.4,20.6)
+\Qbezier[0](36.8,23.6)(37.2,22.4)(36.8,21.3)
+\Qbezier[0](36.8,23.6)(36.2,22.4)(36.8,21.3)
+\Qbezier[0](34.5,24.0)(33.4,22.8)(32.3,21.8)
+\Qbezier[0](32.3,21.8)(33.5,21.3)(34.4,20.6)
+%^^A whiskers
+%^^A left
+\Qbezier[12](4.4,19.4)(8.8,21.3)(18.9,16.2)
+\Qbezier[12](4.5,13.5)(7.6,15.3)(18.7,14.4)
+\Qbezier[12](8.6,6.8)(10.5,9.9)(16.7,11.7)
+%^^A right
+\Qbezier[12](36.1,11.3)(41.6,11.8)(49.8,5.1)
+\Qbezier[12](34.0,10.5)(40.9,9.1)(48.9,2.3)
+\Qbezier[12](29.2,10.5)(33.3,10.1)(38.4,0.0)
+%^^A mouth
+\Qbezier[9](20.3,10.7)(22.9,10.3)(25.4,14.4)
+\Qbezier[9](25.4,14.4)(24.8,10.9)(29.7,7.6)
+\Qbezier[6](22.5,8.6)(23.0,6.8)(27.1,7.1)
+%^^A nose
+\Qbezier[0](28.0,15.7)(27.0,15.3)(26.4,15.8)
+\Qbezier[0](26.4,15.8)(28.0,15.7)(29.2,16.0)
+\Qbezier[0](29.2,16.0)(27.5,18.0)(25.2,18.4)
+\Qbezier[0](25.2,18.4)(22.9,17.2)(23.7,16.9)
+\Qbezier[0](23.7,16.9)(24.4,16.5)(24.5,16.0)
+\Qbezier[0](24.5,16.0)(25.5,14.6)(26.5,15.4)
+\Qbezier[0](23.7,16.9)(24.0,16.4)(24.5,16.0)
+\end{picture}%
+\endgroup
+\else
+\begin{pspicture}(0,0)(64,57)
+\psset{linewidth=.5,linestyle=solid,fillstyle=none}
+%^^A "checks"
+%^^A left
+\psbezier(0.5,31.8)(2.5,31.3)(4.4,31.1)(6.5,31.8)
+\psbezier(0,29.2)(1.0,28.8)(5.1,28.8)(6.6,30.3)
+%^^A right
+\psbezier(57.5,16.8)(60.1,16.5)(62.5,16.1)(63.9,13.7)
+\psbezier(57.4,15.5)(60.3,15.0)(62.0,13.4)(63.5,11.1)
+%^^A ears
+%^^A left
+\psbezier(11.8,47.0)(12.8,45.4)(12.9,45.1)(14.9,44.3)
+\psbezier(24.8,56.4)(23.9,54.0)(25.4,52.9)(26.0,50.6)
+\psbezier(27.2,55.5)(26.6,53.4)(27.2,53.2)(27.2,50.5)
+\pscurve(14.6,45.4)(14.3,50.0)(15.9,55.9)(19.2,55.9)(24.8,50.1)
+%^^A right
+\psbezier(49.2,42.9)(51.4,42.4)(51.8,44.9)(54.6,45.3)
+\psbezier(57.4,34.1)(57.8,36.7)(59.7,36.3)(61.3,38.1)
+\psbezier(57.4,34.1)(59.6,36.5)(61.0,35.1)(63.7,36.2)
+\pscurve(47.7,39.2)(51.8,43.1)(55.9,45.8)(58.4,44.8)(59.7,38.5)
+%^^A eyebrows
+%^^A left
+\psbezier(24.7,32.6)(23.6,35.3)(20.8,38.0)(20.9,41.1)
+\psbezier(26.2,31.3)(26.0,34.3)(24.5,36.7)(24.6,39.8)
+%^^A right
+\psbezier(34.7,30.1)(35.7,33.3)(37.5,36.1)(40.4,37.4)
+\psbezier(35.8,30.4)(38.2,32.0)(39.1,34.7)(42.1,35.5)
+%^^A eyelashes
+%^^A left
+\psbezier(16.4,29.8)(17.2,29.3)(17.3,28.8)(18.2,28.8)
+\psbezier(18.3,31.5)(19.2,30.3)(19.4,30.0)(20.7,29.9)
+%^^A right
+\psbezier(37.0,26.0)(38.8,25.9)(40.1,26.3)(41.3,27.8)
+\psbezier(40.1,24.1)(42.0,24.5)(43.3,23.3)(45.2,23.1)
+%^^A eyes
+%^^A left
+\psccurve(19.7,25.0)(22.9,23.6)(24.2,25.3)(23.5,28.0)(21.5,29.2)(19.3,28.6)
+\psccurve[fillstyle=solid](22.3,27.4)(22.0,26.0)(21.3,25.5)(21.6,26.7)
+\pscurve(24.2,25.3)(24.1,24.1)(23.8,23.3)
+\pscurve(23.8,23.3)(23.5,23.6)(23.2,23.8)
+%^^A right
+\psccurve(34.5,24.0)(37.2,25.0)(40.6,22.4)(38.1,19.8)(34.4,20.6)
+\psccurve[fillstyle=solid](36.8,23.6)(37.2,22.4)(36.8,21.3)(36.5,22.6)
+\pscurve(34.5,24.0)(33.4,22.8)(32.3,21.8)
+\pscurve(32.3,21.8)(33.5,21.3)(34.4,20.6)
+%^^A whiskers
+%^^A left
+\psbezier(4.4,19.4)(8.8,21.3)(15.1,18.6)(18.9,16.2)
+\psbezier(4.5,13.5)(7.6,15.3)(15.3,15.5)(18.7,14.4)
+\psbezier(8.6,6.8)(10.5,9.9)(13.6,10.7)(16.7,11.7)
+%^^A right
+\psbezier(36.1,11.3)(41.6,11.8)(45.8,8.3)(49.8,5.1)
+\psbezier(34.0,10.5)(40.9,9.1)(43.1,7.8)(48.9,2.3)
+\psbezier(29.2,10.5)(33.3,10.1)(34.8,3.3)(38.4,0.0)
+%^^A mouth
+\psbezier(20.3,10.7)(22.9,10.3)(25.1,11.5)(25.4,14.4)
+\psbezier(25.4,14.4)(24.8,10.9)(26.7,8.8)(29.7,7.6)
+\psbezier(22.5,8.6)(23.0,6.8)(25.6,6.6)(27.1,7.1)
+%^^A nose
+\pscurve(28.0,15.7)(27.0,15.3)(26.4,15.8)(28.0,15.7)
+(29.2,16.0)(27.5,18.0)(25.2,18.4)(22.9,17.2)
+(23.7,16.9)(24.4,16.5)(24.5,16.0)(25.5,14.6)(26.5,15.4)
+\psbezier(23.7,16.9)(24.0,16.4)(24.0,16.2)(24.5,16.0)
+\end{pspicture}%
+\fi
+\endinput
+\end{filecontents*}
+%
+\begin{filecontents*}{TheBlackCat.picture}
+\ifx\pspicture\undefined
+{\def\Qbezier[#1](#2,#3)(#4,#5)(#6,#7){\qbezier[#1](-#2,#3)(-#4,#5)(-#6,#7)}%
+\thicklines\def\MOVERIGHT{-64}\fboxrule0pt\fbox{\input{TheCat.picture}}}%
+\else
+{\psset{linecolor=white,fillcolor=white}
+\psframebox[fillstyle=solid,fillcolor=black]{\input{TheCat.picture}}}%
+\fi
+\endinput
+\end{filecontents*}
+%
+\begin{filecontents*}{BlackDog.picture}
+\ifx\pspicture\undefined
+\begin{picture}(60,37)(0,0)
+\qbezier(0,26.3)(1.8,20.9)(1.8,20.9)
+\put(1.8,12.2){\line(0,1){8.7}}
+\put(1.8,12.2){\line(6,1){14.9}}
+\put(55.7,0){\line(0,1){14.4}}
+\put(16.7,0){\line(0,1){14.6}}
+\put(16.7,0){\line(1,0){39}}
+\put(13.4,26.3){\line(-1,0){13.4}}
+\put(13.4,28.5){\line(0,-1){2.2}}
+\put(13.4,28.5){\line(1,0){5.6}}
+\put(19,28.5){\line(0,1){8.8}}
+\qbezier(19,37.3)(19,37.3)(26.7,28.1)
+\put(26.7,18.5){\line(0,1){9.6}}
+\put(26.7,18.5){\line(1,0){27.3}}
+\qbezier(54.0,18.5)(54.0,18.5)(56.6,21.1)
+\put(56.6,21.1){\line(0,1){6.7}}
+\qbezier(56.6,27.8)(56.6,27.8)(59.7,18.4)
+\qbezier(55.7,14.4)(55.7,14.4)(59.7,18.4)
+\end{picture}%
+\else
+\begin{pspicture}(0,0)(60,37)
+\psset{linewidth=.25,linestyle=solid,linecolor=black,fillstyle=solid,fillcolor=black}
+\pspolygon(0,25.1)(13.4,26.3)(13.4,28.5)(19.3,28.5)
+(18.5,37.3)(26.7,28.5)(26.7,18.5)(54.0,18.5)
+(56.6,22.3)(56.6,28.0)(59.7,20.2)(55.7,14.4)
+(55.7,0)(16.7,0)(16.7,14.6)(1.8,12.2)(1.8,21.3)
+\end{pspicture}%
+\fi
+\endinput
+\end{filecontents*}
+\endinput
diff --git a/Master/texmf-dist/doc/latex/floatrow/pslearn.eps b/Master/texmf-dist/doc/latex/floatrow/pslearn.eps
new file mode 100644
index 00000000000..590e815f45a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/pslearn.eps
@@ -0,0 +1,42 @@
+%!PS-Adobe-3.0 EPSF-3.0
+%%BoundingBox: 28 175 99 213
+%%Title: pslearn.ps
+%%Creator: GSview from pslearn.ps
+%%CreationDate: Sat May 15 16:27:11 2004
+%%Pages: 1
+%%EndComments
+%%Page: 1 1
+%BeginDocument: pslearn.ps
+1 1 scale
+
+/Times-BoldItalic findfont
+16 scalefont
+setfont
+
+30 200 moveto
+(PostScript)
+true charpath
+gsave
+0.8 setgray
+fill
+grestore
+0.2 setlinewidth
+stroke
+
+/Times-BoldItalic findfont
+20 scalefont
+setfont
+
+29 180 moveto
+(Graphic)
+true charpath
+gsave
+0.64 setgray
+fill
+grestore
+0.2 setlinewidth
+stroke
+
+showpage
+%%EndDocument
+%%Trailer