summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/README11
-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.tex1640
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/floatrow.pdfbin710332 -> 544615 bytes
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/floatrow.xml31
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample03.tex2
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/frsample12.tex95
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/pslearn.eps42
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/sample-longtable.tex442
-rw-r--r--Master/texmf-dist/source/latex/floatrow/floatrow.dtx2106
-rw-r--r--Master/texmf-dist/source/latex/floatrow/floatrow.ins2
-rw-r--r--Master/texmf-dist/tex/latex/floatrow/floatpagestyle.sty61
-rw-r--r--Master/texmf-dist/tex/latex/floatrow/floatrow.sty70
-rw-r--r--Master/texmf-dist/tex/latex/floatrow/listpen.sty45
-rw-r--r--Master/texmf-dist/tpm/floatrow.tpm19
-rw-r--r--Master/texmf/lists/floatrow11
21 files changed, 2833 insertions, 2063 deletions
diff --git a/Master/texmf-dist/doc/latex/floatrow/BlackCat.picture b/Master/texmf-dist/doc/latex/floatrow/BlackCat.picture
deleted file mode 100644
index 5b3cb32c9e5..00000000000
--- a/Master/texmf-dist/doc/latex/floatrow/BlackCat.picture
+++ /dev/null
@@ -1,35 +0,0 @@
-\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
deleted file mode 100644
index 4ac128163c3..00000000000
--- a/Master/texmf-dist/doc/latex/floatrow/BlackCat2.picture
+++ /dev/null
@@ -1,33 +0,0 @@
-\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
deleted file mode 100644
index 25f5bc81456..00000000000
--- a/Master/texmf-dist/doc/latex/floatrow/BlackDog.picture
+++ /dev/null
@@ -1,30 +0,0 @@
-\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
deleted file mode 100644
index 86c4f933fa9..00000000000
--- a/Master/texmf-dist/doc/latex/floatrow/Mouse.picture
+++ /dev/null
@@ -1,66 +0,0 @@
-\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/README b/Master/texmf-dist/doc/latex/floatrow/README
new file mode 100644
index 00000000000..127e89c8990
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/README
@@ -0,0 +1,11 @@
+floatrow 0.1i
+Modifying the layout of floats.
+
+ The floatrow package provides many ways to customize layouts of
+ floating environments and has code cooperation with caption 3.x
+ package. Package offers possibilities to put floats side by
+ side, to put caption beside float. The floatrow settings could
+ be expanded to the floats created by packages rotating, wrapfig,
+ subfig (in the case of rows of subfloats), and longtable.
+
+Documentation: floatrow.pdf. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/floatrow/TheBlackCat.picture b/Master/texmf-dist/doc/latex/floatrow/TheBlackCat.picture
deleted file mode 100644
index 7ce6816baa1..00000000000
--- a/Master/texmf-dist/doc/latex/floatrow/TheBlackCat.picture
+++ /dev/null
@@ -1,8 +0,0 @@
-\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
deleted file mode 100644
index fa757255984..00000000000
--- a/Master/texmf-dist/doc/latex/floatrow/TheCat.picture
+++ /dev/null
@@ -1,147 +0,0 @@
-\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
index 3783c31107c..fa6f8ac5f1c 100644
--- a/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex
+++ b/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex
@@ -1,9 +1,10 @@
% \iffalse
-% floatrow-rus.tex - The float row package (extension of float package)
+% 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
+% This documentation is provided under the terms of the
% LaTeX Project Public License distributed from CTAN
% archives in directory macros/latex/base/lppl.txt.
%
@@ -56,7 +57,8 @@
\makeatletter
\@ifundefined{thead}%
{\newcommand\thead[1]{\footnotesize
- \raisebox{0pt}[\height+\jot][\depth+\jot]{\begin{tabular}{@{}c@{}} #1\end{tabular}}}
+ \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
@@ -70,7 +72,8 @@
\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}}
+\DeclareFloatStyle{MyBoxed}{style=Boxed,captionskip=5pt,
+ frameset={\fboxrule1pt\fboxsep12pt}}
\DeclareFloatVCode{lowthickrule}{\kern2pt\hrule height.8ptdepth0pt}
\DeclareNewFloatType{Example}%
@@ -124,7 +127,8 @@
\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
+ \ifdim\@tempdima>#2\setlength\unitlength{#2/#4}\ifx\pspicture\undefined
+ \else\psset{unit=\unitlength}\fi
{#5}\else\box0\fi}
\providecommand*{\file}[1]{\texttt{#1}}
@@ -221,16 +225,18 @@
%
% \emph{Терминология документации}:
% \begin{description}\vskip-\lastskip\itemsep0pt\parskip0pt
-% \item[флот] или \textbf{плавающий объект} (float [box]) "--- может включать \emph{объект},
+% \item[флот] или \textbf{плавающий объект} (float [box]) "---
+% может включать \emph{объект},
% \emph{подпись} и \emph{дополнительный материал};
% создаётся внутри окружений \env{figure} или \env{table} (\emph{простой флот}),
% или командой |\floatbox|;
%
% \item[объект] (object) "--- таблица (\env{tabular}) или любая графика, являющаяся
-% содержимым таблицы (\env{figure}), рисунка (\env{table}) или другого типа плавающего
-% объекта;
+% содержимым таблицы (\env{figure}), рисунка (\env{table}) или другого типа
+% плавающего объекта;
%
-% \item[подпись] (caption) "--- подпись или табличный заголовок, заданный командой |\caption|;
+% \item[подпись] (caption) "--- подпись или табличный заголовок, заданный командой
+% |\caption|;
%
% \item[дополнительный материал] (foot material) "--- экспликации и/или сноски внутри
% \emph{флота} (|\footnote|/|\mpfootnotemark|/|\footnotetext| или |\floatfoot|).
@@ -250,9 +256,10 @@
%
% \section{Введение}
%
-% Одной из первых макрокоманд пакета, созданных для плавающего объекта (флота), является
-% команда, которая помещает содержимое таблицы с табличным заголовком вверху. Ширина
-% заголовка равна ширине содержимого, здесь "--- таблицы (см. табл.~\ref{intro:table}).
+% Одной из первых макрокоманд пакета, созданных для плавающего объекта (флота),
+% является команда, которая помещает содержимое таблицы с табличным заголовком
+% вверху. Ширина заголовка равна ширине содержимого, здесь "--- таблицы
+% (см. табл.~\ref{intro:table}).
%\begin{verbatim}
%\begin{table}
%\ttabbox
@@ -297,12 +304,14 @@
% 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
+% {{\setlength\unitlength{4cm/58}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}}
% \end{figure}
%
-% Все три команды являются сокращениями команды |\floatbox|, которая создаёт
-% флоты (см. разд.~\ref{sec:floatbox}).
+% Все три команды являются сокращениями команды |\floatbox|, которая
+% создаёт комбинации объект---подпись (см.
+% разд.~\ref{sec:floatbox}).
%
% Окружение \env{floatrow} позволяет поместить плавающие объекты рядом, как
% рис.~\ref{intro:leftfig} и~\ref{intro:rightfig}. По умолчанию \env{floatrow}
@@ -326,13 +335,15 @@
% \label{intro:leftfig}}%
%
% \ffigbox
-% {\caption{Рисунок расположенный справа, в простом ряду рисунков}\label{fig:rotrow:FcatI}}
+% {\caption{Рисунок расположенный справа, в простом ряду рисунков}%^^A
+% \label{fig:rotrow:FcatI}}
% {\input{TheCat.picture}\label{intro:rightfig}}
% \end{floatrow}
% \end{figure}%^^A
% Обратите внимание, что внутри окружения \env{floatrow} вы должны использовать
% макрокоманды |\ffigbox| или |\ttabbox| для каждого флота. (См. подробнее
-% о командах, используемых в примерах введения и о команде |\floatbox| в разд.~\ref{sec:floatbox};
+% о командах, используемых в примерах введения и о команде |\floatbox|
+% в разд.~\ref{sec:floatbox};
% об окружении \env{floatrow} "--- в разд.~\ref{sec:floatrow}.)
%
% \subsection{Это не допускается пакетом \pkg{floatrow}}
@@ -375,17 +386,19 @@
%
% \section{Настройка оформления плавающих объектов}\label{sec:floatsetup}
%
-% Идея пакета \pkg{floatrow} заключается в том, чтобы избежать множества повторяющихся
-% команд внутри документа для создания желаемого оформления плавающих объектов (которые
-% к тому же снижают читаемость документа), и упростить изменения, если вам нужно
-% изменить оформление книги. В этом случае вы уделяете внимание только \emph{разметке}
+% Идея пакета \pkg{floatrow} заключается в том, чтобы избежать множества
+% повторяющихся команд внутри документа для создания желаемого оформления
+% плавающих объектов (которые к тому же снижают читаемость документа),
+% и упростить изменения, если вам нужно изменить оформление книги.
+% В этом случае вы уделяете внимание только \emph{разметке}
% флотов и их содержанию.
%
% Простота изменения общего оформления флотов одного типа возможна
% благодаря коду, взятому из пакета \pkg{float}, который позволяет
% изменять целиком оформление плавающего объекта.
%
-% Единое оформление и изменение подписей флотов и настройки для каждого типа флотов, поддерживается пакетом
+% Единое оформление и изменение подписей флотов и настройки для каждого
+% типа флотов, поддерживается пакетом
% \pkg{caption}, версии~3.x.
%
% Настройки оформления пакета \pkg{floatrow} построены аналогично пакету
@@ -410,7 +423,8 @@
% \begin{quote}
% |\floatsetup{style=boxed,font=small}|
% \end{quote}
-% Строки выше определяют стиль \texttt{boxed} (рамка |\fbox| вокруг объекта) и шрифт |\small| для содержимого
+% Строки выше определяют стиль \texttt{boxed} (рамка |\fbox| вокруг объекта)
+% и шрифт |\small| для содержимого
% объектов. Эти установки заданы для \emph{всех} типов плавающих объектов.
%
% Команда |\floatsetup| имеет следующую форму задания:
@@ -428,33 +442,41 @@
% табличные заголовки выравниваются по верхней строке)\footnote{Ключи,
% используемые в специальной настройке для плавающих объектов одного
% типа, всегда <<сильнее>> их синонимов, заданных в общей настройке. Другими
-% словами, если вы захотите, после приведённого примера переопределить стиль для всех флотов,
+% словами, если вы захотите, после приведённого примера переопределить стиль
+% для всех флотов,
% с помощью \cmd{\floatsetup\{style={\normalfont \meta{option}}\}}
% вы не измените оформления таблицы "--- используйте опять
-% \cmd{\floatsetup[table]}\allowbreak\texttt{\{style={\normalfont \meta{option}}\}}.}.
+% \cmd{\floatsetup[table]}\allowbreak\texttt{\{style={\normalfont
+% \meta{option}}\}}.}.
%
% Созданы также специальные опции команды |\floatsetup| для настройки флотов
% с разными вариантами размещения:
-% для набора в две колонки (в одноколонной книге |*|-окружение, типа \env{figure*}, можно использовать
-% для вёрстки, например, широких рисунков) для флотов, развёрнутых вертикально и других.
-% <<Сила>> приведённых ниже в перечнях опций убывает от предыдущего к следующему пункту
+% для набора в две колонки (в одноколонной книге |*|-окружение, типа
+% \env{figure*}, можно использовать
+% для вёрстки, например, широких рисунков) для флотов, развёрнутых
+% вертикально и других.
+% <<Сила>> приведённых ниже в перечнях опций убывает от предыдущего
+% к следующему пункту
% (в качестве примера использовано окружение \env{figure}):
% \begin{itemize}\label{stsetorder}\itemsep0pt\parskip0pt
% \item Широкие флоты или флоты вразрез двух колонок
% (например, \env{figure*}, вы можете определить специальные настройки для
% |*|-окружений и в одноколонном документе):
% \begin{itemize}
-% \item |\floatsetup[widefigure]|---самые <<сильные>> настройки; если они отсутствуют,
+% \item |\floatsetup[widefigure]|---самые <<сильные>> настройки;
+% если они отсутствуют,
% пакет использует настройки из следующего пункта;
% \item |\floatsetup[widefloat]|---эти настройки <<сильнее>> чем настройки
% из следующего пункта (|\floatsetup[figure]|); если они отсутствуют, пакет
% использует настройки из следующего пункта;
-% \item |\floatsetup[figure]|; если эти настройки отсутствуют, пакет использует настройки,
+% \item |\floatsetup[figure]|; если эти настройки отсутствуют, пакет
+% использует настройки,
% заданные в опции в строке |\usepackage| или как |\floatsetup{...}|;
% если и эти установки отсутствуют "--- установки пакета
% по умолчанию (см.~с.~\pageref{sec:default});
% \end{itemize}
-% \item Плавающие объекты в оборку (использующие окружение типа \env{wrapfigure}):
+% \item Плавающие объекты в оборку (использующие окружение типа
+% \env{wrapfigure}):
% \begin{itemize}\itemsep0pt\parskip.5\parskip
% \item |\floatsetup[wrapfigure]|;
% \item |\floatsetup[wrapfloat]|;
@@ -466,10 +488,12 @@
% \item |\floatsetup[rotfloat]|;
% \item |\floatsetup[figure]|;
% \end{itemize}
-% \item Развёрнутые плавающие объекты вразрез двух колонок (\env{sidewaysfigure*})\footnote{Настройки
+% \item Развёрнутые плавающие объекты вразрез двух колонок
+% (\env{sidewaysfigure*})\footnote{Настройки
% для флотов на две колонки (или широких в одноколонной вёрстке)
-% (\texttt{widefloat}, \texttt{widefigure}) удалены "--- используйте настройки
-% для \texttt{widerotfloat} и "--- здесь "---\texttt{widerotfigure}}:
+% (\texttt{widefloat}, \texttt{widefigure}) удалены "--- используйте
+% настройки для \texttt{widerotfloat} и "--- здесь
+% "---\texttt{widerotfigure}}:
% \begin{itemize}\itemsep0pt\parskip.5\parskip
% \item |\floatsetup[widerotfigure]|;
% \item |\floatsetup[widerotfloat]|;
@@ -505,7 +529,8 @@
%
%
% Стиль для подписи, \texttt{ruled}, единственный из пакета \pkg{float},
-% который также предопределён в пакете \pkg{caption}. Для его использования, запишите, например
+% который также предопределён в пакете \pkg{caption}. Для его использования,
+% запишите, например
% \begin{quote}
% |\captionsetup[figure]{style=ruled}|\quad .
% \end{quote}
@@ -532,7 +557,8 @@
% \\\hline\texttt{Plaintop}{\mpfootnotemark[2]}}
% & \leftcell[50mm]{capposition=top\\\hline
% capposition=TOP}
-% &То же что и стиль \texttt{plain} но помещает подпись сверху "--- аналог стиля из пакета
+% &То же что и стиль \texttt{plain} но помещает подпись сверху "---
+% аналог стиля из пакета
% \pkg{float}. Стиль, записанный с прописной выравнивает подписи
% у флотов, помещённых в окружение \env{floatrow}, по верхней строке
% \\\hline
@@ -605,8 +631,8 @@
% основного текста или предопределённой ширине (как \texttt{Boxed}, etc.),
% и в опции \meta{width} макрокоманды \cmd{\floatbox} определена команда
% \cmd{\FBwidth}, устанавливающая ширину всех элементов флота равной
-% ширине объекта (см.~с.~\pageref{sec:floatbox}), ширина остальных элементов флота
-% в этом случае увеличивается, до ширины равной обрамлённому объекту.}
+% ширине объекта (см.~с.~\pageref{sec:floatbox}), ширина остальных элементов
+% флота в этом случае увеличивается, до ширины равной обрамлённому объекту.}
%
% \footnotetext[1]{Стили аналогичны предложенным пакетом \pkg{float}.}
% \footnotetext[2]{При использовании этих стилей в окружении \env{floatrow}
@@ -620,7 +646,8 @@
% \subsubsection{Настройки шрифта}
%
% \DescribeMacro{font=}
-% Определяет шрифт для содержимого плавающего объекта. Опции аналогичны ключу \texttt{font=}
+% Определяет шрифт для содержимого плавающего объекта. Опции аналогичны
+% ключу \texttt{font=}
% в команде |\captionsetup|.\nopagebreak
%
% Существующие уже опции настройки шрифта:
@@ -628,7 +655,8 @@
% \begin{Options}{\OptionLabel}
% \item[scriptsize] {\scriptsize очень маленький размер}
% \item[footnotesize] {\footnotesize размер, используемый сносками}
-% \item[small] {\small маленький размер, в русских изданиях рекомендуется для плавающих объектов}
+% \item[small] {\small маленький размер, в русских изданиях
+% рекомендуется для плавающих объектов}
% \item[normalsize] {\normalsize нормальный размер}
% \item[large] {\large большой размер}
% \item[Large] {\Large б\'ольший размер}
@@ -669,13 +697,16 @@
% на ключ \texttt{position=} пакета \pkg{caption}, но он имеет
% две дополнительные опции\footnote{Опция \texttt{auto} не используется ключом
% \texttt{capposition=}.}: \texttt{TOP}, если вы предпочитаете выровнять подписи,
-% расположенные сверху объектов, при расположении флотов рядом (в окружении \env{floatrow}),
-% по верхней строке; и \texttt{beside} для размещения подписи сбоку от объекта (эта опция
+% расположенные сверху объектов, при расположении флотов рядом
+% (в окружении \env{floatrow}),
+% по верхней строке; и \texttt{beside} для размещения подписи
+% сбоку от объекта (эта опция
% может быть более предпочтительна для настроек отдельного окружения, см. о команде
% |\thisfloatsetup| на с.~\pageref{thisfloatsetup}):
% \begin{Options}{\OptionLabel}
% \item[top] подпись сверху объекта (соответствует команде |\captop|);
-% \item[TOP] подпись сверху объекта и при размещении флотов рядом (в окружении \env{floatrow}) подписи выравниваются
+% \item[TOP] подпись сверху объекта и при размещении флотов рядом
+% (в окружении \env{floatrow}) подписи выравниваются
% по верхней строке (соответствует команде |\CAPTOP|).
% Например, стиль \texttt{Plaintop} является вариантом стиля \texttt{plaintop}
% где определена |capposition=TOP|,
@@ -690,7 +721,8 @@
% \extrarowheight1pt
% \ttabbox
% {\caption[Длинный заголовок таблицы~I]%^^A
-% {Таблица~I в ряду с длинным, длинным, длинным заголовком, выровненным по верхней строке}\label{tab:row:tabIII}}%^^A
+% {Таблица~I в ряду с длинным, длинным, длинным заголовком,
+% выровненным по верхней строке}\label{tab:row:tabIII}}%^^A
% {\begin{tabular}{|l|>{\phantom0}c|>{\phantom0}c|}
% \hline
% \multirowthead{2}[-1ex]{Left Column Head}
@@ -768,7 +800,8 @@
% \begin{quote}
% |capbesidewidth=4cm|\quad.
% \end{quote}
-% Если вы напишете \texttt{capbesidewidth=none} или \texttt{capbesidewidth=sidefill}
+% Если вы напишете \texttt{capbesidewidth=none} или
+% \texttt{capbesidewidth=sidefill}
% (это настройка по умолчанию), ширина подписи будет рассчитана
% относительно ширины объекта (то есть займет остальное пространство
% в боксе, см. рис.~\ref{fig:beside:mouse} на с.~\pageref{fig:beside:mouse}).
@@ -777,18 +810,22 @@
% \DescribeMacro{capbesideframe=}
% Этот ключ (работает как булев параметр) декларирует, размещена ли подпись рядом
% с объектом, заключённым в рамку (\texttt{capbesideframe=yes}): в этом случае
-% строки подписи будут выравнивается по верху или низу рамки; в противном случае верх или низ
-% \emph{содержимого} объекта в рамке будет выровнено со строками подписи (\texttt{capbesideframe=no}).
+% строки подписи будут выравнивается по верху или низу рамки;
+% в противном случае верх или низ
+% \emph{содержимого} объекта в рамке будет выровнено со строками
+% подписи (\texttt{capbesideframe=no}).
%
% \penalty-5000
-% \subsubsection{Определение расположения экспликаций (и сносок)}\label{sec:footposition}
+% \subsubsection{Определение расположения экспликаций (и сносок)}
+% \label{sec:footposition}
%
% \DescribeMacro{footposition=}\label{foot:pos}%^^A
-% Определяет расположение содержимого команд |\footnote| и |\floatfoot| внутри бокса
-% плавающего объекта с подписями сверху/снизу.
+% Определяет расположение содержимого команд |\footnote| и |\floatfoot| внутри
+% бокса плавающего объекта с подписями сверху/снизу.
% \begin{Options}{\OptionLabel}
% \item[default]
-% если подпись сверху, экспликации и сноски помещаются под объектом; в противном случае
+% если подпись сверху, экспликации и сноски помещаются под объектом;
+% в противном случае
% "--- под подписью;
% \item[caption]
% всегда помещаются под подписью;
@@ -801,15 +838,19 @@
% \subsubsection{Определение вертикального выравнивания}\label{sec:heightadjust}
%
% \DescribeMacro{heightadjust=}
-% Определяет будет ли использоваться в ряду (\env{floatrow}) максимальная высота объекта
+% Определяет будет ли использоваться в ряду (\env{floatrow}) максимальная
+% высота объекта
% и/или подписи в качестве общей. ключ имеет следующие опции
% \begin{Options}{\OptionLabel}\samepage
% \item[all]
-% выровнять высоты объектов и подписей по максимальной высоте (например, используется стилями \texttt{Ruled} и \texttt{BOXED});
+% выровнять высоты объектов и подписей по максимальной
+% высоте (например, используется стилями \texttt{Ruled} и \texttt{BOXED});
% \item[caption]
-% выровнять высоты подписей по максимальной высоте (используется стилем \texttt{Plaintop});
+% выровнять высоты подписей по максимальной высоте
+% (используется стилем \texttt{Plaintop});
% \item[object]
-% выровнять высоты объектов по максимальной высоте (используется стилем \texttt{Boxed});
+% выровнять высоты объектов по максимальной высоте
+% (используется стилем \texttt{Boxed});
% \item[none]
% никакие высоты не изменяются (используется стилем \texttt{plain});
% \item[nocaption]
@@ -826,9 +867,12 @@
% \DescribeMacro{valign=}
% Определяет вертикальное выравнивание объектов в ряду
% (\env{floatrow}) если задан ключ |heightadjust=all| или
-% |heightadjust=object| или в командах |\floatbox| используется аргумент \meta{height}
-% с величиной б\'ольшей высоты объекта. Опции этого ключа аналогичны опции вертикального
-% выравнивания в окружении \env{minipage} и команде |\parbox|. Опция по умолчанию: |c|
+% |heightadjust=object| или в командах |\floatbox| используется
+% аргумент \meta{height}
+% с величиной б\'ольшей высоты объекта. Опции этого ключа аналогичны
+% опции вертикального
+% выравнивания в окружении \env{minipage} и команде |\parbox|.
+% Опция по умолчанию: |c|
% (центрированное вертикальное выравнивание).
% \begin{Options}{\OptionLabel}\samepage
% \item[t]
@@ -844,11 +888,13 @@
% \subsubsection{Оформление для разворотов}
%
% \DescribeMacro{facing=}
-% Этот ключ определяет будет ли использоваться оформление флотов для разворотов (зеркальное
+% Этот ключ определяет будет ли использоваться оформление флотов
+% для разворотов (зеркальное
% отображение чётных и нечётных полос).
% Этот ключ работает, если включена опция |twoside| в классе документа.
%
-% \subsubsection{Определение полей вокруг флотов и настройка для содержимого объекта}\label{sec:set:box}
+% \subsubsection{Определение полей вокруг флотов и настройка
+% для содержимого объекта}\label{sec:set:box}
%
% \DescribeMacro{margins=}
% Определяет поля для отдельных флотов с подписями сверху/снизу,
@@ -906,16 +952,18 @@
% Этот ключ удобно использовать в настройке для отдельного окружения
% (см. о команде |\thisfloatsetup| на с.~\pageref{thisfloatsetup}).
%
-% Если вы используете опцию \texttt{floatwidth=sidefill} для флотов с подписью сбоку
-% (в случае если в \texttt{capbesidewidth=} задано абсолютное значение ширины, как
-% \texttt{4cm}) объект (вместо подписи) займет остальное пространство в боксе
-% (см. приложение, рис.~\ref{fig:capbeside:trick} на с.~\pageref{fig:capbeside:trick})
+% Если вы используете опцию \texttt{floatwidth=sidefill} для флотов с подписью
+% сбоку (в случае если в \texttt{capbesidewidth=} задано абсолютное значение
+% ширины, как \texttt{4cm}) объект (вместо подписи) займет остальное
+% пространство в боксе (см. приложение, рис.~\ref{fig:capbeside:trick} на
+% с.~\pageref{fig:capbeside:trick})
%
% \subsubsection{Определение разделителей в боксах флотов}\label{sec:set:sep}
%
% \noindent
% \DescribeMacro{floatrowsep=}
-% Задаёт разделительный материал между флотами рядом (заданных командой |\floatbox| и её
+% Задаёт разделительный материал между флотами рядом
+% (заданных командой |\floatbox| и её
% производными, см.~с.~\pageref{sec:floatbox}) внутри окружения \env{floatrow}
% (см.~с.~\pageref{sec:floatrow}).
%
@@ -923,13 +971,14 @@
% \DescribeMacro{capbesidesep=}
% Задаёт разделительный материал между объектом и подписью сбоку.
%
-% Настройки обоих ключей работают аналогично настройкам ключа |labelsep=| в команде
-% |\captionsetup|.
+% Настройки обоих ключей работают аналогично настройкам ключа |labelsep=|
+% в команде |\captionsetup|.
%
% Они используют следующие предопределённые опции:
% \begin{Options}{\OptionLabel}
% \item[columnsep]
-% горизонтальная отбивка${}={}$|\columnsep| (межколонник при двух- и многоколонном наборе);
+% горизонтальная отбивка${}={}$|\columnsep| (межколонник при двух-
+% и многоколонном наборе);
% \item[quad]
% горизонтальная отбивка${}={}1$\,em (одна кегельная);
% \item[qquad]
@@ -949,7 +998,8 @@
%
% \noindent
% \DescribeMacro{rowprecode=}
-% Определяет отбивку, линейку или другой подобный материал сверху отдельного флота и, при
+% Определяет отбивку, линейку или другой подобный материал
+% сверху отдельного флота и, при
% размещении флотов рядом в окружении \env{floatrow}, сверху ряда флотов.
% (см.~с.~\pageref{fig:rotrow:WcatI}).
%
@@ -964,8 +1014,10 @@
%
% \noindent
% \DescribeMacro{rowpostcode=}
-% Определяет отбивку, линейку или другой подобный материал снизу отдельного флота и, при
-% размещении флотов рядом в окружении \env{floatrow}, снизу ряда флотов (см.~с.~\pageref{fig:rotrow:WcatI}).
+% Определяет отбивку, линейку или другой подобный материал снизу
+% отдельного флота и, при
+% размещении флотов рядом в окружении \env{floatrow},
+% снизу ряда флотов (см.~с.~\pageref{fig:rotrow:WcatI}).
%
% Для всех этих ключей предопределены следующие опции (настройки
% взяты из стилей, созданных пакетом \pkg{float}):
@@ -973,11 +1025,14 @@
% \item[none]
% отбивка отсутствует;
% \item[thickrule]
-% толстая линия (.8pt) с отбивкой снизу в 2pt "--- верхняя линейка над флотов в стиле \texttt{ruled};
+% толстая линия (.8pt) с отбивкой снизу в 2pt "--- верхняя линейка
+% над флотов в стиле \texttt{ruled};
% \item[rule]
-% линейка обычной толщины (.4pt), с отбивками сверху и снизу в 2pt "---средняя линейка в стиле \texttt{ruled};
+% линейка обычной толщины (.4pt), с отбивками сверху и снизу
+% в 2pt "---средняя линейка в стиле \texttt{ruled};
% \item[lowrule]
-% линейка обычной толщины (.4pt), с отбивкой сверху в 2pt "--- нижняя линейка в стиле \texttt{ruled};
+% линейка обычной толщины (.4pt), с отбивкой сверху в
+% 2pt "--- нижняя линейка в стиле \texttt{ruled};
% \item[captionskip]
% вертикальная отбивка равная величине, заданной в ключе |captionskip=|.
% \end{Options}
@@ -992,7 +1047,8 @@
% \item[fbox]
% стандартная рамка.
% \end{Options}
-% Далее идут опции для задания дополнительных вариантов рамок, предлагаемых пакетом \pkg{fr-fancy},
+% Далее идут опции для задания дополнительных вариантов рамок,
+% предлагаемых пакетом \pkg{fr-fancy},
% который инсталлируется вместе с \pkg{floatrow}:
% \begin{Options}{\OptionLabel}
% \item[colorbox]
@@ -1003,7 +1059,8 @@
% \item[shadowbox]
% рамка с тенью, для неё нужен пакет \pkg{fancybox};
% \item[wshadowbox]
-% изменённая рамка \texttt{shadowbox} (с <<белой тенью>>), для неё нужен пакет \pkg{fancybox};
+% изменённая рамка \texttt{shadowbox} (с <<белой тенью>>),
+% для неё нужен пакет \pkg{fancybox};
% \end{Options}
%
% \noindent
@@ -1018,9 +1075,12 @@
%
% \noindent
% \DescribeMacro{framefit=}
-% Переключатель (работает как булев параметр) который определяет нужно ли ширину рамки делать равной ширине
-% текста |\hsize| или предопределённой ширине (\texttt{framefit=yes}), объект в этом случае
-% сужается; или рамка выступает в обе стороны и, в этом случае ширина объекта равна |\hsize|
+% Переключатель (работает как булев параметр) который определяет
+% нужно ли ширину рамки делать равной ширине
+% текста |\hsize| или предопределённой ширине (\texttt{framefit=yes}),
+% объект в этом случае
+% сужается; или рамка выступает в обе стороны и,
+% в этом случае ширина объекта равна |\hsize|
% или предопределённой ширине (\texttt{framefit=no})
%
% \noindent
@@ -1035,7 +1095,8 @@
% \DescribeMacro{colorframeset=}
% Ключ предлагается пакетом \pkg{fr-fancy}: определяет
% цветную рамку (по умолчанию это обычная |\fbox|).
-% В текущей версии вы можете использовать только команду |\fcolorbox| для цветной рамки. Вы
+% В текущей версии вы можете использовать только команду |\fcolorbox|
+% для цветной рамки. Вы
% можете определить цветную рамку следующим образом:
% \begin{quote}
% |colorframeset={\fcolorbox{white}{yellow}}|\quad.
@@ -1069,10 +1130,12 @@
% Определяет тип линейки над сноской внутри бокса плавающего элемента.
% \begin{Options}{\OptionLabel}
% \item[normal]
-% стандартное определение \LaTeX'а, используемое в окружении \env{minipage}, ширина её равна
+% стандартное определение \LaTeX'а, используемое в окружении
+% \env{minipage}, ширина её равна
% 0.4 текущей ширины текста (|\columnwidth|);
% \item[limited]
-% аналогична предыдущей, но максимальная ширина сноски равна величине определённой в
+% аналогична предыдущей, но максимальная ширина сноски равна
+% величине определённой в
% команде |\frulemax|, следующим образом:
% \begin{quote}
% |\renewcommand\frulemax{1in}|
@@ -1089,7 +1152,8 @@
% \subsubsection{Загрузка пакета для необычных рамок}
%
% \DescribeMacro{fancyboxes=}
-% Переключатель (работает как булев параметр) загружает пакет \pkg{fr-fancy}. Этот ключ можно использовать
+% Переключатель (работает как булев параметр) загружает пакет
+% \pkg{fr-fancy}. Этот ключ можно использовать
% только в дополнительном аргументе строки |\usepackage|.
%
% \subsection{Настройки для одного флота}
@@ -1102,11 +1166,13 @@
% как аббревиатура \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 declarations from settings like |\floatsetup[|\meta{options}|]|---this
+%^^A command created e.g for temporary change of float or caption widths:
+%^^A keys \texttt{captionwidth=}
%^^A \texttt{floatwidth} do not used usually in |\floatsetup| stuff.
%
-% \subsection{<<Очистка>> предыдущих настроек для определённого типа плавающих объектов}
+% \subsection{<<Очистка>> предыдущих настроек для определённого
+% типа плавающих объектов}
%
% \DescribeMacro{\clearfloatsetup}
% Если вы хотите отменить параметры, определённые для
@@ -1200,20 +1266,24 @@
% \subsubsection{Определение выключки содержимого объекта}\label{ssec:decl:marg}
%
% \DescribeMacro{\DeclareObjectSet}
-% Вы можете определить свою опцию выключки для ключа \texttt{objectset=} следующим образом:
+% Вы можете определить свою опцию выключки для ключа \texttt{objectset=}
+% следующим образом:
% \begin{quote}
% |\DeclareObjectSet{centering}{\centering}|
% \end{quote}
% В определении опции вы можете попробовать задать и другие повторяющие команды,
-% которые вам нужны при оформлении содержимого объекта\footnote{Вы можете использовать
+% которые вам нужны при оформлении содержимого
+% объекта\footnote{Вы можете использовать
% опции ключей, заданные \cmd{\DeclareCaptionJustification} "---
% командой из пакета \pkg{caption},
% как опции ключа \texttt{objectset=}.}.\par\strut\par\kern-\baselineskip
%
-% \subsubsection{Определение выключки (и другого материала) для всего бокса флота}\label{ssec:decl:marg}
+% \subsubsection{Определение выключки (и другого материала)
+% для всего бокса флота}\label{ssec:decl:marg}
%
% \DescribeMacro{\DeclareMarginSet}\label{fsetup:besmarg}%^^A
-% Вы можете определить выключку всего бокса (ключ \texttt{margins=}) следующим образом:
+% Вы можете определить выключку всего бокса (ключ \texttt{margins=})
+% следующим образом:
% \begin{quote}
% |\DeclareMarginSet{center}{%|\\
% | \setfloatmargins{\hfil}{\hfil}}|
@@ -1229,8 +1299,8 @@
% |\setfloatmargins{|\meta{left margin}|}{|\meta{right margin}|}|
% \end{quote}
%
-% |*|-форма команды, |\setfloatmargins*|, определяет оформление для разворота: внутреннее и
-% внешнее поля.
+% |*|-форма команды, |\setfloatmargins*|, определяет оформление
+% для разворота: внутреннее и внешнее поля.
% \begin{quote}
% |\setfloatmargins*{|\meta{inside margin}|}{|\meta{outside margin}|}|
% \end{quote}
@@ -1253,16 +1323,19 @@
% поля (выключку и другой материал) для трёх вариантов расположения флота:
% \begin{Options}{\OptionLabel}
% \item[\cmd{\floatboxmargins}]задаёт левое/правое поля для отдельного флота;
-% \item[\cmd{\floatrowmargins}]задаёт левое/правое поля для флотов рядом в окружении \env{floatrow};
-% \item[\cmd{\floatcapbesidemargins}]задаёт левое/правое поля для отдельного флота с подписью сбоку.
+% \item[\cmd{\floatrowmargins}]задаёт левое/правое поля для
+% флотов рядом в окружении \env{floatrow};
+% \item[\cmd{\floatcapbesidemargins}]задаёт левое/правое
+% поля для отдельного флота с подписью сбоку.
% \end{Options}
% Грамматика использования этих трёх команд такая же как и у
% |\setfloatmargins|. Настройки, использующие команду |\floatfacing|
% будут работать если включён ключ \texttt{facing=yes}.
%
-% \emph{Замечание}. Пакет \pkg{floatrow} задаёт некоторые настройки оформления таблиц
-% для окружения \env{longtable},
-% поэтому вы можете задать параметры |\LTleft| и |\LTright| в команде |\DeclareMarginSet|.
+% \emph{Замечание}. Пакет \pkg{floatrow} задаёт некоторые настройки
+% оформления таблиц для окружения \env{longtable},
+% поэтому вы можете задать параметры |\LTleft| и |\LTright|
+% в команде |\DeclareMarginSet|.
% Например, опция \texttt{centering} была определена следующим образом:
% \begin{quote}
% |\DeclareMarginSet{centering}{\setfloatmargins{\hfill}{\hfill}%|\\
@@ -1277,7 +1350,8 @@
% \begin{quote}
% |\DeclareFloatSeparators{columnsep}{\hskip\columnsep}|
% \end{quote}
-% или более сложный, с использованием пакета \pkg{color} и макрокоманды |\floatfacing|
+% или более сложный, с использованием пакета \pkg{color} и
+% макрокоманды |\floatfacing|
% (не забудьте также ключ \texttt{facing=yes}):
% \begin{quote}
% |\DeclareFloatSeparators{colorsep}%|\\
@@ -1289,7 +1363,8 @@
%
% Вы можете использовать заданные опции в ключах \texttt{floatrowsep=} и
% \texttt{capbesidesep=}\footnote{Вы можете воспользоваться опциями, заданными
-% \cmd{\DeclareCaptionLabelSeparator} "--- командой из \pkg{caption}.}.\par\strut\par\kern-\baselineskip
+% \cmd{\DeclareCaptionLabelSeparator} "--- командой из \pkg{caption}.}.\par
+% \strut\par\kern-\baselineskip
%
% \subsubsection{Шрифт содержимого объекта}
%
@@ -1302,7 +1377,8 @@
% \subsubsection{Определение линейки для сносок}
%
% \DescribeMacro{\DeclareFloatFootnoterule}
-% Вы можете определить новую линейку для сноски (ключ \texttt{footnoterule=}) следующим образом:
+% Вы можете определить новую линейку для сноски (ключ \texttt{footnoterule=})
+% следующим образом:
% \begin{quote}
% |\DeclareFloatFootnoterule{fullsize}{%|\\
% | \kern-3\p@|\\
@@ -1357,8 +1433,8 @@
% %^^A |\captionsetup[figure]{style=ruled}|
% %^^A \end{quote}
%
-% Команда |\DeclareNewFloatType| была использована для определения окружения \env{Example}
-% (см. с.~\pageref{exa1.1}). Она была задана следующим образом:
+% Команда |\DeclareNewFloatType| была использована для определения окружения
+% \env{Example} (см. с.~\pageref{exa1.1}). Она была задана следующим образом:
% \begin{quote}
% |\DeclareNewFloatType{Example}%|\\
% | {placement=t,within=section,fileext=lox,|\\
@@ -1390,21 +1466,25 @@
% "--- все рисунки и таблицы будут выводиться в стиле \texttt{plain}
% с подписями снизу. Другое ограничение "--- вы должны перенести все команды
% |\newfloat|, |\floatstyle| и |\restylefloat| в преамбулу,
-% до команды |\begin{document}|. Команды |\newfloat|, |\floatstyle| и |\restylefloat|
-% устаревшие, хотя и поддерживаются\footnote{Всё же лучше заменить
+% до команды |\begin{document}|. Команды |\newfloat|, |\floatstyle| и
+% |\restylefloat| устаревшие, хотя и поддерживаются\footnote{Всё же лучше заменить
% их на команды \cmd{\floatsetup},
-% Пакет \pkg{floatrow} поддерживает старые команды, но не даёт гарантии.}. См. также
-% разд.~\ref{float-obs} о том как переводятся эти команды в команду |\floatsetup|.
+% Пакет \pkg{floatrow} поддерживает старые команды, но не даёт гарантии.}.
+% См. также разд.~\ref{float-obs} о том как переводятся эти команды в команду
+% |\floatsetup|.
%
-% Разделы, помеченные текстом <<[\pkg{float}]>>, были заимствованы из документации пакета
+% Разделы, помеченные текстом <<[\pkg{float}]>>, были заимствованы из
+% документации пакета
% \pkg{float}\footnote{Настоятельно рекомендуется читать эти разделы в оригинале.
% За корректность перевода не ручаюсь.}.
%
-% \subsubsection{Интерфейс пользователя "--- новые плавающие объекты (флоты) [\pkg{float}]}\label{sec:floatborrowI}
+% \subsubsection{Интерфейс пользователя "--- новые плавающие объекты
+% (флоты) [\pkg{float}]}\label{sec:floatborrowI}
%
% \DescribeMacro{\newfloat}
% Самой важной командой в пакете \pkg{float}
-% является команда |\newfloat|\footnote{Она дублируется командой \cmd{\DeclareNewFloatType}.}.
+% является команда |\newfloat|\footnote{Она дублируется командой
+% \cmd{\DeclareNewFloatType}.}.
% Она сделана по образцу
% |\newtheorem|. Команда |\newfloat| имеет три основных и один дополнительный
% аргумент; форма задания:
@@ -1414,18 +1494,23 @@
% \end{quote}
% \begin{itemize}
% \item \marg{type} задаёт тип нового класса флотов, таких как
-% \texttt{program} (программа) или \texttt{algorithm} (алгоритм). Определив эти слова в аргументе
-% |\newfloat|, вы можете задать команды, как |\begin{program}| или |\end{algorithm*}|.
+% \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' (здесь),
+% \texttt{p} и \texttt{h} для `top' (вверху), `bottom' (внизу),
+% `page' (отдельная страницы) и `here' (здесь),
% соответственно.
% \item \marg{ext}. Когда \LaTeX\ записывает подписи во вспомогательный файл
-% для списка рисунков (или любого другого флота), он использует имя рабочего файла (документа)
+% для списка рисунков (или любого другого флота), он использует
+% имя рабочего файла (документа)
% с расширением \marg{ext} как имя файла.
% \item \oarg{within}. Наконец, дополнительный
-% аргумент \meta{within} определяет будут ли плавающие объекты данного класса нумероваться
+% аргумент \meta{within} определяет будут ли плавающие объекты
+% данного класса нумероваться
% внутри указанного раздела документа. Например,
% если \oarg{within}${}={}$\texttt{chapter}, флоты будут перенумеровываться
% по главам. (В стандартном \LaTeX'е, это задано для рисунков и таблиц
@@ -1469,7 +1554,8 @@
% \end{verse}
% \caption{Это ещё один простенький плавающий пример. Исключая
% то, что он плавает, так как использует параметр {\tt[H]}, чтобы
-% появиться \textbf{Здесь}. (Обратите внимание, что в примере настроек программы определено
+% появиться \textbf{Здесь}. (Обратите внимание, что в примере
+% настроек программы определено
% имя флота для нумерационного заголовка подписи.)}\label{exa1.1}
% \end{Example}
%
@@ -1485,8 +1571,10 @@
% Команда |\floatname| позволяет вам определить
% \emph{имя флота}, которое \LaTeX\ использует в подписи флота,
% например, `Figure' для окружения рисунков и тому подобное. Например,
-% |\floatname{program}{Program}| (или |\floatname|\nobreak\hfil|{Program}|\allowbreak\hfil
-% |{\CYRP\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra}|).\allowbreak{} Команда |\newfloat| определяет
+% |\floatname{program}{Program}| (или |\floatname|\nobreak
+% \hfil|{Program}|\allowbreak\hfil
+% |{\CYRP\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra}|).\allowbreak{}
+% Команда |\newfloat| определяет
% имя флота по аргументу определяющему имя окружения (\meta{type}) если не было
% определено другого имени до этого.
%
@@ -1509,12 +1597,14 @@
% изменить стиль флота, определённого командой |\newfloat|, хотя
% это, по типографским правилам, не лучшая идея. См.
% табл.~\ref{table1} для примера\footnote{В пакете \pkg{float}
-% создан специальный стиль подписи с полужирным нумерационным заголовком для стиля \texttt{boxed}.
+% создан специальный стиль подписи с полужирным нумерационным заголовком
+% для стиля \texttt{boxed}.
% Обратите внимание, что стили флота \texttt{plain} и \texttt{boxed}
% не имеют специальных настроек в пакете \pkg{caption} 3.x.
% Для эмуляции стиля \texttt{boxed} из документации пакета \pkg{float} были:
% отменены все специальные установки для таблиц, и восстановлено двоеточие
-% как разделитель после нумерационного заголовка.}. Существует команда |\restylefloat*|,
+% как разделитель после нумерационного заголовка.}. Существует
+% команда |\restylefloat*|,
% которая переопределяет стиль флота, но не затрагивает стиля подписи.
% В этом случае пользователь сам отвечает за создание оформления подписей.
% \DeleteShortVerb{\|}
@@ -1537,7 +1627,8 @@
% 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
+% \caption{Треугольник Паскаля. Это переоформленное окружение
+% \LaTeX'а \texttt{table}.%^^A
% \label{table1}}
% \end{table}
% \endgroup
@@ -1558,7 +1649,8 @@
% если вы задали оформление, используя эти устаревшие команды, дальнейшую
% настройку оформления вы должны делать с помощью |\floatsetup|\oarg{float}|{...}|.
%
-% \subsubsection{Печать списка плавающих объектов (флотов) [\pkg{float}]}\label{sec:floatborrowIa}
+% \subsubsection{Печать списка плавающих объектов (флотов)
+% [\pkg{float}]}\label{sec:floatborrowIa}
%
% \nobreak\DescribeMacro{\listof}
% \nopagebreak
@@ -1587,9 +1679,10 @@
%
% Тот же эффект может быть достигнут изменением метода
% размещения флотов. Опция \pkg{here} (David Carlisle) предлагает
-% новый указатель размещения флота, названный \texttt{[H]}, который, при
-% добавлении в опции флота, говорит \LaTeX'у <<поставить ЗДЕСЬ, точка>>. Если
-% места на странице недостаточно, флот переносится на другую страницу
+% новый указатель размещения флота, названный \texttt{[H]},
+% который, при добавлении в опции флота,
+% говорит \LaTeX'у <<поставить ЗДЕСЬ, точка>>. Если места на
+% странице недостаточно, флот переносится на другую страницу
% вместе с последующим текстом, даже в случае, если этот текст
% мог бы там разместиться. Пакет поддерживает эту опцию, указатель
% \texttt{[H]}, как для новых классов флотов так и для
@@ -1600,8 +1693,8 @@
% Указатель {\tt[H]} может быть просто добавлен к флоту
% как опция, как другие указатели. Он \emph{не}
% может быть использован совместно с другими указателями, поэтому
-% {\tt[Hhtbp]} неверно. Также он не может быть использован как параметр по умолчанию
-% для класса флотов. Следующая таблица
+% {\tt[Hhtbp]} неверно. Также он не может быть использован как
+% параметр по умолчанию для класса флотов. Следующая таблица
% определена следующим образом:
% \begin{verse}
% |\begin{table}[H]| \\*
@@ -1612,80 +1705,124 @@
% \end{verse}
% (Кажется мне пришлось добавить здесь немного ненужной болтовни
% чтобы флот был помещён точно посередине страницы.
-% Когда я обрабатывал документацию \LaTeX'ом\footnote{Пакета \pkg{float}.}
+% Когда документация обрабатывалась
+% \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
+% \tt t & вверх полосы\\
+% \tt b & вниз полосы\\
+% \tt p & на отдельную страницу\\
+% \tt h & здесь, если возможно\\
+% \tt H & только здесь, (после этого текста)
% \end{tabular}
% ^^A\caption{Could it be that this just needs a caption?}
% \end{table}
%
+% \subsubsection{Опция {[H]}
+% "--- настройка разрывов на страницы}\label{sec:listpen}
+%
+% При использовании опции |[H]| мне понадобилось задать
+% общие запреты на разрывы до и после <<привязанных>> флотов.
+%
+% В одной книге запреты на разрывы на страницы вокруг таких
+% флотов и вокруг перечней должны быть одинаковыми.
+%
+% Используя идею команды |\allowdisplaybreaks| из пакета
+% \pkg{amsmath} создан небольшой (beta-temp) пакет
+% \pkg{listpen}, который предлагает следующие команды:
+% \begin{Options}{\OptionLabel}
+% \item[\cmd{\allowprelistbreaks}]устанавливает разрывы до перечней
+% (а также привязанных флотов);
+% \item[\cmd{\allowpostlistbreaks}]устанавливает разрывы
+% после перечней (привязанных флотов);
+% \item[\cmd{\allowitembreaks}]устанавливает разрывы между
+% пунктами перечня.
+% \end{Options}
+% Все эти команды задают глобально, внутри группы или
+% окружения разрывы, задаваемые цифрами
+% от |[-4]| (нет разрыва) до |[4]| (всегда разрыв). Положительные
+% значения опций команд аналогичны значениям опций
+% команды |\pagebreak|. Отрицательные соответствуют
+% опциям |[1]|--|[4]| в команде |\nopagebreak|.
+% Значение по умолчанию для всех трёх команд |[-1]|, что
+% равно установкам стандартных классов \LaTeX'а: \cls{book}, \cls{article}
+% и других (|[-1]| соответствует значению |-\@lowpenalty|).
+%
% \subsection{Пакет \pkg{rotfloat}}
%
-% Код пакета \pkg{rotfloat} был также позаимствован пакетом \pkg{floatrow}.
-% Если пакет \pkg{rotfloat} был загружен до \pkg{floatrow}, вы получите сообщение об ошибке.
+% Код пакета \pkg{rotfloat} был также позаимствован
+% пакетом \pkg{floatrow}.
+% Если пакет \pkg{rotfloat} был загружен до \pkg{floatrow},
+% вы получите сообщение об ошибке.
%
-% Пакет \pkg{floatrow} вводит код, который эмулирует уже загруженный пакет
-% \pkg{rotfloat} и последующая его загрузка игнорируется.
+% Пакет \pkg{floatrow} вводит код, который эмулирует уже загруженный
+% пакет \pkg{rotfloat} и последующая его загрузка игнорируется.
% Пакет \pkg{rotfloat} построен таким образом, что может быть
-% загружен в одной строке \verb|\usepackage| вместе с пакетом \pkg{rotating}, который может иметь опции.
-% Необходимо также удалить пакет \pkg{rotfloat} из строки \verb|\usepackage|, где
-% задан пакет \pkg{rotating} с опциями: в противном случае
+% загружен в одной строке \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{Порядок обязательных
-% аргументов и их содержимое не имеет значения
+% | {|\meta{caption}|}{|\meta{object}|}|\footnote{Порядок
+% обязательных аргументов и их содержимое не имеет значения
% для построения флота. Эта макрокоманда исторически требует
-% два обязательных аргумента, но они могут быть заполнены как угодно.}
+% два обязательных аргумента, но они могут быть заполнены как
+% угодно.}
% \end{quote}
% где\label{floatboxsets}:
% \begin{description}\itemsep0pt
-% \item[\meta{preamble}]здесь могут быть такие команды, как |\capbeside|, которая
-% размещает подписи сбоку объекта; |\nocapbeside|
-% (размещает подписи сверху/снизу, в зависимости
+% \item[\meta{preamble}]здесь могут быть такие команды, как
+% |\capbeside|, которая размещает подписи сбоку объекта;
+% |\nocapbeside| (размещает подписи сверху/снизу, в зависимости
% от настроек стиля); или другая повторяющаяся команда
-% (даже возможно использование |\captionsetup| и |\thisfloatsetup| "--- см.
-% примеры в документации и приложении).
+% (даже возможно использование |\captionsetup| и
+% |\thisfloatsetup| "--- см. примеры в документации и приложении).
% \item[\meta{captype}]тип флота, для которого строится оформление;
% \item[\meta{width}]ширина флота
% (если подпись сверху или снизу объекта),
% или ширина объекта (если подпись сбоку).
% Команда |\FBwidth| в аргументе \meta{width}
% позволяет использовать натуральную ширину объекта.\par
-% \emph{Замечание}. Если вы используете \verb|\FBwidth| в аргументе \meta{width},
-% вы должны быть уверены, что содержимое объекта может быть помещено внутри |\hbox|
+% \emph{Замечание}. Если вы используете \verb|\FBwidth| в
+% аргументе \meta{width}, вы должны быть уверены, что
+% содержимое объекта может быть помещено внутри |\hbox|
% (вы можете воспользоваться командой |\vspace| в начале
-% и/или в конце содержимого объекта для корректировки вертикальных
-% отбивок);
+% и/или в конце содержимого объекта для корректировки
+% вертикальных отбивок);
% \item[\meta{height}]высота флота
% (если подпись сверху или снизу),
% или высота объекта (если подпись сбоку);
-% \item[\meta{vert pos}]вертикальное выравнивание содержимого объекта в боксе
-% в случае, если аргумент \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|.
+% \item[\meta{caption}]подпись и экспликации (вы можете использовать
+% команду |\floatfoot| (см.~с.~\pageref{subsec:floatfoot});
+% вы можете использовать команды
+% |\footnote|/\allowbreak|\mpfootnotemark|/%^^A
+% \allowbreak|\footnotetext|
+% для сносок внутри флота, или команду |\floatfoot|;
+% \item[\meta{object}]содержимое флота; вы также можете
+% использовать команды
+% |\footnote|/\allowbreak|\mpfootnotemark|/%^^A
+% \allowbreak|\footnotetext|
+% или |\floatfoot|.
% \end{description}
%
% \begingroup
@@ -1707,10 +1844,11 @@
% \end{figure}%
% \endgroup
%
-% Но более актуальный вариант использования команды |\floatbox| "--- поместить
-% табличный заголовок \emph{над} таблицей и задать ширину заголовка равной ширине
-% таблицы. Расположение заголовка определяется в преамбуле документа командой
-% |\floatsetup[table]{style=Plaintop}|
+% Но более актуальный вариант использования команды |\floatbox|
+% "--- поместить табличный заголовок \emph{над} таблицей и задать
+% ширину заголовка равной ширине
+% таблицы. Расположение заголовка определяется в преамбуле документа
+% командой |\floatsetup[table]{style=Plaintop}|
%\begin{verbatim}
%\begin{table}
%\floatbox{table}[\FBwidth] {\caption{Simple tabular in
@@ -1743,14 +1881,17 @@
% \end{tabular}}
% \end{table}%
% \MakeShortVerb{\|}%
-% как показано в табл.~\ref{tab:tabII}. Для задания ширины заголовка (или всего бокса
-% плавающего объекта) равной ширине окружения \env{tabular} была использована команда |\FBwidth|
+% как показано в табл.~\ref{tab:tabII}. Для задания ширины
+% заголовка (или всего бокса
+% плавающего объекта) равной ширине окружения \env{tabular}
+% была использована команда |\FBwidth|
% в аргументе \meta{width}.
%
-% Следующий пример показывает окружение \env{figure} где подпись задана сбоку.
-% В этом примере используются команды |\capbeside|, в аргументе \meta{preamble},
-% и |\FBwidth|, в аргументе \meta{width}. Подпись занимает
-% оставшееся место в боксе шириной |\hsize| (в данном примере ширина бокса равна
+% Следующий пример показывает окружение \env{figure} где подпись
+% задана сбоку. В этом примере используются команды |\capbeside|,
+% в аргументе \meta{preamble}, и |\FBwidth|, в аргументе
+% \meta{width}. Подпись занимает оставшееся место в боксе
+% шириной |\hsize| (в данном примере ширина бокса равна
% ширине основного текста "---|\textwidth|).
%
%\begin{verbatim}
@@ -1766,21 +1907,23 @@
% 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
+% {{\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}.)
-%
+% <<колонке>>, иными словами половине ширины текущего значения
+% |\hsize| (рис.~\ref{intro:beside}) исключая
+% поля вокруг бокса и разделитель между объектом и подписью.
+% (См. также другие примеры с подписью сбоку в приложении,
+% с.~\pageref{fig:Idog:w}.)
%
% \subsubsection{Пользовательские команды для флотов}
%
-% Использование команды |\floatbox| иногда получается очень сложным.
-% Вы можете определить пользовательские команды для ваших целей
-% и определить там необходимые настройки.
+% Использование команды |\floatbox| иногда получается очень
+% сложным. Вы можете определить пользовательские команды для
+% ваших целей и определить там необходимые настройки.
%
% Определение пользовательской команды выглядит следующим образом:
% \begin{quote}
@@ -1792,17 +1935,21 @@
% \item[\meta{command}]команда пользователя (без обратного слэша);
% \item[\meta{captype}]тип флота, для которого создаётся команда;
% \item[\meta{preamble}]
-% вы можете использовать команды, перечисленные на с.~\pageref{floatboxsets}
+% вы можете использовать команды, перечисленные на
+% с.~\pageref{floatboxsets}
% и другие команды оформления, как показано в примерах;
-% вы можете попробовать использовать некоторые другие повторяющиеся
-% команды (например, |\captionsetup| или |\thisfloatsetup|);
-% \item[\meta{default width}]здесь вы можете определить любую величину, типа |6cm|
-% или |.75\textwidth|\footnote{Есть также возможность установить постоянную ширину
+% вы можете попробовать использовать некоторые другие
+% повторяющиеся команды (например,
+% |\captionsetup| или |\thisfloatsetup|);
+% \item[\meta{default width}]здесь вы можете определить любую
+% величину, типа |6cm|
+% или |.75\textwidth|\footnote{Есть также возможность установить
+% постоянную ширину
% для данного типа флота, используя ключ \texttt{floatwidth=}
-% в команде \cmd{\floatsetup}.}; если вы зададите команду |\FBwidth|
-% ширина флота (если подпись
-% сверху или снизу "--- должна быть определена
-% |\nocapbeside| в \meta{preamble}) или ширина объекта (если подпись
+% в команде \cmd{\floatsetup}.}; если вы зададите команду
+% |\FBwidth| ширина флота (если подпись сверху или снизу
+% "--- должна быть определена |\nocapbeside|
+% в \meta{preamble}) или ширина объекта (если подпись
% стоит сбоку "--- команда |\capbeside| в \meta{preamble}) будет
% равна ширине содержимого плавающего объекта.
% \end{description}
@@ -1813,8 +1960,9 @@
% |\newfloatcommand{fcapside}{figure}[\capbeside]|\\*
% |\newfloatcommand{ttabbox}{table}[\captop][\FBwidth]|
% \end{quote}
-% Первые две определены для рисунков, а последняя "--- для таблицы. Вы можете
-% переопределить эти команды, используя команду |\renewfloatcommand| (она использует те же
+% Первые две определены для рисунков, а последняя "--- для таблицы.
+% Вы можете переопределить эти команды, используя команду
+% |\renewfloatcommand| (она использует те же
% аргументы, как и |\newfloatcommand|).
%
%
@@ -1833,17 +1981,22 @@
% |\end{floatrow}|
% \end{quote}
%
-% И теперь пример. Первый флот (в |\ffigbox|) имеет ширину по умолчанию, равную <<колонке>>.
-% ряда, следующий использует ширину включённой графики (использована команда
-% |\FBwidth| в дополнительном аргументе \meta{width}), третий занимает оставшееся место в ряду
+% И теперь пример. Первый флот (в |\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}.
+% \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
@@ -1865,46 +2018,51 @@
% \ffigbox
% {\caption{Рисунок рядом~I, ширина <<колонки>>}%
% \label{fig:row:WcatI}}
-% {\unitlength1.25\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\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
+% {\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
+% {{\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}. Вертикальное выравнивание
-% флотов лежит по нижней линии верхней части (здесь: графики) и верху нижней части (подписи).
+% рисунков~\ref{fig:row:WcatI}--\ref{fig:row:mouseI}. Вертикальное
+% выравнивание флотов лежит по нижней линии верхней части
+% (здесь: графики) и верху нижней части (подписи).
%
-% \subsection{Сноски внутри окружения флота}\label{sec:floatfootnote}
+% \subsection{Сноски внутри окружения
+% флота}\label{sec:floatfootnote}
%
-% Иногда таблица или рисунок может содержать материал, который помечается
-% а снизу даётся объяснение в виде сноски. Пакет имеет механизм, позволяющий
-% размещение сносок внутри окружения флота, как это сделано
-% в окружении \env{minipage}.
+% Иногда таблица или рисунок может содержать материал, который
+% помечается а снизу даётся объяснение в виде сноски. Пакет имеет
+% механизм, позволяющий размещение сносок внутри окружения флота,
+% как это сделано в окружении \env{minipage}.
%
% В тех случаях, когда несколько элементов
% имеют одинаковую сноску, мы не можем воспользоваться стандартной
% комбинацией |\footnotemark|---|\footnotetext|, потому что команда
% |\footnotemark| создаёт знак для сноски основного текста.
-% Для этих случаев данный пакет предлагает макрокоманду |\mpfootnotemark|
-% вместо |\footnotemark|%
-% \footnote{Та же макрокоманда также определена в пакете \pkg{footmisc},
-% версия 4.10, датированная 2003/01/20.}.
-%
-% Макрокоманда |\floatbox| использует определение линейки для сноски
-% (команда |\FBfootnoterule|) и отбивку до сносок и экспликаций
-% (ключ |footskip=|). (См. также
+% Для этих случаев данный пакет предлагает макрокоманду
+% |\mpfootnotemark| вместо |\footnotemark|%
+% \footnote{Та же макрокоманда также определена в пакете
+% \pkg{footmisc}, версия 4.10, датированная 2003/01/20.}.
+%
+% Макрокоманда |\floatbox| использует определение линейки для
+% сноски (команда |\FBfootnoterule|) и отбивку до сносок и
+% экспликаций (ключ |footskip=|). (См. также
% с.~\pageref{sec:footnotestyle} о вариантах линейки для сносок.)
%
% \subsection{Макрокоманда для экспликаций}\label{subsec:floatfoot}
@@ -1912,14 +2070,16 @@
% Если таблица или рисунок имеют дополнительные объяснения
% которые не должны быть в подписи и они не являются сноской
% вы можете использовать команду |\floatfoot|. Команда |\floatfoot|
-% использует механизм оформления команд |\caption| и использует выключку, заданную для подписей;
-% |*|-форма (|\floatfoot*|) печатает содержимое в виде обычного абзаца без отступа
-% (см. табл.~\ref{tab:floatfoot}).
-%
-% Для определения шрифта для экспликаций используйте ключ \texttt{footfont=}
-% (с.~\pageref{sec:setfloatfoot}) в команде |\floatsetup|. Вы можете задать
-% дополнительные настройки оформления задав командную последовательность
-% \cmd{\captionsetup[floatfoot]}.
+% использует механизм оформления команд |\caption| и использует
+% выключку, заданную для подписей;
+% |*|-форма (|\floatfoot*|) печатает содержимое в виде обычного
+% абзаца без отступа (см. табл.~\ref{tab:floatfoot}).
+%
+% Для определения шрифта для экспликаций используйте ключ
+% \texttt{footfont=} (с.~\pageref{sec:setfloatfoot}) в команде
+% |\floatsetup|. Вы можете задать
+% дополнительные настройки оформления задав командную
+% последовательность \cmd{\captionsetup[floatfoot]}.
%\begin{verbatim}
%\begin{table}
%\ttabbox
@@ -1954,51 +2114,58 @@
% \end{table}%
% \MakeShortVerb{\|}%
%
-% \emph{Замечания.} 1)\enskip Пакет \pkg{float} определяет дополнительный
-% аргумент после текста подписи. Поскольку эта возможность
-% не была документирована в части документации для пользователей
-% текущая версия пакета \pkg{caption} (3.0 и выше), а также пакет \pkg{floatrow},
-% не поддерживают эту возможность. Используйте команду |\floatfoot| и команды
+% \emph{Замечания.} 1)\enskip Пакет \pkg{float} определяет
+% дополнительный аргумент после текста подписи. Поскольку эта
+% возможность не была документирована в части документации для
+% пользователей текущая версия пакета \pkg{caption} (3.0 и выше),
+% а также пакет \pkg{floatrow}, не поддерживают эту возможность.
+% Используйте команду |\floatfoot| и команды
% |\footnote|/|\footnotemark|/|\footnotetext|.
%
-% 2)\enskip Если вы используете одновременно команды |\floatfoot| и |\footnote|
-% внутри одного флота, содержимое команды |\floatfoot| появится над |\footnote|.
+% 2)\enskip Если вы используете одновременно команды |\floatfoot|
+% и |\footnote| внутри одного флота, содержимое команды |\floatfoot|
+% появится над |\footnote|.
%
-% 3)\enskip Сноски и экспликации могут быть размещены несколькими способами:
-% в самом низу флота, под подписью
+% 3)\enskip Сноски и экспликации могут быть размещены несколькими
+% способами: в самом низу флота, под подписью
% (даже в случае подписи сверху). См. с.~\pageref{foot:pos}
% и файл примера \file{frsample01.tex}. В случае подписи сбоку,
% сноски и экспликации всегда помещаются под подписью.
%
%
-% \subsection{Корректировка вертикальных отбивок в флоте}\label{sec:FBabskips}
+% \subsection{Корректировка вертикальных отбивок
+% в флоте}\label{sec:FBabskips}
%
-% В заключительном варианте документа вам возможно понадобится откорректировать
-% вертикальные отбивки между флотом и основным текстом, между содержимым объекта и
-% подписью.
+% В заключительном варианте документа вам возможно понадобится
+% откорректировать вертикальные отбивки между флотом и основным
+% текстом, между содержимым объекта и подписью.
%
% Для изменения отбивок между флотом и основным текстом вы можете
-% использовать две простые команды |\FBaskip| и |\FBbskip|. Например, определите
+% использовать две простые команды |\FBaskip| и |\FBbskip|.
+% Например, определите
% \begin{verse}
% |\renewcommand\FBaskip{-4pt}|
% \end{verse}
-% чтобы передвинуть флот вверх (или уменьшить отбивку сверху) на 4pt. В данном документе
-% команда |\FBaskip| понадобилась для корректировки положения некоторых рисунков в оборку.
-%
-% Используйте команду |\vspace| для корректировки отбивок вокруг содержимого
-% объекта\footnote{В простом окружении флота можно пользоваться и командой
-% \cmd{\vskip}. Но команды \cmd{\floatbox}
+% чтобы передвинуть флот вверх (или уменьшить отбивку сверху)
+% на 4pt. В данном документе
+% команда |\FBaskip| понадобилась для корректировки положения
+% некоторых рисунков в оборку.
+%
+% Используйте команду |\vspace| для корректировки отбивок вокруг
+% содержимого объекта\footnote{В простом окружении флота можно
+% пользоваться и командой \cmd{\vskip}. Но команды \cmd{\floatbox}
% (сама \cmd{\floatbox}, \cmd{\ffigbox}\dots) в случае использования
-% в аргументе \meta{width} опции \cmd{\FBwidth}, выдадут сообщение об ошибке
-% если встретят команду \cmd{\vskip}.}.
+% в аргументе \meta{width} опции \cmd{\FBwidth}, выдадут сообщение
+% об ошибке если встретят команду \cmd{\vskip}.}.
%
% \subsection{Плавающие объекты как в обычном \LaTeX'е}
%
-% Пакет \pkg{floatrow} переопределяет окружение флотов так, чтобы на выходе получалось
-% единообразное оформление всех флотов. Это накладывает некоторые ограничения на
-% запись флота в исходном файле, о которых, в частности, говорилось
-% во введении.
-% Если вам всё же нужно окружение, работающее как в обычном \LaTeX'е
+% Пакет \pkg{floatrow} переопределяет окружение флотов так, чтобы
+% на выходе получалось единообразное
+% оформление всех флотов. Это накладывает некоторые ограничения
+% на запись флота в исходном файле, о которых, в частности,
+% говорилось во введении. Если вам всё
+% же нужно окружение, работающее как в обычном \LaTeX'е
% поместите команду |\RawFloats| \emph{внутри} окружения:
%\begin{verbatim}
%\begingroup
@@ -2016,24 +2183,29 @@
%\endgroup
%\end{verbatim}
% и вы получите рис.~\ref{Right:expect:fig}
-% и табл.~\ref{Right:expect:tab}\footnote{Это будет работать, если вы
-% не используете необычного оформления.}.
+% и табл.~\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}
+% \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}
+% \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})
+% Из приведённого ниже примера видно, что окружение \env{floatrow}
+% и команды |\floatbox| всё равно
+% работают после |\RawFloats| (рис.~\ref{intro:leftfig:raw}
+% и табл.~\ref{intro:righttab:raw})
%\begin{verbatim}
%\begin{figure}\RawFloats\CenterFloatBoxes
% \begin{floatrow}
@@ -2049,40 +2221,48 @@
% \begin{floatrow}
% \floatbox{figure}
% {\input{Mouse.picture}}
-% {\caption{Подрисуночная подпись внутри \cmd{\floatbox} в обычном \LaTeX'е}%
-% \label{intro:leftfig:raw}}%
+% {\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}}
+% {\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} в одном ряду
+% См. также с.~\pageref{mixrow} о том как задать и выровнять
+% различные типы флотов как рис.~\ref{intro:leftfig:raw} и
+% табл.~\ref{intro:righttab:raw} в одном ряду
% (окружении \env{floatrow}).
%
%
% \section{Тандемы стилей}
%
-% Несколько следующих разделов показывают примеры и объясняют некоторые
-% замеченные особенности с использованием пакета \pkg{floatrow} вместе с другими
-% пакетами. Это не полный список таких пакетов. Возможно совмещение и
-% с другими версиями указанных пакетов, и с неуказанными пакетами тоже.
+% Несколько следующих разделов показывают примеры и объясняют
+% некоторые замеченные особенности с использованием пакета
+% \pkg{floatrow} вместе с другими пакетами. Это не полный
+% список таких пакетов. Возможно совмещение и с другими версиями
+% указанных пакетов, и с неуказанными пакетами тоже.
%
% \subsection{Пакет \pkg{caption}}
%
-% Тестировалось с версиями v3.0a--v3.0g.
+% Тестировалось с версиями v3.0a--v3.0i.
%
-% Пакет \pkg{caption} обладает сильным механизмом создания оформления
-% подписей, поэтому \pkg{floatrow} адресует создание новых стилей
-% для подписей этому пакету (см. документацию для пакета \pkg{caption}).
+% Пакет \pkg{caption} обладает сильным механизмом создания
+% оформления подписей, поэтому \pkg{floatrow} адресует создание
+% новых стилей для подписей этому пакету (см. документацию для
+% пакета \pkg{caption}).
%
-% Пакет \pkg{floatrow} добавляет возможность создать варианты оформления подписей
-% для флотов с различным размещением (например для флотов вразрез двух колонок или широких флотов,
-% или развёрнутых вертикально флотов) за счёт использования дополнительного аргумента в команде
+% Пакет \pkg{floatrow} добавляет возможность создать варианты
+% оформления подписей для флотов с различным размещением (например
+% для флотов вразрез двух колонок или широких флотов,
+% или развёрнутых вертикально флотов) за счёт использования
+% дополнительного аргумента в команде
% |\captionsetup|.
%
-% Например вы желаете создать специальное оформление для подписи под широким флотом или
+% Например вы желаете создать специальное оформление для подписи
+% под широким флотом или
% флотом вразрез двух колонок. В этом случае вы можете использовать
% \begin{quote}
% |\captionsetup[widefloat]|\marg{options}
@@ -2091,22 +2271,25 @@
% \begin{quote}
% |\captionsetup[widefigure]|\marg{options}
% \end{quote}
-% Приоритет опций в команде |\captionsetup| такой же, как в опциях команды
-% |\floatsetup|. В приведённых примерах настройки |\captionsetup[widefigure]|
-% будут сильнее, чем |\captionsetup[widefloat]|. Приоритет и использование
+% Приоритет опций в команде |\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
+% Тестировалось с версиями 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}):
+% Пример с \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]
@@ -2165,11 +2348,12 @@
% \end{table}%
% \MakeShortVerb{\|}%
%
-% \emph{Замечание.} В данном примере было использовано окружение \env{subfloatrow}.
-% Это упрощённый вариант окружения \env{floatrow}, который
-% распространяет вертикальное выравнивание содержимого объектов и подписей, а между подфлотами
-% создаёт разделитель, заданный
-% ключом \texttt{subfloatrowsep=}. Этот ключ использует те же опции, что и ключи
+% \emph{Замечание.} В данном примере было использовано окружение
+% \env{subfloatrow}. Это упрощённый вариант окружения
+% \env{floatrow}, который распространяет вертикальное выравнивание
+% содержимого объектов и подписей, а между подфлотами
+% создаёт разделитель, заданный ключом \texttt{subfloatrowsep=}.
+% Этот ключ использует те же опции, что и ключи
% \texttt{floatrowsep=} и \texttt{capbesidesep=} (опции этих ключей
% задаются командой |\DeclareFloatSeparators|,
% с.~\pageref{decl:sep}).
@@ -2185,12 +2369,16 @@
% \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
+% Следующий пример с подписью сбоку
+% (рис.~\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,
@@ -2209,10 +2397,11 @@
% {\begin{subfloatrow}
% \subfloat[Белая кошка\label{subfig:w}]{\input{TheCat.picture}}
%
-% \subfloat[Чёрный кот\label{subfig:b}]{\input{TheBlackCat.picture}}%
+% \subfloat[Чёрный кот\label{subfig:b}]%^^A
+% {\input{TheBlackCat.picture}}%
% \end{subfloatrow}}
-% {\caption{Подпись сбоку выровненная по верху, оформление флота в стиле
-% \texttt{Shadowbox}}\label{fig:subfig:catsI}}
+% {\caption{Подпись сбоку выровненная по верху, оформление флота в
+% стиле \texttt{Shadowbox}}\label{fig:subfig:catsI}}
% \end{figure}
%
%
@@ -2227,14 +2416,17 @@
% {\caption{Простой рисунок в оборку (пакет \pkg{wrapfig})}%
% \floatfoot{Обычный рисунок может не получиться в версии
% 3.3}\label{fig:wrapfig:WcatI}}
-% {\unitlength1.728\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.728\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
% \end{wrapfigure}
%
-% Тестировано с версией 3.3 датированной 1999/10/12 (стиль из группы пакетов \pkg{ltxmisc})
+% Тестировано с версией 3.3 датированной 1999/10/12
+% (стиль из группы пакетов \pkg{ltxmisc})
% и версией 3.6 датированной 2003/01/31 (отдельный пакет).
%
-% Аргументы при задании окружения (текст взят из комментариев к пакету):
+% Аргументы при задании окружения (текст взят из комментариев
+% к пакету):
% \begin{quote}
% |\begin{wrapfigure}%|\\*
% \strut\quad\oarg{number}\marg{placement}|%|\\*
@@ -2242,14 +2434,16 @@
% |...|\\*
% |\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} задаёт число
-% строк в оборку, которое обычно рассчитывается автоматически из высоты
-% рисунка, но может быть задан и вручную, например
+% \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}|
@@ -2261,38 +2455,46 @@
% \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
+% {\par{\setlength\unitlength{\hsize/64}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}}
-% {\caption{Рисунок в оборку с командой \cmd{\ffigbox} (пакет \pkg{wrapfig})}%
+% {\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| и
+% Для рисунка, помещённого в окружение \env{wrap...} вы должны
+% задать ширину в обязательном аргументе. Если вы зададите
+% |0mm| как аргумент \marg{width of figure}, пакет \pkg{wrapfig}
+% рассчитает ширину по натуральной ширине содержимого объекта.
+%
+% Иногда над (под) флотом в окружении \env{wrap...} может появиться
+% нежелательный пробел. Для корректировки вертикальной отбивки
+% используйте определение команд |\FBaskip| и
% |\FBbskip| (см. разд.~\ref{sec:FBabskips}).
%
% \emph{Специальные настройки}.
%
% Вы можете создать настройки для окружения \env{wrap...}, здесь
% существуют следующие приоритеты
-% (обратите внимание, что вы можете задать и специальные настройки оформления подписей в команде |\captionsetup|.):
+% (обратите внимание, что вы можете задать и специальные настройки
+% оформления подписей в команде |\captionsetup|.):
% \begin{itemize}\itemsep0pt
% \item %
-% если существуют настройки |\floatsetup[wrap|\meta{captype}|]{...}|
-% \pkg{floatrow} использует эти настройки "--- они <<сильнейшие>> настройки;
-% если они отсутствуют "--- использует настройки из следующего пункта;
+% если существуют настройки
+% |\floatsetup[wrap|\meta{captype}|]{...}|
+% \pkg{floatrow} использует эти настройки "--- они <<сильнейшие>>
+% настройки; если они отсутствуют "--- использует настройки из
+% следующего пункта;
%^^A \end{itemize}
%
%^^A \begin{itemize}
% \item
% если существуют настройки |\floatsetup[wrapfloat]{...}|
-% \pkg{floatrow} использует эти настройки "--- эти настройки <<сильнее>> чем следующие;
-% если они отсутствуют "--- настройки данного типа флотов\\[\medskipamount]
+% \pkg{floatrow} использует эти настройки "--- эти настройки
+% <<сильнее>> чем следующие; если они
+% отсутствуют "--- настройки данного типа флотов\\[\medskipamount]
% |\floatsetup[|\meta{captype}|]{...}|\,;\\[\medskipamount]
% если и они отсутствуют "--- настройки по умолчанию
% (|\floatsetup{...}| или настройки пакета).
@@ -2302,12 +2504,16 @@
% \emph{Обнаруженные ограничения}.
%
% Использование простого окружения в версии 3.3 не
-% даст правильного результата с текущей версией \pkg{floatrow} "---используйте |\floatbox|.
-% Версия 3.6 позволяет использование простых окружений \env{wrap...} со стилями \texttt{plain} (или
+% даст правильного результата с текущей версией \pkg{floatrow}
+% "---используйте |\floatbox|.
+% Версия 3.6 позволяет использование простых окружений
+% \env{wrap...} со стилями \texttt{plain} (или
% \texttt{ruled}), но
-% стили с рамками, как \texttt{Boxed} (где текст внутри рамки изменяет свою ширину под рамку, ширина которой равна
+% стили с рамками, как \texttt{Boxed} (где текст внутри рамки
+% изменяет свою ширину под рамку, ширина которой равна
% текущему значению |\hsize|)
-% может работать только с командой |\floatbox|, в противном случае вы получите некорректное
+% может работать только с командой |\floatbox|, в противном
+% случае вы получите некорректное
% оформление и ширину флота.
% \endgroup
%
@@ -2317,7 +2523,8 @@
%
% \begin{floatingfigure}[v]{54mm}\def\FBaskip{-2.5pt}
% \ffigbox[54mm]
-% {\setlength\unitlength{.85\hsize/60}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\setlength\unitlength{.85\hsize/60}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackDog.picture}}
% {\caption{\hyphenpenalty-100\pretolerance-1%
% Рисунок в оборку внутри окружения \env{floating\-figure}
@@ -2327,26 +2534,31 @@
% \noindent Тестировалось с версией v.1.3,
% 1996/02/27.
%
-% \emph{Обнаруженные ограничения} 1)\enskip У данного пакета нет поддержки
-% для создания нового окружения \env{floating...}. Но поскольку окружение \env{floatflt}
-% требует использование команд |\floatbox| в любом случае, вы можете
-% использовать как \env{floatingfigure} так и \env{floatingtable} и задавать необходимый
-% тип флота в аргументе команды |\floatbox| (или использовать соответствующую
-% пользовательскую команду, типа |\ffigbox|).
+% \emph{Обнаруженные ограничения} 1)\enskip У данного пакета нет
+% поддержки для создания нового окружения \env{floating...}.
+% Но поскольку окружение \env{floatflt}
+% требует использование команд |\floatbox| в любом случае, вы
+% можете использовать как \env{floatingfigure} так и
+% \env{floatingtable} и задавать необходимый
+% тип флота в аргументе команды |\floatbox| (или использовать
+% соответствующую пользовательскую команду, типа |\ffigbox|).
%
%
-% Следующие ограничения могут быть не связаны с пакетом \pkg{floatrow}.
+% Следующие ограничения могут быть не связаны с пакетом
+% \pkg{floatrow}.
%
-% 2)\enskip Если вы поместите окружение \env{floatingfigure} сразу после команд
-% |\...section| вы должны (если вы не задаёте абзацного отступа после заголовков)
-% поставить |\noindent| в первом абзаце.
+% 2)\enskip Если вы поместите окружение \env{floatingfigure} сразу
+% после команд |\...section| вы должны (если вы не задаёте абзацного
+% отступа после заголовков) поставить |\noindent| в первом абзаце.
%
-% 3)\enskip Окружения \env{floatflt} могут дать неверный результат с окружениями
-% перечней (\env{list}).
+% 3)\enskip Окружения \env{floatflt} могут дать неверный результат
+% с окружениями перечней (\env{list}).
%
-% 4)\enskip Чтобы получить корректную отбивку перед заголовком следующего раздела |\...section| вам
+% 4)\enskip Чтобы получить корректную отбивку перед заголовком
+% следующего раздела |\...section| вам
% может быть придётся задать следующие команды;
-% |\makeatletter\@nobreakfalse\makeatother| (как было сделано в английской документации перед следующим разделом).
+% |\makeatletter\@nobreakfalse\makeatother| (как было сделано
+% в английской документации перед следующим разделом).
%
% \makeatletter\@nobreakfalse\makeatother
%
@@ -2359,7 +2571,8 @@
% \parpic[l]{{%\def\floatrowsep{}\let\FBiffloatrow\iftrue
% \def\FBbskip{12pt}
% \ffigbox[42mm]
-% {{\setlength\unitlength{18mm/61}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {{\setlength\unitlength{18mm/61}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackCat.picture}}}
% {\caption{Рисунок в оборку (\cmd{\parpic});
% \cmd{\floatbox}
@@ -2369,10 +2582,12 @@
% \noindent Тестировано с версией v\,3.0, 1999/10/12.
%
% Этот пакет создаёт рисунки внутри абзаца. Он предлагает
-% использование подписей с помощью команд |\piccaption|. Также он поддерживает настройки
+% использование подписей с помощью команд |\piccaption|.
+% Также он поддерживает настройки
% пакета \pkg{caption}.
%
-% В макрокоманде \cmd{\parpic} можно использовать макрокоманду |\floatbox| внутри обязательного
+% В макрокоманде \cmd{\parpic} можно использовать макрокоманду
+% |\floatbox| внутри обязательного
% аргумента.
%
%^^A \emph{Founded limitations}.\nopagebreak
@@ -2389,31 +2604,37 @@
%^^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 {{\setlength\unitlength{16mm/61}\ifx\pspicture\undefined
+%^^A \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|
+% вам придётся (если вы отменяете абзацный отступ после заголовков)
+% задать команду |\noindent|
% для первого абзаца.
%
-% 2)\enskip Вы можете попытаться использовать \cmd{\parpic} внутри окружения перечня,
-% но в некоторых случаях использование \cmd{\parpic} в окружении перечня
-% может дать неверный результат.
+% 2)\enskip Вы можете попытаться использовать \cmd{\parpic} внутри
+% окружения перечня,
+% но в некоторых случаях использование \cmd{\parpic} в окружении
+% перечня может дать неверный результат.
%
% 3)\enskip Этот пакет не имеет опции \meta{outside} или
% \meta{inside}, как предыдущие два пакета (опция |[o]| означает
-% овальную рамку вокруг картинки), поэтому вы должны задавать горизонтальное расположение
+% овальную рамку вокруг картинки), поэтому вы должны задавать
+% горизонтальное расположение
% вручную.
%
% \endgroup
%
-% \subsection{Пакет \pkg{rotating} и окружение \env{sideways\ldots}}
+% \subsection{Пакет \pkg{rotating} и окружение
+% \env{sideways\ldots}}
%
% Тестировано с версией v2.13 датированной Sep. 1992.
%
-% Далее идёт пример (рис.~\ref{fig:rot}) с развёрнутым вертикально флотом, использующим окружение
+% Далее идёт пример (рис.~\ref{fig:rot}) с развёрнутым вертикально
+% флотом, использующим окружение
% \env{sidewaysfigure}.
%\begin{verbatim}
%\floatsetup[figure]{style=WSHADOWBOX}
@@ -2427,7 +2648,8 @@
% \floatsetup[figure]{style=WSHADOWBOX}
% \begin{sidewaysfigure}\emptyfloatpage
% \ffigbox[\FBwidth] {\includegraphics[width=4in]{pslearn}}
-% {\caption{Рисунок развёрнутый вертикально внутри окружения \env{sidewaysfigure}}%
+% {\caption{Рисунок развёрнутый вертикально внутри окружения
+% \env{sidewaysfigure}}%
% \label{fig:rot}}
% \end{sidewaysfigure}%
% %^^A For rotating floats on right side (like in
@@ -2439,60 +2661,71 @@
%
% \emph{Специальные настройки}.\nopagebreak
%
-% Вы можете создать специальные настройки для всех флотов, развёрнутых вертикально, которые используют
+% Вы можете создать специальные настройки для всех флотов,
+% развёрнутых вертикально, которые используют
% окружение \env{sideways...} (см.~с.~\pageref{stsetorder}).
%
% Для одноколонного флота
% \begin{itemize}
% \item %
-% если существуют настройки |\floatsetup[rot|\meta{captype}|]{...}|
-% пакет использует эти настройки "--- <<сильнейшие>> настройки; если они отсутствуют "---
+% если существуют настройки
+% |\floatsetup[rot|\meta{captype}|]{...}|
+% пакет использует эти настройки "--- <<сильнейшие>> настройки;
+% если они отсутствуют "---
% используются настройки из следующего пункта;
% \item
% если существуют настройки |\floatsetup[rotfloat]{...}|
-% пакет использует эти настройки "--- эти настройки <<сильнее>> чем следующие;
-% если они отсутствуют "--- настройки для данного типа флота
-% (|\floatsetup[|\meta{captype}|]{...}|);
-% если и они отсутствуют "--- используются настройки по умолчанию в команде
-% (|\floatsetup{...}| или настройки пакета).
+% пакет использует эти настройки "--- эти настройки <<сильнее>> чем
+% следующие; если они отсутствуют "--- настройки для данного типа
+% флота (|\floatsetup[|\meta{captype}|]{...}|);
+% если и они отсутствуют "--- используются настройки по умолчанию
+% в команде (|\floatsetup{...}| или настройки пакета).
% \end{itemize}
%
% Для флота вразрез двух колонок или широкого флота (|*|-окружение)
% \begin{itemize}
% \item %
-% если существуют настройки |\floatsetup[widerot|\meta{captype}|]{...}|
+% если существуют настройки
+% |\floatsetup[widerot|\meta{captype}|]{...}|
% пакет использует эти настройки "--- <<сильнейшие>> настройкиt;
-% если они отсутствуют "---используются настройки из следующего пункта;
+% если они отсутствуют "---используются настройки из следующего
+% пункта;
% \item %
% если существуют настройки |\floatsetup[widerotfloat]{...}|
-% пакет использует эти настройки "--- эти настройки <<сильнее>> чем следующие;
-% если они отсутствуют "---используются настройки из следующего пункта;
+% пакет использует эти настройки "--- эти настройки <<сильнее>>
+% чем следующие; если они отсутствуют
+% "--- используются настройки из следующего пункта;
% \item %
-% если существуют настройки |\floatsetup[rot|\meta{captype}|]{...}|
-% пакет использует эти настройки "---эти настройки <<сильнее>> чем следующие;
-% если они отсутствуют "---используются настройки из следующего пункта;
+% если существуют настройки
+% |\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 package uses these settings; if they absent---settings
+% %^^A of next item;
% %^^A \item %
% %^^A if exists |\floatsetup[widefloat]{...}|
% %^^A package uses these settings;
% если они отсутствуют "--- настройки для данного типа флота
% (|\floatsetup|\marg{captype}|{...}|);
-% если и они отсутствуют "--- используются настройки по умолчанию в команде
-% (|\floatsetup{...}| или настройки пакета).
+% если и они отсутствуют "--- используются настройки по умолчанию
+% в команде (|\floatsetup{...}| или настройки пакета).
% \end{itemize}
%
% \emph{Замечания}.\nopagebreak
%
-% 1)\enskip Если вы помещаете два продолжающихся флота, развёрнутых вертикально,
-% на развороте, лучше будет их собрать у корешкового поля. Для этого вы
-% можете определить\footnote{Если пакет \pkg{rotating} использует опцию |[figuresright]|,
-% см. также файлы примеров \file{frsample10.tex}--\file{frsample12.tex}
+% 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}|
@@ -2502,28 +2735,33 @@
% |\buildFBBOX{\vbox to\rottextwidth\bgroup}{\vss\egroup}|
% \end{quote}
% \medskip
-% Величина |\rottextwidth| "---здесь сохранённое значение |\textwidth|
-% документа "--- параметры |\columnwidth| м |\textwidth| внутри окружения
-% \texttt{sideways...} равны
+% Величина |\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'ом.
+% 2)\enskip В данном примере вы можете видеть команду
+% |\emptyfloatpage|. Эта команда предлагается
+% пакетом \pkg{floatpagestyle}, (инсталлируемым
+% вместе с пакетом \pkg{floatrow}). Макрокоманда
+% |\emptyfloatpage| является сокращением команды
+% |\floatpagestyle{empty}|. Последняя макрокоманда переопределяет
+% стиль страницы когда появляется на ней данное окружение флота.
+%
+% Версия 0.1h добавляет дополнительный код к макрокоманде
+% |\@outputpage| из ядра \LaTeX'а и я надеюсь что это будет
+% работать.\footnote{Если вам известен более честный путь
+% получить тот же результат "--- переопределение
+% стиля отдельной страницы с плавающим флотом (учитывая, что и она
+% сама может плавать по документу) "--- дайте, пожалуйста, знать.}
+% Поскольку пакет \pkg{floatpagestyle} использует
+% механизм |\label|---|\ref|, команда |\floatpagestyle| даёт
+% результат после \emph{второй} (и более) обработок \LaTeX'ом.
%
% \subsection{Пакет \pkg{lscape} и окружение \env{landscape}}
%
-% Тестировалось с версией v3.0a датированной 1999/02/16.\nopagebreak
+% Тестировалось с версией v3.0a датированной
+% 1999/02/16.\nopagebreak
%
%\ifx\landscape\undefined\else
% \ifx\landscape\relax\else
@@ -2541,14 +2779,14 @@
% Команда |\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)
@@ -2559,136 +2797,165 @@
% Тестировалось с версией v1.3 датированной 2004/09/07.\nopagebreak
%
% Этот пакет имеет свой сильный механизм создания плавающих
-% алгоритмов. Использование команды |\lstset| и настроек пакета \pkg{caption}
-% даст нужный результат оформления\footnote{Обратите внимание и прочтите документацию \pkg{caption}:
-% кооперация пакета \pkg{caption}3.x и \pkg{listings} будет успешной
-% только с версией последнего не ниже 1.2.} для флотов типа алгоритмов.
-%
+% алгоритмов. Использование команды |\lstset| и настроек пакета
+% \pkg{caption} даст нужный результат оформления\footnote{Обратите
+% внимание и прочтите документацию
+% \pkg{caption}: кооперация пакета \pkg{caption}3.x
+% и \pkg{listings} будет успешной только с версией
+% последнего не ниже 1.2.} для флотов типа алгоритмов.
+%
+%\iffalse
% В случаях появления листингов внутри других окружений,
-% например, внутри окружения \env{figure} со стилями использующими рамки, типа \texttt{Boxed}
-% и \texttt{BOXED} и при предопределённой шириной флота, вы должны задать:
+% например, внутри окружения \env{figure} со стилями использующими
+% рамки, типа \texttt{Boxed} и \texttt{BOXED}
+% и при предопределённой шириной флота, вы должны задать:
% \begin{quote}
% |\lstset{linewidth=\hsize}|
% \end{quote}
-% в преамбуле, или прямо перед окружением \env{lstlisting}. Или в дополнительном аргументе
-% окружения \env{lstlisting} "---здесь вы должны определить ширину следующим образом:
+% в преамбуле, или прямо перед окружением \env{lstlisting}.
+% Или в дополнительном аргументе
+% окружения \env{lstlisting} "---здесь вы должны определить
+% ширину следующим образом:
% \begin{quote}
% |\begin{lstlisting}[linewidth=\hsize]|
% \end{quote}
+%\fi
%
-% Другое ограничение заключается в том, что вы не можете поместить окружение \env{lstlisting}
+% В случаях появления листингов внутри других окружений, которые
+% оформляются пакетом \pkg{floatrow}, ограничение заключается
+% в том, что вы не можете поместить окружение \env{lstlisting}
% внутрь команды |\floatbox|.
%
% \subsection{Пакет \pkg{longtable}}
%
-% Был добавлен код в макрокоманду |\LT@array| из пакета \pkg{longtable}\footnote{Спасибо
-% A. Sommerfeldt за помощь в создании компактного кода.}: этот код задаёт настройки того
-% же шрифта, что и в таблицах в окружении \env{table}, а также при возможность задать ширину
-% табличного заголовка в окружении \env{longtable} равной ширине таблицы. Для задания ширины
+% Был добавлен код в макрокоманду |\LT@array| из пакета
+% \pkg{longtable}\footnote{Спасибо
+% A. Sommerfeldt за помощь в создании компактного кода.}:
+% этот код задаёт настройки того
+% же шрифта, что и в таблицах в окружении \env{table},
+% а также при возможность задать ширину
+% табличного заголовка в окружении \env{longtable} равной ширине
+% таблицы. Для задания ширины
% табличного заголовка задан ключ.
%
% \DescribeMacro{LTcapwidth=}
% Этот ключ может иметь любое значение типа |5cm| или |\textwidth|.
-% Если же вы зададите \texttt{LTcapwidth=table} или \texttt{LTcapwidth=contents},
-% ширина табличного заголовка будет равна ширине таблицы. Настройка ширины
-% табличного заголовка в этом случае производится по информации из \texttt{aux}-файла,
-% поэтому вы получите правильный результат только тогда, когда ширина всей таблицы будет
+% Если же вы зададите \texttt{LTcapwidth=table} или
+% \texttt{LTcapwidth=contents},
+% ширина табличного заголовка будет равна ширине таблицы. Настройка
+% ширины табличного заголовка в этом случае производится
+% по информации из \texttt{aux}-файла,
+% поэтому вы получите правильный результат только тогда,
+% когда ширина всей таблицы будет
% стабильной.
%
-% Окружение \env{longtable} использует настройки, заданные в командах |\floatsetup[table]|
-% и |\floatsetup[longtable]|. Настройки из |\floatsetup[longtable]| будет <<сильнейшими>>
+% Окружение \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}.
+% Пакет \pkg{floatrow} пытается не распространять свой
+% код на команды |\caption|. Я надеюсь что окружения, поддерживаемые
+% пакетом \pkg{floatrow} не навредят тандему пакетов
+% \pkg{caption}---\pkg{hyperref}/\pkg{hypcap}.
%
% \subsection{Несовместимости}
%
-% Несовместимости в первую очередь совпадают с несовместимостями пакета \pkg{caption} 3.x:
+% Несовместимости в первую очередь совпадают с несовместимостями
+% пакета \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} не распространяет
+% Известная несовместимость пакета \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}:
+% Здесь даны ограничения, которые были обнаружены при пользовании
+% пакетом \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.
+% %^^A be careful with usage of \emph{alone} minipage environment in
+% %^^A object or caption in |\floatbox| macro. Since the object and
+% %^^A caption are created in minipage environment already, the
+% %^^A added \texttt{minipage} could get wrong layout (vertical
+% %^^A alignment). But, as I found, you may use a few
+% %^^A \texttt{minipage}s in object without harm.
% \item %
-% Вы не можете использовать команды типа |\floatbox| для флотов с окружением \texttt{verbatim}
-% или командой |\verb|.
+% Вы не можете использовать команды типа |\floatbox| для флотов
+% с окружением \texttt{verbatim} или командой |\verb|.
% \item %
% Это ограничение упоминалось выше: пакет использует механизм
-% |\label|---|\ref|, поэтому, если вы используете оформление, которое
-% требует задания общей высоты для объектов и/или подписей в ряду флотов,
-% вы получите верный результат только после второй (и более) обработки. Если вы измените
-% содержимое так, что изменяется высота объекта/подписи вы также должны обработать \LaTeX'ом
-% дважды и более раз.
-%
-% Подписи сбоку и другое оформление для разворотов также даст верный результат
-% только после второй (и более) обработки \LaTeX'ом.
+% |\label|---|\ref|, поэтому, если вы используете оформление,
+% которое требует задания общей высоты для объектов и/или подписей
+% в ряду флотов, вы получите верный результат только после второй
+% (и более) обработки. Если вы измените содержимое так,
+% что изменяется высота объекта/подписи вы также должны
+% обработать \LaTeX'ом дважды и более раз.
+%
+% Подписи сбоку и другое оформление для разворотов также даст верный
+% результат только после второй (и более) обработки \LaTeX'ом.
% \item %
% Версия 3.0a (и выше) пакета \pkg{caption} и пакет
-% \pkg{floatrow} не поддерживают дополнительный аргумент \emph{после}
-% текста подписи. Вы можете использовать команду |\floatfoot|
-% вместо этого.
+% \pkg{floatrow} не поддерживают дополнительный аргумент
+% \emph{после} текста подписи. Вы можете использовать команду
+% |\floatfoot| вместо этого.
% \item %
-% Не используйте команду |\FBwidth| для сложного содержимого флота (которое вы не можете
-% поместить внутри |\hbox|). (Но вы можете использовать команды |\vspace|
-% в самом начале или в самом конце содержимого объекта для корректировки отбивок.)
+% Не используйте команду |\FBwidth| для сложного содержимого флота
+% (которое вы не можете поместить внутри |\hbox|). (Но вы можете
+% использовать команды |\vspace| в самом начале или в
+% самом конце содержимого объекта для корректировки отбивок.)
% \item %
% Внутри окружения \env{floatrow} возможны пробелы (и даже
% пустые строки, что даёт иногда более корректный результат!) между
-% командами |\floatbox|, но если вы добавите код между флотами, вы должны
-% поставить знак процента |%| после такой команды.
+% командами |\floatbox|, но если вы добавите код между флотами, вы
+% должны поставить знак процента |%| после такой команды.
% \item %
-% Это общее правило "--- будьте внимательны с пробелами в конце строк
-% внутри окружения флота (см. документ \texttt{CTAN:/info/epslatex.ps} для
+% Это общее правило "--- будьте внимательны с пробелами в конце
+% строк внутри окружения флота (см. документ
+% \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.
+% %^^A Usage of fancy boxes \texttt{shadowbox} and
+% %^^A \texttt{wshadowbox} could get wrong layout with
+% %^^A beside captions.
% \item Если вы используете внутри команды |\floatbox| окружения
% \env{tabularx} или \env{tabular*} (или им подобные) с командой
-% |\hsize| внутри аргумента \meta{width}, вы должны повторить аргумент
-% |\hsize| в аргументе \meta{width} команды |\floatbox|.
+% |\hsize| внутри аргумента \meta{width}, вы должны повторить
+% аргумент |\hsize| в аргументе \meta{width} команды |\floatbox|.
%
-% Если вы хотите задать ширину окружения \env{tabularx} или \env{tabular*}
-% (или другого) как |.8\hsize| (или |1.2\hsize|) и
+% Если вы хотите задать ширину окружения \env{tabularx} или
+% \env{tabular*} (или другого) как |.8\hsize| (или |1.2\hsize|) и
% эти окружения помещены внутри команды |\floatbox|, поместите
-% |.8\hsize| в аргумент \meta{width} макрокоманды |\floatbox| (или другой), а в
-% аргументе \meta{width} команды \env{tabularx} или \env{tabular*} поставьте только
+% |.8\hsize| в аргумент \meta{width} макрокоманды |\floatbox| (или
+% другой), а в аргументе \meta{width} команды \env{tabularx} или
+% \env{tabular*} поставьте только
% |\hsize| (см. также код файла \file{frsample03.tex}).
%
-% В иных случаях (особенно при использовании необычных оформлений) будьте внимательны
-% при использовании |\hsize| как опции \meta{width} команды |\floatbox|.
+% В иных случаях (особенно при использовании необычных оформлений)
+% будьте внимательны при использовании
+% |\hsize| как опции \meta{width} команды |\floatbox|.
% \end{itemize}
%
% \addtocontents{toc}{\string\nopagebreak}
@@ -2696,16 +2963,18 @@
% \section{Благодарности}
%
% Спасибо Steven Cochran и Axel Sommerfeldt за советы и поддержку.
-% Особая благодарность Axel Sommerfeldt за терпеливые ответы, код, и
-% помощь во \emph{всех} вопросах и проблемах в пакете \pkg{floatrow}.
+% Особая благодарность Axel Sommerfeldt за терпеливые ответы, код,
+% и помощь во \emph{всех} вопросах и проблемах в пакете
+% \pkg{floatrow}.
%
% \medskip\noindent
% Спасибо \emph{всем} невольным учителям по (\La)\TeX'у, кто обучал
% меня программному коду всё время.
%
% \medskip\noindent
-% Спасибо Keith Reckdahl, автору документации \file{epslatex}, которая,
-% в конце концов, дала отвагу поместить создать версию пакета для CTAN.
+% Спасибо Keith Reckdahl, автору документации \file{epslatex},
+% которая, в конце концов, дала отвагу поместить создать версию
+% пакета для CTAN.
%
% \medskip\noindent
% \emph{Спасибо \emph{всем} авторам второго издания \LaTeX{}
@@ -2736,14 +3005,16 @@
% \floatbox{figure}[2\FBwidth][][b]
% {\caption{Рисунок рядом~II, вверху бокса объекта}%
% \label{fig:rotrow:BcatI}%
-% \floatfoot{Всё нарисовано макрокомандами \cmd{\qbezier} и двумя вертикальными линиями}}%
+% \floatfoot{Всё нарисовано макрокомандами \cmd{\qbezier} и двумя
+% вертикальными линиями}}%
% {\input{BlackCat.picture}}%
%
% \ffigbox[\FBwidth]
-% {{\unitlength2.5\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {{\unitlength2.5\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}\footnote[2]
% {Гляньте на чудную сноску!}}
-% {\caption{Рисунок рядом~III, в центра бокса объекта}%
+% {\caption{Рисунок рядом~III, в центре бокса объекта}%
% \label{fig:rotrow:mouseI}\floatfoot{Изображение мыши}}%
%
% \floatbox{figure}[\Xhsize][\Mylen]
@@ -2766,41 +3037,46 @@
%
% \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|, которая восстанавливает
+% Которые выравнивают флоты \emph{целиком} по центральной линии,
+% по верху или по низу. Эти команды
+% были созданы командой |\buildFBBOX|. Существует
+% также команда |\PlainFloatBoxes|, которая восстанавливает
% <<поведение>> флотов внутри команд |\floatbox|.
%
-% Использование |\CenterFloatBoxes| и |\killfloatstyle| вы видите в смешанном ряду
-% состоящем из рис.~\ref{fig:rowmixspec:WcatI} и табл.~\ref{tab:rowmixspec:tabI}\label{mixrow}:
+% Использование |\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
+% {{\unitlength1.15\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}}
% {\caption{Рисунок (\texttt{Boxed} style) рядом с таблицей
% (центрирован вертикально)}\label{fig:rowmixspec:WcatI}}%
@@ -2813,11 +3089,13 @@
% \multirowthead{2}[-1ex]{Column Head}
% & \multicolumn{3}{c|}{\thead{Data}} \\
% \cline{2-4}
-% & \thead{I} & \thead{II} & \thead{III} \\
+% & \thead{I}
+% & \thead{II}
+% & \thead{III} \\
% \hline
-% First row & 1 & 2 & \phantom01 \\
-% Second row & 3 & 4 & \phantom06 \\
-% Third row & 6 & 8 & 28 \\
+% First row & 1 & 2 & \phantom01 \\
+% Second row & 3 & 4 & \phantom06 \\
+% Third row & 6 & 8 & 28 \\
% \hline
% \end{tabular}}
% \end{floatrow}
@@ -2834,18 +3112,20 @@
%\end{verbatim}
%
% \emph{Замечание.} Как рисунок, так и таблица имеют ширину, равную
-% содержимому объектов. Команда |\ffigbox| имеет дополнительный аргумент
-% |[\FBwidth]|, но у команды |\ttabbox| нет никакой опции "--- опция
-% |[\FBwidth]| используется по умолчанию (см. определения на с.~\pageref{abbrcom}).
+% содержимому объектов. Команда |\ffigbox| имеет дополнительный
+% аргумент |[\FBwidth]|, но у команды |\ttabbox| нет никакой опции
+% "--- опция |[\FBwidth]| используется по умолчанию (см. определения
+% на с.~\pageref{abbrcom}).
%
%
% \subsubsection{Использование команд Captionsetup и Thisfloatsetup
% внутри дополнительного аргумента команды Floatbox}
%
% Пример рисунков рядом (рис.~\ref{floatbox:FR:lfig} и
-% \ref{floatbox:FR:fig}). В примере были использованы предопределённые команды постройки флотов
-% |\fcapsideleft| и |\fcapsideright|, в которых добавлены команды |\captionsetup| и
-% |\thisfloatsetup|:
+% \ref{floatbox:FR:fig}). В примере были использованы
+% предопределённые команды
+% постройки флотов |\fcapsideleft| и |\fcapsideright|, в которых
+% добавлены команды |\captionsetup| и |\thisfloatsetup|:
%\begin{verbatim}
%\newfloatcommand{fcapsideleft}{figure}[{\capbeside
% \captionsetup[capbesidefigure]{format=break,labelsep=none,
@@ -2868,17 +3148,20 @@
% \begin{figure}[b!]
% \begin{floatrow}
% \fcapsideleft
-% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
% {\caption{%^^A
-% Флот (\cmd{\fcapsideleft})
-% бокс для объекта имеет ширину включённой графики}\label{floatbox:FR:lfig}}%
+% Флот (\cmd{\fcapsideleft}) бокс для объекта
+% имеет ширину включённой графики}\label{floatbox:FR:lfig}}%
% \hsize\Xhsize \fcapsideright[\hsize]
-% {\setlength\unitlength{\hsize/61}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\setlength\unitlength{\hsize/61}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackCat.picture}}%
% {\caption{%^^A
% Флот (\cmd{\fcapsideright})
-% ширина всего флота занимает оставшееся пространство в ряду}\label{floatbox:FR:fig}}%
+% ширина всего флота занимает оставшееся пространство в ряду}%^^A
+% \label{floatbox:FR:fig}}%
% \end{floatrow}%
% \end{figure}%
% Формат подписи \texttt{break} был определён следующим образом:
@@ -2894,41 +3177,47 @@
% capbesidewidth=5.75cc,capbesidesep=cicero,margins=centering,
% capbesideframe=yes,floatwidth=sidefil}
%\end{verbatim}
-% Ключ \texttt{floatwidth=sidefill} означает, что в случае заданной ширины
-% для подписи сбоку, объект занимает остальное место
-% \verb|\hsize| (если не задана опция \meta{width}, или используется опция
-% \verb|\hsize|).
-%
-% Правый рисунок использует ширину графики, левый занимает остальное
-% место в ряду "--- для этого перед командой \verb|\fcapsideright|
-% была задана команда:
+% Ключ \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} задана команда
+% В качестве опции ширины по умолчанию, \meta{width}, в командах
+% \verb|\fcapsideleft| и \verb|\fcapsideright| задана команда
+% \verb|\FBwidth|, поэтому для рисунка~\ref{floatbox:FR:fig}
+% справа (созданном командой \verb|\fcapsideright|) в опции
+% \meta{width} задана команда
% \verb|\hsize|, чтобы заполнить остальное пространство в ряду.
%
-% Поскольку в стиле флота ключ \texttt{heightadjust=object} (заданный
-% в определения стиля \texttt{Boxed}), оба объекта имеют одинаковую высоту.
+% Поскольку в стиле флота ключ \texttt{heightadjust=object}
+% (заданный в определения стиля \texttt{Boxed}), оба объекта
+% имеют одинаковую высоту.
%
% \subsubsection{Предопределённая ширина подписи сбоку}
%
% Этот пример включает команду |\useFCwidth|, которая включает
-% предварительно определённую ширину подписи с заданным значением ключа \texttt{capbesidewidth=}
-% в команде |\thisfloatsetup| до команды |\floatbox|) или, если вы не определили ширину подписи
+% предварительно определённую ширину подписи с заданным значением
+% ключа \texttt{capbesidewidth=}
+% в команде |\thisfloatsetup| до команды |\floatbox|) или, если
+% вы не определили ширину подписи
% (как в данном примере), рассчитывается натуральная ширина подписи
-% (см. рис.~\ref{fig:Idog:w}\footnote{Внутри команды \cmd{\floatbox} не
-% обязательно определять ширину подписи заранее, но помните, что ширину подписи
-% \emph{нужно} определить, если это простое окружение флота.}).
-% Флот в этом случае выровнен горизонтально с использованием
-% настроек выравнивания, взятых из ключа \texttt{margins=} (опции определяются командами
-% |\setfloatmargins| или |\floatcapbesidemargins|). В этой документации задано
-% центрирование (см. с.~\pageref{fsetup:besmarg}).
+% (см. рис.~\ref{fig:Idog:w}\footnote{Внутри команды \cmd{\floatbox}
+% не обязательно определять ширину подписи заранее, но помните, что
+% ширину подписи \emph{нужно} определить, если это простое окружение
+% флота.}). Флот в этом случае выровнен горизонтально с
+% использованием настроек выравнивания, взятых из ключа
+% \texttt{margins=} (опции определяются командами
+% |\setfloatmargins| или |\floatcapbesidemargins|). В этой
+% документации задано центрирование (см.
+% с.~\pageref{fsetup:besmarg}).
%\begin{verbatim}
%\begin{figure}
%\floatbox[\capbeside\useFCwidth]{figure}[\FBwidth]
@@ -2942,7 +3231,8 @@
% {\caption[Подпись сбоку
% бокс которой равен тексту подписи]{Подпись
% сбоку}\label{fig:Idog:w}}
-% {{\setlength\unitlength{{4cm}/60}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {{\setlength\unitlength{{4cm}/60}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackDog.picture}}}
% \end{figure}%
%
@@ -2951,15 +3241,20 @@
%\floatsetup[figure]{style=plain}
%\end{verbatim}
%
-% \subsubsection{Предопределённая ширина подписи и остальное "--- для объекта}
+% \subsubsection{Предопределённая ширина подписи и остальное
+% "--- для объекта}
%
-% Рисунок \ref{fig:capbeside:trick} использует следующий стиль флота:%^^A
+% Рисунок \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}}
+%^^A \texttt{\{format=default,}\allowbreak
+%^^A \texttt{labelsep=none\}}
+%^^A which is necessary for current documentation: the
+%^^A \pkg{hyperref} creates unwanted result with empty argument
+%^^A of caption title. The same settings used for
+%^^A figures~\ref{floatrow:pre:figI} and
+%^^A \ref{floatrow:pre:figII}}
%\begin{verbatim}
%\floatsetup[figure]
% {style=Boxed,capposition=beside,objectset=centering,
@@ -2968,7 +3263,8 @@
% margins=centering,capbesideframe=yes,
% floatwidth=sidefil}
%\end{verbatim}
-% Величина \verb|\Mylen| была определена как ширина нумерационного заголовка подписи:
+% Величина \verb|\Mylen| была определена как ширина нумерационного
+% заголовка подписи:
%\begin{verbatim}
%\newdimen\Mylen
%\settowidth\Mylen{\captionfont\captionlabelfont
@@ -2981,12 +3277,14 @@
% floatwidth=\columnwidth,capbesidewidth=\Mylen,
% capbesideposition=left,capbesidesep=cicero,
% margins=centering,capbesideframe=yes,floatwidth=sidefil}
-% \newdimen\Mylen\settowidth\Mylen{\captionfont\captionlabelfont\figurename\ \thefigure}
+% \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
+% {\unitlength1.1\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
% {\caption{}\label{fig:capbeside:trick}}
% \end{figure}%
@@ -2994,7 +3292,8 @@
%
% \subsubsection{Подпись рядом с отцентрированным объектом}
%
-% Рисунок \ref{fig:plain:trick} использует хитроумный вариант оформления:
+% Рисунок \ref{fig:plain:trick} использует хитроумный вариант
+% оформления:
%\begin{verbatim}
%\floatsetup[figure]
% {style=plain,capposition=beside,objectset=centering,
@@ -3003,15 +3302,15 @@
% margins=centering,capbesideframe=yes,
% floatwidth=sidefil}
%\end{verbatim}
-% опция \texttt{mcapwidth} задаёт отрицательную отбивку, равную ширине
-% подписи:
+% опция \texttt{mcapwidth} задаёт отрицательную отбивку, равную
+% ширине подписи:
%\begin{verbatim}
%\DeclareFloatSeparators{mcapwidth}{\hskip-\FCwidth}
%\end{verbatim}
% В этом случае все рисунки с подписями сбоку будут центрированы
-% относительно текущей величине \verb|\hsize|. Использование такого оформления флота
-% предполагает что все объекты флота \'уже чем |\textwidth|, как минимум на 2~ширины
-% подписи.
+% относительно текущей величине \verb|\hsize|. Использование такого
+% оформления флота предполагает что все объекты флота \'уже чем
+% |\textwidth|, как минимум на 2~ширины подписи.
%
% \clearfloatsetup{figure} \floatsetup[figure]
% {style=plain,capposition=beside,objectset=centering,
@@ -3022,27 +3321,28 @@
% \captionsetup[capbesidefigure]{format=break,labelsep=none,
% justification=raggedright}
% \begin{figure}
-% \unitlength1.1\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \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}:
+% Здесь также временно, в группе, заменены настройки для
+% подрисуночной подписи~\ref{fig:plain:trick}:
%\begin{verbatim}
%\captionsetup[capbesidefigure]{format=break,labelsep=none,
% justification=raggedright}
%\end{verbatim}
%
-% \subsubsection{Определение ширины для блока подпись сбоку---объект в окружении
-% \env{floatrow}}
+% \subsubsection{Определение ширины для блока подпись сбоку---объект
+% в окружении \env{floatrow}}
%
-% Ряд с предопределёнными ширинами для боксов подпись сбоку---объект
-% (рис.~\ref{floatrow:pre:figI} и
-% \ref{floatrow:pre:figII}): просто определите перед командами \verb|\fcapside|
-% что-то типа
+% Ряд с предопределёнными ширинами для боксов подпись
+% сбоку---объект (рис.~\ref{floatrow:pre:figI} и
+% \ref{floatrow:pre:figII}): просто определите перед командами
+% \verb|\fcapside| что-то типа
%\begin{verbatim}
%\setlength\hsize{1.098\hsize}%
%\end{verbatim}
@@ -3050,13 +3350,15 @@
%\begin{verbatim}
%\setlength\hsize\Xhsize
%\end{verbatim}
-% перед вторым (здесь видно, что можно задать и |\setlength\hsize{.902\hsize}|).
+% перед вторым (здесь видно, что можно задать и
+% |\setlength\hsize{.902\hsize}|).
%
-% В начале окружения \env{floatrow} была задана команда \verb|\useFCwidth|
-% которая включает механизм использования и расчёта ширины подписи сбоку и, поскольку
-% используются команды \verb|\fcapside|, ширину подписей можно не определять
-% (ключ \texttt{capbesidewidth=} не задан), поэтому ширина боксов подписей будет
-% равна их содержимому.
+% В начале окружения \env{floatrow} была задана команда
+% \verb|\useFCwidth| которая включает механизм использования и
+% расчёта ширины подписи сбоку и, поскольку используются
+% команды \verb|\fcapside|, ширину подписей можно не определять
+% (ключ \texttt{capbesidewidth=} не задан), поэтому ширина боксов
+% подписей будет равна их содержимому.
%
% \clearfloatsetup{figure}
% \floatsetup[figure]
@@ -3068,13 +3370,15 @@
% \begin{floatrow}
% \setlength\hsize{1.098\hsize}%
% \fcapside
-% {\setlength\unitlength{\hsize/64}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\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
+% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}
% {\caption{%^^A
% }\label{floatrow:pre:figII}}
@@ -3088,17 +3392,18 @@
% 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}
-% вы можете использовать любую из этих трёх команд. К сожалению вам приходится задать
-% высоту таких флотов рядом вручную. Строки, которые создают
-% описанный выше ряд флотов:
+% \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}
@@ -3114,21 +3419,25 @@
%
% \clearfloatsetup{figure}
% \floatsetup[figure]
-% {style=Boxed,frameset={\fboxsep6pt},captionskip=5pt,capposition=bottom,
-% objectset=centering,capbesidewidth=none,capbesideposition=inside,
+% {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
+% {\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
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackDog.picture}}
% {\caption{%^^A
% Флот (\cmd{\ffigbox}), занимает оставшееся в ряду
@@ -3153,14 +3462,16 @@
% \begin{figure}\CenterFloatBoxes
% \begin{floatrow}
% \ffigbox[1.2\FBwidth][4cm]
-% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\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
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
% {\caption{%^^A
% Флот с подписью сбоку (\cmd{\fcapside}) в зеркальном ряду
@@ -3168,8 +3479,8 @@
% \end{floatrow}%
% \end{figure}
%
-% Рисунки~\ref{floatrow:mirrmix:figII}--\ref{floatrow:mirrmix:figI} использовали
-% следующие настройки:
+% Рисунки~\ref{floatrow:mirrmix:figII}--\ref{floatrow:mirrmix:figI}
+% использовали следующие настройки:
%\begin{verbatim}
%\floatsetup[figure]
% {style=Boxed,frameset={\fboxsep4pt},captionskip=5pt,
@@ -3183,8 +3494,8 @@
% Другой пример необычного ряда флотов
% (рис.~\ref{flrow:three:figIII}--\ref{floatrow:threemirr:figII},
% и, <<зеркальная вёрстка>>, "---
-% \ref{floatrow:threemirr:figI}--\ref{floatrow:threemirr:figIII}) были
-% созданы следующим кодом:
+% \ref{floatrow:threemirr:figI}--\ref{floatrow:threemirr:figIII})
+% были созданы следующим кодом:
%\begin{verbatim}
%\begin{figure}[t]\BottomFloatBoxes
%\begin{floatrow}
@@ -3208,12 +3519,14 @@
% \begin{floatrow}
% \hsize1.2\hsize
% \ffigbox[][6.7cm]
-% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\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
+% \vbox to6.7cm
+% {\floatsetup[figure]{floatrowsep=none}\killfloatstyle
% \ffigbox[.8\hsize]
% {\input{TheCat.picture}}
% {\caption{%^^A
@@ -3244,15 +3557,16 @@
%\end{floatrow}%
%\end{figure}
%\end{verbatim}
-% Обратите внимание, что во втором примере с <<зеркальной вёрсткой>> был
-% использован трюк с определением высоты в аргументе \meta{height} "--- подпись в левой
-% колонке длиннее на одну строку, поэтому для правой колонки высота флота
-% была уменьшена на 22pt "---2|\baselineskip| для шрифта размером |\small|\footnote{Вы
-% получите корректную высоту с такими расчётами для флотов рядом
-% при использовании версией пакета \pkg{caption} не ниже 3.0d.}
-% (здесь были использованы возможности пакета \pkg{calc}). Бокс |\vtop| в
-% левой колонке завершён командой |\vskip0pt|, иначе вы получите неожиданный
-% результат.
+% Обратите внимание, что во втором примере с <<зеркальной вёрсткой>>
+% был использован трюк с определением высоты в аргументе
+% \meta{height} "--- подпись в левой колонке длиннее на одну строку,
+% поэтому для правой колонки высота флота была уменьшена на 22pt
+% "---2|\baselineskip| для шрифта размером
+% |\small|\footnote{Вы получите корректную высоту с такими расчётами
+% для флотов рядом при использовании версией пакета \pkg{caption}
+% не ниже 3.0d.} (здесь были использованы возможности пакета
+% \pkg{calc}). Бокс |\vtop| в левой колонке завершён командой
+% |\vskip0pt|, иначе вы получите неожиданный результат.
%
%
% \begin{figure}\TopFloatBoxes
@@ -3261,43 +3575,50 @@
% \ffigbox[.8\hsize]
% {\input{TheCat.picture}}
% {\caption{%^^A
-% Бокс флота в зеркальной вёрстке под фотоальбом: верхний флота в левой
-% колонке}\label{floatrow:threemirr:figI}} \vss \ffigbox[.8\hsize]
+% Бокс флота в зеркальной вёрстке под фотоальбом:
+% верхний флота в левой
+% колонке}\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
+% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}%
% {\caption{%^^A
-% Бокс флота в зеркальной вёрстке под фотоальбом: отдельный в правой
-% колонке}\label{floatrow:threemirr:figIII}}
+% Бокс флота в зеркальной вёрстке под фотоальбом:
+% отдельный в правой колонке}\label{floatrow:threemirr:figIII}}
% \end{floatrow}%
% \end{figure}
%
-% В обоих примерах для двух флотов друг под другом была отменена команда
-% |\floatrowsep| внутри |\vbox|/|\vtop|.
+% В обоих примерах для двух флотов друг под другом была отменена
+% команда |\floatrowsep| внутри |\vbox|/|\vtop|.
%
-% Обратите внимание, что эти примеры довольно специфичны "--- можно попробовать
-% создать другие комбинации (например, <<многоколонные>>), но возможно
-% такая вёрстка потребует большей внимательности по отношению к использованию
-% |\Xhsize| и/или |\floatrowsep|.
+% Обратите внимание, что эти примеры довольно специфичны "--- можно
+% попробовать создать другие комбинации (например,
+% <<многоколонные>>), но возможно такая вёрстка потребует большей
+% внимательности по отношению к использованию |\Xhsize| и/или
+% |\floatrowsep|.
%
-% Я предполагаю, что два последних примера конфликтуют с <<девизом>> данного
-% пакета "--- уменьшить и переместить код оформления из текста документа; но
-% вёрстка под фотоальбом довольно редка в технической литературе (или
-% это не так?).
+% Я предполагаю, что два последних примера конфликтуют с <<девизом>>
+% данного пакета "--- уменьшить и переместить код оформления из
+% текста документа; но вёрстка под фотоальбом довольно редка в
+% технической литературе (или это не так?).
%
% \subsection{Файлы примеров}
%
-% Дистрибутив пакета \env{floatrow} предлагает несколько файлов с примерами,
-% которые демонстрируют настройки, не описанные в данном документе (некоторые
-% из них несколько экзотичны и ненатуральны). Примеры не имеют цели создать
-% совершенную вёрстку, только показать быстроту и простоту модификации оформления
-% для флотов всех типов, и показывает достоинства и недостатки в комбинациях выбранного
-% оформления при разных размещениях флотов.
+% Дистрибутив пакета \env{floatrow} предлагает несколько файлов с
+% примерами, которые демонстрируют настройки, не описанные в данном
+% документе (некоторые из них несколько экзотичны и ненатуральны).
+% Примеры не имеют цели создать совершенную вёрстку, только показать
+% быстроту и простоту модификации оформления для флотов всех
+% типов, и показывает достоинства и недостатки в комбинациях
+% выбранного оформления при разных размещениях флотов.
%
% \emph{Замечание}. Все нестандартные стили флотов (фактически все
% файлы примеров) требуют как минимум две обработки \LaTeX'ом.
@@ -3305,35 +3626,43 @@
% Перечень файлов примеров:
%
% \begin{Options}{\OptionLabel}
-% \item[frsample01.tex] все возможные комбинации предопределённых стилей пакета \pkg{floatrow}
-% для подписей сверху/снизу с экспликациями;
-% были созданы простые флоты, окружения с рядом флотов (окружение \env{floatrow}),
-% а также варианты объекта без подписи и подписи без объекта;
-% \item[frsample02.tex] все возможные комбинации с предопределёнными стилями пакета \pkg{floatrow}
-% для подписей сбоку и все возможные расположения подписей;
+% \item[frsample01.tex] все возможные комбинации
+% предопределённых стилей пакета \pkg{floatrow}
+% для подписей сверху/снизу с экспликациями; были созданы
+% простые флоты, окружения с рядом флотов (окружение
+% \env{floatrow}), а также варианты объекта без подписи
+% и подписи без объекта;
+% \item[frsample02.tex] все возможные комбинации с
+% предопределёнными стилями пакета \pkg{floatrow} для подписей
+% сбоку и все возможные расположения подписей;
% \item[frsample03.tex] различные тесты с таблицами;
-% \item[frsample04.tex] пример с необычным оформлением и размещением подписей сбоку;
-% \item[frsample05.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] двухколонная вёрстка с попытками использования расцвеченных стилей флотов.
+% \item[frsample10.tex] одноколонная вёрстка; рисунки оформлены
+% в стиле \texttt{plain}; боксы текста
+% (\texttt{textbox}) используют необычный стиль с линейками;
+% \item[frsample11.tex] одноколонная вёрстка с элементами
+% выхода на левое поле (например, широкие
+% флоты в |*|-окружениях, как \env{figure*});
+% \item[frsample12.tex] двухколонная вёрстка с попытками
+% использования расцвеченных стилей флотов.
% \end{Options}
%
-%
% \section{Устаревшие команды}\label{sec:changed}
%
-% Здесь приведены устаревшие макрокоманды, которые были заменены ключами из команды
-% |\floatsetup|, переименованы или удалены после версии 0.1b.
+% Здесь приведены устаревшие макрокоманды, которые были заменены
+% ключами из команды |\floatsetup|,
+% переименованы или удалены после версии 0.1b.
%
% \begingroup\extrarowheight1.75pt\small\tabcolsep.5\tabcolsep
% \medskip\parindent0pt
@@ -3351,7 +3680,8 @@
% \cmd{\newfloatstyle},\\
% \cmd{\definefloatstyle}
% \end{tabular}&
-% \cmd{\DeclareFloatStyle}---эта команда использует механизм \cmd{\floatsetup}
+% \cmd{\DeclareFloatStyle} "---эта команда использует
+% механизм \cmd{\floatsetup}
% \\\hline
% \cmd{\restorerestylefloat} & удалена
% \\\hline
@@ -3380,9 +3710,12 @@
% \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}}
+% \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}\\
@@ -3398,14 +3731,17 @@
% \cmd{\floatrowsep},\\ \cmd{\floatcapbesidesep}
% \end{tabular}&
% в текущей версии \emph{не используется для задания
-% разделительного материала}, используйте ключи\par \extrarowheight0pt
+% разделительного материала}, используйте ключи\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}
+% \cmd{\FBcenter}\vphantom{g},\\ \cmd{\FBleft}\vphantom{g},\\
+% \cmd{\FBright},\\
+% \cmd{\FBnormal}
% \end{tabular}&
% \extrarowheight0pt\begin{tabular}[t]{@{}l}
% \texttt{margins=center},\\
@@ -3423,7 +3759,8 @@
% & используйте ключи \texttt{framestyle=} и \texttt{frameset=}
% \\\hline
% \cmd{\setrules}
-% & используйте \texttt{precode=}, \texttt{postcode=}, \texttt{midcode=} (а также
+% & используйте \texttt{precode=}, \texttt{postcode=},
+% \texttt{midcode=} (а также
% \texttt{rowpercode} и \texttt{rowpostcode}) ключи
% \\\hline
% \end{tabular*}
@@ -3464,13 +3801,18 @@
% \texttt{framereduce=} & \texttt{framefit=}
% \\\hline
% \extrarowheight0pt\begin{tabular}[t]{@{}l@{}}
-% \vphantom{(}опции ключей \texttt{objectset=}\\\quad и \texttt{margins=}\\
+% \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}
+% \vphantom{(}опции ключей \texttt{objectset=}
+% и \texttt{margins=}\\\quad
+% (для унификации
+% с аналогичными опциями\\\quad ключей в пакете
+% \pkg{caption})\\
+% \texttt{raggedright},\\ \texttt{raggedleft},\\
+% \texttt{centering}
% \end{tabular}
% \\\hline
% \end{tabular*}
diff --git a/Master/texmf-dist/doc/latex/floatrow/floatrow.pdf b/Master/texmf-dist/doc/latex/floatrow/floatrow.pdf
index ba17628f8b9..852b3950990 100644
--- a/Master/texmf-dist/doc/latex/floatrow/floatrow.pdf
+++ 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
deleted file mode 100644
index a3472d2d50a..00000000000
--- a/Master/texmf-dist/doc/latex/floatrow/floatrow.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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/frsample03.tex b/Master/texmf-dist/doc/latex/floatrow/frsample03.tex
index 476147e8724..07305ada627 100644
--- a/Master/texmf-dist/doc/latex/floatrow/frsample03.tex
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample03.tex
@@ -12,9 +12,9 @@
%load floatrow
\usepackage[font=small,footskip=.5\skip\footins,
capbesidesep=quad,floatrowsep=quad]{floatrow}
-\usepackage{fr-lngtab}
\floatsetup[table]{style=Plaintop,captionskip=5pt}
+\floatsetup[longtable]{LTcapwidth=table,margins=centering}
%load caption
\usepackage[font=small,justification=centerlast]{caption}[2004/11/28]
diff --git a/Master/texmf-dist/doc/latex/floatrow/frsample12.tex b/Master/texmf-dist/doc/latex/floatrow/frsample12.tex
index afd694fc899..295274bc7fc 100644
--- a/Master/texmf-dist/doc/latex/floatrow/frsample12.tex
+++ b/Master/texmf-dist/doc/latex/floatrow/frsample12.tex
@@ -138,9 +138,12 @@
\unitlength1.44pt
+\onecolumn
+\begingroup
+
\chapter{Two Column Document and Color (Beta-Version Example)}
-\begin{sl}
+\begin{sl}\fontsize{11}{13.6}\selectfont
This example shows floats in two-column document.
There are also color settings.
@@ -153,22 +156,16 @@ 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}
+\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,
+\usepackage[font=small,labelfont=bf,labelsep=period,justification=justified,
singlelinecheck=no]{caption}
\end{verbatim}
@@ -176,8 +173,7 @@ by period sign, justification justified.
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}
+\usepackage[justification=centerlast,farskip=0pt]{subfig}
\end{verbatim}
\emph{Special settings for float types.}\\
@@ -187,10 +183,8 @@ 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}
+\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,
@@ -199,37 +193,18 @@ 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}
+\DeclareNewFloatType{textbox}{fileext=lor,name=Text,placement=tp}
-\DeclareFloatVCode{rulei}%
- {\begingroup
- \color{blue}%
- \hrule height1.8ptdepth0pt\kern2pt%
- \endgroup}
+\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}
+ {\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}
@@ -237,11 +212,9 @@ Captions use hanged label.
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}
+\floatsetup[capbesidetextbox]{precode=none,capbesidesep=colorsep}
-\captionsetup[capbesidetextbox]%
- {format=default,labelsep=newline}
+\captionsetup[capbesidetextbox]{format=default,labelsep=newline}
\end{verbatim}
\emph{Special settings for special float layout.}\\
@@ -250,12 +223,8 @@ 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}
+\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)
@@ -267,17 +236,17 @@ command from loaded \pkg{floatpagestyle} package\footnote{In current example
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}
+ {\setfloatmargins{}{\hskip-\headsep\hskip-.7\headheight plus1fil}}
+\floatsetup[widerotfloat]{capbesideposition={right,center},
+ capbesideframe=no,margins=widesideways}
\end{verbatim}
\end{sl}
+\endgroup
+
+\twocolumn
+
\input fr-sample
\end{document}
diff --git a/Master/texmf-dist/doc/latex/floatrow/pslearn.eps b/Master/texmf-dist/doc/latex/floatrow/pslearn.eps
deleted file mode 100644
index 590e815f45a..00000000000
--- a/Master/texmf-dist/doc/latex/floatrow/pslearn.eps
+++ /dev/null
@@ -1,42 +0,0 @@
-%!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
diff --git a/Master/texmf-dist/doc/latex/floatrow/sample-longtable.tex b/Master/texmf-dist/doc/latex/floatrow/sample-longtable.tex
new file mode 100644
index 00000000000..06cd012b883
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/floatrow/sample-longtable.tex
@@ -0,0 +1,442 @@
+% This file installs three samples-variants of setting
+% of Continued and Finished pages of long table
+% 1) s-longtable1.tex
+% Adds words in the table label: ``Table 1. Continued''
+% and ``Table 1. Finished''
+% 2) s-longtable2.tex
+% Adds words in the caption text: ``Continued'' and ``Finished''
+% 3) s-longtable3.tex
+% Redefines \tablename command: ``Continuation of table 1.
+% and ``Finishing of table 1.'' (Is that correct English form?)
+\begin{filecontents}{t-longtable.sty}
+% \iffalse
+% t-longtable.sty - Patch to longtable package
+\ProvidesPackage{t-longtable}
+ [2006/06/23 v0.0a (ALPHA-temp) Patch to longtable package]
+% \fi
+% \begin{macrocode}
+\RequirePackage{longtable}[2004/02/01]
+% \end{macrocode}
+% The box for last head. Defined in the same way as others.
+% \begin{macrocode}
+\newbox\LT@lasthead
+% \end{macrocode}
+% This counter register to count long table pages.
+% \begin{macrocode}
+\newcounter{LTpage}
+% \end{macrocode}
+% This command (number of longtable's page) defined by hand for
+% each table. The default number is~2.
+% \begin{macrocode}
+\newcommand\LTlastpage{2}
+% \end{macrocode}
+% Storing of original definition of |\longtable|.
+% In new definition was added counter of longtable's pages.
+% \begin{macrocode}
+\@ifdefinable\TeXr@ori@longtable{\let\TeXr@ori@longtable\longtable}
+\def\longtable{%
+ \setcounter{LTpage}\@ne
+ \TeXr@ori@longtable}
+% \end{macrocode}
+% Storing original definition of |\LT@ouput|.
+% Here, in new definition, added increasing of \texttt{LTpage}.
+% In the case of defined |\lasthead| contents and last page was
+% checked, the contents of last head loaded.
+% \begin{macrocode}
+\@ifdefinable\TeXr@ori@LT@output{\let\TeXr@ori@LT@output\LT@output}
+\def\LT@output{%
+ \addtocounter{LTpage}\@ne
+ \ifvoid\LT@lasthead\else
+ \ifnum\value{LTpage}=\LTlastpage
+ \let\LT@head\LT@lasthead
+ \fi
+ \fi
+ \TeXr@ori@LT@output}
+% \end{macrocode}
+% The definition of last head box. Defined in the same way as others.
+% \begin{macrocode}
+\def\endlasthead{\LT@end@hd@ft\LT@lasthead}
+% \end{macrocode}
+%
+\endinput
+\end{filecontents}
+\begin{filecontents}{s-longtable.tex}
+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\\
+%
+%
+%
+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\\
+%
+%
+%
+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\\
+%
+%
+%
+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\\
+\endinput
+% end of s-longtable.tex
+\end{filecontents}
+\begin{filecontents}{s-longtable1.tex}
+\documentclass{book}
+
+\usepackage{array,t-longtable}
+\usepackage{floatrow}
+\usepackage[labelsep=newline]{caption}
+\floatsetup[longtable]{font={small,sf},LTcapwidth=table,margins=centering,
+ captionskip=5pt}
+\captionsetup[longtable]{font={small,rm}}
+
+\DeclareCaptionLabelFormat{rightlabelcont}%
+ {\rightline{\bothIfFirst{#1}{ }#2\ContTable}}
+%
+% Then define text for continued/finished table head, \ldots
+\newcommand\ContTable{}
+%
+% caption for continued head, \ldots
+\newcommand\LTcontcaption[1]{%
+ \noalign{\gdef\ContTable{\captioncontinued}}
+ \caption{#1}}
+%
+% and caption for finished head. (At the |\lastfoot| definition the |\ContTable|
+% must be defined as empty).
+\newcommand\LTfincaption[1]{%
+ \noalign{\gdef\ContTable{\captionfinished}}
+ \caption{#1}}
+%
+% The examples of continued and finished heads.
+\newcommand\captioncontinued{. \emph{Continued}}
+\newcommand\captionfinished{. \emph{Finished}}
+
+\begin{document}
+
+\chapter{Defining head of last page of long table: variant~1}
+
+Here is example of defining of last head in long table. The words ``Continued'' and ``Finished'' defined by \verb|\ContTable| and added at the label of table caption: label format \texttt{rightlabelcont} (it will be defined for long table in group). These definitions are loaded in \verb|\LTcontcaption| and \verb|\LTfincaption| macros. At the \verb|\lastfoot| set \verb|\ContTable| emptied.
+
+The last page (number of table pages) of table defined ``by hand'' by command \verb|\LTlastpage|. Here:
+\begin{verbatim}
+\def\LTlastpage{5}
+\end{verbatim}
+
+\begingroup
+\captionsetup[table]{labelformat=rightlabelcont}
+\def\LTlastpage{5}
+
+\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
+\LTcontcaption{}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endhead
+\LTfincaption{}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endlasthead
+ \hline \multicolumn{3}{@{}r@{}}{\emph{Continued on next page}}
+\endfoot
+\noalign{\gdef\Continued{}}
+ \hline
+\endlastfoot
+\input s-longtable.tex
+\end{longtable}
+
+\endgroup
+\end{document}
+% end of s-longtable1.tex
+\end{filecontents}
+\begin{filecontents}{s-longtable2.tex}
+\documentclass{book}
+
+\usepackage{array,t-longtable}
+\usepackage{floatrow}
+\usepackage[labelsep=period,singlelinecheck=no]{caption}
+\floatsetup[table]{LTcapwidth=table,margins=raggedright,captionskip=5pt}
+
+\DeclareCaptionLabelFormat{rightlabelcont}%
+ {\rightline{\bothIfFirst{#1}{ }#2\ContTable}}
+%
+% caption for continued head, \ldots
+\newcommand\LTcontcaption[1]{%
+ \caption{\emph{Continued}. #1}}
+%
+% and caption for finished head.
+\newcommand\LTfincaption[1]{%
+ \caption{\emph{Finished}. #1}}
+
+\begin{document}
+
+\chapter{Defining head of last page of long table: variant~2}
+
+Here is example of defining of last head in long table. The words ``Continued'' and ``Finished'' added in caption text. The last page (number table of pages) of table defined by hand by command \verb|\LTlastpage|. Here:
+\begin{verbatim}
+\def\LTlastpage{5}
+\end{verbatim}
+(If you use \verb|\caption| instead of \verb|\LTcontcaption| and \verb|\LTfincaption| definitions, you ought to reduce \verb|\LTlastpage| by~1, in this example equal~4.)
+\def\LTlastpage{5}
+
+\begingroup
+%\captionsetup[table]{labelformat=rightlabelcont}
+
+\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
+\LTcontcaption{}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endhead
+\LTfincaption{}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endlasthead
+ \hline \multicolumn{3}{@{}r@{}}{\emph{Continued on next page}}
+\endfoot
+\noalign{\gdef\Continued{}}
+ \hline
+\endlastfoot
+\input s-longtable.tex
+\end{longtable}
+
+\endgroup
+\end{document}
+% end of s-longtable2.tex
+\end{filecontents}
+\begin{filecontents}{s-longtable3.tex}
+\documentclass{book}
+
+\usepackage{array,t-longtable}
+\usepackage{floatrow}
+\usepackage[labelsep=newline]{caption}
+\floatsetup[table]{font={small,sf},LTcapwidth=table,margins=raggedright,
+ captionskip=5pt}
+\captionsetup[longtable]{font={small,rm}}
+
+\DeclareCaptionLabelFormat{labelcont}%
+ {\rightline{\bothIfFirst{\ContTable}{ }#2}}
+%
+% Then define text for continued/finished table head, \ldots
+\newcommand\ContTable{\tablename}
+%
+% caption for continued head, \ldots
+\newcommand\LTcontcaption[1]{%
+ \noalign{\gdef\ContTable{\emph{Continuation of \tablename}}}
+ \caption{#1}}
+%
+% and caption for finished head. (At the |\lastfoot| definition the
+% |\ContTable| must be defined as empty).
+\newcommand\LTfincaption[1]{%
+ \noalign{\gdef\ContTable{\emph{Finishing of \tablename}}}
+ \caption{#1}}
+
+\begin{document}
+
+\chapter{Defining head of last page of long table: variant~3}
+
+Here is example of defining of last head in long table. The words ``Continuation of'' and ``Finishing of'' added in the \verb|\ContTable| definition. This command used instead of \verb|\tablename| in tale label. The last page (number of table pages) of table defined by hand by command \verb|\LTlastpage|. Here:
+\begin{verbatim}
+\def\LTlastpage{5}
+\end{verbatim}
+
+\def\LTlastpage{5}
+
+\begingroup\sffamily
+\captionsetup[table]{labelformat=labelcont}
+
+\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
+\LTcontcaption{}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endhead
+\LTfincaption{}\\
+ \bfseries Entity&\bfseries Unicode Name&\bfseries Unicode\\ \hline
+\endlasthead
+ \hline \multicolumn{3}{@{}r@{}}{\emph{Continued on next page}}
+\endfoot
+\noalign{\gdef\Continued{}}
+ \hline
+\endlastfoot
+\input s-longtable.tex
+\end{longtable}
+
+\endgroup
+\end{document}
+% end of s-longtable3.tex
+\end{filecontents}
+%Run LaTeX trough one of the following files
+\input s-longtable1.tex
+%\input s-longtable2.tex
+%\input s-longtable3.tex
+\endinput \ No newline at end of file
diff --git a/Master/texmf-dist/source/latex/floatrow/floatrow.dtx b/Master/texmf-dist/source/latex/floatrow/floatrow.dtx
index 01ccd3d3174..3b1c2bed19c 100644
--- a/Master/texmf-dist/source/latex/floatrow/floatrow.dtx
+++ b/Master/texmf-dist/source/latex/floatrow/floatrow.dtx
@@ -1,15 +1,15 @@
% \iffalse
% floatrow.dtx - The float row package (extension of float package)
-% (c) 2004-2005 Olga Lapko (Lapko.O@g23.relcom.ru)
+% (c) 2004-2006 Olga Lapko (Lapko.O@g23.relcom.ru)
%
% This package borrowed code (core parts) from:
% float package 2001/11/08 v1.3d,
-% Copyright (C) 1991-2000 Anselm Lingnau
+% Copyright (c) 1991-2000 Anselm Lingnau
% rotfloat package, 2002/02/02 v1.1,
% Copyright (c) 1995-2002 Axel Sommerfeldt
%
% During creation of floatsetup stuff there was borrowed code structure
-% from caption package v3.x ((c) 1994-2005 by Axel Sommerfeldt)
+% from caption package v3.x ((c) 1994-2006 Axel Sommerfeldt)
%
% This program is provided under the terms of the
% LaTeX Project Public License distributed from CTAN
@@ -18,15 +18,17 @@
%<*dtx>
\ProvidesFile{floatrow.dtx}
%</dtx>
-%<floatrow,frfancy,floatpagestyle>\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+%<floatrow,frfancy,floatpagestyle,listpen>\NeedsTeXFormat{LaTeX2e}[1995/06/01]
%<floatrow>\ProvidesPackage{floatrow}
%<frfancy>\ProvidesPackage{fr-fancy}
%<floatpagestyle>\ProvidesPackage{floatpagestyle}
+%<listpen>\ProvidesPackage{listpen}
%
% \ProvidesFile{floatrow.dtx}
-%<floatrow> [2005/07/15 v0.1g floatrow package: the float package extension]
+%<floatrow> [2006/07/24 v0.1j floatrow: float package extension]
%<frfancy> [2005/07/15 v0.1g floatrow: fancy boxes]
-%<floatpagestyle> [2005/07/15 v0.1g floating page style]
+%<floatpagestyle> [2005/10/02 v0.1h floating page style]
+%<listpen> [2005/02/07 v0.1a list penalty managing]
%
%<*driver>
\input pictures
@@ -40,11 +42,14 @@
\IfFileExists{footmisc.sty}{\usepackage[perpage]{footmisc}}{}
-\usepackage{floatpagestyle}
+\usepackage{floatpagestyle,flafplins}
-\usepackage[font=small,labelfont=bf,labelsep=period,justification=centerlast]%
+\usepackage[font=small,labelfont=bf,labelsep=period,
+ justification=centerlast]
{caption}[2004/11/28]
-\usepackage[format=default,justification=centerlast,labelfont=up]{subfig}[2005/06/28]
+\usepackage[format=default,justification=centerlast,
+ labelfont=up]
+ {subfig}[2005/06/28]
\IfFileExists{rotating.sty}{\usepackage[figuresright]{rotating}}{}
@@ -54,8 +59,9 @@
%^^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}
+ footnoterule=fullsize,margins=centering,objectset=centering,
+ floatrowsep=qquad,captionskip=5pt,capbesidesep=quad,
+ facing=yes,capbesideposition=inside]{floatrow}
\usepackage{fr-fancy}
@@ -68,8 +74,8 @@
\IfFileExists{makecell.sty}{\usepackage{makecell}}{}
\makeatletter
\@ifundefined{thead}%
- {\newcommand\thead[1]{\footnotesize
- \raisebox{0pt}[\height+\jot][\depth+\jot]{\begin{tabular}{@{}c@{}} #1\end{tabular}}}
+ {\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
@@ -82,7 +88,8 @@
\floatstyle{ruled}
\newfloat{Program}{tbp}{lop}[section]
-\DeclareFloatStyle{MyBoxed}{style=Boxed,captionskip=5pt,frameset={\fboxrule1pt\fboxsep12pt}}
+\DeclareFloatStyle{MyBoxed}{style=Boxed,
+ captionskip=5pt,frameset={\fboxrule1pt\fboxsep12pt}}
\DeclareFloatVCode{lowthickrule}{\kern2pt\hrule height.8ptdepth0pt}
\DeclareNewFloatType{Example}%
@@ -96,10 +103,12 @@
\newfloatcommand{fcapsideleft}{figure}[{\capbeside
\captionsetup[capbesidefigure]{format=break,labelsep=none,
- justification=raggedleft}\thisfloatsetup{capbesideposition=left}}][\FBwidth]
+ justification=raggedleft}%
+ \thisfloatsetup{capbesideposition=left}}][\FBwidth]
\newfloatcommand{fcapsideright}{figure}[{\capbeside
\captionsetup[capbesidefigure]{format=break,labelsep=none,
- justification=raggedright}\thisfloatsetup{capbesideposition=right}}][\FBwidth]
+ justification=raggedright}%
+ \thisfloatsetup{capbesideposition=right}}][\FBwidth]
%^^A -----------------------
\def\rightlast{\leftskip0ptplus1fil
@@ -110,8 +119,9 @@
\DeclareCaptionJustification{togglelast}
{\floatfacing*\rightlast\leftlast}
\DeclareCaptionStyle{capbesidefigure}{justification=togglelast}
-\captionsetup[table]%
- {format=flushrightlabel,textfont=bf,labelsep=none,labelfont=sl,captionskip=5pt}
+\captionsetup[table]
+ {format=flushrightlabel,textfont=bf,labelsep=none,
+ labelfont=sl,captionskip=5pt}
\captionsetup[capbesidefigure]{justification=togglelast}
\captionsetup[floatfoot]{format=default}
@@ -136,7 +146,8 @@
\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
+ \ifdim\@tempdima>#2\setlength\unitlength{#2/#4}\ifx\pspicture\undefined
+ \else\psset{unit=\unitlength}\fi
{#5}\else\box0\fi}
\providecommand*{\file}[1]{\texttt{#1}}
@@ -169,6 +180,7 @@
\OnlyDescription
\let\PrintChanges\relax
+\let\PrintIndex\relax
\EnableCrossrefs
\RecordChanges
\begin{document}
@@ -178,17 +190,18 @@
%</driver>
% \fi
%
-% \CheckSum{4182}
+% \CheckSum{4187}
%
%
-% \changes{v0.1e}{2005/03/22}{The user documentation loaded inside \file{floatrow.dtx}.}
+% \changes{v0.1e}{2005/03/22}{The user documentation loaded inside
+% \file{floatrow.dtx}.}
%
% \GetFileInfo{floatrow.dtx}
%
% \ifx\pspicture\undefined\else\psset{unit=1pt}\fi
%
-% \def\fileversion{v0.1g}
-% \def\filedate{2005/07/15}
+% \def\fileversion{v0.1j}
+% \def\filedate{2006/07/24}
% \title{The \pkg{floatrow} package\thanks{This
% file has version number \fileversion, last revised
% \filedate.}}
@@ -201,10 +214,11 @@
%
% \begin{abstract}
% This package was created like extension or addition of \pkg{float}
-% package. The \pkg{floatrow} borrows core code from \pkg{float}\footnote{\pkg{float}
-% package, version v1.3d dated 2001/11/08, \copyright{} 1991-2000
-% Anselm Lingnau.} and \pkg{rotfloat}\footnote{\pkg{rotfloat} package,
-% version v1.2 dated 2004/01/04, \copyright{} 1995--2004 Axel
+% package. The \pkg{floatrow} borrows core code from
+% \pkg{float}\footnote{\pkg{float} package, version v1.3d dated
+% 2001/11/08, \copyright{} 1991-2000 Anselm Lingnau.} and
+% \pkg{rotfloat}\footnote{\pkg{rotfloat} package, version v1.2
+% dated 2004/01/04, \copyright{} 1995--2004 Axel
% Sommerfeldt.} packages, so you must not load these packages.
%
% The \pkg{float} package has good mechanism for creation (and easy
@@ -226,35 +240,40 @@
% to put footnotes inside float box (using \env{minipage}-like mode);
% and also put legend-like text;
% \item%
-% to create or modify special layout for each type of float and for different
-% positioning of float and its components (two-column or rotated float).
+% to create or modify special layout for each type of float and
+% for different positioning of float and its components
+% (two-column or rotated float).
% \end{itemize}
%
% The \pkg{floatrow} package is cooperated with \pkg{caption} package
% (version 3.0 and later). Also the \pkg{floatrow} package (like
-% \pkg{caption} one) uses \pkg{keyval} package mechanism for layout settings.
+% \pkg{caption} one) uses \pkg{keyval} package mechanism for layout
+% settings.
% \medskip
%
% \begingroup
% \slshape
-% I think I did my best to follow this idea and I hope that someone likes this idea:
-% helps to maintain this idea anyway, or finds bugs and absurdities in this package
-% or documentation.
+% I think I did my best to follow this idea and I hope that someone
+% likes this idea: helps to maintain this idea anyway, or finds bugs
+% and absurdities in this package or documentation.
% \endgroup
% \medskip
%
% {Document terminology}:
% \begin{description}\itemsep0pt\parskip0pt
-% \item[float] could include \emph{object}, \emph{caption}, and \emph{foot material};
-% \emph{float} is created by \env{figure} or \env{table} environments (\emph{plain float}),
-% or in |\floatbox| command;
+% \item[float] could include \emph{object}, \emph{caption}, and
+% \emph{foot material}; \emph{float} is created by \env{figure} or
+% \env{table} environments (\emph{plain float}), or in |\floatbox|
+% command;
%
-% \item[object]\env{tabular} or graphics, as contents
-% of table (\env{figure}) or figure (\env{table}) or other type of float;
+% \item[object]\env{tabular} or graphics, as contents of table
+% (\env{figure}) or figure (\env{table}) or other type of float;
%
% \item[caption]text in |\caption|;
%
-% \item[foot material]explications, legends and/or footnotes inside \emph{float} box (|\footnote|/|\mpfootnotemark|/|\footnotetext|, and |\floatfoot| macros).
+% \item[foot material]explications, legends and/or footnotes inside
+% \emph{float} box (|\footnote|/|\mpfootnotemark|/|\footnotetext|,
+% and |\floatfoot| macros).
% \end{description}
% \end{abstract}
%
@@ -270,9 +289,10 @@
%
% \section{Introduction}
%
-% One of the first macros of package, created for float contents, is a macro which
-% builds contents of table environment with caption above. The width of
-% caption equals to the width of contents, e.g. of tabular (see table~\ref{intro:table}).
+% One of the first macros of package, created for float contents,
+% is a macro which builds contents of table environment with caption
+% above. The width of caption equals to the width of contents, e.g.
+% of tabular (see table~\ref{intro:table}).
%\begin{verbatim}
%\begin{table}
%\ttabbox
@@ -317,16 +337,18 @@
% 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
+% {{\setlength\unitlength{4cm/58}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}}
% \end{figure}
%
% These three commands abbreviate |\floatbox| command, which creates
% float boxes (see section~\ref{sec:floatbox}).
%
-% The \env{floatrow} environment allows to put floats side by side, like
-% figures~\ref{intro:leftfig} and~\ref{intro:rightfig}. By default \env{floatrow}
-% creates necessary number of ``columns'' (usually two) where floats are placed:
+% The \env{floatrow} environment allows to put floats side by side,
+% like figures~\ref{intro:leftfig} and~\ref{intro:rightfig}.
+% By default \env{floatrow} creates necessary number of ``columns''
+% (usually two) where floats are placed:
%\begin{verbatim}
%\begin{figure}
% \begin{floatrow}
@@ -346,13 +368,15 @@
% \label{intro:leftfig}}%
%
% \ffigbox
-% {\caption{Beside figure at the right side of simple figure row}\label{fig:rotrow:FcatI}}
+% {\caption{Beside figure at the right side of simple figure row}%^^A
+% \label{fig:rotrow:FcatI}}
% {\input{TheCat.picture}\label{intro:rightfig}}
% \end{floatrow}
% \end{figure}%^^A
-% Please note that inside \env{floatrow} you must use |\ffigbox| or |\ttabbox| macros for
-% each float box. (See also sections~\ref{sec:floatbox} for
-% more information about commands used in introduction and |\floatbox| command;
+% Please note that inside \env{floatrow} you must use |\ffigbox|
+% or |\ttabbox| macros for each float box. (See also
+% sections~\ref{sec:floatbox} for more information about commands
+% used in introduction and |\floatbox| command;
% and \ref{sec:floatrow} about \env{floatrow} environment.)
%
% \subsection{Do not write that with \pkg{floatrow} package}
@@ -365,10 +389,10 @@
%\centering \input{Mouse.picture}
%\end{figure}
%\end{verbatim}
-% please do not expect that caption appears at the top of figure.
-% If you want, e.g. to put figure captions above its contents, you must write in preamble
-% |\floatsetup[figure]{style=plaintop}| (see also section~\ref{sec:floatsetup}
-% about |\floatsetup| mechanism).
+% please do not expect that caption appears at the top of figure. If
+% you want, e.g. to put figure captions above its contents, you must
+% write in preamble |\floatsetup[figure]{style=plaintop}| (see also
+% section~\ref{sec:floatsetup} about |\floatsetup| mechanism).
%
%^^A \begin{figure}
%^^A \caption{A figure caption}\label{Wrong:expect}
@@ -388,9 +412,10 @@
%\end{minipage}
%\end{figure}
%\end{verbatim}
-% you also won't get expected result. Use \env{floatrow}, like in example with
-% figures~\ref{intro:leftfig} and~\ref{intro:rightfig} to get correct result\footnote{See also
-% the page~\pageref{mixrow} about mixed float rows}.
+% you also won't get expected result. Use \env{floatrow}, like in
+% example with figures~\ref{intro:leftfig} and~\ref{intro:rightfig}
+% to get correct result\footnote{See also the page~\pageref{mixrow}
+% about mixed float rows}.
%
% \section{Float Layout Settings}\label{sec:floatsetup}
%
@@ -404,8 +429,9 @@
% float is possible because of the borrowed code from the \pkg{float}
% package, which allows to modify layout of float boxes as a whole.
%
-% The common layout and its modification for captions and special settings for each type
-% of float supported by \pkg{caption} package, version~3.x.
+% The common layout and its modification for captions and special
+% settings for
+% each type of float supported by \pkg{caption} package, version~3.x.
%
% The layout settings of \pkg{floatrow} package are built similarly
% to \pkg{caption} ones and use |\floatsetup|\footnote{Some key and
@@ -416,8 +442,8 @@
% documentation (version 3.0 and later)}.
%
% \DescribeMacro{\floatsetup}
-% You may use layout settings stuff as \pkg{floatrow} option in |\usepackage|
-% line.
+% You may use layout settings stuff as \pkg{floatrow} option in
+% |\usepackage| line.
% \begin{quote}
% |\usepackage[|\meta{options}|]{floatrow}|
% \end{quote}
@@ -429,8 +455,8 @@
% \begin{quote}
% |\floatsetup{style=boxed,font=small}|
% \end{quote}
-% The lines above declare \texttt{boxed} style and |\small| font for float
-% contents. These settings were loaded for \emph{all} float types.
+% The lines above declare \texttt{boxed} style and |\small| font for
+% float contents. These settings were loaded for \emph{all} float types.
%
% The |\floatsetup| command has following form:
% \begin{quote}
@@ -443,31 +469,37 @@
% |\floatsetup[table]{style=Plaintop}|
% \end{quote}
% sets a special float style for tables (captions are placed above
-% float objects; in the case of beside floats inside \env{floatrow} environment
-% captions aligned by top line)\footnote{The keys, used in special settings for float
-% of one type, are always ``stronger'' than synonym keys in common setting. In other
-% words, if you want after example above to redefine float style for all floats with
-% \cmd{\floatsetup\{style={\normalfont \meta{option}}\}} you won't change tables---use
-% \cmd{\floatsetup[table]}\allowbreak\texttt{\{style={\normalfont \meta{option}}\}}
-% again.}.
+% float objects; in the case of beside floats inside \env{floatrow}
+% environment captions aligned by top line)\footnote{The keys,
+% used in special settings for float of one type, are always
+% ``stronger'' than synonym keys in common setting. In other words,
+% if you want after example above to redefine float style for all
+% floats with \cmd{\floatsetup\{style={\normalfont \meta{option}}\}}
+% you won't change tables---use
+% \cmd{\floatsetup[table]}\allowbreak
+% \texttt{\{style={\normalfont \meta{option}}\}} again.}.
%
% There are also special options of |\floatsetup| for settings for floats
-% in different positioning: two-column floats (starred environment, like \env{figure*}, you may also use,
-% for example, for wide floats) rotated floats etc.
-% The ``strength'' of options in the lists below decreases from
-% previous item to next one (examples based on \env{figure} environment):
+% in different positioning: two-column floats (starred environment, like
+% \env{figure*}, you may also use, for example, for wide floats) rotated
+% floats etc. The ``strength'' of options in the lists below decreases
+% from previous item to next one (examples based on \env{figure}
+% environment):
% \begin{itemize}\label{stsetorder}\itemsep0pt\parskip0pt
-% \item Wide or two-column floats (e.g. \env{figure*}, you may load special settings
-% for starred environments even in one-column document):
+% \item Wide or two-column floats (e.g. \env{figure*},
+% you may load special
+% settings for starred environments even in one-column document):
% \begin{itemize}
-% \item |\floatsetup[widefigure]|---the ``strongest'' settings; if they absent,
-% package uses settings from next item;
-% \item |\floatsetup[widefloat]|---these settings ``stronger'' than settings
-% from next item (|\floatsetup[figure]|); if they absent, package uses
-% settings from next item;
-% \item |\floatsetup[figure]|; if they absent, package uses settings from
-% optional argument in |\usepackage| line or |\floatsetup{...}| command;
-% if they absent---default package settings (see page~\pageref{sec:default});
+% \item |\floatsetup[widefigure]|---the ``strongest'' settings;
+% if they absent, package uses settings from next item;
+% \item |\floatsetup[widefloat]|---these settings ``stronger''
+% than settings from next item (|\floatsetup[figure]|);
+% if they absent, package uses settings from next item;
+% \item |\floatsetup[figure]|;
+% if they absent, package uses settings from
+% optional argument in |\usepackage| line or |\floatsetup{...}|
+% command; if they absent---default package settings
+% (see page~\pageref{sec:default});
% \end{itemize}
% \item Wrapped floats (\env{wrapfigure}):
% \begin{itemize}\itemsep0pt\parskip.5\parskip
@@ -481,9 +513,11 @@
% \item |\floatsetup[rotfloat]|;
% \item |\floatsetup[figure]|;
% \end{itemize}
-% \item Wide rotated floats (\env{sidewaysfigure*})\footnote{The settings for wide float
-% (\texttt{widefloat}, \texttt{widefigure}) removed---use settings
-% for \texttt{widerotfloat} and---here---\texttt{widerotfigure}}:
+% \item Wide rotated floats
+% (\env{sidewaysfigure*})\footnote{The settings
+% for wide float (\texttt{widefloat}, \texttt{widefigure})
+% removed---use settings for \texttt{widerotfloat}
+% and---here---\texttt{widerotfigure}}:
% \begin{itemize}\itemsep0pt\parskip.5\parskip
% \item |\floatsetup[widerotfigure]|;
% \item |\floatsetup[widerotfloat]|;
@@ -498,11 +532,11 @@
% \item setting of outer environments from previous items:
% \env{sidewaysfigure*}, \env{sidewaysfigure}, and \env{figure*}.
% \end{itemize}
-% Please note, that usage if \texttt{style=} key (see beginning of next section)
-% cancels settings for beside position of caption.
+% Please note, that usage of \texttt{style=} key (see beginning of next
+% section) cancels settings for beside position of caption.
% \end{itemize}
-% You can also create and change special settings for captions, using the
-% same \meta{float~type} options in |\captionsetup| stuff.
+% You can also create and change special settings for captions, using
+% the same \meta{float~type} options in |\captionsetup| stuff.
%
% The next few sections describe keys of |\floatsetup| macro.
%
@@ -531,7 +565,8 @@
% \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}%
+% \ttfamily\noindent
+% \vphantom{\small()\mpfootnotemark[1]}}p{#1}}#2\end{tabular}%
% \hspace*{-\tabcolsep}\ignorespaces}
% \emptyfloatpage
% \begin{tabularx}\hsize{|@{}l@{}|@{}l@{}|X|}
@@ -619,15 +654,16 @@
% \caption{Float layout styles}\label{tab:floatlayouts}%
%
% \floatfoot{When there is set float style with frame around object of
-% fitted to the text width (like \texttt{Boxed}, etc.), and \cmd{\floatbox}
-% macro uses \cmd{\FBwidth} command as \meta{width} option, which sets box
-% width equal to float object's width (see page~\pageref{sec:floatbox}),
-% the width of all float other elements in this case enlarged to get width
-% of framed object.}
+% fitted to the text width (like \texttt{Boxed}, etc.), and
+% \cmd{\floatbox} macro uses \cmd{\FBwidth} command as \meta{width}
+% option, which sets box width equal to float object's width (see
+% page~\pageref{sec:floatbox}), the width of all float other elements
+% in this case enlarged to get width of framed object.}
%
% \footnotetext[1]{The styles analogous to \pkg{float} package style.}
-% \footnotetext[2]{During usage of these styles in \env{floatrow} environment
-% you ought to enlarge space between floats, using key \texttt{floatrowsep}).}
+% \footnotetext[2]{During usage of these styles in
+% \env{floatrow} environment you ought to enlarge
+% space between floats, using key \texttt{floatrowsep}).}
% \end{sidewaystable}
% \label{setup:start}
%
@@ -672,28 +708,29 @@
% \end{quote}
%
% \DescribeMacro{footfont=}\label{sec:setfloatfoot}%^^A
-% Defines font for legends or
-% explications. This macro uses |\captionsetup| mechanism (because
-% |\floatfoot| macro uses \pkg{caption} mechanism). By default the font size of float
-% foot text equals to footnote text: |footfont=footnotesize|.
+% Defines font for legends or explications. This macro
+% uses |\captionsetup| mechanism (because |\floatfoot| macro
+% uses \pkg{caption} mechanism). By default the font size
+% of float foot text equals to footnote text: |footfont=footnotesize|.
%
% \subsubsection{Position of Caption and of Other Elements}
%
% \DescribeMacro{capposition=}
-% Defines position of captions. It is
-% similar to \texttt{position=} key in \pkg{caption} package, but it
-% has two additional options\footnote{The option \texttt{auto} isn't used by
-% \texttt{capposition=}.}: \texttt{TOP}, if you prefer to align
-% captions above objects, in the case of beside floats (in \env{floatrow} environment),
-% by the top line; and \texttt{beside} to put caption beside object (this option could
-% be more preferable in settings for one environment, see about
-% |\thisfloatsetup| on the page~\pageref{thisfloatsetup}):
+% Defines position of captions. It is similar to \texttt{position=}
+% key in \pkg{caption} package, but it has two additional
+% options\footnote{The option \texttt{auto} isn't used by
+% \texttt{capposition=}.}: \texttt{TOP}, if you prefer to align captions
+% above objects, in the case of beside floats (in \env{floatrow}
+% environment), by the top line; and \texttt{beside} to put caption
+% beside object (this option could be more preferable in settings
+% for one environment, see about |\thisfloatsetup| on the
+% page~\pageref{thisfloatsetup}):
% \begin{Options}{\OptionLabel}
% \item[top] caption above object (equals to |\captop| command);
% \item[TOP] caption above object and also aligned by top line in float
% row (equals to |\CAPTOP| command).
-% For example the \texttt{Plaintop} style is the variant of \texttt{plaintop}
-% where used |capposition=TOP| settings,
+% For example the \texttt{Plaintop} style is the variant of
+% \texttt{plaintop} where used |capposition=TOP| settings,
% see tables~\ref{tab:row:tabIII}--\ref{tab:row:tabIV};
% \item[bottom] caption below object (equals to |\capbot| command);
% \item[beside] caption beside object (equals to |\capbeside| command).
@@ -705,7 +742,8 @@
% \extrarowheight1pt
% \ttabbox
% {\caption[Beside table~I long header]%^^A
-% {Beside table~I with long long long top aligned caption}\label{tab:row:tabIII}}%^^A
+% {Beside table~I with long long long top aligned caption}%^^A
+% \label{tab:row:tabIII}}%^^A
% {\begin{tabular}{|l|>{\phantom0}c|>{\phantom0}c|}
% \hline
% \multirowthead{2}[-1ex]{Left Column Head}
@@ -754,8 +792,8 @@
% \item[right]
% caption is printed to the right side of object;
% \item[inside]
-% caption is printed in binding side of page if |twoside| option switched on
-% in document class;
+% caption is printed in binding side of page if |twoside| option
+% switched on in document class;
% \item[outside]
% least popular option: caption printed in
% outer side of page if |twoside| option switched on
@@ -778,35 +816,36 @@
%
% \noindent
% \DescribeMacro{capbesidewidth=}
-% Defines width of beside caption (this option could be more preferable in settings
-% for one environment, see about |\thisfloatsetup| on the
+% Defines width of beside caption (this option could be more preferable
+% in settings for one environment, see about |\thisfloatsetup| on the
% page~\pageref{thisfloatsetup}). You may set:
% \begin{quote}
% |capbesidewidth=4cm|\quad.
% \end{quote}
-% If you'll write \texttt{capbesidewidth=none} or \texttt{capbesidewidth=sidefill}
-% (this is default key setting), the width of caption will be counted by usual way,
-% accordingly to float width (i.e. occupies the rest width of float
-% box, see figure~\ref{fig:beside:mouse} on the
-% page~\pageref{fig:beside:mouse}).
+% If you'll write \texttt{capbesidewidth=none} or
+% \texttt{capbesidewidth=sidefill} (this is default key setting), the
+% width of caption will be counted by usual way, accordingly
+% to float width (i.e. occupies the rest width of float box, see
+% figure~\ref{fig:beside:mouse} on the page~\pageref{fig:beside:mouse}).
%
% \noindent
% \DescribeMacro{capbesideframe=}
-% This boolean key declares whether beside caption stays
-% near framed object (\texttt{capbesideframe=yes}) in this case caption lines
-% aligned by top or bottom of frame; otherwise caption lines will be aligned with
-% top or bottom of framed object's \emph{contents} (\texttt{capbesideframe=no}).
+% This boolean key declares whether beside caption stays near framed object
+% (\texttt{capbesideframe=yes}) in this case caption lines aligned by top
+% or bottom of frame; otherwise caption lines will be aligned with top or
+% bottom of framed object's \emph{contents} (\texttt{capbesideframe=no}).
%
% \penalty-5000
-% \subsubsection{Defining Float Foot Position (Legends and Footnotes)}\label{sec:footposition}
+% \subsubsection{Defining Float Foot Position (Legends and Footnotes)}%
+% \label{sec:footposition}
%
% \DescribeMacro{footposition=}\label{foot:pos}%^^A
% Defines position of |\footnote|'s and |\floatfoot|'s in float box
% with above/below captions.
% \begin{Options}{\OptionLabel}
% \item[default]
-% if caption above float object foot material is placed below float object
-% otherwise---below caption;
+% if caption above float object foot material is placed below float
+% object otherwise---below caption;
% \item[caption]
% always placed below caption;
% \item[bottom]
@@ -824,7 +863,8 @@
% following options
% \begin{Options}{\OptionLabel}\samepage
% \item[all]
-% adjust both caption and object heights (e.g. for styles \texttt{Ruled} and \texttt{BOXED});
+% adjust both caption and object heights (e.g. for styles
+% \texttt{Ruled} and \texttt{BOXED});
% \item[caption]
% adjust caption heights (e.g. for styles \texttt{Plaintop});
% \item[object]
@@ -845,10 +885,11 @@
% \DescribeMacro{valign=}
% Defines vertical alignment of
% float objects in \env{floatrow} if |heightadjust=all| or
-% |heightadjust=object|, or |\floatbox| stuff uses \meta{height} argument with
-% value, larger than height of object. The options of this key analogous to
-% vertical alignment option in \env{minipage} environment and |\parbox| command. Default option is |c|
-% (centered vertical alignment).
+% |heightadjust=object|, or |\floatbox| stuff uses \meta{height}
+% argument with value, which differs from the height of object.
+% The options of this key analogous to vertical
+% alignment option in \env{minipage} environment and |\parbox|
+% command. Default option is |c| (centered vertical alignment).
% \begin{Options}{\OptionLabel}\samepage
% \item[t]
% aligns objects by top line;
@@ -866,7 +907,8 @@
% for floats. This key works if |twoside| option switched on in
% document class.
%
-% \subsubsection{Defining Float Margins and Object Settings}\label{sec:set:box}
+% \subsubsection{Defining Float Margins and Object Settings}
+% \label{sec:set:box}
%
% \DescribeMacro{margins=}
% Defines margins of alone float boxes with
@@ -902,8 +944,8 @@
% \item[RaggedRight]
% Each line of the object text will be moved to the left margin, too.
% But this time the command |\RaggedRight| of the \pkg{ragged2e} package
-% will be used to achieve this. This difference is that this time the word
-% breaking algorithm of \TeX\ will work inside the object text.
+% will be used to achieve this. This difference is that this time
+% the word breaking algorithm of \TeX\ will work inside the object text.
%
% \item[raggedleft]
% Each line of the object text will be moved to the right margin.
@@ -917,7 +959,8 @@
%
% \noindent
% \DescribeMacro{floatwidth=}
-% You may use this key for redefinition of width of floats below. You may use
+% You may use this key for redefinition of width of floats below.
+% You may use
% \begin{quote}
% |floatwidth=.6\hsize|
% \end{quote}
@@ -925,23 +968,23 @@
% \begin{quote}
% |floatwidth=7cm|
% \end{quote}
-% This key could be useful in settings
-% for one float environment (see about |\thisfloatsetup| on the page
+% This key could be useful in settings for one float
+% environment (see about |\thisfloatsetup| on the page
% \pageref{thisfloatsetup}).
%
-% If you use option \texttt{floatwidth=sidefill} for objects with beside captions
-% (in the case of key \texttt{capbesidewidth=} uses absolute value, like \texttt{4cm}) the
-% object (instead of caption) occupies the rest space of float box
-% (see appendix, figure~\ref{fig:capbeside:trick} on the
-% page~\pageref{fig:capbeside:trick})
+% If you use option \texttt{floatwidth=sidefill} for objects with beside
+% captions (in the case of key \texttt{capbesidewidth=} uses absolute
+% value, like \texttt{4cm}) the object (instead of caption) occupies the
+% rest space of float box (see appendix, figure~\ref{fig:capbeside:trick}
+% on the page~\pageref{fig:capbeside:trick})
%
% \subsubsection{Defining Float Separators}\label{sec:set:sep}
%
% \noindent
% \DescribeMacro{floatrowsep=}
% Sets separation material between beside float boxes (defined
-% by |\floatbox| macro etc., see page~\pageref{sec:floatbox}) inside \env{floatrow}
-% environment (see page~\pageref{sec:floatrow}).
+% by |\floatbox| macro etc., see page~\pageref{sec:floatbox})
+% inside \env{floatrow} environment (see page~\pageref{sec:floatrow}).
%
% \noindent
% \DescribeMacro{capbesidesep=}
@@ -973,8 +1016,9 @@
%
% \noindent
% \DescribeMacro{rowprecode=}
-% Defines skip, rule or other analogous code above alone float box, or, in the case of beside floats
-% inside \env{floatrow} environment, above float row (see page~\pageref{fig:rotrow:WcatI}).
+% Defines skip, rule or other analogous code above alone float box,
+% or, in the case of beside floats inside \env{floatrow} environment,
+% above float row (see page~\pageref{fig:rotrow:WcatI}).
%
% \noindent
% \DescribeMacro{midcode=}
@@ -987,8 +1031,9 @@
%
% \noindent
% \DescribeMacro{rowpostcode=}
-% Defines skip, rule or other analogous code below alone float box, or, in the case of beside floats
-% inside \env{floatrow} environment, below float row (see page~\pageref{fig:rotrow:WcatI}).
+% Defines skip, rule or other analogous code below alone float box, or,
+% in the case of beside floats inside \env{floatrow} environment,
+% below float row (see page~\pageref{fig:rotrow:WcatI}).
%
% For all these keys there are predefined following options (settings
% were taken from styles created in \pkg{float} package):
@@ -996,11 +1041,14 @@
% \item[none]
% absent code;
% \item[thickrule]
-% thick rule (.8pt) with 2pt vertical skip below---rule above float box in \texttt{ruled} style;
+% thick rule (.8pt) with 2pt vertical skip below---rule above float box
+% in \texttt{ruled} style;
% \item[rule]
-% rule of default thickness (.4pt), with 2pt vertical skips above and below---middle rule in \texttt{ruled} style;
+% rule of default thickness (.4pt), with 2pt vertical skips above and
+% below---middle rule in \texttt{ruled} style;
% \item[lowrule]
-% rule of default thickness (.4pt), with 2pt vertical skip above---rule below float box in \texttt{ruled} style;
+% rule of default thickness (.4pt), with 2pt vertical skip above---rule
+% below float box in \texttt{ruled} style;
% \item[captionskip]
% vertical skip equal to value, defined in |captionskip=| key.
% \end{Options}
@@ -1026,7 +1074,8 @@
% \item[shadowbox]
% frame with shadow, needs also \pkg{fancybox} package;
% \item[wshadowbox]
-% modified \texttt{shadowbox} frame (frame with ``white shadow''), needs also \pkg{fancybox} package;
+% modified \texttt{shadowbox} frame (frame with ``white shadow''),
+% needs also \pkg{fancybox} package;
% \end{Options}
%
% \noindent
@@ -1058,7 +1107,8 @@
%
% \noindent
% \DescribeMacro{colorframeset=}
-% Offered by \pkg{fr-fancy} package: defines
+% Offered by \pkg{fr-fancy} package\footnote{Use
+% \texttt{fancyboxes=yes} option in \cmd{\usepackage} line.}: defines
% concrete color box (default is standard |\fbox|).
% In current version you may use only |\fcolorbox| as color box. You
% may define your color box like
@@ -1069,10 +1119,10 @@
% \subsubsection{Defining Float Skips}
%
% \DescribeMacro{captionskip=}
-% Defines vertical space between caption
-% and float object in case of |midcode| key defined as
-% |midcode=captionskip|; or in case of usage of float styles (\texttt{style=} key)
-% \texttt{plain}, \texttt{plaintop} or \texttt{Plaintop}:
+% Defines vertical space between caption and float object
+% in case of |midcode| key defined as |midcode=captionskip|;
+% or in case of usage of float styles (\texttt{style=}
+% key) \texttt{plain}, \texttt{plaintop} or \texttt{Plaintop}:
% \begin{quote}
% |captionskip=10pt|\quad.
% \end{quote}
@@ -1088,14 +1138,18 @@
% |footskip=\skip\footins|\quad.
% \end{quote}
%
-% \subsubsection{Defining Float Footnote Rule's Style}\label{sec:footnotestyle}
+% \penalty-5000
+% \subsubsection{Defining Float Footnote Rule's Style}
+% \label{sec:footnotestyle}
%
% \DescribeMacro{footnoterule=}
% Defines type of footnote rule for footnotes inside float environment.
+% \begingroup
+% \makeatletter\@beginparpenalty10000\makeatother
% \begin{Options}{\OptionLabel}
% \item[normal]
-% standard \LaTeX{} definition, used in \env{minipage} environments, the width of it equals
-% to 0.4 of current with of text (|\columnwidth|);
+% standard \LaTeX{} definition, used in \env{minipage} environments, the
+% width of it equals to 0.4 of current with of text (|\columnwidth|);
% \item[limited]
% like previous one but max width of footnote rule equals to the value
% defined by |\frulemax| command, like:
@@ -1107,6 +1161,7 @@
% \item[none]
% Absent rule.
% \end{Options}
+% \endgroup
%
% \label{setup:end}
%
@@ -1124,12 +1179,15 @@
% before necessary environment. Command |\thisfloatsetup| could
% contain the same keys and options as in |\floatsetup|. It has
% only mandatory argument\footnote{The \cmd{\thisfloatsetup} defined
-% as abbreviation of \cmd{\floatsetup[tmpset]} command.}.\par\strut\par\kern-\baselineskip
+% as abbreviation of \cmd{\floatsetup[tmpset]} command.}.\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.
+%^^A Please note that |\thisfloatsetup| doesn't overwrite
+%^^A co-named key declarations from settings like
+%^^A |\floatsetup[|\meta{options}|]|---this command created e.g
+%^^A for temporary change of float or caption widths: keys
+%^^A \texttt{captionwidth=} \texttt{floatwidth=} do not used usually
+%^^A in |\floatsetup| stuff.
%
%
% \subsection{Clearing of Previous Float Type Settings}
@@ -1160,7 +1218,7 @@
% \item[heightadjust=none]
% \item[facing=no]
% \item[margins=centering]
-% \item[objectset=centering] ($\equiv$\texttt{justification=centering})
+% \item[objectset=centering] %^^A($\equiv$\texttt{justification=centering}, \pkg{caption})
% \item[floatrowsep=columnsep]
% \item[capbesidesep=columnsep]
% \item[precode=none]
@@ -1174,9 +1232,9 @@
%
% \subsection{Defining new options}
%
-% In the next few sections goes a small list of commands, which define key
-% options for |\floatsetup|. The examples of option definitions were taken
-% mainly from \pkg{floatrow} definitions.
+% In the next few sections goes a small list of commands, which
+% define key options for |\floatsetup|. The examples of option
+% definitions were taken mainly from \pkg{floatrow} definitions.
%
% \subsubsection{Float Style}
%
@@ -1198,8 +1256,8 @@
% \caption{%^^A
% Plain figure in \texttt{MyBoxed} style}%
% \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}}%
+% \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}
%
% The same result you get with:
@@ -1212,8 +1270,8 @@
% \subsubsection{Defining Float Rules/Skips}\label{ssec:decl:rule}
%
% \DescribeMacro{\DeclareFloatVCode}
-% This command defines the skip, rule or other analogous code above and below full float
-% box and between caption above/below and
+% This command defines the skip, rule or other analogous code above
+% and below full float box and between caption above/below and
% object. The defined option you may use in \texttt{rowprecode},
% \texttt{precode}, \texttt{midcode}, \texttt{postcode}, and
% \texttt{rowpostcode} keys.
@@ -1233,9 +1291,11 @@
% which you need to put before each object contents in float
% environment\footnote{You may also use key options declared by
% \cmd{\DeclareCaptionJustification} command of \pkg{caption} package
-% as options for \texttt{objectset=} key.}.\par\strut\par\kern-\baselineskip
+% as options for \texttt{objectset=} key.}.\par
+% \strut\par\kern-\baselineskip
%
-% \subsubsection{Float Box Alignment (and Some Other Settings)}\label{ssec:decl:marg}
+% \subsubsection{Float Box Alignment (and Some Other Settings)}
+% \label{ssec:decl:marg}
%
% \DescribeMacro{\DeclareMarginSet}\label{fsetup:besmarg}%^^A
% You may define box alignment for float box (\texttt{margins=} key) like:
@@ -1270,7 +1330,8 @@
% \end{quote}
% the |\floatfacing| defines following
% \begin{quote}
-% |\floatfacing{|\meta{odd page definition}|}{|\meta{even page definition}|}|
+% |\floatfacing{|\meta{odd page definition}|}{|\meta{even
+% page definition}|}|
% \end{quote}
% This macro has also starred form |\floatfacing*|,
% which you can use in key options for |\captionsetup| stuff.
@@ -1278,8 +1339,10 @@
% The |\setfloatmargins| consists of three macros which set margins
% for three main variants of float positions:
% \begin{Options}{\OptionLabel}
-% \item[\cmd{\floatboxmargins}]sets left/right margins around alone float box;
-% \item[\cmd{\floatrowmargins}]sets left/right margins around \env{floatrow} environment;
+% \item[\cmd{\floatboxmargins}]sets left/right margins around alone
+% float box;
+% \item[\cmd{\floatrowmargins}]sets left/right margins around
+% \env{floatrow} environment;
% \item[\cmd{\floatcapbesidemargins}]sets left/right margins around
% alone float box with beside caption.
% \end{Options}
@@ -1287,14 +1350,36 @@
% |\setfloatmargins|. The settings which use |\floatfacing| command
% work only in the case when key \texttt{facing=yes} used.
%
-% \emph{Note}. The \pkg{floatrow} expands some settings of table layout to the \env{longtable}
-% environment, so you may set |\LTleft| and |\LTright| parameters inside |\setfloatmargins|
-% command. For example, \texttt{centering} option was defined like:
+% \emph{Notes}. 1)\enskip The \pkg{floatrow} expands some settings of table layout
+% to the \env{longtable} environment, so you may set |\LTleft| and
+% |\LTright| parameters inside |\setfloatmargins| command. For example,
+% \texttt{centering} option was defined like:
% \begin{quote}
% |\DeclareMarginSet{centering}{\setfloatmargins{\hfill}{\hfill}%|\\
% | \LTleft=\fill \LTright=\fill}|
% \end{quote}
%
+% 2)\enskip The font settings loaded in |\floatsetup|
+% in \env{longtable} environment expand to captions.
+% In this case, when you write something like
+% \begin{quote}
+% |\floatsetup{font={sf,scriptsize,it}|
+% \end{quote}
+% or
+% \begin{quote}
+% |\floatsetup[longtable]{font={sf,scriptsize,it}|
+% \end{quote}
+% for floats (or for [long]tables only), you must restore correct
+% font size, family, and shape for caption contents and write:
+% \begin{quote}
+% |\captionsetup{font={rm,small,up}|
+% \end{quote}
+% or
+% \begin{quote}
+% |\captionsetup[longtable]{font={rm,small,up}|
+% \end{quote}
+%
+%
% \subsubsection{Defining Float Separators}
%
% \DescribeMacro{\DeclareFloatSeparators}\label{decl:sep}%^^A
@@ -1313,17 +1398,19 @@
% | \endgroup}|
% \end{quote}
%
-% You may use defined option by both \texttt{floatrowsep=} and \texttt{capbesidesep=}
-% keys\footnote{You may use key options declared by
-% \cmd{\DeclareCaptionLabelSeparator} command.}.\par\strut\par\kern-\baselineskip
+% You may use defined option by both \texttt{floatrowsep=} and
+% \texttt{capbesidesep=} keys\footnote{You may use key options declared
+% by \cmd{\DeclareCaptionLabelSeparator} command.}.\par\strut\par
+% \kern-\baselineskip
%
% \subsubsection{Float font}
%
% \DescribeMacro{\DeclareFloatFont}
-% With this macro you may define new
-% option for font (\texttt{font=} key) of float contents. This macro works like
-% |\DeclareCaptionFont| in \pkg{caption} package. (You may also use
-% key options declared by |\DeclareCaptionFont| command.)\par\strut\par\kern-\baselineskip
+% With this macro you may define new option
+% for font (\texttt{font=} key) of float contents. This macro works
+% like |\DeclareCaptionFont| in \pkg{caption} package. (You may also
+% use key options declared by |\DeclareCaptionFont| command.)\par
+% \strut\par\kern-\baselineskip
%
% \subsubsection{Defining Float Footnote Rule's Style}
%
@@ -1336,7 +1423,7 @@
% \end{quote}
% Remember, that summary vertical height for footnote rule must be
% equal to~0pt.
-%\newpage
+%
% \section{Creation of New Float Type}
%
% \DescribeMacro{\DeclareNewFloatType}
@@ -1372,17 +1459,17 @@
% \noindent
% \DescribeMacro{within=}
% Declares the section head of document, by which
-% current float resets its numbering to zero. If this key absent, float
-% increases during whole documentation.
+% current float resets its numbering to zero. If this key absent,
+% float increases during whole documentation.
%
% \noindent
% \DescribeMacro{relatedcapstyle=}
% In \pkg{float} package the non-starred
-% \cmd{\newfloat}/\cmd{\restylefloat} macros attach
-% related caption style for float styles (see section
-% \ref{sec:floatst}). If you use |\DeclareNewFloatType| mechanism and exists (you created
-% it by |\captionsetup|) co-named, i.e. related, caption style you may attach this
-% style with key \texttt{relatedcapstyle=yes}.
+% \cmd{\newfloat}/\cmd{\restylefloat} macros attach related
+% caption style for float styles (see section \ref{sec:floatst}).
+% If you use |\DeclareNewFloatType| mechanism and exists (you created
+% it by |\captionsetup|) co-named, i.e. related, caption style
+% you may attach this style with key \texttt{relatedcapstyle=yes}.
% %^^A \begin{quote}
% %^^A |\captionsetup[figure]{style=ruled}|
% %^^A \end{quote}
@@ -1399,8 +1486,8 @@
%
% \subsection{\pkg{float} Package: Compatibility}\label{sec:floatst}
%
-% The \pkg{floatrow} package includes some macros of \pkg{float} (version
-% v1.3d, dated 2001/11/08)
+% The \pkg{floatrow} package includes some macros of \pkg{float}
+% (version v1.3d, dated 2001/11/08)
% with necessary modifications. In the case of loaded \pkg{float}
% package before \pkg{floatrow} you'll get error message.
%
@@ -1408,35 +1495,37 @@
% In the case of some packages
% could call \pkg{float} package\footnote{I'm aware about \pkg{algorithm}
% package.} the \pkg{floatrow} package loads code which emulates
-% already loaded \pkg{float} package v1.3, so next requests for \pkg{float} are ignored.
-% This will help to avoid strange error messages
+% already loaded \pkg{float} package v1.3, so next requests for
+% \pkg{float} are ignored. This will help to avoid strange error messages
% in the case of these packages loaded \emph{after} \pkg{floatrow}.
% Please note that packages, which load \pkg{float} must be loaded
% \emph{after} \pkg{floatrow}.
%
% I hope that old documents could work with \pkg{floatrow}. The first
% limitation or feature is---if you didn't use any |\restylefloat|
-% command---all figures and tables appear in \texttt{plain} float style with
-% bottomed captions. Another limitation---you ought to put all
+% command---all figures and tables appear in \texttt{plain} float style
+% with bottomed captions. Another limitation---you ought to put all
% |\newfloat| and |\floatstyle| and |\restylefloat| commands in
% preamble, before |\begin{document}|. The commands |\restylefloat|,
-% |\newfloat| and |\floatstyle| are obsolete but supported\footnote{The better way is to use
-% \cmd{\floatsetup} macros. The \pkg{floatrow} package supports obsolete macros but there
-% is no guarantee.}. See also
+% |\newfloat| and |\floatstyle| are obsolete but
+% supported\footnote{The better
+% way is to use \cmd{\floatsetup} macros. The \pkg{floatrow} package
+% supports obsolete macros but there is no guarantee.}. See also
% section~\ref{float-obs} about translation of these commands
% into |\floatsetup| command.
%
% Sections, signed with ``[\pkg{float}]'' were borrowed from
% \pkg{float}'s documentation.
%
-% \subsubsection{The User Interface---New Floats [\pkg{float}]}\label{sec:floatborrowI}
+% \subsubsection{The User Interface---New Floats [\pkg{float}]}
+% \label{sec:floatborrowI}
%
% \DescribeMacro{\newfloat}
% The most important command in \pkg{float}
-% is the |\newfloat| command\footnote{It doubles the \cmd{\DeclareNewFloatType}
-% command.}. It is patterned on
-% |\newtheorem|. The |\newfloat| command takes three required and one
-% optional argument; it is of the form
+% is the |\newfloat| command\footnote{It doubles the
+% \cmd{\DeclareNewFloatType} command.}. It is patterned on
+% |\newtheorem|. The |\newfloat| command takes three required and
+% one optional argument; it is of the form
% \begin{quote}
% \hspace*{\MacroIndent}|\newfloat{|\meta{type}|}{|^^A
% \meta{placement}|}{|\meta{ext}|}[|\meta{within}{\tt]}
@@ -1542,11 +1631,11 @@
% style. Please note that \texttt{plain} and \texttt{boxed} float
% styles have not any special settings in \pkg{caption} 3.x package.
% To emulate \texttt{boxed} style from \pkg{float} documentation there
-% were: cleared all special caption settings for tables, and restored default
-% colon separator after label.}. There is a |\restylefloat*| command
-% which will restyle an existing float type but will keep the new
-% float style from taking over the |\caption| command. In this case
-% the user is responsible for handling their own captions.
+% were: cleared all special caption settings for tables, and restored
+% default colon separator after label.}. There is a |\restylefloat*|
+% command which will restyle an existing float type but will keep the
+% new float style from taking over the |\caption| command. In this
+% case the user is responsible for handling their own captions.
% \DeleteShortVerb{\|}
% %^^AEmulation of float's documentation settings
% %^^A\floatstyle{boxed}
@@ -1567,8 +1656,8 @@
% 6 & 1&6&15&20&15&6&1\\
% 7 & 1&7&21&35&35&21&7&1
% \end{tabular} \end{center}
-% \caption{Pascal's triangle. This is a re-styled \LaTeX\ \texttt{table}.%
-% \label{table1}}
+% \caption{Pascal's triangle. This is a re-styled \LaTeX\
+% \texttt{table}.\label{table1}}
% \end{table}
% \endgroup
% \MakeShortVerb{\|}
@@ -1585,10 +1674,11 @@
% \end{quote}
% Please note that co-named keys from |\floatsetup|\oarg{float}|{...}|
% will overwrite the |\floatsetup{...}| settings. That means that if you
-% set float layout with these obsolete commands, the next layout tuning you
-% ought to do with |\floatsetup|\oarg{float}|{...}| stuff only.
+% set float layout with these obsolete commands, the next layout tuning
+% you ought to do with |\floatsetup|\oarg{float}|{...}| stuff only.
%
-% \subsubsection{Printing of Float List [\pkg{float}]}\label{sec:floatborrowIa}
+% \subsubsection{Printing of Float List [\pkg{float}]}
+% \label{sec:floatborrowIa}
%
% \nobreak\DescribeMacro{\listof}
% \nopagebreak
@@ -1658,17 +1748,48 @@
% ^^A\caption{Could it be that this just needs a caption?}
% \end{table}
%
+% \subsubsection{The {[H]}
+% Placement Specifier---Managing of Page Breaks}\label{sec:listpen}
+%
+% During usage of |[H]| option I found that it is necessary
+% to set common penalties before and after ``anchored'' floats.
+%
+% The rules for page breaking around such floats similar to
+% page breaking of lists in the book.
+%
+% To follow the idea of |\allowdisplaybreaks| command from
+% \pkg{amsmath} package there is created a beta-temp\footnote{I suppose
+% that there will be created such support in \pkg{paralist} package
+% and think it is better to follow one grammar for similar
+% situations.} version
+% of \pkg{listpen} package, which offers following commands:
+% \begin{Options}{\OptionLabel}
+% \item[\cmd{\allowprelistbreaks}]sets penalty before lists
+% (and also ``anchored'' floats);
+% \item[\cmd{\allowpostlistbreaks}]sets penalty after lists;
+% \item[\cmd{\allowitembreaks}]sets penalty between list items.
+% \end{Options}
+% All they set globally, inside group or inside
+% environments the penalties accordingly to digits
+% from |[-4]| (never break) to |[4]| (always break). The positive
+% values of optional argument in these commands analogous to values
+% of optional arguments in |\pagebreak| command. The negative
+% ones---to optional arguments |[1]|--|[4]| in |\nopagebreak| command.
+% The default value of all three commands is |[-1]| which equal
+% to settings of standard \LaTeX{} classes: \cls{book}, \cls{article}
+% etc. (|[-1]| option equal to |-\@lowpenalty| value).
+%
% \subsection{\pkg{rotfloat} Package}
%
% Code of \pkg{rotfloat} package was also borrowed by \pkg{floatrow}
-% package. In the case of loaded \pkg{rotfloat} package before \pkg{floatrow} you will get
-% error message.
+% package. In the case of loaded \pkg{rotfloat} package before
+% \pkg{floatrow} you will get error message.
%
% The \pkg{floatrow} package loads code which pretends that
% \pkg{rotfloat} already loaded, so next loads are ignored.
% The \pkg{rotfloat} allowed in the |\usepackage|
-% line with \pkg{rotating} package, which could have options. It is necessary
-% to delete \pkg{rotfloat} package from |\usepackage| line
+% line with \pkg{rotating} package, which could have options. It is
+% necessary to delete \pkg{rotfloat} package from |\usepackage| line
% where also \pkg{rotating} package loaded with options: otherwise
% you may get `option clash' error message.
%
@@ -1710,14 +1831,16 @@
% \item[\meta{height}]the height of object---caption box
% (in case of caption above or below object),
% or height of object box (if caption stays beside object);
-% \item[\meta{vert pos}]vertical alignment of object contents in object's
-% box in case of \meta{height} argument has larger value than height of object contents,
-% float placed inside \env{floatrow}.
-% \item[\meta{caption}]text of caption and legends (you may use |\floatfoot|
-% command (see page~\pageref{subsec:floatfoot}); you may also use
-% |\footnote|/|\mpfootnotemark|/|\footnotetext| stuff for footnotes inside float, or |\floatfoot| command;
+% \item[\meta{vert pos}]vertical alignment of object contents in
+% object's box in case of \meta{height} argument has larger value than
+% height of object contents, float placed inside \env{floatrow}.
+% \item[\meta{caption}]text of caption and legends (you may use
+% |\floatfoot| command (see page~\pageref{subsec:floatfoot}); you
+% may also use |\footnote|/|\mpfootnotemark|/|\footnotetext| stuff
+% for footnotes inside float, or |\floatfoot| command;
% \item[\meta{object}]Contents of float; you may use
-% |\footnote|/|\mpfootnotemark|/|\footnotetext| stuff or |\floatfoot| command.
+% |\footnote|/|\mpfootnotemark|/|\footnotetext| stuff or
+% |\floatfoot| command.
% \end{description}
%
% \begingroup
@@ -1739,10 +1862,10 @@
% \end{figure}%
% \endgroup
%
-% The more preferable way for usage of |\floatbox| is to put table caption \emph{above} table
-% contents and set caption width equal to table width. Caption
-% position was defined in document preamble by command
-% |\floatsetup[table]{style=Plaintop}|
+% The more preferable way for usage of |\floatbox| is to put table
+% caption \emph{above} table contents and set caption width equal
+% to table width. Caption position was defined in document preamble
+% by command |\floatsetup[table]{style=Plaintop}|
%\begin{verbatim}
%\begin{table}
%\floatbox{table}[\FBwidth] {\caption{Simple tabular in
@@ -1776,13 +1899,13 @@
% \end{table}%
% \MakeShortVerb{\|}%
% as shown in table~\ref{tab:tabII}. To fit size of caption (i.e full
-% float box) to size of \env{tabular} environment there was used |\FBwidth|
-% command in \meta{width} argument.
+% float box) to size of \env{tabular} environment there was used
+% |\FBwidth| command in \meta{width} argument.
%
% The next example shows \env{figure} environment with beside caption.
% In this example only |\capbeside| command used in \meta{preamble}
-% argument, and |\FBwidth| in \meta{width} argument. The
-% caption occupies the rest space of float box's width, |\hsize| (in current
+% argument, and |\FBwidth| in \meta{width} argument. The caption
+% occupies the rest space of float box's width, |\hsize| (in current
% example the width float box equals to main text width---|\textwidth|).
%
%\begin{verbatim}
@@ -1798,15 +1921,16 @@
% 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
+% {{\setlength\unitlength{4cm/58}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}}
% \end{figure}
%
% The default width of beside object and caption are equal to one
-% ``column'' width, i.e. half of current |\hsize| (figure~\ref{intro:beside}) width excluding float
-% margins and separation material between float and caption. (See more
-% examples with float and beside captions in appendix,
-% page~\pageref{fig:Idog:w}.)
+% ``column'' width, i.e. half of current |\hsize|
+% (figure~\ref{intro:beside}) width excluding float margins and
+% separation material between float and caption. (See more examples
+% with float and beside captions in appendix, page~\pageref{fig:Idog:w}.)
%
%
% \subsubsection{User Commands for Float Boxes}
@@ -1832,9 +1956,9 @@
% or |\thisfloatsetup| stuff);
% \item[\meta{default width}]here you put any dimension like |6cm|
% or |.75\textwidth|\footnote{There is also exists possibility to set
-% common width for current float type of float using \texttt{floatwidth}
-% key in \cmd{\floatsetup} stuff.}; if you put |\FBwidth|
-% command the width of object---caption box (in case of
+% common width for current float type of float using
+% \texttt{floatwidth} key in \cmd{\floatsetup} stuff.}; if you
+% put |\FBwidth| command the width of object---caption box (in case of
% caption above or below object---there could be defined
% |\nocapbeside| in \meta{preamble}) or width of object box (if caption
% stays beside object---|\capbeside| in \meta{preamble}) will be equal
@@ -1848,8 +1972,8 @@
% |\newfloatcommand{ttabbox}{table}[\captop][\FBwidth]|
% \end{quote}
% First two defined for figures and last one---for table. You may
-% redefine existing macros using |\renewfloatcommand| command (it uses the same
-% arguments as |\newfloatcommand| one).
+% redefine existing macros using |\renewfloatcommand| command (it uses
+% the same arguments as |\newfloatcommand| one).
%
%
% \subsection{Building Float Row}\label{sec:floatrow}
@@ -1867,15 +1991,16 @@
% |\end{floatrow}|
% \end{quote}
%
-% And here is example. The first float (used |\ffigbox|) has default width equal to
-% ``column'' width, the next uses width of included graphic (uses command
-% |\FBwidth| in optional argument \meta{width}), third one occupies the rest
-% horizontal space of page which was counted with command |\Xhsize|.
+% And here is example. The first float (used |\ffigbox|) has default
+% width equal to ``column'' width, the next uses width of included
+% graphic (uses command |\FBwidth| in optional argument \meta{width}),
+% third one occupies the rest horizontal space of page which was
+% counted with command |\Xhsize|.
%
-% \emph{Note}. Usually the command |\Xhsize| is used for the last float box. But
-% if you use \pkg{calc} package you may try to use |\Xhsize| earlier,
-% if the \emph{absolute} value of the width of float boxes to the
-% right in float row is known, or set something in \meta{width}
+% \emph{Note}. Usually the command |\Xhsize| is used for the last float
+% box. But if you use \pkg{calc} package you may try to use |\Xhsize|
+% earlier, if the \emph{absolute} value of the width of float boxes to
+% the right in float row is known, or set something in \meta{width}
% argument like |\Xhsize/2| and then |\Xhsize| for two last
% |\floatbox|'es, see sample files~\file{frsample10}--\file{frsample12},
% and also sample file \file{fr-sample.tex}.
@@ -1900,38 +2025,43 @@
% \ffigbox
% {\caption{Beside figure~I, ``column'' width}%
% \label{fig:row:WcatI}}
-% {\unitlength1.25\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.25\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
%
% \ffigbox[\FBwidth]
-% {\caption{Beside figure~II in \env{floatrow}, float box has the width of graphic}%
+% {\caption{Beside figure~II in \env{floatrow}, float box has the
+% width of graphic}%
% \label{fig:row:BcatI}}
-% {\unitlength1.25\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.25\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheBlackCat.picture}}
%
% \ffigbox[\Xhsize]
% {\caption{Beside figure~III in \env{floatrow},
% occupies the rest of row}%
% \label{fig:row:mouseI}}
-% {{\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {{\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}}
% \end{floatrow}
% \end{figure}%
% The result you see in the row of
% figures~\ref{fig:row:WcatI}--\ref{fig:row:mouseI}. The vertical
-% alignment of floats lays on the bottom of upper part (here: objects) of float and
-% the top of lower part (captions).
+% alignment of floats lays on the bottom of upper part (here: objects)
+% of float and the top of lower part (captions).
%
-% \subsection{Usage of Footnotes Inside Float Environment}\label{sec:floatfootnote}
+% \subsection{Usage of Footnotes Inside Float Environment}
+% \label{sec:floatfootnote}
%
% Sometimes table or figure contents have material, which authors mark
-% and then write some explanation like footnotes. Current package has mechanism
-% which allows to put footnotes inside float environment, in the same way as
-% is in \env{minipage} environment.
+% and then write some explanation like footnotes. Current package has
+% mechanism which allows to put footnotes inside float environment, in
+% the same way as is in \env{minipage} environment.
%
% In the case of few elements have the same footnote, we cannot
-% use standard |\footnotemark|---|\footnotetext| combination, because of
-% |\footnotemark| creates the sign of main text footnote.
+% use standard |\footnotemark|---|\footnotetext| combination, because
+% of |\footnotemark| creates the sign of main text footnote.
% For these cases current package offers |\mpfootnotemark| macro
% instead of |\footnotemark|%
% \footnote{The same macro also is defined in \pkg{footmisc} package,
@@ -1948,8 +2078,8 @@
% which could not put in caption contents and they are definitely not
% a footnote you may use |\floatfoot| command. The |\floatfoot| is
% build by usage of |\caption| stuff and uses caption's justification,
-% but star form (|\floatfoot*|) prints its contents as plain unindented paragraph
-% (see table~\ref{tab:floatfoot}).
+% but star form (|\floatfoot*|) prints its contents as plain unindented
+% paragraph (see table~\ref{tab:floatfoot}).
%
% For defining of explication font use \texttt{footfont=} key
% (page~\pageref{sec:setfloatfoot}) in |\floatsetup|. You may try to
@@ -2000,14 +2130,15 @@
% inside one float box, the |\floatfoot| appears above |\footnote|
% contents.
%
-% 3)\enskip Foot material (footnotes and text in floatfoot) can be placed in
-% several variants: at the very bottom of float box, below caption
+% 3)\enskip Foot material (footnotes and text in floatfoot) can be placed
+% in several variants: at the very bottom of float box, below caption
% (even if caption is above float object). See page \pageref{foot:pos}
% and sample file \file{frsample01.tex}. In case of caption beside
% float object, footnotes and foot text always placed below caption.
%
%
-% \subsection{Fine Tuning of Vertical Spaces of Float}\label{sec:FBabskips}
+% \subsection{Fine Tuning of Vertical Spaces of Float}
+% \label{sec:FBabskips}
%
% At the final variant of document you may need to correct vertical
% spaces between float and main text, between float object and
@@ -2018,8 +2149,9 @@
% \begin{verse}
% |\renewcommand\FBaskip{-4pt}|
% \end{verse}
-% to move up float box up (or reduce space above) by 4pt. In current document
-% the |\FBaskip| command was necessary for moving up some of wrapped figures.
+% to move up float box up (or reduce space above) by 4pt. In current
+% document the |\FBaskip| command was necessary for moving up
+% some of wrapped figures.
%
% Use |\vspace| command for vertical space correction around float
% object\footnote{The plain float environment allows usage of
@@ -2030,11 +2162,11 @@
%
% \subsection{Running Raw \LaTeX\ Floats}
%
-% The \pkg{floatrow} package redefines float environments for the case of creation of
-% common layout for all floats. This redefinition creates some limitations for source document file,
-% which were mentioned in introduction.
-% If you still need a raw behavior of float environment, you may input a
-% |\RawFloats| command \emph{inside} environment:
+% The \pkg{floatrow} package redefines float environments for the case
+% of creation of common layout for all floats. This redefinition creates
+% some limitations for source document file, which were mentioned in
+% introduction. If you still need a raw behavior of float environment,
+% you may input a |\RawFloats| command \emph{inside} environment:
%\begin{verbatim}
%\begingroup
%\captionsetup[table]{position=top}
@@ -2051,8 +2183,8 @@
%\endgroup
%\end{verbatim}
% And you'll get figure~\ref{Right:expect:fig}
-% and table~\ref{Right:expect:tab}\footnote{That could work correct if you do not use any
-% fancy float layout.}.
+% and table~\ref{Right:expect:tab}\footnote{That could work correct if
+% you do not use any fancy float layout.}.
% \begingroup
% \captionsetup[table]{position=top}
% \begin{figure}\RawFloats
@@ -2062,13 +2194,15 @@
% \end{minipage}
% \begin{minipage}{0.45\textwidth}
% \captionof{table}{A table caption in raw \LaTeX}\label{Right:expect:tab}
-% \centering\tabcolsep3\tabcolsep \begin{tabular}{|c|c|} A & B \\ C & D \end{tabular}
+% \centering\tabcolsep3\tabcolsep
+% \begin{tabular}{|c|c|} A & B \\ C & D \end{tabular}
% \end{minipage}
% \end{figure}
% \endgroup
%
-% You may see that \env{floatrow} environment and |\floatbox| commands still work
-% after |\RawFloats| (figure~\ref{intro:leftfig:raw} and table~\ref{intro:righttab:raw})
+% You may see that \env{floatrow} environment and |\floatbox| commands
+% still work after |\RawFloats| (figure~\ref{intro:leftfig:raw} and
+% table~\ref{intro:righttab:raw})
%\begin{verbatim}
%\begin{figure}\RawFloats\CenterFloatBoxes
% \begin{floatrow}
@@ -2088,13 +2222,16 @@
% \label{intro:leftfig:raw}}%
%
% \floatbox{table}[\FBwidth]
-% {\caption{A table caption in \cmd{\floatbox} in raw \LaTeX}\label{intro:righttab:raw}}
-% {\tabcolsep3\tabcolsep\begin{tabular}{|c|c|} A & B \\ C & D \end{tabular}}
+% {\caption{A table caption in \cmd{\floatbox} in raw
+% \LaTeX}\label{intro:righttab:raw}}
+% {\tabcolsep3\tabcolsep
+% \begin{tabular}{|c|c|} A & B \\ C & D
+% \end{tabular}}
% \end{floatrow}
% \end{figure}%^^A
-% See also page~\pageref{mixrow} about how to set and align different float types
-% like figure~\ref{intro:leftfig:raw} and table~\ref{intro:righttab:raw} in one row
-% (\env{floatrow} environment).
+% See also page~\pageref{mixrow} about how to set and align different
+% float types like figure~\ref{intro:leftfig:raw} and
+% table~\ref{intro:righttab:raw} in one row (\env{floatrow} environment).
%
%
% \section{Style Tandems}
@@ -2107,7 +2244,7 @@
%
% \subsection{The \pkg{caption} Package}
%
-% Tested with versions v3.0a--v3.0g.
+% Tested with versions v3.0a--v3.0i.
%
% The \pkg{caption} package has strong mechanism of creating of
% caption layout, so \pkg{floatrow} addresses the creation of new
@@ -2115,8 +2252,8 @@
% package).
%
% The \pkg{floatrow} adds possibility to create a variations of captions
-% for floats in different positions or layouts (e.g. like wide or two-column
-% floats or rotated floats) using optional argument of
+% for floats in different positions or layouts (e.g. like wide or
+% two-column floats or rotated floats) using optional argument of
% |\captionsetup|.
%
% For example you want to create special caption layout for wide or
@@ -2137,7 +2274,8 @@
%
% \subsection{The \pkg{subfig} Package}
%
-% Tested with version 1.2 dated 2004/01/28 and 1.3. dated 2005/06/28.\nopagebreak
+% Tested with version 1.2 dated 2004/01/28 and 1.3.
+% dated 2005/06/28.\nopagebreak
%
% The example with \cmd{\subfloat}'s (table~\ref{tab:tabIII}). The
% setting command in preamble |\floatsetup[table]{style=Plaintop}|
@@ -2149,15 +2287,16 @@
% \floatbox{table}[\FBwidth]
% {\caption{Two ...}\label{...}}
% {\begin{subfloatrow}
-% \subfloat[First table]
-% {\begin{tabular}{|l|c|c|}
-% ...
+% \subfloat[First subtable]
+% {\begin{tabular}{...}
+% ...
% \end{tabular}}
-% \subfloat[Second table]
-% {\begin{tabular}{|l|c|c|}
-% ...
-% \end{tabular}%
-% \end{subfloatrow}}}
+%
+% \subfloat[Second subtable with long long long subcaption]
+% {\begin{tabular}{...}
+% ...
+% \end{tabular}}%
+% \end{subfloatrow}}
%\end{table}
%\end{verbatim}
% \DeleteShortVerb{\|}%
@@ -2195,7 +2334,6 @@
% First row & \phantom01 & \phantom02 \\
% Second row & \phantom03 & \phantom04 \\
% Third row & \phantom06 & \phantom08 \\
-% %^^A Fourth row & 10 & 16 \\
% \hline
% \end{tabular}}%
% \end{subfloatrow}}
@@ -2205,9 +2343,9 @@
% \emph{Note.} There was used \env{subfloatrow} environment in current
% example. This is simplified \env{floatrow} environment, which
% expands vertical alignment of float contents to subfloats and
-% puts horizontal separator,
-% defined by \texttt{subfloatrowsep=} key. This key and uses the same options as
-% \texttt{floatrowsep=} and \texttt{capbesidesep=} keys (options of
+% puts horizontal separator, defined by \texttt{subfloatrowsep=}
+% key. This key and uses the same options
+% as \texttt{floatrowsep=} and \texttt{capbesidesep=} keys (options of
% these keys defined by |\DeclareFloatSeparators| command,
% page~\pageref{decl:sep}).
%
@@ -2224,23 +2362,27 @@
%
% The next goes example with beside caption (see
% figure~\ref{fig:subfig:catsI}).%^^A
-% \footnote{In version 1.2 the beside boxed and non-boxed subfloat contents (like in
-% figure~\ref{fig:subfig:catsI}) could not get aligned bottom (top)
-% subcaptions. In this example I ought to use following lines for
-% subfigure~\ref{subfig:b}, when \pkg{pstricks} package is loaded:\\[2ex]\ttfamily
-% \cmd{\raisebox}\{\cmd{\depth}\}\{\cmd{\input}\{\texttt{TheBlackCat.picture}\}\}}
+% \footnote{In version 1.2 the beside boxed and non-boxed subfloat
+% contents (like in figure~\ref{fig:subfig:catsI}) could not get aligned
+% bottom (top) subcaptions. In this example I ought to use following
+% lines for subfigure~\ref{subfig:b}, when \pkg{pstricks} package is
+% loaded:\\[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}}
+% {\begin{subfloatrow}
+% \subfloat[White cat\label{subfig:w}]{%
+% {\input{TheCat.picture}}}
+%
+% \subfloat[Black cat\label{subfig:b}]{\input{TheBlackCat.picture}}%
+% \end{subfloatrow}}
%{\caption{...}}
%\end{verbatim}
-% \floatsetup[figure]{style=Shadowbox,capbesidesep=columnsep,capbesideframe=yes,
-% capbesideposition={top,inside}}
+% \floatsetup[figure]{style=Shadowbox,capbesidesep=columnsep,
+% capbesideframe=yes,capbesideposition={top,inside}}
% \begin{figure}[h]
% \fcapside[\FBwidth]
% {\begin{subfloatrow}
@@ -2258,18 +2400,20 @@
%
% \begingroup
% \def\FBaskip{-12pt}
-% \floatsetup[figure]{style=ruled,relatedcapstyle=yes,footposition=caption}
+% \floatsetup[figure]{style=ruled,relatedcapstyle=yes,
+% footposition=caption}
% \begin{wrapfigure}[10]{O}{40mm}
%^^A \ffigbox[40mm]
% {\caption{Wrapped plain figure (\pkg{wrapfig} package)}%
% \floatfoot{Plain figure fails with package version
% 3.3}\label{fig:wrapfig:WcatI}}
-% {\unitlength1.2\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.2\unitlength
+% \ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
% \end{wrapfigure}
%
-% Tested with version 3.3 dated 1999/10/12 (style from \pkg{ltxmisc} bundle)
-% and 3.6 dated 2003/01/31 (the separate \LaTeX\ package).
+% Tested with version 3.3 dated 1999/10/12 (style from \pkg{ltxmisc}
+% bundle) and 3.6 dated 2003/01/31 (the separate \LaTeX\ package).
%
% Options for environment (text borrowed from package comments):
% \begin{quote}
@@ -2298,16 +2442,18 @@
% \floatsetup[figure]{style=BOXED,frameset={\fboxsep12pt}}
% \begin{wrapfigure}[14]{O}{0mm}
% \ffigbox[40mm]
-% {\par{\setlength\unitlength{\hsize/64}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\par{\setlength\unitlength{\hsize/64}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}}
% {\caption{Wrapped figure in \cmd{\ffigbox} (\pkg{wrapfig} package)}%
% \label{fig:wrapfig:WcatII}}
% \end{wrapfigure}
%
% \emph{Floatrow note.}
-% For figure, placed in \env{wrap...} environment you must set width in
-% mandatory argument. If you'll write \texttt{0mm} as \marg{width of figure}
-% argument, \pkg{wrapfig} package will count natural width of float contents.
+% For figure, placed in \env{wrap...} environment you must set width
+% in mandatory argument. If you'll write \texttt{0mm} as \marg{width
+% of figure} argument, \pkg{wrapfig} package will count natural width
+% of float contents.
%
% Sometimes above (below) float box in \env{wrap...} environment
% appears unwanted space. To correct vertical position, use |\FBaskip|
@@ -2317,19 +2463,21 @@
%
% You may create settings for \env{wrap...} environment, there are
% following priorities
-% (Please note that you can load also special caption settings with |\captionsetup| stuff.):
+% (Please note that you can load also special caption settings with
+% |\captionsetup| stuff.):
% \begin{itemize}\itemsep0pt
% \item %
% if exists |\floatsetup[wrap|\meta{captype}|]{...}|
-% \pkg{floatrow} uses these settings---they are the ``strongest'' settings;
-% if they absent---uses settings of next item;
+% \pkg{floatrow} uses these settings---they are the ``strongest''
+% settings; if they absent---uses settings of next item;
%^^A \end{itemize}
%
%^^A \begin{itemize}
% \item
% if exists |\floatsetup[wrapfloat]{...}|
-% \pkg{floatrow} uses these settings---these settings ``stronger'' than next ones;
-% if they absent---settings of current float\\[\medskipamount]
+% \pkg{floatrow} uses these settings---these settings ``stronger''
+% than next ones; if they absent---settings of current
+% float\\[\medskipamount]
% |\floatsetup[|\meta{captype}|]{...}|\,;\\[\medskipamount]
% if they absent---uses default settings
% (|\floatsetup{...}| or package settings).
@@ -2340,11 +2488,12 @@
%
% The usage of plain float environment in version 3.3 will
% not succeed with current version of \pkg{floatrow}---use |\floatbox|
-% stuff. The version 3.6 allows usage of plain \env{wrap...} environment with \texttt{plain} (or
-% \texttt{ruled}) styles, but
-% the framed styles, like \texttt{Boxed} (where text inside frames changes its |\hsize| to fit
-% frames, fitted to defined |\hsize|)
-% could work only with |\floatbox| macro, otherwise you'll get incorrect widths and layout.
+% stuff. The version 3.6 allows usage of plain \env{wrap...}
+% environment with \texttt{plain} (or \texttt{ruled}) styles, but
+% the framed styles, like \texttt{Boxed} (where text inside frames
+% changes its |\hsize| to fit frames, fitted to defined |\hsize|)
+% could work only with |\floatbox| macro, otherwise you'll get
+% incorrect widths and layout.
% \endgroup
%
% \begingroup
@@ -2353,7 +2502,8 @@
%
% \begin{floatingfigure}[v]{40mm}\def\FBaskip{-2.5pt}
% \ffigbox[42mm]
-% {\setlength\unitlength{.85\hsize/60}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\setlength\unitlength{.85\hsize/60}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackDog.picture}}
% {\caption{\hyphenpenalty-100\pretolerance-1%
% Wrapped figure inside \env{floating\-figure} environment
@@ -2366,8 +2516,8 @@
% \emph{Founded limitations} 1)\enskip There is not support for
% creation of new \env{floating...} environment. Since \env{floatflt}
% environments need usage of |\floatbox| in any case, you can use
-% either \env{floatingfigure} or \env{floatingtable} and put necessary
-% float type in |\floatbox| argument (or use necessary
+% either \env{floatingfigure} or \env{floatingtable} and put
+% necessary float type in |\floatbox| argument (or use necessary
% macro-abbreviation).
%
%
@@ -2396,7 +2546,8 @@
% \parpic[l]{{%\def\floatrowsep{}\let\FBiffloatrow\iftrue
% \def\FBbskip{14pt}
% \ffigbox[42mm]
-% {{\setlength\unitlength{18mm/61}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {{\setlength\unitlength{18mm/61}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackCat.picture}}}
% {\caption{Wrap\-ped figure (\cmd{\parpic});
% \cmd{\floatbox}
@@ -2405,18 +2556,19 @@
%
% \noindent Tested with version v\,3.0 dated 1999/10/12.
%
-% This package produces pictures inside paragraph. This package supports
-% usage of captions with command |\piccaption|. It also allows the \pkg{caption}
-% package settings.
+% This package produces pictures inside paragraph. This package
+% supports usage of captions with command |\piccaption|. It also allows
+% the \pkg{caption} package settings.
%
-% The \cmd{\parpic} macro usually allows usage of |\floatbox| macro inside of its
-% mandatory argument.
+% The \cmd{\parpic} macro usually allows usage of |\floatbox| macro
+% inside of its mandatory argument.
%
%^^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 |\def\floatrowsep{}|\allowbreak
+%^^A |\let\FBiffloatrow\iftrue|\\[\medskipamount]
%^^A to get correct layout.
%
% The next limitations could not tied with \pkg{floatrow} package.
@@ -2426,7 +2578,8 @@
%^^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 {{\setlength\unitlength{16mm/61}\ifx\pspicture\undefined
+%^^A \else\psset{unit=\unitlength}\fi
%^^A \input{BlackCat.picture}}}
%^^A {\caption{Wrapped figure (\cmd{\parpic})}\label{fig:parpic:BcatII}}%
%^^A }}
@@ -2446,7 +2599,8 @@
%
% \endgroup
%
-% \subsection{The \pkg{rotating} Package and \env{sideways\ldots} Environment}
+% \subsection{The \pkg{rotating} Package and \env{sideways\ldots}
+% Environment}
%
% Tested with version v2.13 dated Sep. 1992.
%
@@ -2483,7 +2637,8 @@
% \begin{itemize}
% \item %
% if exists |\floatsetup[rot|\meta{captype}|]{...}|
-% package uses these settings---the ``strongest'' settings; if they absent---uses settings from next item;
+% package uses these settings---the ``strongest'' settings; if they
+% absent---uses settings from next item;
% \item
% if exists |\floatsetup[rotfloat]{...}|
% package uses these settings---these settings ``stronger'' than next
@@ -2500,12 +2655,12 @@
% package uses these settings---the ``strongest'' settings;
% if they absent---uses settings of next item;
% \item %
-% if exists |\floatsetup[widerotfloat]{...}|
-% package uses these settings---these settings ``stronger'' than settings
+% if exists |\floatsetup[widerotfloat]{...}| package
+% uses these settings---these settings ``stronger'' than settings
% in next item; if they absent---uses settings of next item;
% \item %
-% if exists |\floatsetup[rot|\meta{captype}|]{...}|
-% package uses these settings---these settings ``stronger'' than settings
+% if exists |\floatsetup[rot|\meta{captype}|]{...}| package
+% uses these settings---these settings ``stronger'' than settings
% in next item; if they absent---uses settings of next item;
% \item %
% if exists |\floatsetup[rotfloat]{...}|
@@ -2513,8 +2668,8 @@
% ones;
% %^^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 if exists |\floatsetup[wide|\meta{captype}|]{...}| package
+% %^^A uses these settings; if they absent---settings of next item;
% %^^A \item %
% %^^A if exists |\floatsetup[widefloat]{...}|
% %^^A package uses these settings;
@@ -2526,8 +2681,8 @@
%
% \emph{Notes}.\nopagebreak
%
-% 1)\enskip If you place two continued rotated floats on facing pages, the
-% better way is to gather them to binder margin. For this reason you
+% 1)\enskip If you place two continued rotated floats on facing pages,
+% the better way is to gather them to binder margin. For this reason you
% may define\footnote{In case \pkg{rotating} package has |[figuresright]|
% option, see also files \file{frsample10.tex}--\file{frsample12.tex}
% and code in \file{fr-sample.tex}.} before first float
@@ -2550,11 +2705,11 @@
% |\floatpagestyle{empty}|. The last macro redefines page style for
% the page where \emph{current} float environment appears.
%
-% I suppose that \pkg{floatpagestyle} package could use not correct
-% and honest way for float page style redefinition (\emph{this package redefines
-% \LaTeX's core macro} |\@outputpage|).\footnote{If you know more
-% honest way to get the same result---the redefinition of float page
-% style---please let me know.} Since this package uses
+% The version 0.1h patches the core \LaTeX{} macro |\@outputpage|
+% and I hope that it could work.\footnote{If you know more honest
+% way to get the same result---the redefinition of \emph{alone}
+% \emph{float} page style (in the case when this page can \emph{float}
+% inside document)---please let me know.} Since this package uses
% |\label|---|\ref| mechanism, the |\floatpagestyle| command works
% after \emph{second} \LaTeX{} run.
%
@@ -2578,11 +2733,10 @@
% |\floatsetup| code sets \texttt{ruled} float style,
% then settings for above and below material are redefined:
% \texttt{rowprecode=} and \texttt{rowpostcode=} keys define thick
-% rules but for floatrow as whole (the `individual' |\hrule|'s above/below
-% float boxes absent).
+% rules but for floatrow as whole (the `individual' |\hrule|'s
+% above/below float boxes absent).
%\fi\fi
%
-%
% The \env{landscape} environment creates a new page. It would be
% useful to start new section of document, e.g., appendix. (In current
% document it was placed just before appendix)
@@ -2595,49 +2749,59 @@
%
% Tested with version v1.3 dated 2004/09/07.\nopagebreak
%
-% This package has its strong layout mechanism also for creation for floating
-% algorithms. The usage of |\lstset| command and \pkg{caption} package settings
-% gives you necessary result\footnote{Please note and read \pkg{caption} documentation:
-% the co-operation of \pkg{caption}3.x and \pkg{listings} succeed
-% with version of last one not older than 1.2.} for algorithm type of float.
+% This package has its strong layout mechanism for creation for floating
+% algorithms itself. The usage of |\lstset| command and \pkg{caption}
+% package settings gives you necessary result\footnote{Please note and read
+% \pkg{caption} documentation: the co-operation of \pkg{caption}3.x and
+% \pkg{listings} succeeds with version of last one not older than 1.2.}
+% for algorithm type of float.
%
-% For the cases of appearance of listings inside of other float environments
-% e.g. inside \env{figure} environments with boxed styles like \texttt{Boxed}
-% and \texttt{BOXED} and with predefined float width, you ought to set:
+% \iffalse
+% For the cases of appearance of listings inside of other float
+% environments e.g. inside \env{figure} environments with boxed styles
+% like \texttt{Boxed} and \texttt{BOXED} and with predefined float
+% width, you ought to set:
% \begin{quote}
% |\lstset{linewidth=\hsize}|
% \end{quote}
-% in the preamble, or just before \env{lstlisting} environment. Or in optional argument
-% of \env{lstlisting} environment---here you must set width like:
+% in the preamble, or just before \env{lstlisting} environment. Or in
+% optional argument of \env{lstlisting} environment---here you must set
+% width like:
% \begin{quote}
% |\begin{lstlisting}[linewidth=\hsize]|
% \end{quote}
+% \fi
%
-% Another limitation is that you can't put \env{lstlisting} inside
+% For the cases of appearance of listings inside of other float
+% environments, which get settings from \pkg{floatrow}package,
+% there is a limitation: you can't put \env{lstlisting} inside
% |\floatbox| contents.
%
% \subsection{The \pkg{longtable} Package}
%
% There was added a patch to the |\LT@array| macro (\pkg{longtable}
-% package)\footnote{Thanks to A. Sommerfeldt for help to make this code compact.}:
-% this patch adds the same font settings as for \env{table} environments, and
-% adds code which helps to get width of \env{longtable} caption equal to the
+% package)\footnote{Thanks to A. Sommerfeldt for help to make this
+% code compact.}: this patch adds the same font settings
+% as for \env{table} environments, and adds code which helps
+% to get width of \env{longtable} caption equal to the
% width of table. For settings of caption width there was created a key.
%
% \DescribeMacro{LTcapwidth=}
-% This key could have any value, like |5cm| or |\hsize|.
-% If you'll write \texttt{LTcapwidth=table} or \texttt{LTcapwidth=contents},
-% you will get caption width equal to the width of table. In this case settings
-% for width of caption use information from \texttt{aux}-file, so you'll get
-% correct caption width at the time when the width of full table become stable.
+% This key could have any value, like |5cm| or |\hsize|. If you'll write
+% \texttt{LTcapwidth=table} or \texttt{LTcapwidth=contents}, you will get
+% caption width equal to the width of table. In this case settings for
+% width of caption use information from \texttt{aux}-file, so you'll get
+% correct caption width at the time when the width of full table become
+% stable.
%
-% The \env{longtable} environment uses layout settings from |\floatsetup[table]|
-% and |\floatsetup[longtable]| macros. The |\floatsetup[longtable]| will be ``strongest''
-% in this pair.
+% The \env{longtable} environment uses layout settings from
+% |\floatsetup[table]| and |\floatsetup[longtable]| macros.
+% The |\floatsetup[longtable]| will be ``strongest'' in this pair.
%
% \subsection{The \pkg{hyperref} and \pkg{hypcap} Packages}
%
-% There were tested versions v6.74i (\pkg{hyperref}) and v1.3 (\pkg{hypcap}).
+% There were tested versions v6.74i (\pkg{hyperref})
+% and v1.3 (\pkg{hypcap}).
%
% The \pkg{floatrow} tries not to expand its code to |\caption| stuff.
% I hope that environments supported by \pkg{floatrow} won't
@@ -2666,12 +2830,12 @@
% \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.
+% %^^A Limitations for boxed and ruled styles in beside floats: be
+% %^^A careful with usage of \emph{alone} minipage environment in object
+% %^^A or caption in |\floatbox| macro. Since the object and caption are
+% %^^A created in minipage environment already, the added \texttt{minipage}
+% %^^A could get wrong layout (vertical alignment). But, as I
+% %^^A found, you may use a few \texttt{minipage}s in object without harm.
% \item %
% You cannot use |\floatbox| stuff for floats with \texttt{verbatim}
% environment and/or |\verb|.
@@ -2714,8 +2878,8 @@
% the end of contents of each part, or wrong justification of float
% components.
% %^^A \item %
-% %^^A Usage of fancy boxes \texttt{shadowbox} and \texttt{wshadowbox} could get wrong
-% %^^A layout with beside captions.
+% %^^A Usage of fancy boxes \texttt{shadowbox} and \texttt{wshadowbox}
+% %^^A could get wrong layout with beside captions.
% \item If you use inside |\floatbox| stuff
% \env{tabularx} or \env{tabular*} environments (or any other) with
% |\hsize| command inside \meta{width} argument, you must repeat the
@@ -2736,8 +2900,8 @@
%
% \section{Acknowledgements}
%
-% Thanks for Steven Cochran and Axel Sommerfeldt for all their advices and spirit.
-% Special thanks for Axel for the patient answering, code, and
+% Thanks for Steven Cochran and Axel Sommerfeldt for all their advices
+% and spirit. Special thanks for Axel for the patient answering, code, and
% help in \emph{all} my questions and problems in \pkg{floatrow} package.
%
% \medskip\noindent
@@ -2778,11 +2942,13 @@
% \floatbox{figure}[2\FBwidth][][b]
% {\caption{Beside figure~II, bottom of object box}%
% \label{fig:rotrow:BcatI}%
-% \floatfoot{There are all \cmd{\qbezier} macros and only two vertical lines}}%
+% \floatfoot{There are all \cmd{\qbezier} macros and only
+% two vertical lines}}%
% {\input{BlackCat.picture}}%
%
% \ffigbox[\FBwidth]
-% {{\unitlength2.5\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {{\unitlength2.5\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}\footnote[2]%
% {Look at funny footnotemark!}}
% {\caption{Beside figure~III, center of object box}%
@@ -2808,8 +2974,9 @@
%
% \floatsetup[figure]{style=Boxed,midcode=captionskip,
% frameset={\fboxsep12pt\fboxrule1pt}}
-% Sometimes author (or designer) wants to put different types of floats, e.g., table and figure
-% beside in one row. This situation creates some problems.
+% Sometimes author (or designer) wants to put different types of floats,
+% e.g., table and figure beside in one row. This situation creates
+% some problems.
%
% The first problem is that you must put different types of float in
% one float environment, which sets its own layout for included float
@@ -2843,7 +3010,8 @@
% \begin{floatrow}
% \CenterFloatBoxes \killfloatstyle
% \ffigbox[\FBwidth]
-% {{\unitlength1.15\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {{\unitlength1.15\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}}
% {\caption{Figure (\texttt{Boxed} style) beside table
% (vertical centering)}\label{fig:rowmixspec:WcatI}}%
@@ -2913,13 +3081,15 @@
% \begin{figure}[b!]
% \begin{floatrow}
% \fcapsideleft
-% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
% {\caption{%^^A
% Float box (\cmd{\fcapsideleft})
% width of graphics}\label{floatbox:FR:lfig}}%
% \hsize\Xhsize \fcapsideright[\hsize]
-% {\setlength\unitlength{\hsize/61}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\setlength\unitlength{\hsize/61}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackCat.picture}}%
% {\caption{%^^A
% Float box (\cmd{\fcapsideright})
@@ -2966,16 +3136,16 @@
% \subsubsection{Predefined Beside Caption Width}
%
% This example includes |\useFCwidth| command, which switches on usage
-% of previously defined caption width with \texttt{capbesidewidth=} key (in command
-% |\thisfloatsetup| before |\floatbox| macro) or, if you didn't set caption width (like
-% in current example), macro counts natural width of caption contents
-% (see figure~\ref{fig:Idog:w}\footnote{Inside \cmd{\floatbox} you may
-% not set predefined width of caption, but remember that you
-% \emph{must} define width of caption in case of usage of plain float
-% environment.}). The object---caption box in this case aligned using
-% alignment settings from |margins| key (its options defined by |\setfloatmargins|
-% or |\floatcapbesidemargins| macro). In this documentation they are
-% centered (see page~\pageref{fsetup:besmarg}).
+% of previously defined caption width with \texttt{capbesidewidth=} key
+% (in command |\thisfloatsetup| before |\floatbox| macro) or, if you
+% didn't set caption width (like in current example), macro counts natural
+% width of caption contents (see figure~\ref{fig:Idog:w}\footnote{Inside
+% \cmd{\floatbox} you may not set predefined width of caption, but remember
+% that you \emph{must} define width of caption in case of usage of plain
+% float environment.}). The object---caption box in this case aligned
+% using alignment settings from |margins| key (its options defined
+% by |\setfloatmargins| or |\floatcapbesidemargins| macro). In this
+% documentation they are centered (see page~\pageref{fsetup:besmarg}).
%\begin{verbatim}
%\begin{figure}
%\floatbox[\capbeside\useFCwidth]{figure}[\FBwidth]
@@ -2990,7 +3160,8 @@
% {\caption[Beside
% caption, width equals to caption's text]{Beside
% caption}\label{fig:Idog:w}}
-% {{\setlength\unitlength{{4cm}/60}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {{\setlength\unitlength{{4cm}/60}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackDog.picture}}}
% \end{figure}%
%
@@ -2999,15 +3170,17 @@
%\floatsetup[figure]{style=plain}
%\end{verbatim}
%
-% \subsubsection{Predefined Beside Caption Width with The Rest Space for Object}
+% \subsubsection{Predefined Beside Caption Width with
+% The Rest Space for Object}
%
% The figure \ref{fig:capbeside:trick} uses following float style:%^^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}}
+%^^A creates unwanted result with empty argument of caption title. The
+%^^A same settings used for figures~\ref{floatrow:pre:figI} and
+%^^A \ref{floatrow:pre:figII}}
%\begin{verbatim}
%\floatsetup[figure]
% {style=Boxed,capposition=beside,objectset=centering,
@@ -3029,12 +3202,14 @@
% floatwidth=\columnwidth,capbesidewidth=\Mylen,
% capbesideposition=left,capbesidesep=cicero,
% margins=centering,capbesideframe=yes,floatwidth=sidefil}
-% \newdimen\Mylen\settowidth\Mylen{\captionfont\captionlabelfont\figurename\ \thefigure}
+% \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
+% {\unitlength1.1\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
% {\caption{}\label{fig:capbeside:trick}}
% \end{figure}%
@@ -3070,7 +3245,8 @@
% \captionsetup[capbesidefigure]{format=break,labelsep=none,
% justification=raggedright}
% \begin{figure}[!b]
-% \unitlength1.1\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% \unitlength1.1\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}
% \caption{%^^A
% Plain figure}\label{fig:plain:trick}
@@ -3084,7 +3260,8 @@
% justification=raggedright}
%\end{verbatim}
%
-% \subsubsection{Width Definition for Beside Caption---Object Box in Float Row}
+% \subsubsection{Width Definition for Beside
+% Caption---Object Box in Float Row}
%
% The float row with predefined width of beside object---caption
% boxes (figures~\ref{floatrow:pre:figI} and
@@ -3097,7 +3274,8 @@
%\begin{verbatim}
%\setlength\hsize\Xhsize
%\end{verbatim}
-% before second (here is clear that you can set |\setlength\hsize{.902\hsize}|).
+% before second (here is clear that you can set
+% |\setlength\hsize{.902\hsize}|).
%
% Since there were used \verb|\fcapside| commands at the beginning of
% \env{floatrow} environment the \verb|\FCwidth| command was defined
@@ -3114,13 +3292,15 @@
% \begin{floatrow}
% \setlength\hsize{1.098\hsize}%
% \fcapside
-% {\setlength\unitlength{\hsize/64}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\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
+% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}
% {\caption{%^^A
% }\label{floatrow:pre:figII}}
@@ -3134,7 +3314,8 @@
% margins=centering,capbesideframe=yes,floatwidth=sidefil}
%\end{verbatim}
%
-% \subsubsection{Caption Above/Below Float and Caption Beside Float at The One Float Row}
+% \subsubsection{Caption Above/Below Float and Caption Beside Float at
+% The One Float Row}
%
% The float row with object and beside caption combined with object
% and caption below (figures~\ref{flrow:mix:figI} and
@@ -3166,14 +3347,16 @@
% \begin{figure}\CenterFloatBoxes
% \begin{floatrow}
% \hsize1.098\hsize \fcapside[\FBwidth][4cm]
-% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
% {\caption{%^^A
% Float box (\cmd{\fcapside}) with beside caption in float row
% width float with caption below}\label{flrow:mix:figI}}%
%
% \ffigbox[\Xhsize][4cm]
-% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackDog.picture}}
% {\caption{%^^A
% Float box (\cmd{\ffigbox}) width of rest float row
@@ -3198,7 +3381,8 @@
% \begin{figure}[!b]\CenterFloatBoxes
% \begin{floatrow}
% \ffigbox[1.2\FBwidth][4cm]
-% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{BlackDog.picture}}
% {\caption{%^^A
% Float box (\cmd{\ffigbox}) width of rest float row
@@ -3206,7 +3390,8 @@
% \hsize\Xhsize
%
% \fcapside[\FBwidth][4cm]
-% {\unitlength1.44\unitlength\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\unitlength1.44\unitlength\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{TheCat.picture}}
% {\caption{%^^A
% Float box with beside caption (\cmd{\fcapside}) in mirror float row
@@ -3214,8 +3399,8 @@
% \end{floatrow}%
% \end{figure}
%
-% The figures~\ref{floatrow:mirrmix:figII}--\ref{floatrow:mirrmix:figI} use
-% following float style settings:
+% The figures~\ref{floatrow:mirrmix:figII}--\ref{floatrow:mirrmix:figI}
+% use following float style settings:
%\begin{verbatim}
%\floatsetup[figure]
% {style=Boxed,frameset={\fboxsep4pt},captionskip=5pt,
@@ -3254,7 +3439,8 @@
% \begin{floatrow}
% \hsize1.2\hsize
% \ffigbox[][6.7cm]
-% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}%
% {\caption{Float box in photo-album-like layout:
% alone in left column}\label{flrow:three:figIII}}%
@@ -3315,7 +3501,8 @@
% \label{floatrow:three:figII}}\vskip0pt}\floatrowsep
%
% \ffigbox[\Xhsize][7cm-11pt]
-% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi
+% {\setlength\unitlength{\hsize/58}\ifx\pspicture\undefined
+% \else\psset{unit=\unitlength}\fi
% \input{Mouse.picture}}%
% {\caption{%^^A
% Float box in photo-album-like layout: alone in right
@@ -3350,15 +3537,19 @@
% The list of samples:
%
% \begin{Options}{\OptionLabel}
-% \item[frsample01.tex] all possible combinations of predefined \pkg{floatrow} styles
-% for captions above/below floats with foot material;
-% there were created plain float environments and \env{floatrow}s, also
-% there were created boxes with alone objects and alone captions;
-% \item[frsample02.tex] all possible combinations of predefined \pkg{floatrow} styles
-% for beside captions and all possible caption positions;
+% \item[frsample01.tex] all possible combinations of predefined
+% \pkg{floatrow} styles for captions above/below floats with foot
+% material; there were created plain float environments and
+% \env{floatrow}s, also there were created boxes with
+% alone objects and alone captions;
+% \item[frsample02.tex] all possible combinations of predefined
+% \pkg{floatrow} styles for beside captions and all possible
+% caption positions;
% \item[frsample03.tex] different tests with tables;
-% \item[frsample04.tex] sample with fancy layout with usage of beside captions;
-% \item[frsample05.tex] one-column facing layout; miscellaneous caption settings.
+% \item[frsample04.tex] sample with fancy layout with usage of
+% beside captions;
+% \item[frsample05.tex] one-column facing layout; miscellaneous
+% caption settings.
% \end{Options}
%
% The next bundle of samples is a few file-headers with different
@@ -3366,17 +3557,24 @@
% layouts. For these examples there was created a new float type of
% float \texttt{textbox}---which includes text in its object contents.
% \begin{Options}{\OptionLabel}
-% \item[frsample10.tex] one column non-facing layout; figures printed in \texttt{plain} style;
-% text boxes use miscellaneous ruled style;
-% \item[frsample11.tex] one-column non-facing layout with elements hanged on left margin
-% (e.g. wide floats, in starred environments, like \env{figure*});
-% \item[frsample12.tex] two-column layout with attempts of colored float styles.
+% \item[frsample10.tex] one column non-facing layout; figures
+% printed in \texttt{plain} style; text boxes use miscellaneous
+% ruled style;
+% \item[frsample11.tex] one-column non-facing layout with elements
+% hanged on left margin (e.g. wide floats, in starred environments,
+% like \env{figure*});
+% \item[frsample12.tex] two-column layout with attempts of
+% colored float styles.
% \end{Options}
+%
+% There is also added [temporary] sample file \file{sample-longtable.tex}
+% with \env{longtable} test of defined command |\endlasthead| which
+% defines captions for continued and last pages of long table in three
+% possible ways.
%\vfil
%
% \section{Obsolete Commands}\label{sec:changed}
%
-% There are obsolete macros which were replaced by commands from
% |\floatsetup|, renamed or deleted after version 0.1b.
%
% \begingroup\extrarowheight1.75pt\small\tabcolsep.5\tabcolsep
@@ -3425,8 +3623,10 @@
% \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{\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}
@@ -3450,7 +3650,8 @@
% \end{tabular}
% \\\hline
% \extrarowheight0pt\begin{tabular}[t]{@{}l}
-% \cmd{\FBcenter}\vphantom{g},\\ \cmd{\FBleft}\vphantom{g},\\ \cmd{\FBright},\\ \cmd{\FBnormal}
+% \cmd{\FBcenter}\vphantom{g},\\ \cmd{\FBleft}\vphantom{g},\\
+% \cmd{\FBright},\\ \cmd{\FBnormal}
% \end{tabular}&
% \extrarowheight0pt\begin{tabular}[t]{@{}l}
% \texttt{margins=center},\\
@@ -3509,12 +3710,14 @@
% \texttt{framereduce=} & \texttt{framefit=}
% \\\hline
% \extrarowheight0pt\begin{tabular}[t]{@{}l@{}}
-% \vphantom{(}options of \texttt{objectset=}\\\quad and \texttt{margins=}\\
+% \vphantom{(}options of \texttt{objectset=}\\\quad
+% and \texttt{margins=}\\
% \texttt{flushleft},\\ \texttt{flushright},\\\texttt{center}
% \end{tabular} &
% \extrarowheight0pt\begin{tabular}[t]{@{}l@{}}
-% \vphantom{(}options of \texttt{objectset=} and \texttt{margins=} (for unification\\\quad
-% with analogous key options in \pkg{caption} package)\\
+% \vphantom{(}options of \texttt{objectset=} and \texttt{margins=}
+% (for unification\\\quad with analogous key options in \pkg{caption}
+% package)\\
% \texttt{raggedright},\\ \texttt{raggedleft},\\ \texttt{centering}
% \end{tabular}
% \\\hline
@@ -3531,36 +3734,47 @@
%
% \changes{v0.1a}{2004/09/28}{Since the changes of version 0.1a touched
% a lot of package all entries of changing messages deleted.}
-% \changes{v0.1d}{2005/02/07}{Removed info, error, command macros---used standard instead}
-% The first step is to check whether \pkg{float} and \pkg{rotfloat} are loaded or not.
-% If yes, there go error messages.
+% \changes{v0.1d}{2005/02/07}{Removed info, error, command macros---used
+% standard instead} The first step is to check whether \pkg{float} and
+% \pkg{rotfloat} are loaded or not. If yes, there go error messages.
% \changes{v0.1d}{2005/02/07}{Added test for \pkg{rotfloat} package}
+% \changes{v0.1j}{2006/03/12}{Try to say `good bye'
+% in the case of \pkg{float} or/and \pkg{rotfloat} loaded before}
% \begin{macrocode}
%<*floatrow>
-\@ifundefined{float@caption}{}%
- {\PackageError{floatrow}{Do not use float package with floatrow}{}}
-\@ifundefined{rotfloat@float}{}%
- {\PackageError{floatrow}{Do not use rotfloat package with floatrow}{}}
-% \end{macrocode}
-%
-% The next lines emulate already loaded \pkg{float} and \pkg{rotfloat} packages.
-%
-% If in preamble, after loading of \pkg{floatrow} package
-% is used |\usepackage| with \pkg{float} package
-% (the \pkg{float} package doesn't support any options), the defining
-% of command |\ver@float.sty|, which emulates loading of package will do not any harm.
-%
-% Unfortunately the \pkg{rotfloat} package allows to transfer options of \pkg{rotating}
-% package in the case of appearance of both packages in one |\usepackage| line. Thus,
-% if someone loads options in \pkg{rotating}---\pkg{rotfloat} line, he will get
-% `option clash' error. A followed help gives a simple solution of such problem---moving options
-% in |\documentclass| line and make them global. I hope, that moving \pkg{rotating}'s option as
-% global will do not harm to documents, but now you aware of ``nonnecessity'' of loading
+%\@ifundefined{float@caption}{}%
+% {\PackageError{floatrow}{Do not use float package with floatrow}{}}
+%\@ifundefined{rotfloat@float}{}%
+% {\PackageError{floatrow}{Do not use rotfloat package with floatrow}{}}
+\@ifundefined{float@caption}{%
+ \@ifundefined{rotfloat@float}{}%
+ {\PackageError{floatrow}{Do not use rotfloat package with floatrow}{}%
+ \@namedef{opt@floatrow.sty}{}\endinput}}%
+ {\PackageError{floatrow}{Do not use float package with floatrow}{}%
+ \@namedef{opt@floatrow.sty}{}\endinput}
+% \end{macrocode}
+%
+% The next lines emulate already loaded \pkg{float} and \pkg{rotfloat}
+% packages.
+%
+% If in preamble, after loading of \pkg{floatrow} package is used
+% |\usepackage| with \pkg{float} package (the \pkg{float} package
+% doesn't support any options), the defining of command |\ver@float.sty|,
+% which emulates loading of package will do not any harm.
+%
+% Unfortunately the \pkg{rotfloat} package allows to transfer options of
+% \pkg{rotating} package in the case of appearance
+% of both packages in one |\usepackage| line. Thus, if someone loads
+% options in \pkg{rotating}---\pkg{rotfloat} line, he will get
+% `option clash' error. A followed help gives a simple solution of such
+% problem---moving options in |\documentclass| line and make them global.
+% I hope, that moving option in this way will do not harm
+% to document, but now you aware of ``non-necessity'' of loading
% of \pkg{rotfloat} package.
-% \changes{v0.1e}{2005/03/22}{Restoring code of emulation of loading for \pkg{float}
-% and \pkg{rotfloat} packages.}
-% \changes{v0.1f}{2005/06/14}{The version, date and description of \pkg{float} and
-% \pkg{floatrow} borrowed from originals (AS).}
+% \changes{v0.1e}{2005/03/22}{Restoring code of emulation of loading
+% for \pkg{float} and \pkg{rotfloat} packages.}
+% \changes{v0.1f}{2005/06/14}{The version, date and description of
+% \pkg{float} and \pkg{floatrow} borrowed from originals (AS).}
% \begin{macrocode}
%\expandafter\let\csname ver@float.sty\expandafter\endcsname
% \csname ver@floatrow.sty\endcsname
@@ -3573,21 +3787,25 @@
% \end{macrocode}
%
% Here goes request for \pkg{keyval} package.
-% \changes{v0.1c}{2004/10/22}{Bug fix: added request for \pkg{keyval} package.}
+% \changes{v0.1c}{2004/10/22}{Bug fix: added request for \pkg{keyval}
+% package.}
% \begin{macrocode}
\RequirePackage{keyval}
% \end{macrocode}
%
-% Here goes request for \file{caption3} file, core part of \pkg{caption} package.
+% Here goes request for \file{caption3} file, core part of \pkg{caption}
+% package.
% \changes{v0.1f}{2005/06/14}{Added request for \pkg{caption3} package.}
+% \changes{v0.1j}{2006/06/18}{Added date request for \pkg{caption3} package.}
% \begin{macrocode}
-\RequirePackage{caption3}
+\RequirePackage{caption3}[2006/01/12]
% \end{macrocode}
%
% \subsection{Storing of \LaTeX's Internal Macros}
%
% \begin{macro}{\FR@flboxreset}
-% First goes storage of \LaTeX's macro |\@floatboxreset| from bundle of float definitions.
+% First goes storage of \LaTeX's macro |\@floatboxreset| from bundle of float
+% definitions.
% \begin{macrocode}
\@ifdefinable\FR@flboxreset{\let\FR@flboxreset\@floatboxreset}
\@ifdefinable\FR@makecaption{\let\FR@makecaption\@makecaption}
@@ -3595,9 +3813,10 @@
% \end{macro}
%
% \begin{macro}{\FB@caption}
-% Here is stored standard \LaTeX's |\caption| command (it is used for caption
-% width counting).
-% \changes{v0.1f}{2005/06/14}{Restores \LaTeX's \cmd{\caption} macro (for width count)}
+% Here is stored standard \LaTeX's |\caption| command (it is used for
+% caption width counting).
+% \changes{v0.1f}{2005/06/14}{Restores \LaTeX's \cmd{\caption} macro
+% (for width count)}
% \begin{macrocode}
\newcommand\FB@caption{%
\ifx\@captype\@undefined
@@ -3622,9 +3841,9 @@
%
% \subsection{Borrowed Code (with original comment) from \pkg{float} package}
%
-% From this point starts \pkg{float} package's core code (version 1.3). The necessary
-% explanation of macro code also borrowed from \pkg{float} package and typed
-% with slanted font. Some macros
+% From this point starts \pkg{float} package's core code (version 1.3).
+% The necessary explanation of macro code also borrowed from \pkg{float}
+% package and typed with slanted font. Some macros
% were skipped or edited (see \emph{floatrow notes}).
%
% \begin{sl}\medskip
@@ -3644,8 +3863,8 @@
% The |\floatstyle| command puts its argument into the
% |\float@style| macro as the name of the new float style.
% But if the argument doesn't denote a float style, an error message
-% is output instead: Each float style \meta{style} has a corresponding command
-% |\fs@|\meta{style} that contains the appropriate declarations.
+% is output instead: Each float style \meta{style} has a corresponding
+% command |\fs@|\meta{style} that contains the appropriate declarations.
% If the control sequence |\fs@|\meta{arg} (which goes with the
% argument \meta{arg} to |\floatstyle|) is undefined, i.e.,
% equals |\relax| under |\ifx|, then the float style \meta{arg}
@@ -3681,9 +3900,10 @@
\newcommand\floatname[2]{\@namedef{fname@#1}{#2}}
\newcommand\floatplacement[2]{\@namedef{fps@#1}{#2}}
% \end{macrocode}
-% \emph{\textit{Floatrow note.} Here was stuff of undocumented command \cmd{\floatevery}
-% which, I suppose, allows to set special settings for current type of float.
-% In \pkg{floatrow} package it was deleted. Use \cmd{\floatsetup} stuff instead.}
+% \emph{\textit{Floatrow note.} Here was stuff of undocumented command
+% \cmd{\floatevery} which, I suppose, allows to set special settings for
+% current type of float. In \pkg{floatrow} package it was deleted.
+% Use \cmd{\floatsetup} stuff instead.}
% \end{macro}
% \end{macro}
%
@@ -3702,8 +3922,8 @@
% \begin{macro}{\FR@redefs}
% This macro makes temporary redefinitions of |\@makecaption|
% and |\@floatboxreset| macros.
-% \changes{v0.1f}{2005/06/14}{The \cmd{\@makecaption} and \cmd{\@floatboxreset}
-% macros redefined locally.}
+% \changes{v0.1f}{2005/06/14}{The \cmd{\@makecaption} and
+% \cmd{\@floatboxreset} macros redefined locally.}
% \begin{macrocode}
\newcommand\FR@redefs{%
% \@namedef{fst@\@captype}{}%
@@ -3721,12 +3941,13 @@
% \end{macro}
%
% \begin{macro}{\flrow@makecaption}
-% In this macro the |\FBc@wd| used as flag for wrapped floats (for the case
-% when natural width of float counted).
+% In this macro the |\FBc@wd| used as flag for wrapped floats (for the
+% case when natural width of float counted).
% \changes{v0.1f}{2005/06/14}{The \cmd{\@caption} redefinitions
% transformed to \cmd{\@makecaption} ones.}
% \changes{v0.1f}{2005/06/14}{The \cmd{\FBc@wd}\cmd{\z@} works like
% flag (for \pkg{wrapfig}'s floats).}
+% \changes{v0.1h}{2005/10/02}{Added setting for \cmd{\linewidth}}
% \begin{macrocode}
\newcommand\flrow@makecaption[2]{\global\setbox\@floatcapt
\vbox\bgroup\@parboxrestore
@@ -3738,6 +3959,7 @@
\adj@dim\hsize+\FBo@wadj=\hsize
\fi
\fi
+ \linewidth\hsize
\normalsize
\abovecaptionskip\z@\belowcaptionskip\z@
\FR@makecaption{#1}{#2}\egroup}
@@ -3756,7 +3978,8 @@
%
% \begin{macro}{\RawFloats}
% This macro restores core-\LaTeX-float-environment's behavior.
-% \changes{v0.1f}{2005/06/14}{Added Macro which restores raw float behavior.}
+% \changes{v0.1f}{2005/06/14}{Added Macro which restores raw float
+% behavior.}
% \changes{v0.1g}{2005/07/15}{Added \cmd{\@parboxrestore} macro.}
% \begin{macrocode}
\newcommand\RawFloats[1][\@captype]{\killfloatstyle
@@ -3787,8 +4010,9 @@
%
% \begin{macro}{\FBB@wd}
% This command stores absolute width for |\floatbox|'s |\hsize|.
-% The usage of |\FBB@wd| as command needs definitions like |\edef\FBB@wd{\the\textwidth}| to get
-% right layout in float rows with |BOXED|-like layouts.
+% The usage of |\FBB@wd| as command needs definitions like
+% |\edef\FBB@wd{\the\textwidth}| to get right layout in float rows
+% with |BOXED|-like layouts.
% \changes{v0.1f}{2005/06/14}{The command is \cmd{\let} to \cmd{\relax}.}
% \changes{v0.1g}{2005/07/15}{The macro-flag \cmd{\FR@ifflenv} removed.}
% \begin{macrocode}
@@ -3799,8 +4023,8 @@
% \begin{macro}{\restylefloat}
% The redefined \pkg{float} package macros to follow |\floatsetup| stuff.
%
-% This macro starts to work at the beginning of document, so it has tests for
-% loaded packages.
+% This macro starts to work at the beginning of document, so it has tests
+% for loaded packages.
% \changes{v0.1f}{2005/06/14}{Redefined (AS).}
% \begin{macrocode}
\newcommand\restylefloat{%
@@ -3818,17 +4042,19 @@
% \begin{macrocode}
%\newcommand\float@restyle{}
% \end{macrocode}
-% To avoid redefinition of this macro by other packages (e.g. \pkg{wrapfig}, which uses
-% |\float@restyle| as recognition of \pkg{float} v1.3 package) \pkg{floatrow} package
-% uses other name.
+% To avoid redefinition of this macro by other packages (e.g. \pkg{wrapfig},
+% which uses |\float@restyle| as recognition of \pkg{float} v1.3 package)
+% \pkg{floatrow} package uses other name.
% \changes{v0.1f}{2005/06/14}{Added \cmd{\FR@redefs} command for local
% redefinitions.}
-% \changes{v0.1f}{2005/06/14}{The \cmd{\xdef}\cmd{\FBB@wd} changed to \cmd{\edef}\cmd{\FBB@wd}.}
+% \changes{v0.1f}{2005/06/14}{The \cmd{\xdef}\cmd{\FBB@wd} changed to
+% \cmd{\edef}\cmd{\FBB@wd}.}
% \begin{macrocode}
\newcommand\flrow@restyle[1]{%
% \end{macrocode}
% One-column float environment.
-% \changes{v0.1f}{2005/06/14}{Added \cmd{\@captype}: necessary for \cmd{\FR@redefs}.}
+% \changes{v0.1f}{2005/06/14}{Added \cmd{\@captype}: necessary
+% for \cmd{\FR@redefs}.}
% \begin{macrocode}
\@namedef{#1}{\killfloatstyle\def\@captype{#1}\FR@redefs
\flrow@setlist{{#1}}%
@@ -3839,8 +4065,8 @@
% \begin{macrocode}
\@namedef{#1*}{\killfloatstyle\def\@captype{#1}\FR@redefs
% \end{macrocode}
-% The |\@captype| definition needed here and in next definitions to get correct and non-doubled
-% |\captionsetup| contents.
+% The |\@captype| definition needed here and in next definitions to get
+% correct and non-doubled |\captionsetup| contents.
% \begin{macrocode}
\flrow@setlist{{#1}{widefloat}{wide#1}}%
\FRifFBOX\@@setframe\fi\@@FStrue\edef\FBB@wd{\the\textwidth}%
@@ -3853,7 +4079,8 @@
\expandafter\let\csname end#1*\endcsname\float@dblend
% \end{macrocode}
% One-column rotated float environment.
-% The code contents of |\rotfloat@float| macro (\pkg{rotfloat} package) moved here.
+% The code contents of |\rotfloat@float| macro (\pkg{rotfloat} package)
+% moved here.
% \begin{macrocode}
\@ifundefined{@rotfloat}{}{%
\@namedef{sideways#1}{\killfloatstyle\def\@captype{#1}\FR@redefs
@@ -3868,7 +4095,8 @@
% Two-column rotated float environment without support.
% (The style ``support'' for non-rotated two column or wide float
% \texttt{widefloat} and \texttt{wide}\meta{captype} was removed.)
-% \changes{v0.1d}{2005/02/07}{Restored \pkg{rotfloat}'s definition form for wide rotated float}
+% \changes{v0.1d}{2005/02/07}{Restored \pkg{rotfloat}'s definition form
+% for wide rotated float}
% \begin{macrocode}
\ifx\@rotdblfloat\undefined
\@namedef{sideways#1*}{%
@@ -3878,7 +4106,8 @@
\else
% \end{macrocode}
% Two-column rotated float environment with support.
-% \changes{v0.1d}{2005/02/07}{The settings for non-rotated wide float removed}
+% \changes{v0.1d}{2005/02/07}{The settings for non-rotated wide float
+% removed}
% \begin{macrocode}
\@namedef{sideways#1*}{\killfloatstyle\def\@captype{#1}\FR@redefs
\flrow@setlist{{#1}{rotfloat}{rot#1}{widerotfloat}{widerot#1}}%
@@ -3888,7 +4117,8 @@
% {\sl The standard |\@xdblfloat| macro changes |\hsize| to |\textwidth|.
% This way is not correct so use |\@xfloat| instead.}
%
-% The code contents of |\rotfloat@dblfloat| macro (\pkg{rotfloat} package) moved here.
+% The code contents of |\rotfloat@dblfloat| macro (\pkg{rotfloat}
+% package) moved here.
% \begin{macrocode}
\let\@xdblfloat\@xfloat
\let\rotfloat@@makebox\float@makebox
@@ -3911,14 +4141,18 @@
\the\FR@everyfloat\ignorespaces}%
}{}%
\@namedef{wrap#1}{\killfloatstyle\def\@captype{#1}%
+% \end{macrocode}
+% ^^A The \cmd{\FloatHBarrier} for \pkg{flafplins}.
+% ^^A \changes{v0.1j}{2006/03/12}{Added \cmd{\FloatHBarrier} in wrapfloat}
+% \begin{macrocode}
\FR@redefs\FBc@wd\z@
\flrow@setlist{{#1}{wrapfloat}{wrap#1}{tmpset}}%
\global\let\flrow@typ@tmpset\undefined
% \end{macrocode}
-% Here repeated code from |\float@end| and |\float@dblend|: check whether |\floatbox|
-% stuff appeared or not.
-% \changes{v0.1f}{2005/06/14}{The \cmd{\ifFBbuild} flag added: here is not used
-% \cmd{\float@end} command and so on. }
+% Here repeated code from |\float@end| and |\float@dblend|: check whether
+% |\floatbox| stuff appeared or not.
+% \changes{v0.1f}{2005/06/14}{The \cmd{\ifFBbuild} flag added: here is
+% not used \cmd{\float@end} command and so on. }
% \begin{macrocode}
\def\WF@floatstyhook{\let\@currbox\WF@box
\ifFBbuild
@@ -3932,7 +4166,10 @@
\global\let\WF@box\@currbox
\fi}%
\@ifnextchar[\WF@wr{\WF@wr[]}}%]
- \expandafter\let\csname endwrap#1\endcsname\endwrapfloat}
+% \expandafter\let\csname endwrap#1\endcsname\endwrapfloat}
+ \@namedef{endwrap#1}{\endwrapfloat
+ \@ifundefined{FloatHBarrier}{}\FloatHBarrier
+ }}
%^^A \@namedef{endwrap#1}{\ifdim\hsize>\z@
%^^A \adj@dim\hsize+\FBo@wadj=\hsize\fi\endwrapfloat}}
% \end{macrocode}
@@ -3940,8 +4177,8 @@
% The subfloats for figures and tables (|\c@subfigure| and |\c@subtable|)
% already defined: so at first goes check, whether defined this command for
% subfloat (suggestions of Steven Cochran ).
-% \changes{v0.1f}{2005/06/14}{Added check/filter for already created subfigures
-% and subtables (SC).}
+% \changes{v0.1f}{2005/06/14}{Added check/filter for already created
+% subfigures and subtables (SC).}
% \begin{macrocode}
\@ifundefined{subfloat}{}{\@ifundefined{c@sub#1}{\newsubfloat{#1}}{}}}
% \end{macrocode}
@@ -3958,8 +4195,8 @@
\@ifdefinable\float@exts{\newtoks\float@exts}
% \end{macrocode}
% {\em \textit{Floatrow note.}
-% The |\newfloat| changed and uses |\floatsetup| stuff (redefined by suggestions of
-% Axel Sommerfeldt).}
+% The |\newfloat| changed and uses |\floatsetup| stuff (redefined by
+% suggestions of Axel Sommerfeldt).}
% \changes{v0.1f}{2005/06/14}{Redefinition (AS).}
% \begin{macrocode}
\newcommand\newfloat{\@ifstar{\flrow@restylefloat{no}\newfloat@}%
@@ -3975,8 +4212,8 @@
% \end{macro}
%
% \begin{macro}{\float@newx}
-% {\em \textit{Floatrow note.} Macro |\float@newx|, which defines a new float counter, was removed.
-% It was replaced by |\DeclareNewFloatType| stuff.}
+% {\em \textit{Floatrow note.} Macro |\float@newx|, which defines a new float
+% counter, was removed. It was replaced by |\DeclareNewFloatType| stuff.}
% \end{macro}
%
% \subsubsection{The \pkg{float} Package: Adapting \LaTeX\ Internals}
@@ -4004,8 +4241,8 @@
% \end{macrocode}
% \end{macro}
% {\em\textit{Floatrow note}. Since \pkg{floatrow} always uses float style,
-% the stuff of flag \cmd{\@flstyle} (which sets whether use or not any predefined
-% float style) moved out.}
+% the stuff of flag \cmd{\@flstyle} (which sets whether use or not any
+% predefined float style) moved out.}
%
% Later on we'll need a box to save a |[H]| float.
% \begin{macrocode}
@@ -4019,29 +4256,41 @@
% \begin{macrocode}
\def\@float@HH#1[H]{%
% \end{macrocode}
+%^^A {\em\textit{Floatrow note}. If we want to put barrier
+%^^A (i.e. use beta-package \pkg{flafplins}).}
+% \changes{v0.1j}{2006/03/12}{Added \cmd{\FloatHBarrier}}
+% \begin{macrocode}
+ \@ifundefined{FloatHBarrier}{}\FloatHBarrier
+% \end{macrocode}
% Locally redefine the end of the environment.
% \begin{macrocode}
\expandafter\let\csname end#1\endcsname\float@endH
% \end{macrocode}
% We don't get a |\@currbox| if we don't actually use the float mechanism.
% Therefore we fake one using the |\float@box| defined above.
+% \changes{v0.1h}{2005/10/25}{Added special settings for H-floats}
% \begin{macrocode}
\let\@currbox\float@box
+ \flrow@setlist{{floatH}{#1H}}%
% \end{macrocode}
% Now we save the current float class name for use in constructing the
% |\caption|. The caption box (defined below) is initialized to an empty
% box to avoid trouble with floats not having a caption. Then we start the
% box that'll hold the float itself.
-% |\parindent| is set to zero for compatibility with the standard \texttt{[h]}
-% option.
+% |\parindent| is set to zero for compatibility with the standard
+% \texttt{[h]} option.
%
% \emph{Floatrow note.
% Since \pkg{floatrow} always uses preloaded style
% the stuff of flag \cmd{\@flstyle} moved out.}
+% \changes{v0.1h}{2005/10/02}{Added setting for \cmd{\linewidth}}
% \begin{macrocode}
\def\@captype{#1}\setbox\@floatcapt=\vbox{}%
\setbox\@currbox\color@vbox\normalcolor
- \vbox\bgroup \hsize\columnwidth \@parboxrestore
+ \vbox\bgroup
+ \hsize\columnwidth
+ \linewidth\columnwidth
+ \@parboxrestore
\@floatboxreset \@setnobreak
% \end{macrocode}
% The final |\ignorespaces| is needed to gobble any spaces or new lines
@@ -4093,13 +4342,15 @@
\newcommand\FB@fs@wd{\@tempdima\FBB@wd
% \end{macrocode}
% The |\flrow@setwd| could define the width for current float.
+% \changes{v0.1h}{2005/10/02}{Added setting for \cmd{\linewidth}}
% \begin{macrocode}
\flrow@setwd\textwidth\@tempdima
\adj@dim\@tempdima-\FB@wadj=\@tempdima
\settowidth\@tempdimb{{\FBleftmargin}{\FBrightmargin}}%
\advance\@tempdima-\@tempdimb
\global\FBc@wd\@tempdima\global\FB@wd\@tempdima
- \adj@dim\@tempdima-\FBo@wadj={\global\FBo@wd}\hsize\FBo@wd
+ \adj@dim\@tempdima-\FBo@wadj={\global\FBo@wd}%
+ \hsize\FBo@wd\linewidth\hsize
\FBifcaptop
\ifnum\FPOScnt=0\columnwidth\hsize\else\columnwidth\FBc@wd\fi
\else
@@ -4128,8 +4379,8 @@
\else
\global\FBc@wd=\FCwidth
% \end{macrocode}
-% This flag controls whether to fill rest space of float box with object contents
-% when caption width was predefined.
+% This flag controls whether to fill rest space of float box with object
+% contents when caption width was predefined.
% \begin{macrocode}
\FC@ifo@fil\advance\@tempdima-\FBc@wd\fi
\fi
@@ -4139,11 +4390,12 @@
\FC@ifo@fil\else\@tempdima.5\@tempdima
% \end{macrocode}
% The |\flrow@setwd| could define the width for followed float.
+% \changes{v0.1h}{2005/10/02}{Added setting for \cmd{\linewidth}}
% \begin{macrocode}
\flrow@setwd\FB@wd\@tempdima\fi
\adj@dim\@tempdima-\FBo@wadj={\global\FBo@wd}%
\FC@ifc@wd\else\global\advance\FBc@wd-\FB@wd\fi
- \hsize\FBo@wd\columnwidth\FBc@wd
+ \hsize\FBo@wd\linewidth\hsize\columnwidth\FBc@wd\linewidth\hsize
\FCset@vpos}
% \end{macrocode}
% \end{macro}
@@ -4164,10 +4416,10 @@
%
% \begin{em}
% \textit{Floatrow note.}
-% Macro |\float@makebox| was redefined to fit more float object---caption combinations.
-% There was created the |\float@makebox| stuff.
-% First goes changed \pkg{float} |\float@makebox| which loads necessary layout macro
-% for above/below or beside captions.
+% Macro |\float@makebox| was redefined to fit more float object---caption
+% combinations. There was created the |\float@makebox| stuff.
+% First goes changed \pkg{float} |\float@makebox| which loads necessary
+% layout macro for above/below or beside captions.
%
% The |\float@makebox| stuff includes |\FB@foot| macro
% to allow usage of |\floatfoot| (any foot non-caption material)
@@ -4179,18 +4431,21 @@
\FBifcapbeside\flrow@FC{#1}\else\flrow@FB{#1}\fi}
% \end{macrocode}
% The definitions of vertical fine tuning corrections.
-% \changes{v0.1d}{2005/02/07}{Added vert skips (\cmd{\FBaskip}, \cmd{\FBbskip})
-% for layout fine tuning}
+% \changes{v0.1d}{2005/02/07}{Added vert skips (\cmd{\FBaskip},
+% \cmd{\FBbskip}) for layout fine tuning}
% \changes{v0.1d}{2005/02/07}{Added flag for float box layout building}
-% \changes{v0.1d}{2005/02/07}{\cmd{\begin@FBBOX}\dots\cmd{\end@FBBOX} moved to \cmd{\flrow@makebox}}
+% \changes{v0.1d}{2005/02/07}{\cmd{\begin@FBBOX}\dots\cmd{\end@FBBOX}
+% moved to \cmd{\flrow@makebox}}
% \begin{macrocode}
\newcommand\FBaskip{\z@}\newcommand\FBbskip{\z@}
\newif\ifFBbuild\FBbuildtrue
% \end{macrocode}
% \begin{macro}{\flrow@FB}
-% The macro of |\float@makebox| stuff which builds float box with above/below caption.
-% \changes{v0.1f}{2005/06/14}{The argument used for defining of dimension---%^^A
-% restored for (\pkg{float}) compatibility with \pkg{hyperref} package.}
+% The macro of |\float@makebox| stuff which builds float box with
+% above/below caption.
+% \changes{v0.1f}{2005/06/14}{The argument used for defining of
+% dimension---restored for (\pkg{float}) compatibility with
+% \pkg{hyperref} package.}
% \begin{macrocode}
\newcommand\flrow@FB[1]{\vbox{\@tempdima=#1\vskip\FBaskip
\@parboxrestore\hbox to\@tempdima{\def\FB@zskip{\vskip\z@}%
@@ -4203,8 +4458,9 @@
%
% \begin{macro}{\flrow@FC}
% Definition of float with beside caption.
-% \changes{v0.1f}{2005/06/14}{The argument used for defining of dimension---%^^A
-% restored for (\pkg{float}) compatibility with \pkg{hyperref} package.}
+% \changes{v0.1f}{2005/06/14}{The argument used for defining of
+% dimension---restored for (\pkg{float}) compatibility with
+% \pkg{hyperref} package.}
% \begin{macrocode}
\newcommand\flrow@FC[1]{\vbox{\@tempdima=#1\@parboxrestore
\flrow@FClist\vskip\FBaskip
@@ -4215,10 +4471,10 @@
% \end{macrocode}
% \end{macro}
% These macros define box,
-% which is changed accordingly for creation of axis at the top, bottom, or center
-% of boxes.
-% \changes{v0.1d}{2005/02/07}{Added vertical skips (\cmd{\FBaskip}, \cmd{\FBbskip})
-% for layout fine tuning}
+% which is changed accordingly for creation of axis at the top, bottom,
+% or center of boxes.
+% \changes{v0.1d}{2005/02/07}{Added vertical skips (\cmd{\FBaskip},
+% \cmd{\FBbskip}) for layout fine tuning}
% \changes{v0.1d}{2005/02/07}{Added flag for float box layout building}
% \changes{v0.1d}{2005/02/07}{Settings for beside caption removed
% (they were set outside group somewhere above)}
@@ -4231,9 +4487,11 @@
% \end{macrocode}
% Definitions for fill material for vertical alignment and command with
% width settings of boxes.
+% \changes{v0.1h}{2005/10/02}{Added setting for \cmd{\linewidth}}
% \begin{macrocode}
\newcommand\FBafil{\vfill}\newcommand\FBbfil{\vfill}
-\newcommand\FBw@box[1]{\hsize#1\columnwidth#1\normalfont\normalcolor}
+\newcommand\FBw@box[1]{\hsize#1\columnwidth#1\linewidth#1%
+ \normalfont\normalcolor}
\newcommand\FB@vbox[3]{\ifx#2\relax\vbox\bgroup\else
\vbox to#2\bgroup\vsize#2\fi\FBw@box#1#3\vskip\z@\egroup}
\newcommand\FB@vtop[3]{\ifx#2\relax\vtop\bgroup\else
@@ -4246,8 +4504,10 @@
% (they don't create any left/right fill material).
%
% First macro builds box with caption above/below.
-% \changes{v0.1d}{2005/02/07}{\cmd{\begin@FBBOX}\dots\cmd{\end@FBBOX} moved to \cmd{\flrow@makebox}}
-% \changes{v0.1f}{2005/06/14}{New design implementation for \cmd{\captionof}-like stuff?}
+% \changes{v0.1d}{2005/02/07}{\cmd{\begin@FBBOX}\dots\cmd{\end@FBBOX}
+% moved to \cmd{\flrow@makebox}}
+% \changes{v0.1f}{2005/06/14}{New design implementation for
+% \cmd{\captionof}-like stuff?}
% \begin{macrocode}
\newcommand\flrow@FB@{\FB@frame{\begin@FBBOX
\adj@dim\FBo@wd+\FBo@wadj=\hsize
@@ -4307,8 +4567,9 @@
\fi\@@FBbelow\FB@zskip\end@FBBOX}}
% \end{macrocode}
% Second internal macro for float row builds float box with beside caption.
-% \changes{v0.1e}{2005/03/22}{Sorting \cmd{\floatfacing} command to use separate parameters for
-% building of beside caption layout and float environment margins.}
+% \changes{v0.1e}{2005/03/22}{Sorting \cmd{\floatfacing} command to use
+% separate parameters for building of beside caption layout and float
+% environment margins.}
% \begin{macrocode}
\newcommand\flrow@FC@{\FB@frame{\begin@FBBOX
\adj@dim\FBo@wd+\FBo@wadj=\hsize
@@ -4319,8 +4580,8 @@
\FCc@box{\FBw@box\FBc@wd\unvbox\@floatcapt\FB@foot}%
\floatcapbesidesep\fi
% \end{macrocode}
-% |\FBf@raise| uses |\raisebox| correction to align top (bottom) of caption text with
-% top (bottom) of object frame.
+% |\FBf@raise| uses |\raisebox| correction to align top (bottom) of caption
+% text with top (bottom) of object frame.
% \begin{macrocode}
\FBf@raise{\FBo@frame{\FCo@box{\FBw@box\FBc@wd\unvbox\@currbox}}}}%
{\FBf@raise{\FBo@frame{\FCo@box{\FBw@box\FBo@wd\unvbox\@currbox}}}%
@@ -4341,9 +4602,9 @@
% \end{macro}
%
% \begin{macro}{\float@end}
-% The internal macro |\end@float| appears here under the name of |\float@end|.
-% The main thing which is changed is that we call |\float@makebox| to
-% reconstruct the float according to the float style.
+% The internal macro |\end@float| appears here under the name of
+% |\float@end|. The main thing which is changed is that we call
+% |\float@makebox| to reconstruct the float according to the float style.
% We want to do exactly what the \LaTeX\ kernel does without copying
% actual kernel code if we can help it; therefore we finish off the
% float using the kernel |\@endfloatbox|, then replace \LaTeX's
@@ -4359,7 +4620,7 @@
% This flag stops repeated usage of |\float@makebox| after |\floatbox|
% in |\float@end|, |\float@endH| and
% |\float@dblend| macros and, if \pkg{rotating} used,
-% replaces usage of |\float@makebox| to \LaTeX's standard box |\@currbox| in
+% in replaces usage of |\float@makebox| to \LaTeX's standard box |\@currbox|
% |\rotfloat@makebox| and |\rotfloat@dblmakebox| commands.}
% \changes{v0.1d}{2005/02/07}{Added flag for float box layout building}
% \begin{macrocode}
@@ -4379,10 +4640,13 @@
% Added flag |\ifFBbuild| for float box layout building.
% This flag stops repeated usage of |\float@makebox| after |\floatbox|.}
% \changes{v0.1d}{2005/02/07}{Added flag for float box layout building}
+% \changes{v0.1h}{2005/10/25}{Added penalties \cmd{\@beginparpenalty}
+% and \cmd{\@endparpenalty}}
% \begin{macrocode}
-\newcommand\float@endH{\@endfloatbox\vskip\intextsep
+\newcommand\float@endH{\@endfloatbox\par
+ \addpenalty\@beginparpenalty\vskip\intextsep
\ifFBbuild\setbox\@currbox\float@makebox\columnwidth\fi
- \box\@currbox\vskip\intextsep\relax}
+ \box\@currbox\par\addpenalty\@endparpenalty\vskip\intextsep\relax}
% \end{macrocode}
% \end{macro}
%
@@ -4414,9 +4678,10 @@
% \begin{macro}{\caption}
% This is the only \LaTeX\ macro that this document style supersedes.
% {\em[\dots]} the caption routines from \pkg{float} are used {\em[\dots]}.
-% {\em \textit{Floatrow note.} The \pkg{float}'s caption layout stuff replaced by
-% \pkg{caption}'s |\captionsetup|. In \pkg{floatrow} package redefined
-% |\@makecaption| command (|\caption|'s definition commented).}
+% {\em \textit{Floatrow note.} The \pkg{float}'s caption layout stuff
+% replaced by \pkg{caption}'s |\captionsetup|. In \pkg{floatrow}
+% package redefined |\@makecaption| command (\LaTeX's definition
+% of |\caption| commented).}
% \changes{v0.1f}{2005/06/14}{The definition of \cmd{\caption} commented.}
% \begin{macrocode}
%\renewcommand\caption{%
@@ -4433,8 +4698,8 @@
% \begin{macro}{\float@caption}
% The |\float@caption| macro takes care of entering the caption into
% the appropriate listing. It also controls the typesetting of the caption
-% itself, although a style-dependent macro |\@fs@capt| is called
-% to handle the specifics. {\em \textit{Floatrow note}. The command |\@fs@capt|
+% itself, although a style-dependent macro |\@fs@capt| is called to handle
+% the specifics. {\em \textit{Floatrow note}. The command |\@fs@capt|
% removed---\pkg{floatrow} package uses \pkg{caption} 3.0 possibilities and
% its own definitions.}
%
@@ -4447,13 +4712,13 @@
% floats of this class. Note that |\float@caption| is |\long|
% to allow for paragraph breaks in its arguments.
%
-% {\em \textit{Floatrow note.} The support of optional argument for legend after
-% mandatory caption argument didn't declared in user part of documentation.
-% Since caption version 3.0 didn't support this feature, it was removed. Use
-% |\floatfoot| macro for additional text.}
+% {\em \textit{Floatrow note.} The support of optional argument for legend
+% after mandatory caption argument didn't declared in user part of
+% documentation. Since caption version 3.0 didn't support this feature,
+% it was removed. Use |\floatfoot| macro for additional text.}
%
-% \changes{v0.1f}{2005/06/14}{The definition of \cmd{\float@caption} commented:
-% this macro used as safe command for \cmd{\@caption}.}
+% \changes{v0.1f}{2005/06/14}{The definition of \cmd{\float@caption}
+% commented: this macro used as safe command for \cmd{\@caption}.}
% {\em \textit{Floatrow note.} In version 0.1f this definition commented.}
% \begin{macrocode}
%\long\def\float@caption#1[#2]#3{%
@@ -4468,9 +4733,9 @@
% \end{macrocode}
% {\em \textit{Floatrow note.}
% In next line is added necessary width for caption for fancy float layout.
-% The flag |\if@@FS|, which checks whether float style predefined is stored---maybe
-% caption appears outside any float environment and |\floatbox| command in this case
-% it will use |\hsize| definitions.}
+% The flag |\if@@FS|, which checks whether float style predefined is
+% stored---maybe caption appears outside any float environment and
+% |\floatbox| command in this case it will use |\hsize| definitions.}
% \begin{macrocode}
% \vbox\bgroup\@parboxrestore\reset@font\if@@FS\hsize\FBc@wd\fi
% \normalsize\abovecaptionskip\z@\belowcaptionskip\z@
@@ -4483,7 +4748,8 @@
% appropriate auxiliary file. The file is then restarted.
% First of all, we check whether the float style that's supposed to be
% listed is actually defined. If not, we output a |\float@error|
-% {\em(\textit{Floatrow note.} the |\float@error| changed to |\flrow@error|)}.
+% {\em(\textit{Floatrow note.} the |\float@error| changed to
+% |\flrow@error|)}.
% \begin{macrocode}
\newcommand*{\listof}[2]{%
\@ifundefined{ext@#1}{\flrow@error{#1}}{%
@@ -4540,13 +4806,14 @@
% \end{macrocode}
% \end{macro}
%
-% {\em \textit{Floatrow note.} Here goes \pkg{floatrow} message about finishing of loading of
-% \pkg{float} package's corrected code.}
+% {\em \textit{Floatrow note.} Here goes \pkg{floatrow} message about
+% finishing of loading of \pkg{float} package's corrected code.}
% \begin{macrocode}
\PackageInfo{floatrow}{Modified float package code loaded}
% \end{macrocode}
%
-% \subsection{Borrowed Code (with original comment) from \pkg{rotfloat} package}
+% \subsection{Borrowed Code (with original comment)
+% from \pkg{rotfloat} package}
%
% \begin{macrocode}
\IfFileExists{rotating.sty}{\@tempswatrue}{\@tempswafalse}
@@ -4559,12 +4826,13 @@
% The main redefinitions for \pkg{rotfloat} (|\flrow@restyle| stuff) purposes
% were made above (in \pkg{float} part).\\{}[\dots]
%
-% Code contents of |\rotfloat@float| and |\rotfloat@dblfloat| moved up inside |\flrow@restyle| macro.}
+% Code contents of |\rotfloat@float| and |\rotfloat@dblfloat| moved up
+% inside |\flrow@restyle| macro.}
%
% \begin{macro}{\@float@HH}
% We have to extend |\@float@HH|\emph{[\dots]}.
-% {\em \textit{Floatrow note}. Since |\rotfloat@endH| was originally defined as
-% |\float@endH| in current macro used |\float@endH|}
+% {\em \textit{Floatrow note}. Since |\rotfloat@endH| was originally defined
+% as |\float@endH| in current macro used |\float@endH|}
% \begin{macrocode}
\let\rotfloat@HH\@float@HH
\def\@float@HH#1{%
@@ -4584,10 +4852,10 @@
%
% \begin{macro}{\rotfloat@makebox}
% \begin{macro}{\rotdblfloat@makebox}
-% |\float@makebox| has a parameter here which will be set to |\columnwidth| or
-% |\textwidth|. (In the \pkg{float} package $v1.2$ the |\columnwidth| was
-% hard wired into |\float@makebox|.) So we have to pass this parameter through
-% the original version of |\float@makebox| which we have saved to
+% |\float@makebox| has a parameter here which will be set to |\columnwidth|
+% or |\textwidth|. (In the \pkg{float} package $v1.2$ the |\columnwidth| was
+% hard wired into |\float@makebox|.) So we have to pass this parameter
+% through the original version of |\float@makebox| which we have saved to
% |\rotfloat@@makebox| within |\rotfloat@float|.)
% \begin{macrocode}
\newcommand*\rotfloat@makebox[1]{%
@@ -4604,8 +4872,9 @@
% \end{macro}
% \end{macro}
%
-% That's all folks\dots {\em \textit{Floatrow note:} of borrowed \pkg{rotfloat} package.
-% And here goes message about loading of \pkg{rotfloat} package's code.}
+% That's all folks\dots {\em \textit{Floatrow note:} of borrowed
+% \pkg{rotfloat} package. And here goes message about loading of
+% \pkg{rotfloat} package's code.}
% \begin{macrocode}
\PackageInfo{floatrow}{Modified rotfloat package code loaded}
\fi
@@ -4671,9 +4940,9 @@
% \begin{macro}{\mpfootnotemark}
% There is the definition of |\footnotemark| which creates the same mark as
% |\footnote| inside \texttt{minipage} environment. That could be useful in
-% multiple footnote marks in tables. Since the same definition was loaded in
-% \pkg{footmisc} v5.3, these macros are defined at the beginning of document
-% in the case only if \pkg{footmisc} was not loaded.
+% multiple footnote marks in tables. Since the same definition was loaded
+% in \pkg{footmisc} v5.3, these macros are defined at the beginning of
+% document in the case only if \pkg{footmisc} was not loaded.
% \begin{macrocode}
\AtBeginDocument{\providecommand\mpfootnotemark{\@ifnextchar[%]
\@xmpfootnotemark{\stepcounter\@mpfn
@@ -4688,8 +4957,8 @@
% \subsection{Macro for Legends, Explications, etc.}
%
% \begin{macro}{\floatfoot}
-% This command made for the same reasons as \pkg{ccaption}'s |\legend| macro
-% and uses its style. It uses |\caption| mechanism.
+% This command made for the same reasons as \pkg{ccaption}'s |\legend|
+% macro and uses its style. It uses |\caption| mechanism.
% \begin{macrocode}
\newcommand\floatfoot{\@ifstar
{\def\FR@tmp{\@parboxrestore\captionfootfont}\floatfoot@}%
@@ -4697,9 +4966,10 @@
\newcommand\floatfoot@[1]{%
\global\setbox\flrow@foot\vbox{%
% \end{macrocode}
-% The |\if@@FS| flag stored for \env{wrap...} enviroments.
+% The |\if@@FS| flag stored for \env{wrap...} environments.
+% \changes{v0.1h}{2005/10/02}{Added setting for \cmd{\linewidth}}
% \begin{macrocode}
- \if@@FS\hsize\columnwidth\fi
+ \if@@FS\hsize\columnwidth\linewidth\columnwidth\fi
\@parboxrestore\reset@font\color@begingroup
% \end{macrocode}
% Apply current float settings.
@@ -4730,15 +5000,18 @@
% \begin{description}
% \item[\meta{preamble}]there could be\\
% \qquad\cmd{\capbeside} and \cmd{\nocapbeside},
-% or you may try to add any other regular command (e.g. |\captionsetup| or |\thisfloatsetup| stuff);
-% \item[\meta{captype}]the |\@captype| of float type this command created for;
+% or you may try to add any other regular command (e.g. |\captionsetup|
+% or |\thisfloatsetup| stuff);
+% \item[\meta{captype}]the |\@captype| of float type this command
+% created for;
% \item[\meta{width}]the width of object---caption box
% (in case of caption above or below object),
% or width of object box (if caption stays beside object);
% \item[\meta{height}]the height of object---caption box
% (in case of caption above or below object),
% or height of object box (if caption stays beside object);
-% \item[\meta{inner vert pos}]vertical alignment of object if its box larger than contents.
+% \item[\meta{inner vert pos}]vertical alignment of object if its box
+% larger than contents.
% \end{description}
%
% \subsection{Defining New Float Box Commands}
@@ -4746,8 +5019,8 @@
% \begin{macro}{\newfloatcommand}
% \begin{macro}{\renewfloatcommand}
% The following macros allow to define user commands-abbreviations:
-% they have common unchanged preamble and setting for default width of float
-% box. Usage:\\[\medskipamount]
+% they have common unchanged preamble and setting for default width of
+% float box. Usage:\\[\medskipamount]
% |\newfloatcommand{|\meta{command}|}{|\meta{captype}|}|^^A
% |[|\meta{preamble}|][|\meta{default width}|]|\\[\medskipamount]
% where:
@@ -4756,9 +5029,9 @@
% \item[\meta{captype}]see section above;
% \item[\meta{preamble}]see section above;
% \item[\meta{default width}]here you could put |\FBwidth| option: in this
-% case the width of object---caption box (in case of caption above or below
-% object) or width of object box (if caption stays beside object) will be
-% equal to width of object.
+% case the width of object---caption box (in case of caption above or
+% below object) or width of object box (if caption stays beside object)
+% will be equal to width of object.
% \end{description}
% Examples:
% \begin{verse}
@@ -4767,7 +5040,8 @@
% \end{verse}
%
% The definition of command for new float command.
-% \changes{v0.1f}{2005/06/14}{Bug fix: corrected \cmd{\@latex@error} command code.}
+% \changes{v0.1f}{2005/06/14}{Bug fix: corrected \cmd{\@latex@error}
+% command code.}
% \begin{macrocode}
\newcommand\newfloatcommand[2]{%
\@ifundefined{#1}{}%
@@ -4842,8 +5116,8 @@
% \begin{macro}{\FBo@max}
% \begin{macro}{\FBc@max}
% \begin{macro}{\FBf@max}
-% These three internal dimensions determine maximum object, caption and foot boxes
-% in float row environments for special styles.
+% These three internal dimensions determine maximum object, caption and
+% foot boxes in float row environments for special styles.
% \begin{macrocode}
\newlength\FBo@max
\newlength\FBc@max
@@ -4864,31 +5138,41 @@
\@ifundefined{c@#1}{\@nocounterr{#1}}%
{\advance\csname c@#1\endcsname #2\relax}}
% \end{macrocode}
-% (The command for localization of |\refstepcounter| and |\refsteponlycounter| commented.
-% For a while.)
+% The command for localization of |\refstepcounter| and
+% |\refsteponlycounter|.
+% \changes{v0.1h}{2005/10/25}{The \cmd{\FR@loc@refcnt} uncommented.}
% \begin{macrocode}
-%\newcommand\FR@loc@refcnt[1]{%
-% \@ifundefined{c@#1}{\@nocounterr{#1}}%
-% {\advance\csname c@#1\endcsname1\relax}}
+\newcommand\FR@loc@refcnt[1]{%
+ \@ifundefined{c@#1}{\@nocounterr{#1}}%
+ {\advance\csname c@#1\endcsname1\relax}}
% \end{macrocode}
% Gobbling of caption label and localization of counter change.
+% \changes{v0.1h}{2005/10/25}{The \cmd{\refstepcounter} and
+% \cmd{\refsteponlycounter} localized (for \cmd{\ContinuedFloat}
+% with \pkg{subfig}).}
% \begin{macrocode}
\newcommand\FR@loc@{\let\label\@gobble
-% \let\refstepcounter\FR@loc@refcnt\let\refsteponlycounter\FR@loc@refcnt
+ \let\refstepcounter\FR@loc@refcnt\let\refsteponlycounter\FR@loc@refcnt
% \end{macrocode}
-% The |\cl@@ckpt| is macro which ``globalizes'' all counter. It is used by \env{tabularx}
-% environment. Here it is emptied during local creation of caption box.
-% \changes{v0.1d}{2005/02/07}{Advanced redefinition of global recount (for \env{tabularx} environment)}
-% \changes{v0.1f}{2005/06/14}{Added `gobbling' redefinition for \cmd{\sf@updatecaptionlist}
-% macro (\pkg{subfig}).}
+% The |\cl@@ckpt| is macro which ``globalizes'' all counter. It is used by
+% \env{tabularx} environment. Here it is emptied during local creation of
+% caption box.
+% \changes{v0.1d}{2005/02/07}{Advanced redefinition of global recount
+% (for \env{tabularx} environment)}
+% \changes{v0.1f}{2005/06/14}{Added `gobbling' redefinition for
+% \cmd{\sf@updatecaptionlist} macro (\pkg{subfig}).}
% \begin{macrocode}
\let\cl@@ckpt\empty\let\addtocounter\FR@loc@addcnt
\def\sf@updatecaptionlist##1##2##3##4{}}
% \end{macrocode}
-% (The macro for temporary redefinition for counting of caption width. Commented.)
+% The macro for temporary redefinition for counting of caption width.
+% \changes{v0.1h}{2005/10/31}{The \cmd{\caption@lfmt} used instead of
+% \cmd{\fnum@}\cmd{\@captype}.}
% \begin{macrocode}
\def\FBtmp@cap#1[#2]#3{\sbox\@tempboxa
- {\caption@@@make{\csname fnum@\@captype \endcsname}{#3}}%
+% {\caption@@@make{\csname fnum@\@captype \endcsname}{#3}}%
+ {\caption@@@make{\caption@lfmt{\@nameuse{\@captype name}}%
+ {\@nameuse{the\@captype}}}{#3}}%
\global\@tempdimb\wd\@tempboxa}
% \end{macrocode}
% \end{macro}
@@ -4905,22 +5189,24 @@
% \end{macrocode}
% At first macro defines |\hsize| (which could be used in width definition),
% i.e. change it for fit contents in boxes.
-% The |\FBget@box| macro uses the |\FBB@wd| command. In the case of |\hsize=0pt|
-% the |\FBB@wd| still defined as |\relax|. It will be defined later.
-%
-% The |\hsize=0pt| can be defined in mandatory argument of \env{wrap...} environment
-% in the case of creation space equal to float contents. If |\floatbox| macro
-% has not any \oarg{width} argument, the |\hsize| of wrapped figure
-% equals to beside text (i.e. current text is `divided' into two columns).
-% \changes{v0.1f}{2005/06/14}{Added value for undefined \cmd{\FBB@wd} command.
-% (used as flag for wrapped floats.)}
+% The |\FBget@box| macro uses the |\FBB@wd| command. In the case of
+% |\hsize=0pt| the |\FBB@wd| still defined as |\relax|. It will be
+% defined later.
+%
+% The |\hsize=0pt| can be defined in mandatory argument of \env{wrap...}
+% environment in the case of creation space equal to float contents.
+% If |\floatbox| macro has not any \oarg{width} argument, the |\hsize|
+% of wrapped figure equals to beside text (i.e. current text is `divided'
+% into two columns).
+% \changes{v0.1f}{2005/06/14}{Added value for undefined \cmd{\FBB@wd}
+% command. (used as flag for wrapped floats.)}
% \begin{macrocode}
\FBiffloatrow\else
\ifx\FBB@wd\relax
\ifdim\hsize=\z@
% \end{macrocode}
-% The |\floatbox| stuff doesn't use special |\caption| definition inside \env{wrap...}
-% environment---|\caption| restores its behavior.
+% The |\floatbox| stuff doesn't use special |\caption| definition inside
+% \env{wrap...} environment---|\caption| restores its behavior.
% \begin{macrocode}
\@ifundefined{wf@@caption}{}{\let\caption\wf@@caption}%
\hsize.5\columnwidth\advance\hsize-.5\columnsep
@@ -4953,15 +5239,17 @@
% \changes{v0.1b}{2004/10/22}{Bug fix: \cmd{\FB@wd} changed only
% for beside captions.}
% |\FB@wd| changed only for beside captions.
+% \changes{v0.1h}{2005/10/02}{Added settings for \cmd{\linewidth}}
% \begin{macrocode}
\FBifcapbeside\hsize\FB@wd\fi
+ \linewidth\hsize
% \end{macrocode}
% If there are defined the width and/or height arguments in |\floatbox|
% macro (re)counts width of object and caption.
% \begin{macrocode}
\def\reserved@a{#1}\ifx\reserved@a\empty
\else\FBget@@wd{#1}{#3}\fi
- \hsize\FBo@wd
+ \hsize\FBo@wd\linewidth\hsize
\FBifcapbeside
\FC@ifc@wd\else\advance\FBc@wd-\FB@wd\fi
\else
@@ -4970,7 +5258,7 @@
% \end{macrocode}
% From this point macro counts heights of caption and object if necessary.
% \begin{macrocode}
- \setbox0\vbox{\FR@loc@\hsize\FBo@wd
+ \setbox0\vbox{\FR@loc@\hsize\FBo@wd\linewidth\hsize
\FBifcaptop
\ifnum\FPOScnt=0\columnwidth\hsize\else\columnwidth\FBc@wd\fi
\else
@@ -5030,18 +5318,20 @@
\FC@ifc@wd
% \end{macrocode}
% If |\FCwidth| was not defined (|\relax|), macro counts
-% natural caption width (in this case |\caption| restores plain \LaTeX's behavior).
-% The contents of float hidden in |\box1|.
-% \changes{v0.1f}{2005/06/14}{Added temporal redefinition of \cmd{\refstepcounter}.}
+% natural caption width (in this case |\caption| restores plain \LaTeX's
+% behavior). The contents of float hidden in |\box1|.
+% \changes{v0.1f}{2005/06/14}{Added temporal redefinition of
+% \cmd{\refstepcounter}.}
+% \changes{v0.1h}{2005/10/30}{The \cmd{\refstepcounter} and
+% \cmd{\refsteponlycounter} localized (for \cmd{\ContinuedFloat}
+% with \pkg{subfig}).}
% \begin{macrocode}
\ifx\FCwidth\relax
\setbox1\vbox{\FR@loc@
- \let\refstepcounter\stepcounter
\let\caption\FB@caption
\let\@caption\FBtmp@cap
#2}%
\FBc@wd=\@tempdimb
-% \FBc@wd=\wd\@floatcapt
\else
\FBc@wd=\FCwidth
% \end{macrocode}
@@ -5058,11 +5348,12 @@
% \begin{macro}{\FBget@@wd}
% Counts the width of object if the width optional argument not empty.
%
-% There is na\u\i{}ve check of existence of |\FBwidth| and/or |\FBheight| commands
-% in optional arguments.
-% I hope it could work unless you've enlarge the box by more than
-% 5 times of original size (in this case the absolute dimensions more preferable).
-% \changes{v0.1f}{2005/06/14}{The \texttt{4}\cmd{\textwidth} changed to absolute value.}
+% There is na\u\i{}ve check of existence of |\FBwidth| and/or
+% |\FBheight| commands in optional arguments. I hope it could work
+% unless you are manipulating with metre dimensions or set more than
+% |5\FBwidth| (|5\FBheight|) in \meta{width} (\meta{height}) option.
+% \changes{v0.1f}{2005/06/14}{The \texttt{4}\cmd{\textwidth} changed
+% to absolute value.}
% \begin{macrocode}
\newcommand\FBget@@wd[2]{\@tempswafalse
\begingroup
@@ -5099,7 +5390,8 @@
%
% \begin{macro}{\FBget@@ht}
% Counts the height of object if the height optional argument not empty.
-% \changes{v0.1f}{2005/06/14}{The \texttt{4}\cmd{\textheight} changed to absolute value.}
+% \changes{v0.1f}{2005/06/14}{The \texttt{4}\cmd{\textheight} changed
+% to absolute value.}
% \begin{macrocode}
\newcommand\FBget@@ht[1]{\@tempswafalse
\begingroup
@@ -5160,9 +5452,9 @@
%
% \begin{macro}{\FB@writeaux}
% \begin{macro}{\FB@readaux}
-% Excerpt from \LaTeX's |\protected@write|. This command is used for printing
-% in \texttt{.aux}-file the necessary settings which will work in next
-% \LaTeX{} run.
+% Excerpt from \LaTeX's |\protected@write|. This command is used for
+% printing in \texttt{.aux}-file the necessary settings which will work
+% in next \LaTeX{} run.
% \begin{macrocode}
\newcommand\FB@writeaux[1]{%
\begingroup
@@ -5194,8 +5486,8 @@
% \begin{macro}{\FBs@raise}
% \begin{macro}{\FBf@raise}
% \begin{macro}{\FCset@vpos}
-% The |\FC@ifFBOX| flag if true aligns top or bottom
-% of object's frame with top or bottom of beside caption if fancy layout used.
+% The |\FC@ifFBOX| flag if true aligns top or bottom of object's
+% frame with top or bottom of beside caption if fancy layout used.
% \begin{macrocode}
\let\FC@ifFBOX\iffalse
\newcommand\FBs@raise{\raisebox{-\totalheight}}
@@ -5203,8 +5495,8 @@
% \end{macrocode}
% Setting of vertical position for beside caption and object.
% Here is used \LaTeX's |\@parboxto| command, because of here is used
-% analogous mechanism of box building as in |\parbox| command and \env{minipage}
-% environment.
+% analogous mechanism of box building as in |\parbox| command and
+% \env{minipage} environment.
% \begin{macrocode}
\newcommand\FCset@vpos{\@FC@vpos
\ifcase\count@
@@ -5265,18 +5557,18 @@
% If object---caption stays alone here go
% special style settings for current float type.
% Then go the settings for caption layout.
-% \changes{v0.1f}{2005/06/14}{Added local redefining of \cmd{\@makecaption} and
-% \cmd{\@floatboxreset} (if outside float env).}
-% \changes{v0.1f}{2005/06/14}{The \cmd{\flrow@settype} changed to \cmd{\flrow@setlist}
-% (loads also caption settings).}
+% \changes{v0.1f}{2005/06/14}{Added local redefining of \cmd{\@makecaption}
+% and \cmd{\@floatboxreset} (if outside float env).}
+% \changes{v0.1f}{2005/06/14}{The \cmd{\flrow@settype} changed to
+% \cmd{\flrow@setlist} (loads also caption settings).}
% \changes{v0.1f}{2005/06/14}{The \cmd{\capstart} stuff loaded here.}
% \begin{macrocode}
\if@@FS\else\FR@redefs
\flrow@setlist{{\@captype}}\FRifFBOX\@@setframe\fi\@@FStrue
\fi
% \end{macrocode}
-% Then load settings for beside captions, in the case we use this layout---^^A
-% the beside caption could use a bit different layout.
+% Then load settings for beside captions, in the case we use this
+% layout---the beside caption could use a bit different layout.
% \begin{macrocode}
\FBifcapbeside\flrow@FClist\fi
\flrow@settype{tmpset}\global\let\flrow@typ@tmpset\undefined
@@ -5289,14 +5581,14 @@
% and object. Before it starts group to localize |\hsize| settings.
% \changes{v0.1b}{2004/10/22}{Bug fix: grouping restored\ldots}
% \changes{v0.1d}{2005/02/07}{\ldots for all cases.}
-% \changes{v0.1e}{2005/03/22}{The \cmd{\begingroup} moved up at the beginning of \cmd{\floatbox}
-% macro.}
+% \changes{v0.1e}{2005/03/22}{The \cmd{\begingroup} moved up at the
+% beginning of \cmd{\floatbox} macro.}
% \begin{macrocode}
\FBget@box{#1}{#2}{#4#5}%
% \end{macrocode}
% In this point defined macros for building of beside object---caption box.
-% \changes{v0.1f}{2005/06/14}{The \cmd{\capstart} added as a)~\cmd{\FR@floatbox} arg
-% (outside float row).}
+% \changes{v0.1f}{2005/06/14}{The \cmd{\capstart} added as
+% a)~\cmd{\FR@floatbox} argument (outside float row).}
% \begin{macrocode}
\FBifcapbeside\FCset@vpos\fi
\FBiffloatrow\FR@floatbox{\@ifundefined{capstart}{}{\capstart}#4#5}\else
@@ -5305,12 +5597,15 @@
% For the case of counting of float width inside \env{wrap...} environment
% here defined the |\FBB@wd| macro.
% \changes{v0.1d}{2005/02/07}{Added flag for float box layout building}
-% \changes{v0.1d}{2005/02/07}{\cmd{\float@makebox} macro changed to its contents}
-% \changes{v0.1f}{2005/06/14}{If \cmd{\FBB@wd} still \cmd{\relax}, it defined here.}
-% \changes{v0.1f}{2005/06/14}{The \cmd{\capstart} added as b)~\cmd{\FBsetbox@obj} arg
-% (in float row).}
-% \begin{macrocode}
- \adj@dim\FB@wd+\FB@wadj=\hsize
+% \changes{v0.1d}{2005/02/07}{\cmd{\float@makebox} macro changed to
+% its contents}
+% \changes{v0.1f}{2005/06/14}{If \cmd{\FBB@wd} still \cmd{\relax},
+% it defined here.}
+% \changes{v0.1f}{2005/06/14}{The \cmd{\capstart} added as
+% b)~\cmd{\FBsetbox@obj} argument (in float row).}
+% \changes{v0.1h}{2005/10/02}{Added setting for \cmd{\linewidth}}
+% \begin{macrocode}
+ \adj@dim\FB@wd+\FB@wadj=\hsize\linewidth\hsize
\ifx\FBB@wd\relax\edef\FBB@wd{\the\hsize}\fi
\FBsetbox@obj{\@ifundefined{capstart}{}{\capstart}#4#5}\FBbuildtrue
\FBifcapbeside\flrow@FC\FBB@wd\else\flrow@FB\FBB@wd\fi
@@ -5344,7 +5639,8 @@
\FBifcapbeside\flrow@FC@\else\flrow@FB@\fi
\end@FBBOX
% \end{macrocode}
-% The each float box in float row reduces special counter \texttt{FRobj} by 1.
+% The each float box in float row reduces special counter \texttt{FRobj}
+% by 1.
% \begin{macrocode}
\addtocounter{FRobj}{-1}%
\@tempswafalse\FBiffacing\@tempswatrue\fi
@@ -5378,8 +5674,8 @@
\fi}
% \end{macrocode}
% The macro for storing float object in box in the same way as
-% in plain environment. There is added code for possible usage of \pkg{color} package
-% and color boxes.
+% in plain environment. There is added code for possible usage of
+% \pkg{color} package and color boxes.
% \begin{macrocode}
\newcommand\FBsetbox@obj[1]{%
\setbox\float@box\color@vbox\normalcolor
@@ -5409,8 +5705,8 @@
% \end{macro}
%
% \begin{macro}{\c@FRobj}
-% Counter of objects i a row, which helps to put correct spaces between float boxes
-% and also to define the rest width (|\Xhsize|) for boxes.
+% Counter of objects i a row, which helps to put correct spaces between
+% float boxes and also to define the rest width (|\Xhsize|) for boxes.
% \begin{macrocode}
\newcounter{FRobj}
% \end{macrocode}
@@ -5430,8 +5726,8 @@
% \label{floatrow}
% Environment for placing beside floats (of one type).
% First go counter of floats in row, then the settings for float layout.
-% \changes{v0.1d}{2005/02/07}{Added vertical skips (\cmd{\FBaskip}, \cmd{\FBbskip})
-% for layout fine tuning}
+% \changes{v0.1d}{2005/02/07}{Added vertical skips (\cmd{\FBaskip},
+% \cmd{\FBbskip}) for layout fine tuning}
% \begin{macrocode}
\newcommand\floatrow[1][2]{\setcounter{FRobj}{#1}\FB@facing
\@tempswafalse\FBiffacing\@tempswatrue\fi
@@ -5496,8 +5792,8 @@
\buildFBBOX{\vbox\bgroup}{\vskip\z@\egroup}}
% \end{macrocode}
% Restoring of plain behavior of boxes in \env{floatrow}.
-% \changes{v0.1e}{2005/03/22}{Added \cmd{\PlainFloatBoxes} for restoring plain
-% behavior of boxes.}
+% \changes{v0.1e}{2005/03/22}{Added \cmd{\PlainFloatBoxes} for restoring
+% plain behavior of boxes.}
% \begin{macrocode}
\newcommand\PlainFloatBoxes{%
\gdef\begin@FBBOX{\vbox\bgroup}\gdef\end@FBBOX{\egroup}}
@@ -5523,11 +5819,11 @@
%
% \subsubsection{Definitions analogous to \pkg{caption}'s ones}
%
-% The next bundle of definitions follow \pkg{caption} package macros to organize
-% analogous mechanism of settings.
+% The next bundle of definitions follow \pkg{caption} package macros
+% to organize analogous mechanism of settings.
%
-% \changes{v0.1f}{2005/06/14}{The macro \cmd{\flrow@ifinlist} deleted---it doubles
-% \cmd{\caption@ifinlist} work.}
+% \changes{v0.1f}{2005/06/14}{The macro \cmd{\flrow@ifinlist}
+% deleted---it doubles \cmd{\caption@ifinlist} work.}
%
% \begin{macro}{\flrow@setbool}
% Macro analogous to |\caption@setbool|.
@@ -5540,8 +5836,8 @@
% \end{macrocode}
% \end{macro}
%
-% \changes{v0.1f}{2005/06/14}{The macro \cmd{\l@addto@macro} deleted---it repeats
-% \pkg{caption} package's definition.}
+% \changes{v0.1f}{2005/06/14}{The macro \cmd{\l@addto@macro}
+% deleted---it repeats \pkg{caption} package's definition.}
%
% \subsubsection{Defining Stuff for Float Layout Settings}
%
@@ -5562,7 +5858,8 @@
% \begin{macro}{\flrow@setup}
% \begin{macro}{\flrow@esetup}
% \begin{macro}{\flrow@settype}
-% Macros analogous to |\caption@setup|, |\caption@esetup| and |\caption@settype|.
+% Macros analogous to |\caption@setup|, |\caption@esetup| and
+% |\caption@settype|.
% \begin{macrocode}
\def\flrow@setup{\setkeys{floatrow}}
\def\flrow@esetup#1{%
@@ -5576,7 +5873,8 @@
%
% \begin{macro}{\flrow@setlist}
% \begin{macro}{\flrow@FClist}
-% This macro declares list of float settings (like \texttt{widefloat}, {rotfloat} etc.)
+% This macro declares list of float settings (like \texttt{widefloat},
+% {rotfloat} etc.)
% \changes{v0.1f}{2005/06/14}{Added \cmd{\flrow@capsetup} (AS).}
% \changes{v0.1f}{2005/06/14}{The \cmd{\caption@setposition} settings
% moved here (AS).}
@@ -5588,7 +5886,7 @@
\@flrow@setlist}
% \end{macrocode}
% \changes{v0.1f}{2005/06/14}{The \cmd{\@cap@setlist} redefined (AS).}
-% The code of \@cap@setlist|| co-operated with \pkg{caption} package
+% The code of |\@cap@setlist| co-operated with \pkg{caption} package
% (code suggestions of Axel Sommerfeldt).
% \begin{macrocode}
\newcommand\@cap@setlist[1]{\caption@settype{#1}%
@@ -5604,8 +5902,8 @@
%
% \begin{macro}{\@nameundef}
% \begin{macro}{\clearfloatsetup}
-% \changes{v0.1f}{2005/06/14}{The macro \cmd{\@nameundef} deleted---it repeats
-% \pkg{caption} package's definition.}
+% \changes{v0.1f}{2005/06/14}{The macro \cmd{\@nameundef}
+% deleted---it repeats \pkg{caption} package's definition.}
% Removes all settings for chosen type of float.
% \begin{macrocode}
\newcommand*\clearfloatsetup[1]{\@nameundef{flrow@typ@#1}}
@@ -5625,7 +5923,8 @@
%
% \begin{macro}{\DeclareFROpt}
% The |\DeclareCaptionOption|-analog.\\
-% Since this command has internal usage (before end of package) it has abbreviation-like name.
+% Since this command has internal usage (before end of package) it has
+% abbreviation-like name.
% \begin{macrocode}
\newcommand\DeclareFROpt{%
\@ifstar{\flrow@declopt\AtEndOfPackage}
@@ -5674,9 +5973,10 @@
\caption@settype {#1}}%
\flrow@esetup{\csname flrow@sty@#1\endcsname}}}
% \end{macrocode}
-% Declarations of \pkg{float} package's emulating styles and new \pkg{floatrow} styles.
-% \changes{v0.1f}{2005/06/14}{The bottom caption position moved in \cmd{\FBstyle@reset}
-% as default.}
+% Declarations of \pkg{float} package's emulating styles and new
+% \pkg{floatrow} styles.
+% \changes{v0.1f}{2005/06/14}{The bottom caption position moved in
+% \cmd{\FBstyle@reset} as default.}
% \begin{macrocode}
\DeclareFloatStyle{plain}{}
\DeclareFloatStyle{plaintop}{capposition=top}
@@ -5698,15 +5998,16 @@
% \end{macrocode}
% \end{macro}
%
-% The flag, which loads related caption style (if exists), to chosen float style.
-% The \pkg{caption} 3.0 package defines only one related caption style to \pkg{float} package's
-% style---\texttt{ruled}.
+% The flag, which loads related caption style (if exists), to chosen float
+% style. The \pkg{caption} 3.0 package defines only one related caption
+% style to \pkg{float} package's style---\texttt{ruled}.
% \begin{macrocode}
\let\FR@ifCST\iftrue
% \end{macrocode}
% \end{macro}
% \begin{macro}{relatedcapstyle=}
-% The boolean key which defines, whether to use caption style, related to chosen float style.
+% The boolean key which defines, whether to use caption style, related
+% to chosen float style.
% \begin{macrocode}
\DeclareFROpt{relatedcapstyle}[0]{\flrow@setbool{\FR@ifCST}{#1}}
% \end{macrocode}
@@ -5720,8 +6021,8 @@
% |\floatfoot| use |\captionsetup| mechanism, so its name follows
% \pkg{caption} package's rules (|\captionfootfont|).
% \changes{v0.1f}{2005/06/14}{Removed \texttt{footfont} key.}
-% \changes{v0.1f}{2005/06/14}{Removed \cmd{\AtBeginDocument}'s check---the \cmd{\captionsetup}
-% is always known.}
+% \changes{v0.1f}{2005/06/14}{Removed \cmd{\AtBeginDocument}'s check---the
+% \cmd{\captionsetup} is always known.}
% \begin{macrocode}
\DeclareFROpt{font}{\flrow@setfont{font}{#1}}
\DeclareFROpt{footfont}{\captionsetup[floatfoot]{font={#1}}}
@@ -5739,9 +6040,9 @@
% \end{macro}
%
% \begin{macro}{\captionfootfont}
-% Font for |\legend|-like command |\floatfoot|. This font is used inside macro
-% which uses \pkg{caption} package mechanism, so the name of this font
-% follows rules of font naming in \pkg{caption} package.
+% Font for |\legend|-like command |\floatfoot|. This font is used inside
+% macro which uses \pkg{caption} package mechanism, so the name of this
+% font follows rules of font naming in \pkg{caption} package.
% \begin{macrocode}
\newcommand*\captionfootfont{\normalfont\footnotesize}
% \end{macrocode}
@@ -5752,7 +6053,8 @@
% It's usage:\\
% |\DeclareFloatFont{|\meta{name}|}{|\meta{code}|}|.
% This macro is allowed only in preamble.
-% \changes{v0.1f}{2005/06/14}{The code of \cmd{\DeclareFloatFont} uses caption's key-val settings.}
+% \changes{v0.1f}{2005/06/14}{The code of \cmd{\DeclareFloatFont} uses
+% caption's key-val settings.}
% \begin{macrocode}
\let\DeclareFloatFont\DeclareCaptionFont
\@onlypreamble\DeclareFloatFont
@@ -5763,7 +6065,8 @@
% The |\caption@setfont|-analog.\\
% It's usage:\\
% |\flrow@setfont{|\meta{command}|}{|\meta{keyval-list of names}|}|.
-% \changes{v0.1f}{2005/06/14}{The code of \cmd{\flrow@setfont} uses caption's key-val settings.}
+% \changes{v0.1f}{2005/06/14}{The code of \cmd{\flrow@setfont} uses
+% caption's key-val settings.}
% \begin{macrocode}
\newcommand*\flrow@setfont[2]{%
\let\caption@tempa\@empty
@@ -5771,15 +6074,15 @@
\expandafter\let\csname float#1\endcsname\caption@tempa}
% \end{macrocode}
% \end{macro}
-% \changes{v0.1f}{2005/06/14}{\cmd{\DeclareFloatFont} bundle removed---\pkg{floatrow} package
-% uses \file{caption3} settings.}
+% \changes{v0.1f}{2005/06/14}{\cmd{\DeclareFloatFont} bundle
+% removed---\pkg{floatrow} package uses \file{caption3} settings.}
%
% \subsubsection{Declaring of Caption Position}
%
% \begin{macro}{capposition=}
% Keys for defining caption position in float box.
-% \changes{v0.1f}{2005/06/14}{Added \texttt{position=} key as analog name to
-% the same key in \cmd{\captionsetup} stuff.}
+% \changes{v0.1f}{2005/06/14}{Added \texttt{position=} key as analog name
+% to the same key in \cmd{\captionsetup} stuff.}
% \begin{macrocode}
\DeclareFROpt{capposition}{\flrow@cappos{#1}}
\DeclareFROpt{position}{\flrow@cappos{#1}}
@@ -5787,8 +6090,9 @@
% \end{macro}
%
% \begin{macro}{\flrow@cappos}
-% Macro analogous to |\caption@setposition|. Instead of |auto| here is used
-% |beside| set. Here are also settings for key |position=| from |\captionsetup|.
+% Macro analogous to |\caption@setposition|. Instead of |auto| here is
+% used |beside| set. Here are also settings for key |position=| from
+% |\captionsetup|.
% \begin{macrocode}
\newcommand*\flrow@cappos[1]{%
\caption@ifinlist{#1}{t,top,above}{\captop\nocapbeside
@@ -5803,8 +6107,8 @@
% \begin{macro}{\FBifcaptop}
% \begin{macro}{\captop}
% \begin{macro}{\capbot}
-% The positions for captions in float box.
-% There are defined traditional place of captions at the bottom of
+% The positions for captions in float box. There are defined
+% traditional place of captions at the bottom of
% object---caption box.
% \changes{v0.1f}{2005/06/14}{\cmd{\caption@position} deleted.}
% \begin{macrocode}
@@ -5827,8 +6131,8 @@
\let\FBifCAPTOP\iffalse
\newcommand\CAPTOP{\captop\let\FBifCAPTOP\iftrue\CADJtrue}
% \end{macrocode}
-% In this case if you change contents of caption which could enlarge or
-% reduce the number of lines, you ought to run \LaTeX{} twice.
+% In this case if you change contents of caption which could enlarge
+% or reduce the number of lines, you ought to run \LaTeX{} twice.
% \end{macro}
% \end{macro}
%
@@ -5848,7 +6152,8 @@
% \subsubsection{Defining for Beside Captions}
%
% \begin{macro}{capbesideframe=}
-% This boolean key declares whether near beside caption stays framed object.
+% This boolean key declares whether near beside caption stays framed
+% object.
% \changes{v0.1f}{2005/06/14}{Removed \texttt{besidecapframe} key.}
% \begin{macrocode}
\DeclareFROpt{capbesideframe}[0]{\flrow@setbool{\FC@ifFBOX}{#1}}
@@ -5858,7 +6163,8 @@
% \begin{macro}{capbesidewidth=}
% This key defines width of beside caption.
% \changes{v0.1f}{2005/06/14}{Removed \texttt{besidecapwidth} key.}
-% \changes{v0.1f}{2005/06/14}{Bug fix: the \cmd{\FCwidth} command defined here as \cmd{\relax}.}
+% \changes{v0.1f}{2005/06/14}{Bug fix: the \cmd{\FCwidth} command defined
+% here as \cmd{\relax}.}
% \begin{macrocode}
\DeclareFROpt{capbesidewidth}[1]{\flrow@FCc@wd{#1}}
\let\FC@ifc@wd\iffalse
@@ -5880,9 +6186,9 @@
%
% \begin{macro}{\DeclareSCPos}
% \begin{macro}{\flrow@scpos}
-% The key which defines position of beside captions: vertical and horizontal.
-% This macro is allowed only in preamble. This key is internal (usage till end of package)
-% so it has abbreviation-like name.
+% The key which defines position of beside captions: vertical and
+% horizontal. This macro is allowed only in preamble. This key is
+% internal (usage till end of package) so it has abbreviation-like name.
% \begin{macrocode}
\newcommand\DeclareSCPos[2]{%
\define@key{flrow@scpos}{#1}[]{\g@addto@macro\FR@tmp{#2}}}
@@ -5986,7 +6292,8 @@
%
% \begin{macro}{\ifCADJ}
% \begin{macro}{\ifOADJ}
-% These flags define whether common height is used of captions or/and objects in float row.
+% These flags define whether common height is used of captions
+% or/and objects in float row.
% \begin{macrocode}
\newif\ifCADJ
\newif\ifOADJ
@@ -6003,12 +6310,13 @@
%
% \begin{macro}{\@FB@vpos}
% The vertical alignment of float objects in float row.
+% \changes{v0.1h}{2006/06/16}{Changed \cmd{\vfill} to \cmd{\vss}-like code for vertical alignments}
% \begin{macrocode}
\newcommand\@FB@vpos[1]{%
- \if#1t\def\FBafil{}\def\FBbfil{\vfill}\else
- \if#1b\def\FBafil{\vfill}\def\FBbfil{}\else
- \if#1c\def\FBafil{\vfill}\def\FBbfil{\vfill}\else
- \if#1s\def\FBafil{}\def\FBbfil{}%
+ \if#1t\def\FBafil{}\def\FBbfil{\vss}\else
+ \if#1b\def\FBafil{\vss}\def\FBbfil{}\else
+ \if#1c\def\FBafil{\vskip0ptplus1fillminus1000pt}\def\FBbfil{\vskip0ptplus1fillminus1000pt}\else
+ \if#1s\def\FBafil{\vskip0ptminus1000pt}\def\FBbfil{\vskip0ptminus1000pt}%
\fi\fi\fi\fi}
% \end{macrocode}
% \end{macro}
@@ -6062,8 +6370,8 @@
% \end{macro}
%
% Declaring of float box alignment.
-% \changes{v0.1g}{2005/07/15}{Added settings for \cmd{\LTleft} and \cmd{\LTright} commands
-% from \pkg{longtable} package.}
+% \changes{v0.1g}{2005/07/15}{Added settings for \cmd{\LTleft} and
+% \cmd{\LTright} commands from \pkg{longtable} package.}
% \begin{macrocode}
\newskip\LTleft\newskip\LTright
\DeclareMarginSet{centering}{\setfloatmargins{\hfill}{\hfill}%
@@ -6077,8 +6385,9 @@
%
% \begin{macro}{\floatfacing}
% Defines settings accordingly to left (even) or right (odd) pages.
-% \changes{v0.1f}{2005/06/14}{Creation starred form for \cmd{\floatfacing} to use separate settings for
-% building of beside caption layout and float environment margins.}
+% \changes{v0.1f}{2005/06/14}{Creation starred form for \cmd{\floatfacing}
+% to use separate settings for building of beside caption layout and
+% float environment margins.}
% \begin{macrocode}
\newcommand\floatfacing{\@ifstar
{\@FC@hpos\floatfacing@}{\FB@facing\floatfacing@}}
@@ -6104,9 +6413,10 @@
\newcommand\floatrowmargins{\def\FR@tmp{FR}\FB@mset}
\newcommand\floatcapbesidemargins{\def\FR@tmp{FC}\FB@mset}
% \end{macrocode}
-% To create facing and non-facing layout in macros |\FB@mset@| and |\FB@@mset| loaded
-% definition of |\FB@facing| command. The temporary |\count@| get value of |\c@FBcnt|,
-% which is usually equals to number of page where float appears.
+% To create facing and non-facing layout in macros |\FB@mset@| and
+% |\FB@@mset| loaded definition of |\FB@facing| command. The temporary
+% |\count@| get value of |\c@FBcnt|,
+% which is usually equals to number of page where float appears.
% \changes{v0.1f}{2005/06/14}{Removed \cmd{\FBiffacing} flag from
% \cmd{\FB@@mset} macro.}
% \begin{macrocode}
@@ -6144,8 +6454,8 @@
% \begin{macro}{objectset=}
% \begin{macro}{justification=}
% Declaring of option for float object contents' alignment.
-% \changes{v0.1f}{2005/06/14}{Added key \texttt{justification} as analog to
-% \cmd{\captionsetup} stuff.}
+% \changes{v0.1f}{2005/06/14}{Added key \texttt{justification}
+% as analog to \cmd{\captionsetup} stuff.}
% \begin{macrocode}
\DeclareFROpt{objectset}{\flrow@FBoAlign{#1}}
\DeclareFROpt{justification}{\flrow@FBoAlign{#1}}
@@ -6155,21 +6465,24 @@
%
% \begin{macro}{\DeclareObjectSet}
% The |\DeclareCaptionJustification|-twin.\\
-% Macros for float object's contents justification and |\floatbox| alignment.
-% This macro is allowed only in preamble.
-% \changes{v0.1f}{2005/06/14}{The code of \cmd{\DeclareObjectSet} uses caption's key-val settings.}
+% Macros for float object's contents justification and |\floatbox|
+% alignment. This macro is allowed only in preamble.
+% \changes{v0.1f}{2005/06/14}{The code of \cmd{\DeclareObjectSet}
+% uses caption's key-val settings.}
% \begin{macrocode}
\let\DeclareObjectSet\DeclareCaptionJustification
\@onlypreamble\DeclareObjectSet
% \end{macrocode}
% \end{macro}
-% \changes{v0.1f}{2005/06/14}{\cmd{\DeclareObjectSet} bundle removed---\pkg{floatrow} package
-% uses \file{caption} settings.}
+% \changes{v0.1f}{2005/06/14}{\cmd{\DeclareObjectSet} bundle
+% removed---\pkg{floatrow}
+% package uses \file{caption} settings.}
%
% \begin{macro}{\flrow@FBoAlign}
% |\caption@setjustification|-analog.\\
% Command for \texttt{objectset=}
-% \changes{v0.1f}{2005/06/14}{The code of \cmd{\flrow@FBoAlign} uses caption's key-val settings.}
+% \changes{v0.1f}{2005/06/14}{The code of \cmd{\flrow@FBoAlign}
+% uses caption's key-val settings.}
% \begin{macrocode}
\newcommand*\flrow@FBoAlign[1]{%
\@ifundefined{caption@hj@#1}%
@@ -6185,8 +6498,8 @@
\newcommand*\floatobjectset{\centering}
% \end{macrocode}
% \end{macro}
-% \changes{v0.1f}{2005/06/14}{The \cmd{\centerlast} \cmd{\rightlast} commands
-% deleted.}
+% \changes{v0.1f}{2005/06/14}{The \cmd{\centerlast} \cmd{\rightlast}
+% commands deleted.}
%
% \subsubsection{Defining Float Width}
%
@@ -6221,7 +6534,8 @@
%
% \begin{macro}{floatrowsep=}
% \begin{macro}{capbesidesep=}
-% Option |floatrowsep| sets separations for beside float boxes in float row.
+% Option |floatrowsep| sets separations for beside float boxes
+% in float row.
% \changes{v0.1f}{2005/06/14}{Removed \texttt{besidecapsep} key.}
% \begin{macrocode}
\DeclareFROpt{floatrowsep}{\flrow@setFRsep\floatrowsep{#1}}
@@ -6236,19 +6550,22 @@
% \begin{macro}{\DeclareFloatSeparators}
% \begin{macro}{\flrow@setFRsep}
% \begin{macro}{\flrow@setFCsep}
-% Next macros declare material, defined for usage as separator of both float boxes
-% in \env{floatrow} environment and for beside object and caption.
+% Next macros declare material, defined for usage as separator of
+% both float boxes in \env{floatrow} environment and for beside
+% object and caption.
%
% The |\DeclareCaptionLabelSeparator|-twin.\\
% This macro is allowed only in preamble.
-% \changes{v0.1f}{2005/06/14}{Macro is \cmd{\let} to \cmd{\DeclareCaptionLabelSeparator}.}
+% \changes{v0.1f}{2005/06/14}{Macro is \cmd{\let} to
+% \cmd{\DeclareCaptionLabelSeparator}.}
% \begin{macrocode}
\let\DeclareFloatSeparators\DeclareCaptionLabelSeparator
\@onlypreamble\DeclareFloatSeparators
% \end{macrocode}
%
% The |\caption@setlabelseparator|-analog.\\
-% Command which defines settings for separators in float row, and between beside caption and float object.
+% Command which defines settings for separators in float row, and
+% between beside caption and float object.
% \changes{v0.1f}{2005/06/14}{Macro uses \pkg{caption} macros.}
% \begin{macrocode}
\newcommand*\flrow@setFRsep[2]{%
@@ -6257,7 +6574,8 @@
{\expandafter\let\expandafter#1\csname caption@lsep@#2\endcsname}}
% \end{macrocode}
% A few options define possible separators.
-% \changes{v0.1f}{2005/06/14}{The \texttt{quad} and \texttt{none} deleted (repeated from \pkg{caption}).}
+% \changes{v0.1f}{2005/06/14}{The \texttt{quad} and \texttt{none}
+% deleted (repeated from \pkg{caption}).}
% \begin{macrocode}
\DeclareFloatSeparators{columnsep}{\hskip\columnsep}
%\DeclareFloatSeparators{quad}{\quad}
@@ -6289,7 +6607,8 @@
% \begin{macro}{postcode=}
% \begin{macro}{rowpostcode=}
% Keys for building of float style (rules).
-% \changes{v0.1f}{2005/06/14}{Removed \texttt{Precode} and \texttt{Postcode} keys.}
+% \changes{v0.1f}{2005/06/14}{Removed \texttt{Precode} and
+% \texttt{Postcode} keys.}
% \begin{macrocode}
\DeclareFROpt{precode}{\flrow@FBrule\@@FRabove\@@FBabove{#1}}
\DeclareFROpt{rowprecode}{\flrow@FRrule\@@FRabove\@@FBabove{#1}}
@@ -6304,10 +6623,10 @@
% \end{macro}
%
% \begin{macro}{\DeclareFloatVCode}
-% Declaring options for keys of vertical material for building of float style.
-% They could be used above and below of floatbox, and between object and caption in
-% the case when caption above/below object.
-% This macro is allowed only in preamble.
+% Declaring options for keys of vertical material for building of
+% float style. They could be used above and below of float box,
+% and between object and caption in the case when caption
+% above/below object. This macro is allowed only in preamble.
% \begin{macrocode}
\newcommand\DeclareFloatVCode[2]{\@namedef{flrow@FBr@#1}{#2}}
\@onlypreamble\DeclareFloatVCode
@@ -6401,7 +6720,8 @@
%
% \begin{macro}{\flrow@fr@round}
% Command for \texttt{framearound=}.
-% \changes{v0.1f}{2005/06/14}{Macro uses \pkg{caption} macro \cmd{\caption@ifinlist}.}
+% \changes{v0.1f}{2005/06/14}{Macro uses \pkg{caption} macro
+% \cmd{\caption@ifinlist}.}
% \begin{macrocode}
\newcommand*\flrow@fr@round[1]{%
\caption@ifinlist{#1}{object,contents}{\let\FRifFBOX\iftrue
@@ -6451,8 +6771,8 @@
% \begin{macro}{\FB@fbox@adj}
% \begin{macro}{\FB@fbox@reset}
% First macro is the definition of frame style (here is |\fbox|);
-% second defines compensating material to get frame fitted to current |\hsize|;
-% third defines default values of compensating material.
+% second defines compensating material to get frame fitted to current
+% |\hsize|; third defines default values of compensating material.
% \begin{macrocode}
\newcommand\FB@fbox@frame[1]{\hbox{%
\FRifFIT\else\kern-\fboxrule\kern-\fboxsep\fi
@@ -6476,6 +6796,7 @@
% font=default,footfont=default,
% }}
% \end{macrocode}
+% \end{macro}
%
% \subsubsection{Defining Float Skips}
%
@@ -6484,8 +6805,8 @@
% The following options define skips: first---between float object and
% caption (if it used in float style); second---before foot material
% (footnote or other foot text).
-% \changes{v0.1f}{2005/06/14}{Defining also standard \cmd{\abovecaptionskip} for
-% compatibility with \pkg{caption}'s \cmd{\captionof}.}
+% \changes{v0.1f}{2005/06/14}{Defining also standard \cmd{\abovecaptionskip}
+% for compatibility with \pkg{caption}'s \cmd{\captionof}.}
% \begin{macrocode}
\DeclareFROpt{captionskip}{\def\captionskip{#1}%
\setlength\abovecaptionskip{#1}}
@@ -6533,7 +6854,8 @@
\@tempdima.4\columnwidth
\hrule\@width\@tempdima\kern2.6\p@}
% \end{macrocode}
-% Here goes standard \LaTeX{} definition used in minipages with limited maximal width.
+% Here goes standard \LaTeX{} definition used in minipages with
+% limited maximal width.
% \begin{macrocode}
\DeclareFloatFootnoterule{limited}{\kern-3\p@
\@tempdima.4\columnwidth
@@ -6587,9 +6909,9 @@
\newcommand\flnew@setdefault{\setkeys{newfloat}
{placement=tbp,fileext=lox}}
% \end{macrocode}
-% The |\newtoks| for defining of float environments (using |\flrow@restyle| command)
-% at the end of preamble.
-% (Took a leaf with settings for lists of floats from \pkg{float} package's book.)
+% The |\newtoks| for defining of float environments (using
+% |\flrow@restyle| command) at the end of preamble. (Took a leaf with
+% settings for lists of floats from \pkg{float} package's book.)
% \begin{macrocode}
\@ifdefinable\flrow@types{\newtoks\flrow@types}
\newcommand\DeclareNewFloatType[2]{\def\FB@captype{#1}%
@@ -6656,9 +6978,10 @@
% \begin{macrocode}
%<*frforsubfig>
% \end{macrocode}
-% \changes{v0.1f}{2005/06/14}{The subfloatrow support became a part of a \pkg{floatrow} package.}
-% At first defined dimension for maximal height of subcaption. Then macro for
-% defining height of subcaption box.
+% \changes{v0.1f}{2005/06/14}{The subfloatrow support became a part of a
+% \pkg{floatrow} package.}
+% At first defined dimension for maximal height of subcaption. Then macro
+% for defining height of subcaption box.
% \begin{macrocode}
\newlength\FBsc@max
\newlength\FBso@max
@@ -6668,10 +6991,11 @@
%
% \begin{macro}{\adjustsubfloats}
% The user command which loaded at the end of row of subcaptions.
-% \changes{v0.1f}{2005/06/14}{Removed \cmd{\FB@subfloat} and \cmd{\FB@subcaption}
-% definitions: the code for \env{subfloatrow} support placed in \pkg{subfig}'s
-% definitions.}
-% \changes{v0.1f}{2005/06/14}{The \cmd{\xdef} changed to local \cmd{\edef}.}
+% \changes{v0.1f}{2005/06/14}{Removed \cmd{\FB@subfloat} and
+% \cmd{\FB@subcaption} definitions: the code for \env{subfloatrow}
+% support placed in \pkg{subfig}'s definitions.}
+% \changes{v0.1f}{2005/06/14}{The \cmd{\xdef} changed to local
+% \cmd{\edef}.}
% \begin{macrocode}
\newcommand\adjustsubfloats{\@tempswafalse
\ifCADJ\@tempswatrue\fi\ifOADJ\@tempswatrue\fi
@@ -6686,8 +7010,9 @@
% \end{macro}
%
% \begin{environment}{subfloatrow}\label{subfloatrow}
-% Environment for placing beside subfloats. It is simpler than \env{floatrow}.
-% First go counter of floats (here it is local) in row, then the settings for float layout.
+% Environment for placing beside subfloats. It is simpler than
+% \env{floatrow}. First go counter of floats (here it is local)
+% in row, then the settings for float layout.
% \begin{macrocode}
\newcommand\subfloatrow[1][2]{\c@FRobj=#1%local
\ifdim\parindent<\z@\leavevmode\else\noindent\fi\hbox\bgroup
@@ -6720,11 +7045,12 @@
%
% \subsection{Support for \pkg{longtable} Package}
%
-% \changes{v0.1g}{2005/07/15}{The \pkg{longtable} support moved inside \pkg{floatrow} package.}
-% To follow layout for tables which need size of caption equal to width of
-% table, here added a code which catches width of table from \file{aux}-file
-% and sets to |\LTcapwidth| parameter (great thanks A. Sommerfeldt for
-% compact code created as patch of |\LT@array| command).
+% \changes{v0.1g}{2005/07/15}{The \pkg{longtable} support moved inside
+% \pkg{floatrow} package.}
+% To follow layout for tables which need size of caption equal to width
+% of table, here added a code which catches width of table from
+% \file{aux}-file and sets to |\LTcapwidth| parameter (great thanks
+% A. Sommerfeldt for compact code created as patch of |\LT@array| command).
%
% At first we save macro |\LT@array| under name |\flrow@LT@array|.
% Then start redefinition.
@@ -6733,9 +7059,13 @@
\let\LT@array\flrow@LT@array}}
\newcommand\flrow@LT@array{%
% \end{macrocode}
-% Here are added settings for table font (similar to other table environments).
+% Here are added settings for table font (similar to other table
+% environments).
+% \changes{v0.1j}{2006/07/24}{The \cmd{\belowcaptionskip} is set
+% equal to \cmd{\captionskip}.}
% \begin{macrocode}
\flrow@setlist{{table}{longtable}}\normalfont\floatfont
+ \belowcaptionskip\captionskip
% \end{macrocode}
% Here goes safe and redefinition of |\LT@make@row| macro in the way
% of managing of counting of table width.
@@ -6775,7 +7105,10 @@
%
% \subsubsection{Processing of floatsetup options}
%
-% As in caption style options are processed with usage of the \pkg{keyval} package.
+% \begin{macro}{\ProcessOptionsWithKV}
+% As in caption style options are processed with usage of the
+% \pkg{keyval} package.
+% \changes{v0.1j}{2006/02/24}{Edited by suggestions of A.Sommerfeldt}
% \begin{macrocode}
\def\ProcessOptionsWithKV#1{%
\let\@tempc\relax
@@ -6784,9 +7117,36 @@
\@ifundefined{KV@#1@\CurrentOption}%
{}%
{%
+% \end{macrocode}
+% In the case of co-named global option, appeared in
+% |\documentclass| line.
+% ^^A added line (|\@ifundefined| stuff)
+% ^^A first part of command
+% \begin{macrocode}
+ \@ifundefined{KV@#1@\CurrentOption @default}{%
+ \PackageInfo{#1}{Global option `\CurrentOption' ignored}%
+% \end{macrocode}
+% ^^A doubling of first line from second part of |\@ifundefined|
+% ^^A but first line edited (moved |\CurrentOption,|)
+% ^^A \begin{macrocode}
+% ^^A \edef\FR@tmp{\FR@tmp,}%
+% ^^A \end{macrocode}
+% ^^A end doubling
+% ^^A added line
+% \begin{macrocode}
+ }{%
+% \end{macrocode}
+% ^^A second part of |\@ifundefined|
+% \begin{macrocode}
+ \PackageInfo{#1}{Global option `\CurrentOption' processed}%
\edef\FR@tmp{\FR@tmp,\CurrentOption,}%
\@expandtwoargs\@removeelement\CurrentOption
\@unusedoptionlist\@unusedoptionlist
+% \end{macrocode}
+% ^^A end of doubled code
+% ^^A added line
+% \begin{macrocode}
+ }%
}%
}%
\edef\FR@tmp{%
@@ -6801,9 +7161,9 @@
\FR@iffancy\RequirePackage{fr-fancy}\fi
\let\ProcessOptionsWithKV\undefined
% \end{macrocode}
-% At beginning of document there are loaded macros |\flrow@restyle| for table
-% and figure floats. (Any new float type gets this command when |\newfloat|
-% macro of |\DeclareNewFloatType| are used.)
+% At beginning of document there are loaded macros |\flrow@restyle|
+% for table and figure floats. (Any new float type gets this command
+% when |\newfloat| macro of |\DeclareNewFloatType| are used.)
% \begin{macrocode}
\AtBeginDocument{\flrow@restyle{table}\flrow@restyle{figure}%
\let\FR@tmp\flrow@restyle \the\flrow@types
@@ -6832,8 +7192,8 @@
% \begin{macro}{\FB@colorbox@reset}
% \begin{macro}{\setcolorframe}
% First macro is the definition of frame style (here is |\colorbox|);
-% second defines compensating material to get frame fitted to current |\hsize|;
-% third defines default values of compensating material.
+% second defines compensating material to get frame fitted to current
+% |\hsize|; third defines default values of compensating material.
% \begin{macrocode}
\newcommand\FB@colorbox@frame[1]{\hbox{%
\FRifFIT\else\kern-\fboxrule\kern-\fboxsep\fi
@@ -6890,8 +7250,8 @@
% \begin{macro}{\FB@shadowbox@adj}
% \begin{macro}{\FB@shadowbox@reset}
% First macro is the definition of frame style (here is |\shadowbox|);
-% second defines compensating material to get frame fitted to current |\hsize|;
-% third defines default values of compensating material.
+% second defines compensating material to get frame fitted to current
+% |\hsize|; third defines default values of compensating material.
% \begin{macrocode}
\newcommand\FB@shadowbox@frame[1]{\hbox{%
\FRifFIT\else\hskip-\fboxrule\hskip-\fboxsep\fi
@@ -6908,11 +7268,11 @@
% \begin{macro}{\FB@wshadowbox@frame}
% \begin{macro}{\FB@wshadowbox@adj}
% \begin{macro}{\FB@wshadowbox@reset}
-% The definition for frame \texttt{wshadowbox}---similar to \texttt{shadowbox}
-% from \pkg{fancybox}.
+% The definition for frame \texttt{wshadowbox}---similar to
+% \texttt{shadowbox} from \pkg{fancybox}.
% First macro is the definition of frame style (here is |\wshadowbox|);
-% second defines compensating material to get frame fitted to current |\hsize|;
-% third defines default values of compensating material.
+% second defines compensating material to get frame fitted to current
+% |\hsize|; third defines default values of compensating material.
% \begin{macrocode}
\newcommand\FB@wshadowbox@frame[1]{\hbox{%
\FRifFIT\else\hskip-\fboxrule\hskip-\fboxsep\fi
@@ -6929,8 +7289,8 @@
% \begin{macro}{\FB@doublebox@adj}
% \begin{macro}{\FB@doublebox@reset}
% First macro is the definition of frame style (here is |\doublerbox|);
-% second defines compensating material to get frame fitted to current |\hsize|;
-% third defines default values of compensating material.
+% second defines compensating material to get frame fitted to current
+% |\hsize|; third defines default values of compensating material.
% \begin{macrocode}
\newcommand\FB@doublebox@frame[1]{\hbox{%
\FRifFIT\else\kern-4.75\fboxrule\kern-.5pt\kern-\fboxsep\fi
@@ -6989,11 +7349,12 @@
%
% \subsection{Empty Floating page}
%
-% At last goes small sneaky-tricky style to put desired page style for one
-% floating page.
+% Here goes small sneaky-tricky style to put desired page style
+% for one floating page.
%
% \begin{macro}{\floatpagestyle}
-% First goes macro which defines desired page style for page with current float.
+% First goes macro which defines desired page style for page with
+% current float.
% \begin{macrocode}
%<*floatpagestyle>
\newcommand\floatpagestyle[1]{\@ifundefined{ps@#1}\undefinedpagestyle
@@ -7022,8 +7383,8 @@
% \end{macro}
%
% \begin{macro}{\@chkfloatpage}
-% The macro which checks whether exists necessary code for changing of current
-% float page style.
+% The macro which checks whether exists necessary code for changing
+% of current float page style.
% \begin{macrocode}
\newcommand\@chkfloatpage{%
\edef\reserved@a{floatpage@\romannumeral\the\c@page}%
@@ -7034,65 +7395,13 @@
%
% \begin{macro}{\@outputpage}
% Edited \LaTeX{} core macro (release 2001/06/01)
+% \changes{v0.1h}{2005/10/02}{Optimization: the patch instead of
+% redefinition of \cmd{\@outputpage} command}
% \begin{macrocode}
-\def\@outputpage{%
-\begingroup % the \endgroup is put in by \aftergroup
- \let \protect \noexpand
- \@resetactivechars
- \global\let\@@if@newlist\if@newlist
- \global\@newlistfalse
- \@parboxrestore
- \shipout \vbox{%
- \set@typeset@protect
- \aftergroup \endgroup
- \aftergroup \set@typeset@protect
-% \end{macrocode}
-% Here added checking of floating page style.
-% \begin{macrocode}
- \@chkfloatpage %check float
- \if@specialpage
- \global\@specialpagefalse\@nameuse{ps@\@specialstyle}%
- \fi
- \if@twoside
- \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
- \let\@themargin\oddsidemargin
- \else \let\@thehead\@evenhead
- \let\@thefoot\@evenfoot \let\@themargin\evensidemargin
- \fi
- \fi
- \reset@font
- \normalsize
- \normalsfcodes
- \let\label\@gobble
- \let\index\@gobble
- \let\glossary\@gobble
- \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
- \@begindvi
- \vskip \topmargin
- \moveright\@themargin \vbox {%
- \setbox\@tempboxa \vbox to\headheight{%
- \vfil
- \color@hbox
- \normalcolor
- \hb@xt@\textwidth{\@thehead}%
- \color@endbox
- }%
- \dp\@tempboxa \z@
- \box\@tempboxa
- \vskip \headsep
- \box\@outputbox
- \baselineskip \footskip
- \color@hbox
- \normalcolor
- \hb@xt@\textwidth{\@thefoot}%
- \color@endbox
- }%
- }%
- \global\let\if@newlist\@@if@newlist
- \global \@colht \textheight
- \stepcounter{page}%
- \let\firstmark\botmark
-}
+\AtBeginDocument
+ {\@ifdefinable\FBori@outputpage{\let\FBori@outputpage\@outputpage}
+ \let\@outputpage\FB@outputpage}
+\newcommand\FB@outputpage{\@chkfloatpage\FBori@outputpage}
% \end{macrocode}
% \end{macro}
%
@@ -7100,5 +7409,84 @@
%</floatpagestyle>
% \end{macrocode}
%
+% \begin{macrocode}
+%<*listpen>
+% \end{macrocode}
+%
+% \subsection{List Penalties Managing}
+%
+% The package \pkg{listpen} is a beta-temp package, which
+% offers commands |\allowprelistbreaks|,
+% |\allowpostlistbreaks| and |\allowitembreaks| which help
+% to manage page breaking at the beginning and the end of
+% lists, and between list items consequently.
+%
+% This package follows idea of |\allowdisplaybreaks|
+% (\textsf{amsmath} package) and |\pagebreak|/|\nopagebreak| stuff.
+%
+% \DescribeMacro{\allowprelistbreaks}
+% \DescribeMacro{\allowpostlistbreaks}
+% \DescribeMacro{\allowitembreaks}
+% These commands set penalties before lists, after lists and between items.
+% They set globally or inside group or (also list!)
+% environment\footnote{Look also at \cmd{\allowdisplaybreaks}
+% macro from \pkg{amsmath} package.} penalties accordingly to digits
+% from |[-4]| (never break) to |[4]| (always break). The values of optional
+% argument in these commands analogous to values of optional arguments
+% in, e.g., |\pagebreak| command. The default value of all three commands
+% is |[-1]| which equal to \cls{book.cls} etc. class settings (which equal to
+% |-\@lowpenalty| value).
+%
+% \begin{macro}{\allowprelistbreaks}
+% Sets penalty before lists.
+% \begin{macrocode}
+\newcommand\allowprelistbreaks{\let\LP@penalty\@beginparpenalty
+ \@testopt{\LP@setlistbreaks}{-1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\allowpostlistbreaks}
+% Sets penalty after lists.
+% \begin{macrocode}
+\newcommand\allowpostlistbreaks{\let\LP@penalty\@endparpenalty
+ \@testopt{\LP@setlistbreaks}{-1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\allowitembreaks}
+% Sets penalty between items.
+% \begin{macrocode}
+\newcommand\allowitembreaks{\let\LP@penalty\@itempenalty
+ \@testopt{\LP@setlistbreaks}{-1}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\LP@setlistbreaks}
+% This macro reverses the $+/-$ signs before digits.
+% \begin{macrocode}
+\@ifdefinable\LP@setlistbreaks{}
+\def\LP@setlistbreaks[#1#2]{\def\tempa{-}\def\tempb{#1}\ifx\tempa\tempb
+ \LP@nolbk[#2]\else\LP@nolbk-[#1]\fi}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\LP@nolbk}
+% Macro for setting necessary penalties.
+% \begin{macrocode}
+\@ifdefinable\LP@nolbk{}\@ifdefinable\LP@penalty{}
+\def\LP@nolbk#1[#2]{%
+ \ifcase#2\LP@penalty\z@
+ \or\LP@penalty#1\@lowpenalty
+ \or\LP@penalty#1\@medpenalty
+ \or\LP@penalty#1\@highpenalty
+ \or\LP@penalty#1\@M
+ \fi}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+%</listpen>
+% \end{macrocode}
+%
% \Finale
-%\endinput
+\endinput
diff --git a/Master/texmf-dist/source/latex/floatrow/floatrow.ins b/Master/texmf-dist/source/latex/floatrow/floatrow.ins
index 7fcf8cad658..532f02946dc 100644
--- a/Master/texmf-dist/source/latex/floatrow/floatrow.ins
+++ b/Master/texmf-dist/source/latex/floatrow/floatrow.ins
@@ -28,6 +28,7 @@ You are NOT ALLOWED to change this file.
\endpreamble
+\askonceonly
\keepsilent
%%%\askforoverwritefalse
%%%\nopreamble
@@ -35,5 +36,6 @@ You are NOT ALLOWED to change this file.
\file{floatrow.sty}{\from{floatrow.dtx}{floatrow,frforsubfig,frforlongtbl,floatsetup}}
\file{fr-fancy.sty}{\from{floatrow.dtx}{frfancy}}
\file{floatpagestyle.sty}{\from{floatrow.dtx}{floatpagestyle}}
+ \file{listpen.sty}{\from{floatrow.dtx}{listpen}}
}
\endbatchfile
diff --git a/Master/texmf-dist/tex/latex/floatrow/floatpagestyle.sty b/Master/texmf-dist/tex/latex/floatrow/floatpagestyle.sty
index 59c5b73dad9..dca9cd27cf5 100644
--- a/Master/texmf-dist/tex/latex/floatrow/floatpagestyle.sty
+++ b/Master/texmf-dist/tex/latex/floatrow/floatpagestyle.sty
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{floatpagestyle}
- [2005/07/15 v0.1g floating page style]
+ [2005/10/02 v0.1h floating page style]
\newcommand\floatpagestyle[1]{\@ifundefined{ps@#1}\undefinedpagestyle
{\begingroup
\let\thepage\relax\let\protect\@unexpandable@protect
@@ -37,61 +37,10 @@
\edef\reserved@a{floatpage@\romannumeral\the\c@page}%
\@ifundefined{\reserved@a}{\relax}{\global\@specialpagetrue
\gdef\@specialstyle{\csname\reserved@a\endcsname}}}
-\def\@outputpage{%
-\begingroup % the \endgroup is put in by \aftergroup
- \let \protect \noexpand
- \@resetactivechars
- \global\let\@@if@newlist\if@newlist
- \global\@newlistfalse
- \@parboxrestore
- \shipout \vbox{%
- \set@typeset@protect
- \aftergroup \endgroup
- \aftergroup \set@typeset@protect
- \@chkfloatpage %check float
- \if@specialpage
- \global\@specialpagefalse\@nameuse{ps@\@specialstyle}%
- \fi
- \if@twoside
- \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
- \let\@themargin\oddsidemargin
- \else \let\@thehead\@evenhead
- \let\@thefoot\@evenfoot \let\@themargin\evensidemargin
- \fi
- \fi
- \reset@font
- \normalsize
- \normalsfcodes
- \let\label\@gobble
- \let\index\@gobble
- \let\glossary\@gobble
- \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
- \@begindvi
- \vskip \topmargin
- \moveright\@themargin \vbox {%
- \setbox\@tempboxa \vbox to\headheight{%
- \vfil
- \color@hbox
- \normalcolor
- \hb@xt@\textwidth{\@thehead}%
- \color@endbox
- }%
- \dp\@tempboxa \z@
- \box\@tempboxa
- \vskip \headsep
- \box\@outputbox
- \baselineskip \footskip
- \color@hbox
- \normalcolor
- \hb@xt@\textwidth{\@thefoot}%
- \color@endbox
- }%
- }%
- \global\let\if@newlist\@@if@newlist
- \global \@colht \textheight
- \stepcounter{page}%
- \let\firstmark\botmark
-}
+\AtBeginDocument
+ {\@ifdefinable\FBori@outputpage{\let\FBori@outputpage\@outputpage}
+ \let\@outputpage\FB@outputpage}
+\newcommand\FB@outputpage{\@chkfloatpage\FBori@outputpage}
\endinput
%%
%% End of file `floatpagestyle.sty'.
diff --git a/Master/texmf-dist/tex/latex/floatrow/floatrow.sty b/Master/texmf-dist/tex/latex/floatrow/floatrow.sty
index ac754888e2c..7db9e3f96a6 100644
--- a/Master/texmf-dist/tex/latex/floatrow/floatrow.sty
+++ b/Master/texmf-dist/tex/latex/floatrow/floatrow.sty
@@ -22,17 +22,19 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{floatrow}
- [2005/07/15 v0.1g floatrow package: the float package extension]
-\@ifundefined{float@caption}{}%
- {\PackageError{floatrow}{Do not use float package with floatrow}{}}
-\@ifundefined{rotfloat@float}{}%
- {\PackageError{floatrow}{Do not use rotfloat package with floatrow}{}}
+ [2006/07/24 v0.1j floatrow: float package extension]
+\@ifundefined{float@caption}{%
+ \@ifundefined{rotfloat@float}{}%
+ {\PackageError{floatrow}{Do not use rotfloat package with floatrow}{}%
+ \@namedef{opt@floatrow.sty}{}\endinput}}%
+ {\PackageError{floatrow}{Do not use float package with floatrow}{}%
+ \@namedef{opt@floatrow.sty}{}\endinput}
\@namedef{ver@float.sty}{2001/11/08 v1.3d (excerpt)
Float enhancements (AL)}
\@namedef{ver@rotfloat.sty}{2004/01/04 v1.2 (excerpt)
Combining float+rotating package (AS)}
\RequirePackage{keyval}
-\RequirePackage{caption3}
+\RequirePackage{caption3}[2006/01/12]
\@ifdefinable\FR@flboxreset{\let\FR@flboxreset\@floatboxreset}
\@ifdefinable\FR@makecaption{\let\FR@makecaption\@makecaption}
\newcommand\FB@caption{%
@@ -76,6 +78,7 @@
\adj@dim\hsize+\FBo@wadj=\hsize
\fi
\fi
+ \linewidth\hsize
\normalsize
\abovecaptionskip\z@\belowcaptionskip\z@
\FR@makecaption{#1}{#2}\egroup}
@@ -157,7 +160,9 @@
\global\let\WF@box\@currbox
\fi}%
\@ifnextchar[\WF@wr{\WF@wr[]}}%]
- \expandafter\let\csname endwrap#1\endcsname\endwrapfloat}
+ \@namedef{endwrap#1}{\endwrapfloat
+ \@ifundefined{FloatHBarrier}{}\FloatHBarrier
+ }}
\@ifundefined{subfloat}{}{\@ifundefined{c@sub#1}{\newsubfloat{#1}}{}}}
\@ifdefinable\float@exts{\newtoks\float@exts}
\newcommand\newfloat{\@ifstar{\flrow@restylefloat{no}\newfloat@}%
@@ -173,11 +178,16 @@
\def\@xfloat#1[{\@ifnextchar{H}{\@float@HH{#1}[}{\@float@Hx{#1}[}}
\newsavebox\float@box
\def\@float@HH#1[H]{%
+ \@ifundefined{FloatHBarrier}{}\FloatHBarrier
\expandafter\let\csname end#1\endcsname\float@endH
\let\@currbox\float@box
+ \flrow@setlist{{floatH}{#1H}}%
\def\@captype{#1}\setbox\@floatcapt=\vbox{}%
\setbox\@currbox\color@vbox\normalcolor
- \vbox\bgroup \hsize\columnwidth \@parboxrestore
+ \vbox\bgroup
+ \hsize\columnwidth
+ \linewidth\columnwidth
+ \@parboxrestore
\@floatboxreset \@setnobreak
\ignorespaces}
\newcommand\flrow@flboxreset{\FR@flboxreset
@@ -198,7 +208,8 @@
\settowidth\@tempdimb{{\FBleftmargin}{\FBrightmargin}}%
\advance\@tempdima-\@tempdimb
\global\FBc@wd\@tempdima\global\FB@wd\@tempdima
- \adj@dim\@tempdima-\FBo@wadj={\global\FBo@wd}\hsize\FBo@wd
+ \adj@dim\@tempdima-\FBo@wadj={\global\FBo@wd}%
+ \hsize\FBo@wd\linewidth\hsize
\FBifcaptop
\ifnum\FPOScnt=0\columnwidth\hsize\else\columnwidth\FBc@wd\fi
\else
@@ -225,7 +236,7 @@
\flrow@setwd\FB@wd\@tempdima\fi
\adj@dim\@tempdima-\FBo@wadj={\global\FBo@wd}%
\FC@ifc@wd\else\global\advance\FBc@wd-\FB@wd\fi
- \hsize\FBo@wd\columnwidth\FBc@wd
+ \hsize\FBo@wd\linewidth\hsize\columnwidth\FBc@wd\linewidth\hsize
\FCset@vpos}
\newcommand\float@makebox[1]{%
\FBifcapbeside\flrow@FC{#1}\else\flrow@FB{#1}\fi}
@@ -249,7 +260,8 @@
\newcommand\FCo@box[1]{\def\@parboxto{}\ifx\FBoheight\relax\FC@bbox\else
\def\@parboxto{to\FBoheight}\FC@bbox\vsize\FBoheight\fi#1\FC@ebox}
\newcommand\FBafil{\vfill}\newcommand\FBbfil{\vfill}
-\newcommand\FBw@box[1]{\hsize#1\columnwidth#1\normalfont\normalcolor}
+\newcommand\FBw@box[1]{\hsize#1\columnwidth#1\linewidth#1%
+ \normalfont\normalcolor}
\newcommand\FB@vbox[3]{\ifx#2\relax\vbox\bgroup\else
\vbox to#2\bgroup\vsize#2\fi\FBw@box#1#3\vskip\z@\egroup}
\newcommand\FB@vtop[3]{\ifx#2\relax\vtop\bgroup\else
@@ -308,9 +320,10 @@
\global\setbox\@currbox\float@makebox\columnwidth
\let\@endfloatbox\relax\fi
\end@float}
-\newcommand\float@endH{\@endfloatbox\vskip\intextsep
+\newcommand\float@endH{\@endfloatbox\par
+ \addpenalty\@beginparpenalty\vskip\intextsep
\ifFBbuild\setbox\@currbox\float@makebox\columnwidth\fi
- \box\@currbox\vskip\intextsep\relax}
+ \box\@currbox\par\addpenalty\@endparpenalty\vskip\intextsep\relax}
\newcommand\float@dblend{\ifFBbuild\@endfloatbox
\global\setbox\@currbox\float@makebox\textwidth
\let\@endfloatbox\relax\fi
@@ -377,7 +390,7 @@
{\def\FR@tmp{\captionfootfont}\floatfoot@}}
\newcommand\floatfoot@[1]{%
\global\setbox\flrow@foot\vbox{%
- \if@@FS\hsize\columnwidth\fi
+ \if@@FS\hsize\columnwidth\linewidth\columnwidth\fi
\@parboxrestore\reset@font\color@begingroup
\caption@settype{\@captype}%
\caption@settype{floatfoot}%
@@ -414,11 +427,16 @@
\newcommand\FR@loc@addcnt[2]{%
\@ifundefined{c@#1}{\@nocounterr{#1}}%
{\advance\csname c@#1\endcsname #2\relax}}
+\newcommand\FR@loc@refcnt[1]{%
+ \@ifundefined{c@#1}{\@nocounterr{#1}}%
+ {\advance\csname c@#1\endcsname1\relax}}
\newcommand\FR@loc@{\let\label\@gobble
+ \let\refstepcounter\FR@loc@refcnt\let\refsteponlycounter\FR@loc@refcnt
\let\cl@@ckpt\empty\let\addtocounter\FR@loc@addcnt
\def\sf@updatecaptionlist##1##2##3##4{}}
\def\FBtmp@cap#1[#2]#3{\sbox\@tempboxa
- {\caption@@@make{\csname fnum@\@captype \endcsname}{#3}}%
+ {\caption@@@make{\caption@lfmt{\@nameuse{\@captype name}}%
+ {\@nameuse{the\@captype}}}{#3}}%
\global\@tempdimb\wd\@tempboxa}
\newcommand\FBget@box[3]{%
\FBiffloatrow\else
@@ -447,15 +465,16 @@
\adj@dim\@tempdima-\FBo@wadj=\FBo@wd
\FBiffloatrow\else\hsize\FBo@wd\fi
\FBifcapbeside\hsize\FB@wd\fi
+ \linewidth\hsize
\def\reserved@a{#1}\ifx\reserved@a\empty
\else\FBget@@wd{#1}{#3}\fi
- \hsize\FBo@wd
+ \hsize\FBo@wd\linewidth\hsize
\FBifcapbeside
\FC@ifc@wd\else\advance\FBc@wd-\FB@wd\fi
\else
\FBc@wd\FB@wd
\fi
- \setbox0\vbox{\FR@loc@\hsize\FBo@wd
+ \setbox0\vbox{\FR@loc@\hsize\FBo@wd\linewidth\hsize
\FBifcaptop
\ifnum\FPOScnt=0\columnwidth\hsize\else\columnwidth\FBc@wd\fi
\else
@@ -509,7 +528,6 @@
\FC@ifc@wd
\ifx\FCwidth\relax
\setbox1\vbox{\FR@loc@
- \let\refstepcounter\stepcounter
\let\caption\FB@caption
\let\@caption\FBtmp@cap
#2}%
@@ -632,7 +650,7 @@
\FBget@box{#1}{#2}{#4#5}%
\FBifcapbeside\FCset@vpos\fi
\FBiffloatrow\FR@floatbox{\@ifundefined{capstart}{}{\capstart}#4#5}\else
- \adj@dim\FB@wd+\FB@wadj=\hsize
+ \adj@dim\FB@wd+\FB@wadj=\hsize\linewidth\hsize
\ifx\FBB@wd\relax\edef\FBB@wd{\the\hsize}\fi
\FBsetbox@obj{\@ifundefined{capstart}{}{\capstart}#4#5}\FBbuildtrue
\FBifcapbeside\flrow@FC\FBB@wd\else\flrow@FB\FBB@wd\fi
@@ -855,10 +873,10 @@
\newif\ifOADJ
\DeclareFROpt{valign}{\@FB@vpos{#1}}
\newcommand\@FB@vpos[1]{%
- \if#1t\def\FBafil{}\def\FBbfil{\vfill}\else
- \if#1b\def\FBafil{\vfill}\def\FBbfil{}\else
- \if#1c\def\FBafil{\vfill}\def\FBbfil{\vfill}\else
- \if#1s\def\FBafil{}\def\FBbfil{}%
+ \if#1t\def\FBafil{}\def\FBbfil{\vss}\else
+ \if#1b\def\FBafil{\vss}\def\FBbfil{}\else
+ \if#1c\def\FBafil{\vskip0ptplus1fillminus1000pt}\def\FBbfil{\vskip0ptplus1fillminus1000pt}\else
+ \if#1s\def\FBafil{\vskip0ptminus1000pt}\def\FBbfil{\vskip0ptminus1000pt}%
\fi\fi\fi\fi}
\DeclareFROpt{facing}[1]{\flrow@setbool{\FBiffacing}{#1}}
\let\FBiffacing\iffalse
@@ -1108,6 +1126,7 @@
\let\LT@array\flrow@LT@array}}
\newcommand\flrow@LT@array{%
\flrow@setlist{{table}{longtable}}\normalfont\floatfont
+ \belowcaptionskip\captionskip
\FBifLTcapwidth
\let\flrow@LT@make@row\LT@make@row
\def\LT@make@row{%
@@ -1132,9 +1151,14 @@
\@ifundefined{KV@#1@\CurrentOption}%
{}%
{%
+ \@ifundefined{KV@#1@\CurrentOption @default}{%
+ \PackageInfo{#1}{Global option `\CurrentOption' ignored}%
+ }{%
+ \PackageInfo{#1}{Global option `\CurrentOption' processed}%
\edef\FR@tmp{\FR@tmp,\CurrentOption,}%
\@expandtwoargs\@removeelement\CurrentOption
\@unusedoptionlist\@unusedoptionlist
+ }%
}%
}%
\edef\FR@tmp{%
diff --git a/Master/texmf-dist/tex/latex/floatrow/listpen.sty b/Master/texmf-dist/tex/latex/floatrow/listpen.sty
new file mode 100644
index 00000000000..8a84b2c29db
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/floatrow/listpen.sty
@@ -0,0 +1,45 @@
+%%
+%% This is file `listpen.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% floatrow.dtx (with options: `listpen')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from listpen.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file floatrow.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+\ProvidesPackage{listpen}
+ [2005/02/07 v0.1a list penalty managing]
+\newcommand\allowprelistbreaks{\let\LP@penalty\@beginparpenalty
+ \@testopt{\LP@setlistbreaks}{-1}}
+\newcommand\allowpostlistbreaks{\let\LP@penalty\@endparpenalty
+ \@testopt{\LP@setlistbreaks}{-1}}
+\newcommand\allowitembreaks{\let\LP@penalty\@itempenalty
+ \@testopt{\LP@setlistbreaks}{-1}}
+\@ifdefinable\LP@setlistbreaks{}
+\def\LP@setlistbreaks[#1#2]{\def\tempa{-}\def\tempb{#1}\ifx\tempa\tempb
+ \LP@nolbk[#2]\else\LP@nolbk-[#1]\fi}
+\@ifdefinable\LP@nolbk{}\@ifdefinable\LP@penalty{}
+\def\LP@nolbk#1[#2]{%
+ \ifcase#2\LP@penalty\z@
+ \or\LP@penalty#1\@lowpenalty
+ \or\LP@penalty#1\@medpenalty
+ \or\LP@penalty#1\@highpenalty
+ \or\LP@penalty#1\@M
+ \fi}
+\endinput
+%%
+%% End of file `listpen.sty'.
diff --git a/Master/texmf-dist/tpm/floatrow.tpm b/Master/texmf-dist/tpm/floatrow.tpm
index 376346abe0a..21251b650f3 100644
--- a/Master/texmf-dist/tpm/floatrow.tpm
+++ b/Master/texmf-dist/tpm/floatrow.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/floatrow.zip">
<TPM:Name>floatrow</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2006/01/11 23:53:25</TPM:Date>
+ <TPM:Date>2006/07/24 20:03:00</TPM:Date>
<TPM:Version></TPM:Version>
<TPM:Creator>rahtz</TPM:Creator>
<TPM:Title>Extension or addition for float package.</TPM:Title>
@@ -21,22 +21,17 @@ package recommends the usage of caption2 package.
<TPM:Author>Olga Lapko</TPM:Author>
<TPM:Size>1311803</TPM:Size>
<TPM:Build/>
- <TPM:RunFiles size="54586">
+ <TPM:RunFiles size="55872">
texmf-dist/tex/latex/floatrow/floatpagestyle.sty
texmf-dist/tex/latex/floatrow/floatrow.sty
texmf-dist/tex/latex/floatrow/fr-fancy.sty
+texmf-dist/tex/latex/floatrow/listpen.sty
texmf-dist/tpm/floatrow.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="985970">
-texmf-dist/doc/latex/floatrow/BlackCat.picture
-texmf-dist/doc/latex/floatrow/BlackCat2.picture
-texmf-dist/doc/latex/floatrow/BlackDog.picture
-texmf-dist/doc/latex/floatrow/Mouse.picture
-texmf-dist/doc/latex/floatrow/TheBlackCat.picture
-texmf-dist/doc/latex/floatrow/TheCat.picture
+ <TPM:DocFiles size="830161">
+texmf-dist/doc/latex/floatrow/README
texmf-dist/doc/latex/floatrow/floatrow-rus.tex
texmf-dist/doc/latex/floatrow/floatrow.pdf
-texmf-dist/doc/latex/floatrow/floatrow.xml
texmf-dist/doc/latex/floatrow/fr-sample.tex
texmf-dist/doc/latex/floatrow/frsample01.tex
texmf-dist/doc/latex/floatrow/frsample02.tex
@@ -47,9 +42,9 @@ texmf-dist/doc/latex/floatrow/frsample10.tex
texmf-dist/doc/latex/floatrow/frsample11.tex
texmf-dist/doc/latex/floatrow/frsample12.tex
texmf-dist/doc/latex/floatrow/pictures.tex
-texmf-dist/doc/latex/floatrow/pslearn.eps
+texmf-dist/doc/latex/floatrow/sample-longtable.tex
</TPM:DocFiles>
- <TPM:SourceFiles size="271247">
+ <TPM:SourceFiles size="280482">
texmf-dist/source/latex/floatrow/floatrow.dtx
texmf-dist/source/latex/floatrow/floatrow.ins
</TPM:SourceFiles>
diff --git a/Master/texmf/lists/floatrow b/Master/texmf/lists/floatrow
index 394cf449773..3ddefcfc16f 100644
--- a/Master/texmf/lists/floatrow
+++ b/Master/texmf/lists/floatrow
@@ -1,12 +1,6 @@
-texmf-dist/doc/latex/floatrow/BlackCat.picture
-texmf-dist/doc/latex/floatrow/BlackCat2.picture
-texmf-dist/doc/latex/floatrow/BlackDog.picture
-texmf-dist/doc/latex/floatrow/Mouse.picture
-texmf-dist/doc/latex/floatrow/TheBlackCat.picture
-texmf-dist/doc/latex/floatrow/TheCat.picture
+texmf-dist/doc/latex/floatrow/README
texmf-dist/doc/latex/floatrow/floatrow-rus.tex
texmf-dist/doc/latex/floatrow/floatrow.pdf
-texmf-dist/doc/latex/floatrow/floatrow.xml
texmf-dist/doc/latex/floatrow/fr-sample.tex
texmf-dist/doc/latex/floatrow/frsample01.tex
texmf-dist/doc/latex/floatrow/frsample02.tex
@@ -17,12 +11,13 @@ texmf-dist/doc/latex/floatrow/frsample10.tex
texmf-dist/doc/latex/floatrow/frsample11.tex
texmf-dist/doc/latex/floatrow/frsample12.tex
texmf-dist/doc/latex/floatrow/pictures.tex
-texmf-dist/doc/latex/floatrow/pslearn.eps
+texmf-dist/doc/latex/floatrow/sample-longtable.tex
texmf-dist/source/latex/floatrow/floatrow.dtx
texmf-dist/source/latex/floatrow/floatrow.ins
texmf-dist/tex/latex/floatrow/floatpagestyle.sty
texmf-dist/tex/latex/floatrow/floatrow.sty
texmf-dist/tex/latex/floatrow/fr-fancy.sty
+texmf-dist/tex/latex/floatrow/listpen.sty
texmf-dist/tpm/floatrow.tpm
texmf/lists/floatrow