summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex')
-rw-r--r--Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex6843
1 files changed, 4315 insertions, 2528 deletions
diff --git a/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex b/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex
index fc13d8e75a0..e0078cdf4e9 100644
--- a/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex
+++ b/Master/texmf-dist/doc/latex/floatrow/floatrow-rus.tex
@@ -26,17 +26,27 @@
\usepackage{calc}
\usepackage{tabularx,array}
-\ifx\pdfoutput\undefined \else
- \ifcase\pdfoutput \else
-% \usepackage{mathptm}\def\ttdefault{pxtt}
-% \usepackage[scaled=0.90]{helvet}
- \fi
+\usepackage{ifpdf}
+\ifpdf
+ \usepackage{mathptmx}
+ \IfFileExists{t2aftm.fd}{\def\rmdefault{ftm}}{}
+ \IfFileExists{t2aftx.fd}{\def\sfdefault{ftx}}{}
+ \IfFileExists{t2apxtt.fd}{\def\ttdefault{pxtt}}{}
\fi
\settowidth\marginparwidth{\texttt{0DeclareFloatFootnoterule}}
+\advance\oddsidemargin.125\marginparwidth
+\evensidemargin\oddsidemargin
\advance\textheight4\baselineskip
\advance\topskip-2\baselineskip
\IfFileExists{titlesec.sty}{\usepackage[raggedright]{titlesec}}{}
+\let\FRorisection\section
+\let\FRorisubsection\subsection
+\let\FRorisubsubsection\subsubsection
+\def\section{\RestoreSpaces\FRorisection}
+\def\subsection{\RestoreSpaces\FRorisubsection}
+\def\subsubsection{\RestoreSpaces\FRorisubsubsection}
+
\IfFileExists{footmisc.sty}{\usepackage[perpage]{footmisc}}{}
@@ -55,10 +65,17 @@
\usepackage[font=small,labelfont=bf,labelsep=period,
justification=centerlast]
{caption}[2007/04/11]
-
\usepackage[format=default,justification=centerlast,
labelfont=up,captionskip=5pt]
{subfig}[2005/06/28]
+\renewcommand\thesubfigure{\asbuk{subfigure}}
+\renewcommand\thesubtable{\asbuk{subtable}}
+
+%^^A\IfFileExists{subcaption.sty}{
+%^^A\usepackage{subcaption}%^^A}{}
+
+\DeclareCaptionSubType[asbuk]{table}
+\DeclareCaptionSubType[asbuk]{figure}
\IfFileExists{rotating.sty}{\usepackage[figuresright]{rotating}}{}
@@ -76,20 +93,28 @@
\usepackage{floatpagestyle,listpen}
\allowprelistbreaks[-4]
+\newseparatedlabel\Flabel{\@captype}{sub\@captype}
+\newseparatedlabel\FFlabel{}{sub\@captype}
+\newseparatedref\Fref{,\,\textit}
\usepackage{fr-fancy}
-\IfFileExists{hyperref.sty}{\usepackage[
+\usepackage{color}
+\definecolor{gray}{gray}{.5}
+\definecolor{emphblue}{rgb}{0,0,0.5}
+\def\emphcolor{\color{emphblue}}
+
+\usepackage[
linktocpage,
hyperindex,%
plainpages=false,%
bookmarksopenlevel=1,%
bookmarksnumbered=false,%
pdfview=FitH,
- pdfstartview=FitH,unicode
+ pdfstartview=FitH,
+ unicode
]{hyperref}
- \IfFileExists{hypcap.sty}{\usepackage{hypcap}}{}
-}{}
+\usepackage{hypcap}
\ifx\pdftexversion\undefined
\IfFileExists{pstricks.sty}{\usepackage{pstricks,pst-eps}}{}
@@ -120,19 +145,20 @@
\floatsetup[table]{style=Plaintop,footnoterule=none}
-%^^A -----------------------
+%^^A-----------------------
\floatstyle{ruled}
\newfloat{Program}{tbp}{lop}[section]
+\floatname{Program}{\CYRP\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra}
\DeclareNewFloatType{Example}%
- {placement=tb,within=section,fileext=lox}
+ {placement=tb,within=section,fileext=loe,name=\CYRP\cyrr\cyri\cyrm\cyre\cyrr}
\newfloatcommand{fcapsideleft}{figure}[{\capbeside
- \captionsetup[capbesidefigure]{format=break,labelsep=none,
+ \captionsetup[capbesidefigure]{labelsep=newline,
justification=raggedleft}%
\thisfloatsetup{capbesideposition=left}}][\FBwidth]
\newfloatcommand{fcapsideright}{figure}[{\capbeside
- \captionsetup[capbesidefigure]{format=break,labelsep=none,
+ \captionsetup[capbesidefigure]{labelsep=newline,
justification=raggedright}%
\thisfloatsetup{capbesideposition=right}}][\FBwidth]
@@ -145,27 +171,25 @@
\DeclareObjectSet{colorred}{\parskip2pt\parindent15pt\color{red}}
-\DeclareMarginSet{hangleft}%
- {\setfloatmargins
+\DeclareMarginSet{hangleft}{\setfloatmargins
{\hskip-\marginparwidth\hskip-\marginparsep}{\hfil}}
\DeclareMarginSet{hangtoheads}%
{\setfloatmargins
{\hfil}{\hskip-.7\headheight\hskip-\headsep}}
-\DeclareFloatSeparators{colorsep}%
- {\begingroup\color{blue}%
- \floatfacing{\hskip6pt\vrule width4.8pt\hskip6pt}%
- {\hskip6pt\vrule width4.8pt\hskip6pt}%
+\DeclareFloatSeparators{colorsep}{\begingroup
+ \color{blue}\floatfacing*
+ {\hskip16pt\vrule width4.8pt\hskip6pt}{\hskip6pt\vrule width4.8pt\hskip16pt}%
\endgroup}
\DeclareFloatSeparators{none}{}
\DeclareFloatSeparators{cicero}{\hskip1cc}
\DeclareFloatSeparators{enskip}{\hskip.5em}
\DeclareFloatSeparators{mcapwidth}{\hskip-\FCwidth}
+\DeclareFloatSeparators{marginparsep}{\hskip\marginparsep}
+
+\DeclareColorBox{framedfigure}{\fcolorbox{gray}{white}}
%^^A -----------------------
-%^^A\DeclareCaptionFormat{labelonly}{#1}
-\DeclareCaptionLabelFormat{numonly}{#2)}
-\DeclareCaptionLabelFormat{list}{\bothIfFirst{#1}{ }#2)}
\DeclareCaptionListOfFormat{comma-separated}{#1,\,#2}
\DeclareCaptionFont{green}{\color{green}}
@@ -177,7 +201,13 @@
%^^A for all versions of caption 3.x?
\DeclareCaptionLabelFormat{rightline}{\rightline{\bothIfFirst{#1}{ }#2}}
+\DeclareCaptionLabelFormat{continued}{\rightline{\bothIfFirst{#1}{ }#2 \textup{(\emph{продолжение})}}}
+\DeclareCaptionLabelFormat{finished}{\rightline{\bothIfFirst{#1}{ }#2 \textup{(\emph{окончание})}}}
+
+\DeclareCaptionLabelFormat{thinspace}{\bothIfFirst{#1}{\,}#2}
+
\DeclareCaptionJustification{togglelast}{\floatfacing*\rightlast\leftlast}
+\DeclareCaptionJustification{rightlast}{\rightlast}
\captionsetup[table]{labelformat=rightline,textfont=bf,labelfont={md,sl},labelsep=newline}
\captionsetup[capbesidefigure]{justification=togglelast}
@@ -198,8 +228,9 @@
\tolerance2000
\hbadness8000
\vbadness5000
+\hfuzz7pt
\def\l@subsection{\@dottedtocline {2}{1.5em}{2.7em}}
-\def\l@subsubsection{\@dottedtocline {3}{4.2em}{3.6em}}
+\def\l@subsubsection{\@dottedtocline {3}{4.2em}{3.9em}}
\newcommand\Resizebox[5]{\setbox0\hbox{\setlength\unitlength{#1/#3}%^^A
\ifx\pspicture\undefined\else\psset{unit=\unitlength}\fi{#5}}%^^A
@@ -221,13 +252,18 @@
\setlength{\leftmargin}{\labelwidth}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{0pt}%
- \setlength{\parsep}{0pt}%
- }}%
+ \setlength{\parsep}{0pt}}}%
{\endlist}
-\newenvironment{Quote}{\par\RestoreSpaces\small\begin{quote}\obeylines\parskip0pt}{\end{quote}\par\@endpetrue}
+\newenvironment{Quote}[1][\parindent]{\par\hfuzz30pt\setlength{\leftmargini}{#1}\RestoreSpaces
+ \small\begin{quote}\obeylines\parskip0pt}{\end{quote}\par\@endpetrue}
\def\OptionLabel{RaggedRight}
+\newenvironment{preamble}{{\emphcolor\meta{preamble}}\nopagebreak
+ \par\begingroup\advance\leftskip1em}{\par\endgroup{\emphcolor\nobreak\meta{preamble}}}
+
+\newcommand\FRkey[2][setup]{\hyperref[#1:#2]{\texttt{#2}}}
+
\DeclareRobustCommand\La{L\kern-.36em%
{\sbox\z@ T%
\vbox to\ht\z@{\hbox{\check@mathfonts
@@ -275,8 +311,8 @@
%
% \ifx\pspicture\undefined\else\psset{unit=1pt}\fi
%
-% \def\fileversion{v0.2a}
-% \def\filedate{2007/08/24}
+% \def\fileversion{v0.2c}
+% \def\filedate{2008/03/28}
% \title{Документация к пакету \package{floatrow}\thanks{Версия
% документации \fileversion, датирована
% \filedate.}}
@@ -296,7 +332,7 @@
%^^A% dated 2004/01/04, \copyright{} 1995--2004 Axel
%^^A% Sommerfeldt.} packages, so you \emph{must not} load these packages.
% Данный пакет создан как расширение или дополнение пакета \package{float}.
-% \package{floatrow} использует коды из пакетов \package{float}\footnote{Пакет \package{float},
+% Пакет \package{floatrow} использует коды из пакетов \package{float}\footnote{Пакет \package{float},
% версия v1.3d датирована 2001/11/08, \copyright{} 1991-2000
% Anselm Lingnau.} и~\package{rotfloat}\footnote{Пакет \package{rotfloat},
% версия v1.2 датирована 2004/01/04, \copyright{} 1995--2004 Axel
@@ -307,17 +343,19 @@
%^^A% adding any repeated code in the document; besides, this package allows to
%^^A% create new float type; it deals only
%^^A% with alone (plain) combinations ``object (float contents)---caption''.
-%^^A% The \package{rotfloat}
-%^^A% package changes environments of rotated floats (\package{rotating} package)
-%^^A% to adapt them to \package{float}'s settings.
+%
% Пакет \package{float} обладает хорошим механизмом для создания (и~простой
% модификации) единообразного оформления для всех плавающих объектов
-% (флотов) без добавления повторяющихся команд в~документации; кроме
+% (флотов) одного типа без добавления повторяющихся команд в~документации; кроме
% этого пакет позволяет создать новый тип плавающего объекта; он работает
% только с~простыми одиночными комбинациями
% «объект (содержимое флота)\cdash--~подпись».
+%
+%^^A% The \package{rotfloat}
+%^^A% package changes environments of rotated floats (\package{rotating} package)
+%^^A% to adapt them to \package{float}'s settings.
% Пакет \package{rotfloat} адаптирует окружения развёрнутых плавающих объектов
-% (пакета \package{rotating}) под пакет \package{float}.
+% (окружение \env{sideways...} пакета \package{rotating}) под пакет \package{float}.
%
%^^A% Current package extends these possibilities and, at last, it allows:
% Пакет \package{floatrow} расширяет эти возможности и, в~результате, поз\-воляет:
@@ -342,7 +380,7 @@
%^^A% to put footnotes inside float box (using \env{minipage}-like mode);
%^^A% and also put legend-like text;
% поместить сноски внутри плавающего объекта (используя режим,
-% аналогичный \env{minipage}); поместить текст экспликации;
+% аналогичный используемому в~окружении \env{minipage}); поместить текст экспликации;
% \item%
%^^A% to create and/or modify special layout for each type of float and
%^^A% for different positioning of float and its components, e.g.
@@ -358,7 +396,7 @@
%^^A% \package{caption} one) uses \package{keyval} package mechanism for layout
%^^A% settings.
% Пакет \package{floatrow} объединён с~пакетом \package{caption}
-% (\textit{версия должна быть} 3.0\textbf{q} \textit{и~выше}).
+% (\textit{версия должна быть} 3.0\textbf{q} \textit{или выше}).
% Также пакет \package{floatrow} (как
% и~пакет \package{caption}) использует механизм пакета \package{keyval}
% ключ---опция для задания оформления флотов.
@@ -379,17 +417,16 @@
%^^A% \centerline{\textbf{Document Terminology}\nopagebreak\vspace{1ex}}
% \centerline{\textbf{Терминология документации}\nopagebreak\vspace{1ex}}
% \begin{description}\itemsep0pt\parskip0pt
-%^^A% \item[float]
+%^^A% \item[float (float box)]
%^^A% could include \emph{object}, \emph{caption}, and
%^^A% \emph{foot material}; \emph{float} is created by \env{figure} or
%^^A% \env{table} environments (\emph{plain float}), or in |\floatbox|
%^^A% command;
-% \item[флот]
-% или \textbf{плавающий объект} (float [box])
-% может включать \emph{объект},
+% \item[флот, бокс флота] (float, float box)
+% или \textbf{плавающий объект} может включать \emph{объект},
% \emph{подпись} и~\emph{дополнительный материал};
% создаётся внутри окружений \env{figure} или \env{table} (\emph{простой флот}),
-% или командой |\floatbox| и~её модификациями;
+% или командой |\floatbox| и~её модификациями (\emph{бокс флота});
%
%^^A% \item[float type]
%^^A% means standard environments \env{figure} and \env{table},
@@ -399,7 +436,7 @@
%^^A% command;
% \item[тип флота] (float type)
% означает как стандартные окружения \env{figure} или \env{table},
-% так и~их подвиды, например~\env{wrapfigure} (пакет \package{wrapfig}),
+% так и~их \emph{подтипы}, например~\env{wrapfigure} (пакет \package{wrapfig}),
% \env{sidewaysfigure} (пакеты \package{rotating} и~\package{rotfloat}),
% \env{longtable} (\package{longtable}) и~др.;
%
@@ -413,7 +450,7 @@
%
%^^A% \item[caption]text in |\caption|;
% \item[подпись]
-% (caption) подпись или табличный заголовок, заданный командой
+% (caption) подпись или табличный заголовок, заданные командой
% |\caption|;
%
%^^A% \item[foot material]explications, legends and/or footnotes inside
@@ -421,7 +458,7 @@
%^^A% and |\floatfoot| macros).
% \item[дополнительный материал]
% (foot material) экспликации и/или сноски внутри
-% \emph{флота} (|\footnote|/|\mpfootnotemark|/|\footnotetext| или |\floatfoot|).
+% \emph{бокса флота} (|\footnote|/|\mpfootnotemark|/|\footnotetext| или |\floatfoot|).
% \end{description}
% \end{abstract}
%
@@ -435,19 +472,20 @@
% \textsl{\sectionname}~\ref{sec:floatsetup}
%
% \item{Подпись}
+% \subitem{как в~стандартном \LaTeX'е (|\RawCaption|)}
+% \strut\pfill
+% с.~\pageref{setup:RawCaption},
+% \pageref{subcap:RawCaption}
+%
% \subitem{сверху (нумерованные таблицы, |\ttabbox|)}
% \strut\pfill
% \textsl{{\seeIntro}},~%^^A
-% \textsl{\sectionname}~\ref{sec:floatbox}%^^A;
-% %^^A\pageref{FAD:CaptionAbove},
-% %^^A\pageref{FAD:CaptionAboveTable},
-% %^^A\pageref{FAD:CaptionAboveTableII},
-% %^^A\pageref{FAD:CaptionAboveIII}
+% \textsl{\sectionname}~\ref{sec:floatbox}
%
% \subitem{по ширине многостраничной таблицы \env{longtable}
% (ключ~|LTcapwidth=|)}
% \strut\pfill
-% \pageref{FAD:LTcapwidth}
+% с.~\pageref{FAD:LTcapwidth}
%
% \subitem{по ширине объекта}
% \emph{см}.~{флот, задание ширины по ширине объекта}{}
@@ -455,121 +493,94 @@
% \subitem{сбоку (нумерованные рисунки, |\fcapside|)}
% \strut\pfill
% \textsl{{\seeIntro}},~%^^A
-% \textsl{\sectionname}~\ref{sec:floatbox}%^^A;~
-% %^^A\pageref{FAD:BesideCaptionII},
-% %^^A\pageref{ssec:ffigbox:etc},
-% %^^A\pageref{fig:subfig:catsI},
+% \textsl{\sectionname}~\ref{sec:floatbox}
%
% \item{Подфлот}\nopagebreak
% \subitem{с~номером подфлота сбоку}
% \strut\pfill
-% \pageref{FAD:sublabelbeside}
+% с.~\pageref{FAD:sublabelbeside}
%
% \subitem{с~подподписью сверху}
% \strut\pfill
-% \pageref{FAD:subcapabove}
+% с.~\pageref{FAD:subcapabove}
%
% \item{Сноски внутри флота}
% \strut\pfill
-% \textsl{\sectionname}~\ref{sec:floatfootnote}%^^A;
-% %^^A\pageref{FAD:FnoteInsideFloat}
-%
-%^^A%^^A% \subitem{текст сноски (|\footnotetext|)}
-%^^A%^^A% \strut\pfill
-%^^A%^^A% \textsl{\sectionname}~\ref{sec:floatfootnote};
-%^^A%^^A% \pageref{FAD:FnoteInsideFloat}
+% \textsl{\sectionname}~\ref{sec:floatfootnote}
%
% \subitem{знак сноски (|\mpfootnotemark|)}
% \strut\pfill
-% \pageref{FAD:FnoteInsideFloat}
+% с.~\pageref{FAD:FnoteInsideFloat}
%
% \item{Создание нового типа флотов (|\DeclareNewFloatType|)}
% \strut\pfill
-% \textsl{\sectionname}~\ref{sec:newfloat}%^^A;
-% %^^A\pageref{FAD:newfloattype}
+% \textsl{\sectionname}~\ref{sec:newfloat}
%
% \item{Флот}\nopagebreak
% \subitem{бокс (|\floatbox|)}
% \strut\pfill
-% \textsl{\sectionname}~\ref{sec:floatbox};
+% \textsl{\sectionname}~\ref{sec:floatbox}
%
% \subsubitem{рисунок (|\ffigbox|)}
% \strut\pfill
% \textsl{{\seeIntro}},~%^^A
-% \textsl{\sectionname}~\ref{sec:floatbox};
+% \textsl{\sectionname}~\ref{sec:floatbox}
%
% \subsubitem{таблица (|\ttabbox|)}
% \strut\pfill
% \textsl{{\seeIntro}},~%^^A
-% \textsl{\sectionname}~\ref{sec:floatbox};
+% \textsl{\sectionname}~\ref{sec:floatbox}
%
% \subitem{в~оборку}
% \strut\pfill
% \textsl{\sectionname}~\ref{ssec:wrapfig}--\ref{ssec:picins}
%
% \subitem{задание ширины}\nopagebreak
-%^^A% \subsubitem{ключ |floatwidth=| и~др.}
-%^^A% \strut\pfill
-%^^A% \textsl{\sectionname}~\ref{sec:wd:object},
%
% \subsubitem{опция в~|\floatbox| и~др.}
% \strut\pfill
-% \textsl{\sectionname}~\ref{sec:floatbox}%^^A;
-% %^^A\pageref{FAD:FBwidthI},
-% %^^A\pageref{FAD:FBwidthII}
+% \textsl{\sectionname}~\ref{sec:floatbox}
%
% \subsubitem{по оставшемуся месту в~ряду
% (опция |\Xhsize| (|\floatbox|))}
% \strut\pfill
-% \pageref{FAD:floatfillspace}
+% с.~\pageref{FAD:floatfillspace}
%
% \subsubitem{по ширине объекта (опция |\FBwidth|
% (|\floatbox|))\kern-1em\allowbreak}
% \strut\pfill
% \textsl{{\seeIntro}},~%^^A
-% \textsl{\sectionname}~\ref{sec:floatbox}%^^A;
-% %^^A\pageref{FAD:FBwidthI},
-% %^^A\pageref{FAD:FBwidth},
-% %^^A\pageref{FAD:FBwidthII}
+% \textsl{\sectionname}~\ref{sec:floatbox}
%
% \subitem{развёрнутые (окр.~|sideways..|)\kern-1em\allowbreak}
% \strut\pfill
-% \textsl{\sectionname}~\ref{ssec:rotating}%^^A--\ref{ssec:lscape}
-% \subsubitem{размещение на развороте}
+% \textsl{\sectionname}~\ref{ssec:rotating}
+% \subsubitem{пустой колонтитул (|\emptyfloatpage|)}
% \strut\pfill
-% \pageref{FAD:ContRotated}
+% с.~\pageref{FAD:emptyfloatpage}
%
-% \subsubitem{пустой колонтитул (|\emptyfloatpage|)}
+% \subsubitem{размещение на развороте}
% \strut\pfill
-% \pageref{FAD:emptyfloatpage}
+% с.~\pageref{FAD:ContRotated}
%
% \subitem{ряд (окр. |floatrow|)}
% \strut\pfill
% \textsl{{\seeIntro}},~%^^A
-% \textsl{\sectionname}~\ref{sec:floatrow}%^^A;
-% %^^A\pageref{FAD:BesideFloat},
-% %^^A\pageref{ssec:app:besidestart}--\pageref{ssec:app:besidefinish}
+% \textsl{\sectionname}~\ref{sec:floatrow}
%
% \subsubitem{флот занимает оставшееся место в~ряду}
% \emph{см.}~{флот, задание ширины по оставшемуся месту в~ряду}
%
-%^^A%^^A% \subsubitem{флоты одного вида в~одном ряду}
-%^^A%^^A% \strut\pfill
-%^^A%^^A% \pageref{FAD:floatrow}
-%
% \subsubitem{флоты различных типов в~одном ряду}
% \strut\pfill
-% \pageref{FAD:MixedRow},
-% \pageref{FAD:MixedRowII}%^^A%,
-% %^^A\pageref{FAD:Mixrow}
+% с.~\pageref{FAD:MixedRowII},
+% \pageref{FAD:MixedRow}
%
% \subitem{как в~стандартном \LaTeX'е (|\RawFloats|)}
% \strut\pfill
-% \textsl{\sectionname}~\ref{sec:rawfloats}%^^A;
-% %^^A\pageref{FAD:PlainFloat},
-% %^^A\pageref{FAD:PlainFloatII}
+% \textsl{\sectionname}~\ref{sec:rawfloats}
%
-% \subitem{\textbf{сюда!}, или флот «на якоре» (опция~\texttt{H})}
+% \subitem{\textbf{сюда!} или флот «на якоре» (опция~|H|)}
% \strut\pfill
% \textsl{\sectionname}~\ref{sec:floatborrowII}
%
@@ -580,109 +591,183 @@
% \endgroup
%
% \clearpage
-% \begingroup
-% \small\openup-.5pt
-% \tableofcontents
-% \listoffigures
-% \listoftables
+% \begingroup\addtocounter{lofdepth}1\addtocounter{lotdepth}1
+% \small
+% \pdfbookmark[1]{Оглавление}{TOC}\nopagebreak\tableofcontents
+% \pdfbookmark[1]{Список рисунков}{LOF}
+% \nopagebreak\listoffigures
+% \pdfbookmark[1]{Список таблиц}{LOT}
+% \nopagebreak\listoftables
+% \pdfbookmark[1]{Список примеров}{LOE}
+% \nopagebreak\listof{Example}{Список примеров}
+% \pdfbookmark[1]{Список программ}{LOP}
+% \nopagebreak\listof{Program}{Список программ}
% \endgroup
% \clearpage
% \suppressfloats[t]
%
-%^^A% \section{Macros for Building Floats}
-% \section{Макрокоманды для построения флотов}
-%
-%^^A% \subsection{Introduction}\label{sec:intro}
-% \subsection{Введение}\label{sec:intro}
+%^^A% \section{Introduction}\label{sec:intro}
+% \section{Введение}\label{sec:intro}
+%^^A% \subsection{Start with \package{floatrow} package}\label{sec:start}
+% \FRorisubsection{Начало работы с~пакетом \package{floatrow}}\label{sec:start}
+%^^A% \subsubsection{Loading The Package}\label{sec:load}
+% \FRorisubsubsection{Подключение пакета}\label{sec:load}
+%^^A% During creation of document, you usually type figures and tables as \emph{floating objets}
+%^^A% (\emph{floats}), i.e. put their contents
+%^^A% inside \env{figure} and~\env{table} environments consequently. The simplest floating environment
+%^^A% looks like:
+% Создавая документ, вы записываете рисунки и~таблицы в~виде \emph{плавающих объектов} или \emph{флотов},
+% помещая их, соответственно в~окружения \env{figure} и~\env{table}. Самое простое задание флота
+% выглядит так:
+%\begin{Quote}
+%|\begin{|\meta{тип флота}|}|
+%\meta{содержимое флота (объект)}
+%|\caption{|\meta{содержимое подписи}|}|
+%|\end{|\meta{тип флота}|}|
+%\end{Quote}
+%^^A% or (if you want to put caption above):
+% или (если вы хотите поместить подпись сверху содержимого флота):
+%\begin{Quote}
+%|\begin{|\meta{тип флота}|}|
+%|\caption{|\meta{содержимое подписи}|}|
+%\meta{содержимое флота (объект)}
+%|\end{|\meta{тип флота}|}|
+%\end{Quote}
%
-%^^A% One of the first macros of package, created for float contents,
-%^^A% is a macro which builds contents of table environment with caption
+%^^A% Just now you have loaded the \package{floatrow} package:
+% Теперь вы подключили пакет \package{floatrow}.
+%\begin{Quote}
+%\begin{preamble}
+%|\usepackage{floatrow}|\quad.
+%\end{preamble}
+%\end{Quote}
+%^^A% In the time, when this package loaded,
+%^^A% all float contents in document will be centered (unless another alignment command
+%^^A% appears inside float contents). All captions appear
+%^^A% below float contents, regardless of how they were printed in source file.
+%^^A% But, I'm almost sure, that you will want to put table captions above table material.
+%^^A% If you put in the next line the |\floatsetup| command:
+% Простое задание пакета
+% помещает содержимое каждого флота по центру (если только не задано другого выравнивания
+% внутри содержимого флота). Все подписи, независимо от того, где они записаны
+% в~исходном файле, напечатаются снизу. Но я~почти уверена, что табличные заголовки вы захотите
+% поместить сверху табличного материала. Если вы зададите на следующей строке команду |\floatsetup|:
+%\begin{Quote}
+%\begin{preamble}
+%|\usepackage{floatrow}|
+%|\|\FRkey[sec]{floatsetup}|[table]{|\FRkey{style}|=plaintop}|\quad,
+%\end{preamble}
+%\end{Quote}
+%^^A% after that, again, you will get all table captions above table material, regardless of how
+%^^A% they were printed in source file. These first minimal settings will arrange all floats
+%^^A% contents and their captions accordingly to the real typographic rules.
+%^^A% (The {\sectionname}~\ref{sec:floatsetup} describes and demonstrates various layouts,
+%^^A% which you can get with the settings of |\floatsetup| command.)
+% то после этого все табличные заголовки, опять же, будут помещены только вверху табличного
+% материала, независимо от того, где вы их набрали. Эти первые минимальные
+% настройки уже разместят содержимое плавающих объектов и~их подписи
+% согласно настоящим типографским правилам. (Раздел~\ref{sec:floatsetup} описывает и~демонстрирует
+% различные оформления, которые можно получить с~помощью настроек команды |\floatsetup|.)
+%
+%^^A% But the settings above are still not enough, and again for the tables, because you need to get
+%^^A% the table caption width equal to the width of table material. Also you may want to put some
+%^^A% figure captions beside graphics. Besides that, it is better to put the small floats beside
+%^^A% in one row. For all these reasons there were created special commands for building of float boxes
+%^^A% and a special environment to put these float boxes beside.\bigskip
+% Но этих настроек будет всё равно недостаточно,
+% для тех же таблиц, поскольку табличный заголовок лучше сделать по ширине таблицы.
+% К~тому же у~некоторых рисунков вы захотите поместить подпись сбоку. Помимо этого небольшие
+% рисунки и~таблицы лучше помещать рядом. Для этого созданы команды для построения боксов
+% флотов и~специальное окружение для размещения боксов флотов рядом.
+%
+%^^A% \subsubsection{Float Box Commands}\label{sec:intro:flbox}
+% \subsubsection{Команды боксов флотов}\label{sec:intro:flbox}
+%^^A% One of the first macros of this package for creation of float box,
+%^^A% is a macro which builds contents of the table environment with caption
%^^A% above. The width of caption equals to the width of contents, e.g.
-%^^A% of tabular (see table~\ref{intro:table}).%^^A
+%^^A% of tabular (see table~\ref{intro:table}). Let's look at the first example with plain \LaTeX{}
+%^^A% layout:%^^A
%^^A% \FRmpar{Caption above table object}{FAD:CaptionAbove}%^^A
-%^^A%^^A% \footnote{Table caption in current documentation use a~special layout,
-%^^A%^^A% popular in Russian typographic publications, look for
-%^^A%^^A% \texttt{flushrightlabel} key of \cs{captionsetup} in the preamble of
-%^^A%^^A% source file of this documentation and in sample files
-%^^A%^^A% ({\sectionname}~\ref{sec:samples}).}
-% Одной из первых макрокоманд пакета, созданных для плавающего объекта (флота),
-% является команда, которая помещает содержимое таблицы с~табличным заголовком
-% вверху. Ширина заголовка равна ширине содержимого, здесь \cdash--- табличного
-% материала (см.~табл.~\ref{intro:table}).%^^A
+% Одной из первых макрокоманд этого пакета для создания бокса плавающего объекта (флота),
+% является команда, которая печатает содержимое таблицы с~табличным заголовком
+% сверху. Ширина заголовка равна ширине содержимого, здесь \cdash--- табличного
+% материала (см.~табл.~\ref{intro:table}). Посмотрим на первый пример
+% с~оформлением стандартного \LaTeX'а:%^^A
% \relax\FRmpar{Подпись (заголовок) над таблицей}{FAD:CaptionAbove}%^^A
-% \footnote{Табличный заголовок в~данной документации использует оформление,
-% популярное в~русской технической литературе.}
-%\begin{Quote}\openup-.65pt
-%\meta{preamble}
-% |\usepackage[|\hyperref[setup:font]{\texttt{font}}|=small,|%^^A
-% \hyperref[setup:captionskip]{\texttt{captionskip}}|=5pt,|%^^A
-% \hyperref[setup:objectset]{\texttt{objectset}}|=centering,|
-% | |\hyperref[setup:margins]{\texttt{margins}}|=centering,...]{floatrow}[2007/08/24]|
-% |\|\hyperref[sec:floatsetup]{\texttt{floatsetup}}|[table]{|%^^A
-% \hyperref[setup:style]{\texttt{style}}|=Plaintop}|
-% |\usepackage[font=small,labelfont=bf,labelsep=period,|
-% | justification=centerlast]{caption}[2007/04/11]|
-% |\DeclareCaptionLabelFormat{rightline}{\rightline{\bothIfFirst{#1}{ }#2}}|
-% |\captionsetup[table]{labelformat=rightline,textfont=bf,|
-% | labelfont={md,sl},labelsep=newline}|
-%\meta{preamble}
-%|\begin{table}|
-%|\|\hyperref[floatbox:ttabbox]{\texttt{ttabbox}}
-%| {\caption{A small table ...}\label{...}}|
-%| {\begin{tabular}...\end{tabular}}|
+%\begin{Quote}
+%\begin{preamble}
+% |\usepackage{caption}[2007/04/11]|
+% |\usepackage{floatrow}[2007/08/24]|
+%\end{preamble}
+%|\begin{table}|\nopagebreak
+%|\|\FRkey[FB]{ttabbox}
+%| {\caption{Таблица ...}\label{...}}|
+%| {\begin{tabular}...\end{tabular}}|\nopagebreak
%|\end{table}|
%\end{Quote}
-% \begin{table}[H]\jot1.5pt
+%\begingroup
+%\clearcaptionsetup{table}\clearfloatsetup{table}
+%\floatsetup{style=default}\captionsetup{style=default}\def\thead#1{#1}\extrarowheight1pt
+% \begin{table}[H]\jot1.5pt\tabcolsep1.5\tabcolsep
% \ttabbox
-% {\caption{Таблица с заголовком сверху (\cmd{\ttabbox})}\label{intro:table}}
+% {\caption{Таблица с заголовком сверху (\cmd{\ttabbox}) с~оформлением стандартного \LaTeX'а}\label{intro:table}}
% {\begin{tabular}{|c|c|c|}
% \hline
-% \thead{First data} & \thead{Second data} & \thead{Third data} \\
+% \thead{First column} & \thead{Second column} & \thead{Third column} \\
% \hline
% A & B & C \\
% D & E & F \\
% \hline
% \end{tabular}}
% \end{table}%^^A
+%\endgroup
%
-%^^A% The pair of this command, which creates figures---|\ffigbox|---puts
-%^^A% caption below contents and default width of caption equals
-%^^A% to the width of main text.
-% Пара этой команде, создающая рисунки \cdash--- |\ffigbox| \cdash--- помещает
-% подрисуночную подпись снизу и~её ширина по умолчанию равна ширине основного
-% текста или заданной ширине |\hsize|.
-%\begin{Quote}\openup-.65pt
-%|...|
+%^^A% Another command, which creates figures---|\ffigbox| (figure~\ref{intro:figure})---puts
+%^^A% caption below contents. The default width of caption equals
+%^^A% to the width of text. (In the following example there were added
+%^^A% layout changes for captions.)
+% Другая команда, создающая рисунки \cdash--- |\ffigbox| (рис.~\ref{intro:figure}) \cdash--- помещает
+% подрисуночную подпись снизу содержимого рисунка. Ширина подписи по умолчанию равна
+% ширине текста. (В~следующим примере уже добавлены настройки оформления
+% для подрисуночной подписи.)
+%\begin{Quote}
+%\begin{preamble}
+% |\usepackage|{\emphcolor|[font=small,labelfont=bf,labelsep=period,|
+% | justification=centerlast]|}|{caption}|\vspace{1ex}
+% |\usepackage{floatrow}|
+%\end{preamble}
%|\begin{figure}|
-%|\|\hyperref[floatbox:ffigbox]{\texttt{ffigbox}}
-%| {\caption{A figure...}\label{...}}|
+%|\|\FRkey[FB]{ffigbox}
+%| {\caption{Простой бокс рисунка...}\label{...}}|
%| {...}|\nopagebreak
%|\end{figure}|
%\end{Quote}
-%\begingroup
+%\begingroup\floatsetup{style=default}
% \begin{figure}[H]
% \ffigbox
% {\caption[Простой бокс рисунка (\cmd{\ffigbox})]{Простой бокс рисунка
% с~длинной длинной длинной длинной длинной
% длинной длинной длинной длинной многострочной подписью}\label{intro:figure}}
-% {\unitlength1.08\unitlength\input{Doll.picture}}
+% {\unitlength1.44\unitlength\input{Doll.picture}}
% \end{figure}%^^A
%\endgroup
-%^^A% The default
-%^^A% layout of |\ffigbox| (figure~\ref{intro:figure}) is similar to plain
-%^^A% \env{figure} environment. If you set option |[\FBwidth]|
-% Оформление, создаваемое по умолчанию командой |\ffigbox| такое же,
-% как в~обычном окружении \env{figure}. Но если задать опцию|[\FBwidth]|
+%^^A% The example above shows, that float box, created by
+%^^A% the |\ffigbox| command looks similar to the plain \env{figure} environment.
+%^^A% But if you set, for example, the option |[\FBwidth]| like below:
+%^^A% \FRmpar{Caption's width equals to object}{FAD:FBwidthI}
+% Из примера выше видно, что бокс флота, созданный по умолчанию командой |\ffigbox| выглядит также,
+% как обычное окружение \env{figure}. Но если, например, задать опцию|[\FBwidth]|,
% \FRmpar{Ширина подписи равна ширине объекта}{FAD:FBwidthI}
-% как показано ниже:\par\RestoreSpaces
+% как показано ниже:
%\begin{Quote}
%|...|
%|\begin{figure}|\nopagebreak
-%|\ffigbox[\|\hyperref[floatbox:FBwidth]{\texttt{FBwidth}}|]|
+%|\ffigbox[\|\FRkey[FB]{FBwidth}|]|
%| {\caption{A figure}\label{...}}|
%| {...}|
%|\end{figure}|
%\end{Quote}
+%\begingroup\floatsetup{style=default}
% \begin{figure}[H]
% \ffigbox[\FBwidth]
% {\caption[Простой бокс рисунка по ширине графики (\cmd{\ffigbox})]{Простой бокс рисунка
@@ -690,343 +775,494 @@
% многострочной подписью}\label{intro:figure:FBwidth}}
% {\unitlength1.87\unitlength\input{Horse.picture}}
% \end{figure}%^^A
+%\endgroup
%^^A% You get caption width equal to the width of picture
%^^A% (see figure~\ref{intro:figure:FBwidth}).
% Ширина подписи станет равной ширине графики
% (см.~рис.~\ref{intro:figure:FBwidth}).
%
%^^A% The third macro---|\fcapside| (figure~\ref{intro:beside})---puts
-%^^A% caption beside:
+%^^A% caption beside. (In the next example there were added float layout settings,
+%^^A% which put captions to the binding margin
+%^^A% and changed value of separation space between caption and object.)
% Третья макрокоманда \cdash--- |\fcapside| (рис.~\ref{intro:beside}) \cdash--- помещает
-% подпись сбоку:
+% подпись сбоку. (В~следующем примере заданы настройки, помещающие подписи сбоку
+% к~корешковому полю, а~также изменено расстояние от объекта до подписи.)
%\begin{Quote}
-%\meta{preamble}
-% |\usepackage[...|\hyperref[setup:capbesidesep]{\texttt{capbesidesep}}|=quad,|%^^A
-% \hyperref[setup:facing]{\texttt{facing}}|=yes,|
-% | |\hyperref[setup:capbesideposition]{\texttt{capbesideposition}}|=inside,...]{floatrow}[2007/06/24]|
+%\begin{preamble}
%|...|
-%\meta{preamble}
+% |\usepackage|{\emphcolor|[|%^^A
+% \FRkey{capbesideposition}|=inside,|
+% | |\FRkey{facing}|=yes,|\FRkey{capbesidesep}|=quad]|}|{floatrow}|
+%\end{preamble}
%|\begin{figure}|
-%|\|\hyperref[floatbox:fcapside]{\texttt{fcapside}}
+%|\|\FRkey[FB]{fcapside}
%| {\caption[...]{...}\label{...}}|
%| {...}|
%|\end{figure}|
%\end{Quote}
+%\begingroup
+%\begingroup\floatsetup{style=default,capbesideposition=inside,facing=yes,capbesidesep=quad}%
+%\clearcaptionsetup{capbesidefigure}
% \begin{figure}[H]
% \fcapside
-% {\caption[Подпись рядом (ширина равна одной <<колонке>>)]{Подпись рядом,
-% (ширина подписи равна ширине объекта) and more text
-% and some more text and a bit more text and
-% a little more text and a little piece of text to fill
-% space}\label{intro:beside}}
+% {\caption[Бокс рисунка с~подписью сбоку (ширина равна одной «колонке»)]{Подпись рядом,
+% (ширина подписи равна ширине объекта) и~ещё текст, и~ещё немного текста,
+% и~ещё чуть-чуть текста, и~уже совсем немного текста, и~уж совсем
+% небольшой текст, чтобы только заполнить
+% место}\label{intro:beside}}
% {{\setlength\unitlength{3.68cm/100}%^^A
% \input{Bear.picture}}}
% \end{figure}
-%^^A% The width of main text or predefined value of |\hsize| before |\fcapside| command,
-%^^A% by default, divided into two columns, their width equals to the half of current |\hsize|
+%\endgroup
+%^^A% The width of text,
+%^^A% by default, divided into two columns, their width equals to the half text
%^^A% (figure~\ref{intro:beside}) excluding float margins and
-%^^A% separation material between float and caption.
+%^^A% horizontal space (or width of the separation material) between float and caption.
%^^A% One column is occupied by object, another---by caption and foot material (explications
%^^A% or legends and footnotes).
-% Ширина основного текста, или
-% предопределённая командой |\hsize| до задания |\fcapside| ширина по умолчанию делится
+% Ширина текста по умолчанию делится
% на две колонки (рис.~\ref{intro:beside}), исключая
-% поля вокруг бокса и~разделитель между объектом и~подписью. В~одну из колонок помещается рисунок,
+% поля вокруг бокса и~расстояние (или ширину разделительного материала)
+% между объектом и~подписью. В~одну из колонок помещается рисунок,
% в~другую \cdash--- подпись (а~также сноски и~экспликации).
%
%^^A% If you set the |[\FBwidth]| option:
%^^A% \FRmpar{Caption's width equals to object}{FAD:FBwidthII}
-% И~если задать опцию |[\FBwidth]|:
+% Если задать опцию |[\FBwidth]|:
% \FRmpar{Ширина подписи равна ширине объекта}{FAD:FBwidthII}
%\begin{Quote}
%|...|
%|\fcapside[\FBwidth]|
%|...|
%\end{Quote}
+%\begingroup
+%\begingroup\floatsetup{style=default,capbesideposition=inside,facing=yes,capbesidesep=quad}%
+%\clearcaptionsetup{capbesidefigure}
% \begin{figure}[H]
% \fcapside[\FBwidth]
-% {\caption[Подпись сбоку (занимает все свободное место от заданной ширины возле рисунка)]{Подпись сбоку
-% (подпись занимает всё оставшееся место рядом с~рисунком) and more text
-% and some more text and a bit more text and
-% a little more text and a little piece of text to fill
-% space}\label{intro:beside:FBwidth}}
+% {\caption[Бокс флота с~подписью сбоку (занимает оставшееся место от заданной ширины)]{Подпись сбоку
+% (подпись занимает всё оставшееся место рядом с~рисунком) и~ещё текст, и~ещё немного текста,
+% и~ещё чуть-чуть текста, и~уже совсем немного текста, и~уж совсем
+% небольшой текст, чтобы только заполнить
+% место}\label{intro:beside:FBwidth}}
% {{\setlength\unitlength{3.68cm/100}%^^A
% \input{Bear.picture}}}
% \end{figure}
+%\endgroup
%^^A% The graphic column width equals to the graphics and caption occupies the rest space
-%^^A% (see figure~\ref{intro:beside:FBwidth}).\medskip
-% Ширина <<колонки>> для графики равна её ширине, а~подпись занимает по ширине оставшееся место
-% (см.~рис.~\ref{intro:beside:FBwidth}).\medskip
+%^^A% (see figure~\ref{intro:beside:FBwidth}).\bigskip
+% Ширина «колонки» для графики станет равной её натуральной ширине,
+% а~подпись займёт оставшееся место (см.~рис.~\ref{intro:beside:FBwidth}).
+%
+%^^A% The examples above show the most frequent and most simple variants of float creation. Read
+%^^A% {\sectionname}~\ref{sec:floatbox} about usage of these commands in different ways
+%^^A% and how to create new commands for float creation.
+% Примеры выше показали наиболее частые и~простые варианты создания боксов флотов. О~том
+% как ещё можно использовать эти команды и~как создать свои собственные для построения флотов, читайте
+% {\sectionname}~\ref{sec:floatbox}.
+%
+%^^A% \subsubsection{Float Boxes In The Row}\label{sec:intro:flrow}
+% \subsubsection{Боксы флотов рядом}\label{sec:intro:flrow}
+%^^A% If you need to put two or more floats of one type side by side,%^^A
+%^^A% \FRmpar{Float row: floats of one type side by side}{FAD:floatrow}
+%^^A% you may use \env{floatrow} environment.
+% Если вам нужно поместить два или более флотов рядом,%^^A
+% \FRmpar{Флоты одного типа рядом}{FAD:floatrow}
+% вы можете воспользоваться окружением \env{floatrow}.
+%
+%\begin{Quote}
+%\begin{preamble}
+% {\emphcolor %^^A
+% |\DeclareCaptionLabelFormat{rightline}{\rightline|
+% | {\bothIfFirst{#1}{ }#2}}|
+% |\captionsetup[table]{labelformat=rightline,textfont=bf,|
+% | labelfont={md,sl},labelsep=newline}|}\vspace{1ex}
+% |\usepackage[|{\emphcolor\FRkey{font}|=small,|%^^A
+% \FRkey{floatrowsep}|=qquad,|\FRkey{captionskip}|=5pt|}|]{floatrow}|\nopagebreak
+% |\|\FRkey[sec]{floatsetup}|[table]{|%^^A
+% {\emphcolor\FRkey{style}|=Plaintop|}|}|
+%\end{preamble}
+%|\begin{table}|
+%| \begin{|\FRkey[sec]{floatrow}|}|
+%| \|\FRkey[FB]{ttabbox}
+%| {\caption{...}\label{...}}|
+%| {...}|
+%| |
+%| \ttabbox|
+%| {\caption{...}\label{...}}|
+%| {...}|
+%| \end{floatrow}|
+%|\end{table}|
+%\end{Quote}
+% \DeleteShortVerb{\|}%
+% \begin{table}[H]
+% \begin{floatrow}
+% \extrarowheight1pt\tabcolsep2\tabcolsep
+% \ttabbox
+% {\caption[Первая таблица в~ряду, длинный заголовок]%^^A
+% {Первая таблица в~ряду с~длинным, длинным, длинным длиннющим заголовком и~выровненным по верху}%^^A
+% \label{tab:row:tabIII}}%^^A
+% {\begin{tabular}{|l|>{\phantom0}c|>{\phantom0}c|}
+% \hline
+% \multirowthead{2}[-1ex]{Left Column Head}
+% & \multicolumn{2}{c|}{\thead{Data}} \\
+% \cline{2-3}
+% & \multicolumn{1}{c|}{\thead{I}}
+% & \multicolumn{1}{c|}{\thead{II}}
+% \\\hline
+% First row & 1 & 2 \\
+% Second row & 3 & 4 \\
+% Third row & 6 & 8 \\
+% Fourth row & \llap{1}0 & \llap{1}6 \\
+% \hline
+% \end{tabular}}
%
+% \ttabbox
+% {\caption{Вторая таблица в~ряду, заголовок выровнен по верхней строке}\label{tab:row:tabIV}}%^^A
+% {\begin{tabular}{|l|c|c|c|}
+% \hline
+% \multirowthead{2}[-1ex]{Column Head}
+% & \multicolumn{3}{c|}{\thead{Data}} \\
+% \cline{2-4}
+% & \thead{I} & \thead{II} & \thead{III} \\
+% \hline
+% First row & 1 & 2 & \phantom01 \\
+% Second row & 3 & 4 & \phantom06 \\
+% Third row & 6 & 8 & 28 \\
+% \hline
+% \end{tabular}}
+% \end{floatrow}
+% \end{table}
+% \MakeShortVerb{\|}%
+%^^A% You may see in the example with tables \ref{tab:row:tabIII} and~\ref{tab:row:tabIV},
+%^^A% that you \emph{need} to use commands |\ttabbox|, which build box for each table box.
+% Как видно из примера с~таблицами \ref{tab:row:tabIII} и~\ref{tab:row:tabIV},
+% внутри окружения \emph{обязательно} используются команды |\ttabbox|, строящие боксы для
+% каждого флота таблицы.
+%
+%^^A% In the example with beside floats there were loaded special settings for table captions.
+%^^A% In the float layout value of the separation space between beside floats have been changed,
+%^^A% the vertical skip between captions and float objects was also changed. For the tables
+%^^A% there was used style, which not only puts captions above, but also aligns them by top line.
+%^^A% (See \package{caption} package documentation and \sectionname~\ref{sec:floatsetup}
+%^^A% of current documentation.)
+% В~примере с~флотами рядом были заданы специальные настройки для табличных заголовков
+% (такие настройки часто используются в~русской технической литературе;
+% см.~подробнее о~вариантах настроек документацию к~пакету \package{caption}). В~оформлении
+% флотов изменено расстояние между флотами рядом, также изменена отбивка подписи/заголовка от объекта.
+% Для таблиц используется стиль, который не только помещает табличный заголовок сверху, но
+% и~выравнивает заголовки по верху у~флотов рядом (см.~разд.~\ref{sec:floatsetup} данной документации).
+%
+%^^A% \subsection{Do not write that with \package{floatrow} package}\label{floatrow:wrong}
+% \subsection{Это не допускается пакетом \package{floatrow}}\label{floatrow:wrong}
+%\begingroup
+%^^A% The \package{floatrow} package creates some features or limitations
+%^^A% for writing code of float contents in source file. If you'll write something like
+% Пакет \package{floatrow} создаёт некоторые особенности и~ограничения
+% в~записи содержимого плавающих объектов в~исходном файле. Если вы запишете:
+%\begin{Quote}
+%\begin{preamble}
+%|\usepackage{floatrow}|
+%\end{preamble}
+%|\begin{table}|
+%| \caption{Табличный заголовок должен быть вверху ...}|
+%| \centering \begin{tabular}{cc} A & B \\ C & D \end{tabular}|
+%|\end{table}|
+%\end{Quote}
+%^^A% please do not expect that the caption appears at the top of table:
+% не ждите что подрисуночная подпись получится сверху таблицы:
%
+% \begingroup\clearfloatsetup{table}
+% \begin{table}[H]
+% \caption{Табличный заголовок должен быть вверху, но это не так}\label{Wrong:expect}
+% \centering \begin{tabular}{cc} A & B \\ C & D \end{tabular}
+% \end{table}
+% \endgroup
+%
+%^^A% So, if you want to put table captions above its contents~\nobreak\quad
+%^^A% 1)\nobreak\enskip change code, using command |\ttabbox|,
+%^^A% like in table~\ref{intro:table};~\nobreak\quad2)\nobreak\enskip
+%^^A% write |\|\FRkey[sec]{floatsetup}|[figure]|\allowbreak|{|\FRkey{style}|=plaintop}| in the preamble
+%^^A% ({\sectionname}~\ref{sec:floatsetup});~\nobreak
+%^^A% \quad3)\nobreak\enskip or you need to restore the standard \LaTeX{} behavior with the |\RawFloats| command
+%^^A% or the package option |rawfloats| ({\sectionname}~\ref{sec:rawfloats}).
+% Итак, если вы хотите поместить табличные заголовки сверху~\nobreak\quad1)\nobreak\enskip
+% перепишите код, используя команду
+% |\ttabbox|, как в~табл.~\ref{intro:table};~\nobreak\quad2)\nobreak\enskip задайте
+% в~преамбуле |\|\FRkey[sec]{floatsetup}|[figure]|\allowbreak|{|\FRkey{style}|=plaintop}|
+% ({\sectionname}~\ref{sec:floatsetup});~\nobreak
+% \quad3)\nobreak\enskip или, для вывода флотов в~режиме стандартного \LaTeX'а,
+% задайте команду |\|\FRkey{RawFloats}, или включите опцию пакета
+% \FRkey{rawfloats}, ({\sectionname}~\ref{sec:rawfloats}).
+%
+%^^A% The next example. If you put beside floats by following way:
+% Ещё пример. Если вы поместите плавающие объекты как записано ниже:
+%\par\nobreak\vbox{\begin{Quote}
+%|...|\nopagebreak
+%|\begin{figure}|\nopagebreak
+%|\begin{minipage}{0.45\textwidth}|
+%| \centering ...|
+%| \caption{Пропавшая подрисуночная подпись, ...}|
+%|\end{minipage}\hfill|
+%|\begin{minipage}{0.45\textwidth}|
+%| \captionof{table}{Остался табличный заголовок, ...}}|
+%| \centering ...|
+%|\end{minipage}|\nopagebreak
+%|\end{figure}|
+%\end{Quote}}\noindent
+%^^A% you'll get error message about lost caption.
+% вы получите сообщение об ошибке, что потеряна подпись.
+%^^A% Here you may:~\nobreak\quad1)\nobreak\enskip
+%^^A% to put table contents inside |\|\FRkey[FB]{ttabbox}, figure contents---inside |\|\FRkey[FB]{ffigbox},
+%^^A% then both floats put inside \FRkey[sec]{floatrow} environment, and, since there is mixed row
+%^^A% (it includes floats of different types, and also with different caption position),
+%^^A% put the |\|\FRkey{killfloatstyle} command before ``foreign'' float |\ttabbox|, and
+%^^A% |\|\FRkey[FB]{CenterFloatBoxes} command---before \env{floatrow} environment
+%^^A% (see~{\sectionname}~\ref{sec:mixrow} about mixed rows);~\nobreak\quad2)\nobreak\enskip
+%^^A% to restore the standard \LaTeX{} behavior, using command |\|\FRkey{RawFloats}
+%^^A% or package option \FRkey{rawfloats} ({\sectionname}~\ref{sec:rawfloats}).
+% Здесь можно:~\nobreak\quad1)\nobreak\enskip поместить таблицу
+% в~|\|\FRkey[FB]{ttabbox}, а~рисунок \cdash--- в~|\|\FRkey[FB]{ffigbox}, затем оба флота
+% \cdash--- в~окружение \FRkey[sec]{floatrow}, и, поскольку это смешанный ряд (состоящий
+% из флотов разных типов, при этом ещё и~с~разным размещением подрисуночной подписи),
+% задать команду |\|\FRkey{killfloatstyle}, в~данном случае, перед «чужой» командой |\ttabbox|
+% и~команду |\|\FRkey[FB]{CenterFloatBoxes} перед окружением
+% (см.~{\sectionname}~\ref{sec:mixrow} о~смешанных рядах)~\nobreak\quad2)\nobreak\enskip
+% восстановить режим стандартного \LaTeX'а с~помощью команды |\|\FRkey{RawFloats} или опции пакета
+% \FRkey{rawfloats} ({\sectionname}~\ref{sec:rawfloats}).
+%
+%\endgroup
+%\clearpage
+%^^A% \section{Macros for Building Floats}
+% \section{Макрокоманды для построения флотов}
%^^A% \subsection{The Floatbox Macro}\label{sec:floatbox}
-% \subsection{Макрокоманда \cs{floatbox}}\label{sec:floatbox}
+% \FRorisubsection{Макрокоманда \texorpdfstring{\cs{floatbox}}{floatbox}}\label{sec:floatbox}
%
% \DescribeMacro{\floatbox}
-%^^A% This package offers macro, which creates necessary layout of float
-%^^A% object contents and caption (see also the introduction).
-%^^A% The main macro looks like:
-% Данный пакет предлагает команду, создающую
-% необходимое размещение элементов
-% флота (см. также Введение).
-% Она задаётся следующим образом:
-% \par\RestoreSpaces
+%^^A% The examples in Introduction ({\sectionname}~\ref{sec:intro:flbox})
+%^^A% use three commands |\ttabbox|, |\ffigbox| and |\fcapside|. All these command
+%^^A% were built using the |\floatbox| macro.
+%^^A% This macro creates the float box with necessary positioning of its elements (object,
+%^^A% caption, foot material) and applies the layout of current float type.
+%^^A% The usage of the |\floatbox| macro looks like:
+% Во введении ({\sectionname}~\ref{sec:intro:flbox}) показаны примеры трёх команд
+% |\ttabbox|, |\ffigbox| и~|\fcapside|. Все они созданы
+% на основе |\floatbox|. Эта команда создаёт бокс флота с~необходимым размещением
+% его элементов (объекта, подписи, дополнительного материала) и~применяет оформление
+% текущего типа флота. Итак, |\floatbox| задаётся следующим образом:
% \begin{Quote}
-% |\floatbox[|\meta{preamble}|]{|\meta{captype}|}[|^^A
-% \meta{width}|][|\meta{height}|][|\meta{vert pos}|]|
-% | {|\meta{caption}|}{|\meta{object}|}|\footnotemark
+% |\floatbox|\oarg{preamble}\marg{captype}\oarg{width}\oarg{height}\oarg{vert pos}
+% | |\marg{caption}\marg{object}
% \end{Quote}%^^A
-%^^A% \footnotetext{The
-%^^A% order of mandatory arguments and their contents makes not
-%^^A% difference during building of float box. This macro
-%^^A% historically needs two mandatory arguments, but they could
-%^^A% be filled freely.}
-% \footnotetext{Порядок
-% обязательных аргументов и их содержимое не имеет значения
-% для построения флота. Эта макрокоманда исторически требует
-% два обязательных аргумента, но они могут быть заполнены как
-% угодно.}
%^^A% where\label{floatboxsets}:
-% где\label{floatboxsets}:
+% Аргументы |\floatbox|\label{floatboxsets}:
% \begin{description}\itemsep0pt
-%^^A% \item[\meta{preamble}]there could be |\capbeside|\label{floatbox:capbeside} command which
+%^^A% \item[\meta{preamble}]there could be |\capbeside|\label{FB:capbeside} command which
%^^A% places caption beside float contents;
-%^^A% |\nocapbeside|\label{floatbox:nocapbeside}
+%^^A% |\nocapbeside|\label{FB:nocapbeside}
%^^A% (to put caption above/below, accordingly
%^^A% to float type's style);
-%^^A% |\captop|\label{floatbox:captop}
+%^^A% |\captop|\label{FB:captop}
%^^A% (to put caption above);
%^^A% or another systematic command
%^^A% (even with usage of |\captionsetup|
-%^^A% and |\|\hyperref[setup:thisfloatsetup]{\texttt{thisfloatsetup}}
+%^^A% and |\|\FRkey{thisfloatsetup}
%^^A% see examples in documentation and appendix).
% \item[\meta{preamble}]здесь могут быть такие команды, как
-% |\capbeside|\label{floatbox:capbeside}, которая размещает подписи сбоку объекта;
-% |\nocapbeside|\label{floatbox:nocapbeside} (размещает подписи сверху/снизу, в~зависимости
+% |\capbeside|\label{FB:capbeside}, которая размещает подписи сбоку объекта;
+% |\nocapbeside|\label{FB:nocapbeside} (размещает подписи сверху/снизу, в~зависимости
% от настроек стиля);
-% |\captop|\label{floatbox:captop} (размещает подписи сверху);
+% |\captop|\label{FB:captop} (размещает подписи сверху);
% или другая повторяющаяся команда
-% (даже возможно использование |\captionsetup|
-% и~|\|\hyperref[setup:thisfloatsetup]{\texttt{thisfloatsetup}} "---
+% (даже возможно использование настроек |\captionsetup|
+% и~|\|\FRkey{thisfloatsetup} "---
% см. примеры в~документации и~приложении).
-%^^A% \item[\meta{captype}]the type of float this command created for;
-% \item[\meta{captype}]тип флота, для которого строится оформление;
+%^^A% \item[\meta{captype}]the type of float this command created for. Since this command
+%^^A% is supposed to appear outside floating environments or in ``foreign'' environments
+%^^A% (see {\sectionname}~\ref{sec:mixrow} below),
+%^^A% we write here, usually, the actual name of float type;
+% \item[\meta{captype}]тип флота, для которого строится оформление. Поскольку эту команду
+% бокса флота предполагается использовать и~вне окружений флота и~в~«чужом» окружении
+% (см.~{\sectionname}~\ref{sec:mixrow} ниже), здесь обычно задаётся реальное имя типа флота;
%^^A% \item[\meta{width}]the width of object---caption box
%^^A% (in case of caption above or below object),
%^^A% or width of object box (if caption stays beside object).
-%^^A% Empty width option, |[]|, and option |[\hsize]| mean the same.\par
-%^^A% The option |[\FBwidth]|\label{floatbox:FBwidth}%^^A
-%^^A% \FRmpar{Caption's width\\ equals to object}{FAD:FBwidthIII}
-%^^A% in~the \meta{width} argument
-%^^A% allows usage of natural width of float contents: \qquad for full float box in the case of caption
-%^^A% above/\allowbreak below; \qquad in~the case of beside caption natural width of float object expands to
-%^^A% object box only.\par
-%^^A% \emph{Note}. If you use the \verb|\FBwidth| command in the \meta{width}
-%^^A% optional argument, please be sure that object contents can be placed
-%^^A% in |\hbox| command (you only allowed to use |\vspace| (not |\vskip|!)
-%^^A% command at the very
-%^^A% beginning and very end of object contents for fine tuning
-%^^A% of vertical spaces and position of contents);
+%^^A% Empty width option, |[]|, and option |[\hsize]| mean the same;
% \item[\meta{width}]ширина флота целиком
% (если подпись сверху или снизу объекта),
% или ширина объекта (если подпись сбоку).
-% Пустая опция задания ширины, |[]|, и~опция |[\hsize]| \cdash--- одно и~то же.\par
-% Опция |[\FBwidth]|\label{floatbox:FBwidth}%^^A
-% \FRmpar{Ширина подписи\\ по ширине объекта}{FAD:FBwidthIII}
-% в~аргументе \meta{width}
-% позволяет использовать натуральную ширину объекта.\par
-% \emph{Замечание}. При использовании \verb|\FBwidth|
-% в~аргументе \meta{width}, вы должны быть уверены, что
-% содержимое объекта может быть помещено внутри |\hbox|
-% (вы можете воспользоваться командой |\vspace| (но не |\vskip|!) в~начале
-% и/или в~конце содержимого объекта для корректировки
-% вертикальных отбивок);
+% Пустая опция задания ширины, |[]|, и~опция |[\hsize]| \cdash--- одно и~то же;
%^^A% \item[\meta{height}]the height of object---caption box
%^^A% (in case of caption above or below object),
-%^^A% or height of object box (if caption stays beside object);
+%^^A% or height of object box (if caption stays beside object). With the empty height
+%^^A% option, |[]|, is used the natural height of object;
% \item[\meta{height}]высота флота
% (если подпись сверху или снизу),
-% или высота объекта (если подпись сбоку);
+% или высота объекта (если подпись сбоку). При пустой опции задания высоты, |[]|,
+% используется натуральная высота объекта (бокса);
%^^A% \item[\meta{vert pos}]vertical alignment of object contents in
%^^A% object's box in case of \meta{height} argument has larger value than
-%^^A% height of object contents, float placed inside \env{floatrow}.
+%^^A% height of object contents, or in the float layout there are used settings
+%^^A% for common heights of float objects inside \env{floatrow} environment.
+%^^A% Arguments are analogous to \env{minipage}'s ones:
% \item[\meta{vert pos}]вертикальное выравнивание содержимого
% объекта в~боксе в~случае, если аргумент \meta{height} имеет
-% б\'ольшую величину чем заданная высота объекта,
-% или флот помещён в~ряд в~окружении \env{floatrow}.
-%^^A% \item[\meta{caption}]text of caption and legends (you may use
-%^^A% |\floatfoot| command (see page~\pageref{subsec:floatfoot}); you
+% величину, отличную от натуральной высоты объекта, или флот помещён
+% в~окружение \env{floatrow} с~настройками, задающими выравнивание объектов по высоте.
+% Аргументы аналогичны используемым в~окружении \env{minipage}:
+% \begin{Options}{cc}\samepage
+% \item[t]
+%^^A% aligns objects by top line;
+% выравнивает объекты по верхней линии;
+% \item[c]
+%^^A% aligns objects by center line;
+% выравнивает объекты по средней линии;
+% \item[b]
+%^^A% aligns objects by bottom line;
+% выравнивает объекты по нижней линии;
+% \item[s]
+%^^A% stretches objects by full height (if it is possible).
+% растягивает объекты на всю высоту (если возможно).\vspace*{-.5\baselineskip}
+% \end{Options}
+%^^A% \item[\meta{caption}]text of caption; you
%^^A% may also use |\footnote|/|\mpfootnotemark|/|\footnotetext| stuff
-%^^A% for footnotes inside float, or |\floatfoot| command;
-% \item[\meta{caption}]подпись и~экспликации (вы можете использовать
-% команду |\floatfoot| (см.~с.~\pageref{subsec:floatfoot});
-% вы можете использовать команды
+%^^A% for footnotes inside float and/or |\floatfoot| command;
+% \item[\meta{caption}]подпись; здесь можно также использовать
+% команды создания сносок
% |\footnote|/\allowbreak|\mpfootnotemark|/%^^A
% \allowbreak|\footnotetext|
-% для сносок внутри флота, или команду |\floatfoot|;
-%^^A% \item[\meta{object}]Contents of float; you may use
-%^^A% |\footnote|/|\mpfootnotemark|/|\footnotetext| stuff or
+% для сносок внутри флота, и/или команду |\floatfoot|;
+%^^A% \item[\meta{object}]Contents of float; you may also use
+%^^A% |\footnote|/|\mpfootnotemark|/|\footnotetext| stuff and/or
%^^A% |\floatfoot| command.
-% \item[\meta{object}]содержимое флота; вы также можете
+% \item[\meta{object}]содержимое флота; здесь можно также
% использовать команды
% |\footnote|/\allowbreak|\mpfootnotemark|/%^^A
% \allowbreak|\footnotetext|
-% или |\floatfoot|.
+% и/или |\floatfoot|.
% \end{description}
+%^^A% \emph{Note}. The order of two last mandatory arguments,
+%^^A% \meta{caption} and \meta{object}, and their contents makes no
+%^^A% difference during building of float box. The |\floatbox| macro
+%^^A% historically needs two mandatory arguments, but they could
+%^^A% be filled freely, i.e. you may fill only one mandatory argument and left the second one empty.
+%^^A% be filled freely.}
+% \emph{Примечание}. Порядок обязательных аргументов,
+% \meta{caption} и~\meta{object}, и~их содержимое не имеет значения
+% для построения флота. Команда |\floatbox| исторически требует
+% два обязательных аргумента, но они могут быть заполнены как
+% угодно, т.\,е. можно записать в~один аргумент и~содержимое объекта, и~подпись и~т.\,д.,
+% оставив другой пустым.\par
%
-%^^A% The commands |\ttabbox|, |\ffigbox|, and |\fcapside| abbreviate |\floatbox| command, which creates
-%^^A% float boxes:
-%^^A% \begin{itemize}\itemsep0pt\parskip0pt
-%^^A% \item[--] the |\ttabbox| command we can replace with the code\\
-%^^A% | \floatbox[\captop]{table}[\FBwidth]|;
-%^^A% \item[--] the |\ffigbox| one---with |\floatbox{figure}| (simplest definition); and
-%^^A% \item[--] the |\fcapside| one---with |\floatbox[\capbeside]{figure}|.
-%^^A% \end{itemize}%
-% Команды |\ttabbox|, |\ffigbox|, и~|\fcapside| являются сокращениями команды |\floatbox|, которая
-% создаёт различные комбинации объект---подпись:
-% \begin{itemize}\itemsep0pt\parskip0pt
-% \item[--] команду |\ttabbox| можно
-% заменить на \\|\floatbox[\captop]{table}[\FBwidth]|;
-% \item[--] |\ffigbox|---на
-% |\floatbox{figure}| (простейший вариант); и
-% \item[--] |\fcapside| \cdash--- на команду |\floatbox|\allowbreak|[\capbeside]{figure}|.
-% \end{itemize}%
-%
-%^^A% You see in figure~\ref{intro:figure:FBwidth} that you can change width
-%^^A% for |\ffigbox| command to get caption (and also full float box) width equal to the width
-%^^A% of object. Also you may create a new command based on |\floatbox| command
-%^^A% and set float box's width equal to object's,
-%^^A% see {\sectionname}~\ref{ssec:ffigbox:etc}.
-% Вы видите по рис.~\ref{intro:figure:FBwidth}, что можно изменить ширину
-% в~команде~|\ffigbox| так, что ширина подписи (а~заодно и~всего бокса флота) будет
-% равна ширине объекта. Можно создать собственную команду, на базе |\floatbox|,
-% где определить ширину блока по умолчанию равной ширине объекте,
-% см.~об этом {\sectionname}~\ref{ssec:ffigbox:etc}.
-%
-% \begingroup\allowprelistbreaks[-4]
-%^^A% The three examples of float placing. First simplest example:
-% Три примера размещения флотов. Первый простейший пример:
-% \par\RestoreSpaces
-%\begin{quote}\obeylines\parskip0pt
-%|\begin{figure}|\nopagebreak
-%|\floatbox{figure}[4cm]|
-%|{\caption{Простой пример ...}}%|
-%|\label{fig:WcatI}}|
-%|{\input{TheCat.picture}}|
-%|\end{figure}|
-%\end{quote}
-%^^A% created the picture in the figure~\ref{fig:WcatI}.\pagebreak[3]
-% создал картинку на рис.~\ref{fig:WcatI}. Ширина блока задана равной 4~см.
-% \begin{figure}[H]
-% \floatbox{figure}[4cm]
-% {\caption{Простой пример использования команды \cmd{\floatbox}}%
-% \label{fig:WcatI}}
-% {\unitlength1.28\unitlength\input{TheCat.picture}}
-% \end{figure}%
-% \endgroup
+%^^A% \subsubsection{Float box width equals to the width of object contents.}
+% \subsubsection{Ширина бокса флота соответствует ширине содержимого (объекта).}
+% \DescribeMacro{\FBwidth}\label{FB:FBwidth}%^^A
+%^^A% The option |[\FBwidth]|\label{FB:FBwidth}%^^A
+%^^A% \FRmpar{Caption's width\\ equals to object}{FAD:FBwidthIII}
+%^^A% in~the \meta{width} argument
+%^^A% allows usage of natural width of float contents:~\nobreak\qquad1)\nobreak\enskip
+%^^A% for full float box in the case of caption
+%^^A% above/\allowbreak below;~\nobreak\qquad1)\nobreak\enskip in~the case of beside caption
+%^^A% natural width of float object expands to the object box only.\par
+% Опция |[\FBwidth]|%^^A
+% \FRmpar{Ширина подписи\texorpdfstring{\\}{} по ширине объекта}{FAD:FBwidthIII}
+% в~аргументе \meta{width}
+% позволяет использовать натуральную ширину объекта:~\nobreak\qquad1)\nobreak\enskip
+% для задания ширины всему боксу
+% с~подписью сверху/снизу;~\nobreak\qquad2)\nobreak\enskip для задания ширины только самому объекту,
+% если подпись размещается сбоку объекта.
%
-%^^A% The more preferable way for usage of |\floatbox| is to put table
-%^^A% caption \emph{above} table contents and set caption width equal
-%^^A% to table width.
-% Но более актуальный вариант использования команды |\floatbox|
-% \cdash--- поместить табличный заголовок \emph{над} таблицей и задать
-% ширину заголовка равной ширине
-% таблицы.
-% \par\RestoreSpaces
-%\begin{Quote}
-%|\begin{table}|\nopagebreak
-%|\floatbox[\captpop]{table}[\FBwidth]|
-%| {\caption{Simple tabular ...}\label{...}}|
-%| {\begin{tabular}{|l|c|c|}|
-%| ...}|
-%|\end{table}|
-%\end{Quote}
-% \DeleteShortVerb{\|}%
-% \begingroup
-% \floatsetup[table]{style=plain}
-% \begin{table}[H]
-% \floatbox[\captop]{table}[\FBwidth]
-% {\caption{Простая таблица в~\cmd{\floatbox} с~заголовком
-% сверху (задана команда \cmd{\captop} в~аргументе преамбулы)}\label{tab:tabII}}
-% {\begin{tabular}{|l|c|c|}
-% \hline
-% \thead{Column head} & \thead{Data I} & \thead{Data II} \\
-% \hline
-% First row & 1 & 2 \\
-% Second row & 3 & 4 \\
-% Third row & 6 & 8 \\
-% Fourth row & \llap{1}0 & \llap{1}6 \\
-% \hline
-% \end{tabular}}
-% \end{table}%
-% \endgroup
-% \MakeShortVerb{\|}%
-%^^A% as shown in table~\ref{tab:tabII}. To fit size of caption%^^A
-%^^A% \FRmpar{Caption has the object's width}{FAD:FBwidth}
-%^^A% (i.e full
-%^^A% float box) to size of \env{tabular} environment there was used
-%^^A% |\FBwidth| command in \meta{width} argument.
-% как показано в табл.~\ref{tab:tabII}. Для задания ширины%^^A
-% заголовка (или всего бокса
-% плавающего объекта) равной ширине окружения \env{tabular}
-% была использована команда |\FBwidth|
-% в аргументе \meta{width}.
+%^^A% \RestoreSpaces
+%^^A% \emph{Note}. If you use the \verb|\FBwidth| command in the \meta{width}
+%^^A% optional argument, please be sure that object contents can be placed
+%^^A% in |\hbox| command (you only allowed to use |\vspace| (not |\vskip|!)
+%^^A% command at the very
+%^^A% beginning and very end of object contents for fine tuning
+%^^A% of vertical spaces and position of contents).
+% \RestoreSpaces
+% \emph{Замечание}. При использовании \verb|\FBwidth|
+% в~аргументе \meta{width}, вы должны быть уверены, что
+% содержимое объекта может быть помещено внутри |\hbox|
+% (вы можете воспользоваться командой |\vspace| (но не |\vskip|!) в~начале
+% и/или в~конце содержимого объекта для корректировки
+% вертикальных отбивок).\medskip
+%
+% \DescribeMacro{\FBheight}\label{FB:FBheight}%^^A
+%^^A% The similar command, |[\FBheight]|,
+%^^A% created for the \meta{height} argument. The usage of this command makes sense, e.g.,
+%^^A% when \package{calc} is loaded: you may define height option like |[\FBheight+1cm]|.
+% Аналогичная команда, |[\FBheight]|\label{FB:FBheight},
+% создана для аргумента \meta{height}. Использование этой команды имеет смысл, например.
+% если используется пакет \package{calc}: можно задать высоту в~виде |[\FBheight+1cm]|.
+%
+% \RestoreSpaces
+%^^A% \subsubsection{Complex example of usage of \cmd{\floatbox} command}
+% \subsubsection{Сложный пример использования команды \texorpdfstring{\cs{floatbox}}{floatbox}}
%
%^^A% The next example shows \env{figure} environment with beside caption.
-%^^A% In this example \meta{preamble} argument consists of rather complex definition,
-%^^A% and |\FBwidth| in \meta{width} argument. The caption
-%^^A% occupies the rest space of float box's width, |\hsize| (in current
-%^^A% example the width float box equals to main text width---|\textwidth|).
+%^^A% In this example \meta{preamble} argument consists of rather complex definition.
+%^^A% The \meta{width} option includes the |\FBwidth| command, so, the object box
+%^^A% has its natural width, the with of caption box equals to 4cm, all lines in
+%^^A% caption justified, but the last one flushed to the right.
% Следующий пример показывает окружение \env{figure} где подпись
% задана сбоку. В~этом примере используется сложное определение
-% в~аргументе \meta{preamble}, и~команда |\FBwidth|, в~аргументе
-% \meta{width}. Подпись занимает оставшееся место в~боксе
-% шириной |\hsize| (в~данном примере ширина бокса равна
-% ширине основного текста "---|\textwidth|).
+% в~аргументе \meta{preamble}. В~аргументе
+% \meta{width} задана команда |\FBwidth|, следовательно бокс объекта имеет натуральную ширину,
+% для подписи определена ширина 4~сантиметра, выключка текста подписи на заданный формат
+% последняя строка прибивается к~правому краю.
%
-% \par\RestoreSpaces
%\begin{Quote}
%|\begin{figure}|
+%\begin{preamble}
+%|\def\rightlast{\leftskip0ptplus1fil|
+%| \rightskip0ptplus-1fil\parfillskip0ptplus1fil}|
+%|\DeclareCaptionJustification{rightlast}{\rightlast}|
+%\end{preamble}
%|\floatbox[{\capbeside|
-%| \captionsetup[capbesidefigure]{format=break,labelsep=none,|
-%| justification=raggedleft}%|
-%| \|\hyperref[setup:thisfloatsetup]{\texttt{thisfloatsetup}}%^^A
-% |{|\hyperref[setup:capbesideposition]{\texttt{capbesideposition}}|=left}}]{figure}[\FBwidth]|
-%| {\caption[...]{...}\label{...}}|
+%| \captionsetup[capbesidefigure]{labelsep=newline,|
+%| justification=rightlast}%|
+%| \|\FRkey{thisfloatsetup}%^^A
+% |{|\FRkey{capbesideposition}|={left,center},|
+%| |\FRkey{capbesidewidth}|=4cm}}]{figure}[\FBwidth]|
+%| {\caption{...}\label{...}}|
%| {...}|
%|\end{figure}|
%\end{Quote}
% \begin{figure}[H]
% \floatbox[{\capbeside
-% \captionsetup[capbesidefigure]{format=break,labelsep=none,
-% justification=raggedleft}%
-% \thisfloatsetup{capbesideposition=left}}]{figure}[\FBwidth]
+% \captionsetup[capbesidefigure]{labelsep=newline,
+% justification=rightlast}%
+% \thisfloatsetup{capbesideposition={left,center},capbesidewidth=4cm}}]{figure}[\FBwidth]
% {\caption[Подпись сбоку (пример со сложной преамбулой в~аргументе \cmd{\floatbox})]%^^A
-% {Подпись сбоку занимает оставшееся место
-% and more text and some more text and a bit more text and
-% a little more text and a little peace of text to fill
-% space}\label{fig:beside:mouse}}
+% {Подпись сбоку и~ещё текст, и~ещё немного текста,
+% и~уж совсем
+% небольшой текст, чтобы только заполнить
+% место}\label{fig:beside:mouse}}
% {{\setlength\unitlength{4cm/58}%^^A
% \input{Mouse.picture}}}
% \end{figure}
%^^A% Please note that complex preamble, with more than one command option must be placed in group.
-%^^A% (See {\sectionname}~\ref{sec:floatsetup} about settings for floats.)
-% Обратите внимание, что опция преамбулы содержащая более одной команды должна быть заключена в~группу.
-% (О создании настроек для флотов см.~{\sectionname}~\ref{sec:floatsetup})
+%^^A% (See {\sectionname}~\ref{sec:floatsetup} about settings for floats with |\floatsetup|.)
+% Обратите внимание, что опция преамбулы, содержащая более одной команды, должна быть заключена
+% в~фигурные скобки.
+% (О создании настроек для флотов командой |\floatsetup| см.~{\sectionname}~\ref{sec:floatsetup})
%
-% \RestoreSpaces
-%^^A% \subsubsection{Creation of Personal Commands for Float Boxes}\label{ssec:ffigbox:etc}
-% \subsubsection{Создание персональных команд для флотов}\label{ssec:ffigbox:etc}
+%^^A% \subsection{Creation of Personal Commands for Float Boxes}\label{ssec:ffigbox:etc}
+% \subsection{Создание персональных команд для флотов}\label{ssec:ffigbox:etc}
%
-%^^A% The usage of |\floatbox| command with options (which could be cumbersome) sometimes is rather complex.
-%^^A% The Introduction demonstrates commands-abbreviations of this commands.
+%^^A% The usage of |\floatbox| command in documentation with options (which could be cumbersome)
+%^^A% sometimes is rather complex.
+%^^A% The Introduction demonstrates the three already defined commands-abbreviations of this command.
%^^A% You may define commands-abbreviations (or redefine existing) for your own purposes and
%^^A% include there some additional style definitions and settings.
-% Использование команды |\floatbox| с~громоздкими опциями, в~свою очередь, тоже получается
-% громоздким. Во введении демонстрируются примеры с~командами"=сокращениями
-% данной команды. Вы можете определить собственные команды для
-% ваших целей и~определить там необходимые настройки.
+% Использование в~документе команды |\floatbox| с~громоздкими опциями, в~свою очередь, тоже получается
+% громоздким. Во введении демонстрируются примеры с~определёнными уже тремя её командами"=сокращениями.
+% Вы можете определить собственные команды для ваших целей
+% и~определить там необходимые настройки или переопределить уже существующие.
%
+% \DescribeMacro{\newfloatcommand}\label{FB:newfloatcommand}%^^A
+% \DescribeMacro{\renewfloatcommand}\label{FB:renewfloatcommand}%^^A
%^^A% The definition of new float abbreviation looks like:
% Определение пользовательской команды выглядит следующим образом:%^^A
% \begin{quote}
@@ -1037,7 +1273,7 @@
% \begin{description}
%^^A% \item[\meta{command}]the user's command name (without backslash);
% \item[\meta{command}]команда пользователя (без обратного слэша);
-%^^A% \item[\meta{captype}]the name of float environment
+%^^A% \item[\meta{captype}]the name of floating environment
%^^A% this command is created for;
% \item[\meta{captype}]тип флота, для которого создаётся команда;
%^^A% \item[\meta{preamble}]
@@ -1049,75 +1285,134 @@
% вы можете использовать команды, перечисленные на
% с.~\pageref{floatboxsets}
% и~другие команды оформления, как показано в~примерах;
-% вы можете попробовать использовать некоторые другие
+% можно также попробовать использовать некоторые другие
% повторяющиеся команды (например,
% |\captionsetup| или |\thisfloatsetup|);
%^^A% \item[\meta{default width}]the first reason of usage of this option is
-%^^A% to put |\FBwidth| command: \quad in case of
-%^^A% caption above or below object (there could be defined
-%^^A% |\nocapbeside| in \meta{preamble} option) this command defines width of
-%^^A% full float (object---caption) box; \quad in the case of caption
-%^^A% beside object (there must be defined |\capbeside| in \meta{preamble}
-%^^A% option) this command defines
-%^^A% to width of object (caption occupies the rest space).
-%^^A% You may put also any dimension like |6cm|
-%^^A% or |.75\textwidth| but usage of option by
-%^^A% this way is much less reasonable.
+%^^A% to put |\FBwidth| command: which already included in definition of |\ttabbox|---command for
+%^^A% building tables. You may also put dimensions like |6cm| or |.75\textwidth|.
% \item[\meta{default width}] основной повод использования этой опции \cdash---
-% задание команды |\FBwidth|: \qquad в~случае размещения
-% подписи сверху или снизу
-% (может быть определена |\nocapbeside| в~опции \meta{preamble})
-% команда определяет ширину всего флота
-% (блока объект\cdash--~подпись); \qquad в~случае подписи
-% сбоку (должна быть определена команда |\capbeside| в~\meta{preamble})
-% она определяет ширину объекта.
-% Можно задать и любую величину, типа |6cm|
-% или |.75\textwidth| но использование таких значений гораздо менее резонно.
+% задание команды |\FBwidth|, которая используется в~команде |\ttabbox| для создания таблиц.
+% Вы можете также задать и~величины типа |6cm| или |.75\textwidth|.
+% \end{description}
+%
+%^^A% For example you may define command for figure~\ref{fig:beside:mouse}
+%^^A% like following:
+% Например, для рис.~\ref{fig:beside:mouse},
+% можно определить следующую команду:
+%\begin{Quote}%
+%|\newfloatcommand{fcapbesideleft}[{\capbeside|
+%| \captionsetup[capbesidefigure]{labelsep=newline,|
+%| justification=rightlast}%|
+%| \|\FRkey{thisfloatsetup}%^^A
+% |{|\FRkey{capbesideposition}|={left,center},|
+%| |\FRkey{capbesidewidth}|=4cm}}][\FBwidth]|
+%\end{Quote}
+%
+%^^A% \subsubsection{Usage of Personal float box commands}
+% \subsubsection{Использование персональных команд для флотов}
+%^^A% Your defined commands you may use in following way (example for |\ffigbox|):
+%^^A% \begin{quote}
+% Созданные вами команды можно использовать следующим образом
+% (на примере |\ffigbox|):
+% \begin{Quote}
+% |\ffigbox|\oarg{width}\oarg{height}\oarg{vert pos}\marg{caption}\marg{object}
+% \end{Quote}
+%^^A% the options are:
+% где опции означают:
+% \begin{description}\itemsep0pt\parskip1ptplus1pt
+% \item[\meta{width}]
+%^^A% the width of object---caption box
+%^^A% (in case of caption above or below object),
+%^^A% or width of object box (if caption stays beside object).
+%^^A% Empty width option, |[]|, and option |[\hsize]| mean the same. The |[\FBwidth]|
+%^^A% option sets natural object width;
+% ширина бокса объект---подпись
+% (если подпись сверху или снизу),
+% или ширина объекта (если подпись сбоку).
+% Пустая опция, |[]|, и~опция |[\hsize]| означают одно и~то же. Опция |[\FBwidth]|
+% задаёт натуральную ширину объекта;
+% \item[\meta{height}]
+%^^A% the height of object---caption box
+%^^A% (in case of caption above or below object),
+%^^A% or height of object box (if caption stays beside object). The |[\FBheight]|
+%^^A% option sets natural object height. With the empty width option, |[]|, is used
+%^^A% the natural height of object;
+% высота бокса объект---подпись
+% (если подпись сверху или снизу),
+% или высота объекта (если подпись сбоку). Опция |[\FBheight]|
+% определяет натуральную высоту объекта. При пустой опции задания высоты, |[]|,
+% используется натуральная высота объекта (бокса);
+% \item[\meta{vert pos}]
+%^^A% vertical alignment of object contents in
+%^^A% object's box in the case of \meta{height} argument has different value than
+%^^A% natural height of object contents, or in the float layout there are used settings for common
+%^^A% heights of float elements (object or/and caption) inside \env{floatrow} environment.
+%^^A% Arguments are analogous to \env{minipage}'s:
+%^^A% |t|, |c|, |b|, |s| (see above).
+% вертикальное выравнивание содержимого объекта в~боксе
+% если в~аргументе \meta{height} задано отличное (от натуральной) значение высоты
+% объекта, или флот помещён
+% в~окружение \env{floatrow} с~настройками, задающими выравнивание объектов.
+% Аргументы аналогичны используемым в~окружении \env{minipage}:
+% |t|, |c|, |b|, |s| (см.~выше).
% \end{description}
+%^^A% See example with usage of all options on the page~\pageref{fig:rotrow:FcatI} and in Appendix.
+% См.~пример с~использованием всех опций на с.~\pageref{fig:rotrow:FcatI} и~в~приложении.
%
+%^^A% \subsubsection{Predefined float box commands}
+% \subsubsection{Предопределённые команды боксов флотов}
%^^A% Let's repeat three already defined commands-abbreviations:\label{abbrcom}%^^A
-% Повторим определения следующих пользовательских команд:\label{abbrcom}
+% Повторим определения следующих пользовательских команд, заданных в~пакете:\label{abbrcom}
% \begin{Quote}
-% |\newfloatcommand{ffigbox}{figure}[\nocapbeside]|\label{floatbox:ffigbox}\nopagebreak
-% |\newfloatcommand{fcapside}{figure}[\capbeside]|\label{floatbox:fcapside}\nopagebreak
-% |\newfloatcommand{ttabbox}{table}[\captop][\FBwidth]|\label{floatbox:ttabbox}
+% |\newfloatcommand{ffigbox}{figure}[\nocapbeside]|\label{FB:ffigbox}\nopagebreak
+% |\newfloatcommand{fcapside}{figure}[\capbeside]|\label{FB:fcapside}\nopagebreak
+% |\newfloatcommand{ttabbox}{table}[\captop][\FBwidth]|\label{FB:ttabbox}
% \end{Quote}
+%^^A% You may see that these commands-abbreviations are equivalent to the following code:
+% Можно увидеть, что команды"=сокращения эквивалентны следующему коду:
+% \begin{Options}{fcapside}
+% \item[\cmd\ttabbox]---|\floatbox[\captop]{table}[\FBwidth]|;
+% \item[\cmd\ffigbox]---|\floatbox{figure}| (простейшее определение); и
+% \item[\cmd\fcapside]---|\floatbox|\allowbreak|[\capbeside]{figure}|.
+% \end{Options}%
%^^A% First two defined for figures and last one---for table. You may
%^^A% redefine existing macros using |\renewfloatcommand| command (it uses
%^^A% the same arguments as |\newfloatcommand| one).
% Первые две определены для рисунков, а~последняя \cdash--- для таблицы.
% Вы можете переопределить эти команды, используя команду
% |\renewfloatcommand| (она использует те же
-% аргументы, как и~|\newfloatcommand|).\medskip
+% аргументы, что и~|\newfloatcommand|).\medskip
+%
+%^^A% \emph{Note}. In the documentation text below the name of the |\floatbox| command means
+%^^A% both itself and all commands-abbreviations, defined with |\(re)newfloatcommand|.
+% \emph{Примечание}. В~дальнейшем упоминание команды |\floatbox| будет означать как саму команду,
+% так и~все её команды"=сокращения, определённые с~помощью |\(re)newfloatcommand|.
+%
+%\begin{small}
+%
+%^^A% \medskip\emph{Some explanation}. The strange ``stammering'' names of float boxes,
+%^^A% with doubled first letters, |\ffigbox| and |\ttabbox| were created, because of the
+%^^A% expected names, |\figbox| and |\tabbox|, are used already by the \package{floatflt}
+%^^A% package, which creates wrapped floats (see {\sectionname}~\ref{ssec:floatflt} on the
+%^^A% page~\pageref{ssec:floatflt}). Also I found the |\figbox| in \package{formlett}
+%^^A% package and |\tabbox| in \package{automata} package in my home \LaTeX{} folder.
+% \medskip\emph{Объяснительная}. Такие странные «заикающиеся» имена боксов флотов,
+% с~двойными первыми буквами, |\ffigbox| и~|\ttabbox| были созданы потому, что ожидаемые
+% здесь названия, |\figbox| и~|\tabbox|, уже используются пакетом \package{floatflt},
+% создающим небольшие рисунки с~обтеканием текста (т.\,е. \emph{в~оборку},
+% см.~{\sectionname}~\ref{ssec:floatflt} на
+% с.~\pageref{ssec:floatflt}). Также, среди стилей \LaTeX'а была
+% обнаружена команда |\figbox| в~пакете \package{formlett}
+% и~|\tabbox| \cdash--- в~пакете \package{automata}.
+%
+%\end{small}
%
-%^^A% Your defined commands you may use in following way (example for |\ffigbox|):
-%^^A% \begin{quote}
-% Созданные вами команды можно использовать следующим образом
-% (на примере |\ffigbox|):
-% \begin{Quote}
-% |\ffigbox|\oarg{width}\oarg{height}\oarg{vert pos}
-% \end{Quote}
-%^^A% first option, \oarg{width}, redefines the default width settings, which were
-%^^A% used during (re)definition of current command. The other two options
-%^^A% are analogous to the |\floatbox|'s ones (see page~\pageref{sec:floatbox}).
-% первая опция, \oarg{width}, отменяет значение ширины по умолчанию,
-% заданное при создании (или переопределении) данной команды. Две другие опции
-% аналогичны тем же опциям в~команде |\floatbox| (см.~с.~\pageref{sec:floatbox}).
-%
-% \par\RestoreSpaces
%^^A% \subsection{Building Float Row}\label{sec:floatrow}
% \subsection{Размещение флотов рядом}\label{sec:floatrow}
-%
-%^^A% If you need to put two or more floats of one type side by side,%^^A
-%^^A% \FRmpar{Float row: floats of one type side by side}{FAD:floatrow}
-%^^A% you may use \env{floatrow} environment.
-% Если вам нужно поместить два или более флотов рядом,%^^A
-% \FRmpar{Флоты одного типа рядом}{FAD:floatrow}
-% вы можете воспользоваться окружением \env{floatrow}.
-%
-% \par\RestoreSpaces
-%^^A% This environment looks like:
-% Это окружение выглядит следующим образом:
+%^^A% The \env{floatrow} environment allows to put two or more floats beside. The usage of it looks like:
+% Окружение \env{floatrow} позволяет разместить два или несколько флотов рядом.
+% Использование его выглядит следующим образом:
% \begin{Quote}
% |\begin{floatrow}[|\meta{number of beside floats}|]|\nopagebreak
% |\floatbox...|\nopagebreak
@@ -1126,85 +1421,34 @@
% |\end{floatrow}|
% \end{Quote}
%
-%^^A% The \env{floatrow} environment allows to put floats side by side.
-%^^A% This environment creates necessary number of ``columns''
-%^^A% (usually two), where floats are placed. You may redefine the width of each float box,
-%^^A% e.g. the table boxes~\ref{tab:row:tabIII} and~\ref{tab:row:tabIV} have the width of their contents
-%^^A% (remember, the |[\FBwidth]| is default option of |\ttabbox|).
-% Окружение \env{floatrow} позволяет разместить флоты рядом.
-% Это окружение создаёт необходимое число <<колонок>>
-% (обычно две), где и~помещаются флоты. Вы можете определить ширину бокса для флота,
-% например, боксы таблиц~\ref{tab:row:tabIII} и~\ref{tab:row:tabIV} имеют ширину, равную ширине табличного материала
-% (напомним, опция |[\FBwidth]| является опцией по умолчанию в~команде |\ttabbox|).
-%
%^^A% Please note that \emph{for each float box} inside \env{floatrow} you must use |\floatbox|, |\ffigbox|,
-%^^A% |\ttabbox| or your own command, created with |\newfloatcommand| macro:
+%^^A% |\ttabbox| or your own command, created with |\newfloatcommand| macro.
% Обратите внимание, что \emph{для каждого флота} внутри окружения \env{floatrow} должны
% использоваться команды |\floatbox|, |\ffigbox|,
-% |\ttabbox| или ваша собственная команда, созданная с~помощью |\newfloatcommand|:
-%\begin{Quote}
-%\meta{preamble}
-%| \usepackage[...|\hyperref[setup:floatrowsep]{\texttt{floatrowsep}}|=qquad,...]{floatrow}|
-%| \|\hyperref[sec:floatsetup]{\texttt{floatsetup}}|[table]{|%^^A
-% \hyperref[setup:style]{\texttt{style}}|=Plaintop}|
-%\meta{preamble}
-%|\begin{figure}|
-%| \begin{table}|
-%| \ttabbox|
-%| {\caption{...}\label{...}}|
-%| {...}|
-%| |
-%| \ttabbox|
-%| {\caption{...}\label{...}}|
-%| {...}|
-%| \end{floatrow}|
-%|\end{table}|
-%\end{Quote}
-% \DeleteShortVerb{\|}%
-% \begin{table}[H]
-% \begin{floatrow}
-% \extrarowheight1pt
-% \ttabbox
-% {\caption[Первая таблица в~ряду, длинный заголовок]%^^A
-% {Первая таблица в~ряду с~длинным, длинным, длинным длиннющим заголовком и~выровненным по верху}%^^A
-% \label{tab:row:tabIII}}%^^A
-% {\begin{tabular}{|l|>{\phantom0}c|>{\phantom0}c|}
-% \hline
-% \multirowthead{2}[-1ex]{Left Column Head}
-% & \multicolumn{2}{c|}{\thead{Data}} \\
-% \cline{2-3}
-% & \multicolumn{1}{c|}{\thead{I}}
-% & \multicolumn{1}{c|}{\thead{II}}
-% \\\hline
-% First row & 1 & 2 \\
-% Second row & 3 & 4 \\
-% Third row & 6 & 8 \\
-% Fourth row & \llap{1}0 & \llap{1}6 \\
-% \hline
-% \end{tabular}}
-%
-% \ttabbox
-% {\caption{Вторая таблица в~ряду, заголовок выровнен по верху}\label{tab:row:tabIV}}%^^A
-% {\begin{tabular}{|l|c|c|c|}
-% \hline
-% \multirowthead{2}[-1ex]{Column Head}
-% & \multicolumn{3}{c|}{\thead{Data}} \\
-% \cline{2-4}
-% & \thead{I} & \thead{II} & \thead{III} \\
-% \hline
-% First row & 1 & 2 & \phantom01 \\
-% Second row & 3 & 4 & \phantom06 \\
-% Third row & 6 & 8 & 28 \\
-% \hline
-% \end{tabular}}
-% \end{floatrow}
-% \end{table}
-% \MakeShortVerb{\|}%
-%^^A% Since |\ttabbox| uses |\FBwidth| as default option, the caption width equals to tabular contents.
-% Поскольку |\ttabbox| использует команду |\FBwidth| как опцию по умолчанию,
-% ширина заголовка равна ширине таблицы.
-%
-%^^A% The next example with figures uses |[\FBwidth]| for the left float and |[\Xhsize]| for the right.
+% |\ttabbox| или ваша собственная команда, созданная с~помощью |\newfloatcommand|.
+%
+%^^A% The \env{floatrow} environment creates necessary number of ``columns'',
+%^^A% the default number is two, where floats are placed (during the calculation of width of column
+%^^A% there are excluded widths of the separations between beside floats and margins around the float row).
+%^^A% You may redefine the width of each float box,
+%^^A% e.g. the table boxes~\ref{tab:row:tabIII} and~\ref{tab:row:tabIV} (page~\pageref{tab:row:tabIII})
+%^^A% have the width of their contents
+%^^A% (remember, the |[\FBwidth]| is default option of |\ttabbox|).
+% Окружение \env{floatrow} создаёт необходимое число «колонок»,
+% по умолчанию две, где размещаются флоты (ширина колонки рассчитывается, исключая расстояния
+% между флотами и~поля вокруг ряда флотов). Вы можете переопределить ширину каждой колонки,
+% например, боксы таблиц~\ref{tab:row:tabIII} и~\ref{tab:row:tabIV} (с.~\pageref{tab:row:tabIII})
+% имеют ширину, равную ширине
+% табличного материала (напомним, опция |[\FBwidth]| в~|\ttabbox| задаётся по умолчанию).
+%
+%^^A% During building each float box inside float row, the \env{floatrow} environment calculates
+%^^A% the rest space in the row and writes this value at the special parameter |\Xhsize|, which you
+%^^A% may use inside \meta{width} option of |\floatbox| command.
+%^^A% The next example with figures uses |[\FBwidth]| command in option for the left float,
+%^^A% and |[\Xhsize]| command---for the right.
+% При построения ряда, после каждого бокса флота в~окружении \env{floatrow} подсчитывается оставшееся
+% место в~ряду, значение которого записывается в~специальный параметр |\Xhsize|, который можно
+% использовать в~опции \meta{width} команд |\floatbox|.
% Следующий пример с~рисунками задаёт опцию |[\FBwidth]| для левого флота и~|[\Xhsize]| для правого.
%\begin{Quote}
%|...|\nopagebreak
@@ -1239,48 +1483,51 @@
%^^A% \emph{Note}. Usually the command |\Xhsize| is used for the last float
%^^A% box. But if you use \package{calc} package you may try to use |\Xhsize|
%^^A% earlier, if the \emph{absolute} value of the width of float boxes to
-%^^A% the right in float row is known, or set something in \meta{width}
+%^^A% the right in float row is known. Another variant: you may set something in \meta{width}
%^^A% argument like |\Xhsize/2| and then |\Xhsize| for two last
-%^^A% |\floatbox|'es---the next example just uses it.
-% \emph{Замечание}. Обычно команда |\Xhsize| используется для
-% последнего флота в~ряду. Но
-% если вы используете пакет \package{calc} вы можете попытаться
-% использовать |\Xhsize| раньше, если известна
-% \emph{абсолютная} величина ширины флотов по правую сторону,
-% или использовать в~аргументе \meta{width} нечто вроде |\Xhsize/2|
-% а~затем |\Xhsize| для последних двух боксов в~|\floatbox|, что и~задано в~следующем примере.
-%
-%^^A% And here is more complex example. The first float (used |\ffigbox|) has default
+%^^A% |\floatbox|'es---the next example just uses it:
+%^^A% the first float (used |\ffigbox|) has default
%^^A% width equal to ``column'' width, the next uses width of included
%^^A% graphic (uses command |\FBwidth| in optional argument \meta{width}),
%^^A% the last two occupy the rest horizontal space of page which was
-%^^A% counted with command |\Xhsize| and \package{calc} package.%^^A
-% И~теперь пример чуть посложнее. Первый флот (в~|\ffigbox|) имеет ширину
-% по умолчанию, равную <<колонке>>
+%^^A% calculated with command |\Xhsize| and \package{calc} package.%^^A
+% Обычно команда |\Xhsize|\label{FB:Xhsize} используется для
+% последнего флота в~ряду. Но
+% если вы используете пакет \package{calc} вы можете попытаться
+% использовать |\Xhsize| раньше, если известна
+% \emph{абсолютная} величина ширины флотов по правую сторону.
+% Другой вариант: использовать в~аргументе \meta{width} нечто вроде |\Xhsize/2|
+% а~затем |\Xhsize| для последних двух боксов, что и~задано в~следующем примере:
+% первый флот имеет ширину по умолчанию, равную «колонке»
% ряда, следующий использует ширину включённой графики (использована
% команда |\FBwidth| в~дополнительном аргументе \meta{width}),
-% а~два последних занимают оставшееся место в~ряду,
-% подсчитанное командой |\Xhsize| и~пакетом \package{calc}.%^^A
-% \par\RestoreSpaces
+% а~два последних делят пополам оставшееся место в~ряду, используя
+% подсчёты команды |\Xhsize| и~пакета \package{calc}.%^^A
%\begin{Quote}
-%\meta{preamble}
-% |\DeclareMarginSet{hangleft}{\setfloatmargins|
-% | {\hskip-\marginparwidth\hskip-\marginparsep}{\hfil}}|
-% |\floatsetup[|\hyperref[setup:widefigure]{\texttt{widefigure}}|]{|%^^A
-% \hyperref[setup:margins]{\texttt{margins}}|=hangleft}|
-%\meta{preamble}
+%\begin{preamble}
+% |\usepackage{calc}|\vspace{1ex}
+% |\makeatletter\@mparswitchfalse\makeatother|\vspace{1ex}
+% |\|\FRkey{DeclareMarginSet}|{hangleft}{\|\FRkey{setfloatmargins}
+% | {\hskip-\marginparwidth\hskip-\marginparsep}{\hfil}}|\vspace{1ex}
+% |\|\FRkey[sec]{floatsetup}|[widefigure]{|%^^A
+% \FRkey{margins}|=hangleft}|
+%\end{preamble}
%|\begin{figure*}|
-%|\begin{floatrow}[4]|
-%| \ffigbox|
-%| {\caption{Beside figure~I...}...}|
+%|\begin{floatrow}|{\emphcolor|[4]|}
+%| \ffigbox|\nopagebreak
+%| {\caption{Первый рисунок...}...}|\nopagebreak
%| {...}|
%| |
-%| \ffigbox[\FBwidth]|
-%| {\caption{Beside figure~II...}...}|
+%| \ffigbox[\FBwidth]|\nopagebreak
+%| {\caption{Второй рисунок...}...}|\nopagebreak
+%| {...}|
+%| |
+%| \ffigbox[\Xhsize/2]|\nopagebreak
+%| {\caption{Третий рисунок...}...}|\nopagebreak
%| {...}|
%| |
-%| \ffigbox[\Xhsize]|
-%| {\caption{Beside figure~III...}...}|
+%| \ffigbox[\Xhsize]|\nopagebreak
+%| {\caption{Четвёртый рисунок...}...}|\nopagebreak
%| {...}|
%|\end{floatrow}|
%|\end{figure*}|
@@ -1289,12 +1536,12 @@
% \begin{figure*}%
% \begin{floatrow}[4]
% \ffigbox
-% {\caption{Первый рисунок в~ряду (\env{floatrow}), ширина <<колонки>>}%
+% {\caption{Первый рисунок в~ряду, ширина «колонки»}%
% \label{fig:row:Dog}}
% {\input{TheDog.picture}}
%
% \ffigbox[\FBwidth]
-% {\caption{Второй рисунок в~ряду (\env{floatrow}), ширина графики}%
+% {\caption{Второй рисунок в~ряду, ширина графики}%
% \label{fig:row:WcatI}}
% {\input{TheCat.picture}}
%
@@ -1308,96 +1555,141 @@
% \ffigbox[\Xhsize]
% {\caption{Четвёртый рисунок в~ряду,
% занимает оставшееся место}%
-% \label{fig:row:mouseI}}
+% \label{fig:row:cheese}}
% {\input{Cheese.picture}}
% \end{floatrow}
% \end{figure*}%
%^^A% The result you see in the row of
-%^^A% figures~\ref{fig:row:WcatI}--\ref{fig:row:mouseI}. The vertical
-%^^A% alignment of floats lays on the bottom of upper part (here: objects)
-%^^A% of float and the top of lower part (captions).
+%^^A% figures~\ref{fig:row:Dog}--\ref{fig:row:cheese}. Please note that in the examples with rows,
+%^^A% the vertical alignment of floats lays on the bottom of upper part (here: objects)
+%^^A% of float and the top of lower part (captions). The current example uses special margin settings,
+%^^A% which allow to expand to the left margin (see page~\pageref{setup:margins} about margins settings
+%^^A% in |\floatsetup| command). The first command in this example, between |\makeatletter| and
+%^^A% |\makeatother| commands, switch of facing margins in twoside document: margins on all pages
+%^^A% appear on the left side (like in current document).
% Результат вы видите в~ряду
-% рисунков~\ref{fig:row:Dog}--\ref{fig:row:mouseI}. Вертикальное
-% выравнивание флотов лежит по нижней линии верхней части
+% рисунков~\ref{fig:row:Dog}--\ref{fig:row:mouseI}. Обратите внимание, что в~примерах с~рисунками рядом
+% вертикальное выравнивание флотов лежит по нижней линии верхней части
% (здесь: графики) и~верху нижней части (подписи).
%
-% \RestoreSpaces
+% Данный пример использует специальные настройки
+% полей, которые позволяют вывести бокс флота на поле (см.~с.~\pageref{setup:margins}
+% о~настройках полей в~команде |\floatsetup|). Первая команда в~примере, заключённая между
+% командами |\makeatletter| и~|\makeatother|, отключает зеркальные поля для двустороннего документа:
+% на всех полосах поля окажутся с~левой стороны (как в~данном документе).
+%
%^^A% \subsubsection{Mixed Row}\label{sec:mixrow}
% \subsubsection{Смешанные ряды}\label{sec:mixrow}
-%
-%^^A% The problem in mixed row is that you must put different types of float in
-%^^A% one float environment, which sets its own layout for included float
-%^^A% box(es). For creation of right layouts write
-%^^A% |\|\hyperref[setup:killfloatstyle]{\texttt{killfloatstyle}} command at the beginning of \env{floatrow}
-%^^A% environment or just before first ``foreign'' |\floatbox| macro (in
-%^^A% current example---before |\ttabbox|; the |\ffigbox| macro is
-%^^A% ``native'' for \env{figure} environment).
-% Проблема смешанного ряда заключается в~том, что нужно поместить разные
+%^^A% \textbf{Problems}. 1.\enskip Sometimes, for example, it is necessary to put beside figure and table.
+%^^A% The problem of such mixed row is that you must put different types of float in
+%^^A% one floating environment, which sets its own layout for included float box(es).
+% \textbf{Проблемы}. 1.\enskip
+% Иногда возникает необходимость поставить рядом, например, рисунок и~таблицу.
+% Проблема такого смешанного ряда заключается в~том, что нужно поместить разные
% типы флотов в~одно окружение флота, которое задаёт своё оформление
-% для содержимого. Для создания верного оформления задайте команду
-% |\|\hyperref[setup:killfloatstyle]{\texttt{killfloatstyle}} в~начале окружения \env{floatrow}
-% или до первой <<чужой>> макрокоманды |\floatbox| (в~данном
-% примере "--- до |\ttabbox|; команда |\ffigbox| является
-% <<родной>> для окружения \env{figure}).
+% для содержимого.
%
-%^^A% Another problem is that figures usually have captions below
+%^^A% 2.\enskip Another problem is that figures usually have captions below
%^^A% graphics, but tables could have caption \emph{above} their contents.
%^^A% The alignment of all floats is similar: the bottom of upper part and
%^^A% top of lower part. In this case if you want to put such beside figure
-%^^A% and table you'll get undesirable result. For such situations you may
-%^^A% use one of following commands:
-% Другая проблема состоит в~том, что подпись к~рисункам обычно
+%^^A% and table you'll get an undesirable result.
+% 2.\enskip Другая проблема состоит в~том, что подпись к~рисункам обычно
% помещают снизу, а~табличный заголовок помещается сверху таблиц.
% Выравнивание всех флотов одинаково: по нижней линии верхней части
% и~по верхней "--- у~нижней. В~таком случае, если вы захотите
-% поместить такие рисунок и~таблицу,
-% вы получите не лучший вариант вёрстки. В~таких ситуациях
-% вы можете использовать одну из приведённых команд:
+% поместить рисунок и~таблицу рядом,
+% вы получите не лучший вариант вёрстки.
+%
+% \DescribeMacro{\killfloatstyle}
+%^^A% \textbf{Solutions}. 1.\enskip For creation of right layouts for each float type in mixed row, you ought to write
+%^^A% |\|\FRkey{killfloatstyle} command just before each ``foreign''
+%^^A% (for current floating environment) |\floatbox| macro.
+% \textbf{Решения}. 1.\enskip
+% Для создания верного оформления для каждого типа флотов, нужно задать команду |\|\FRkey{killfloatstyle}
+% до каждой «чужой» (для текущего окружения флота) макрокоманды |\floatbox|.
+%
+% \DescribeMacro{\CenterFloatBoxes}
+% \DescribeMacro{\TopFloatBoxes}
+% \DescribeMacro{\BottomFloatBoxes}
+%^^A% 2.\enskip For correct vertical alignment of different float types, which put captions in different
+%^^A% positions, you may use one of the following commands:
+% 2.\enskip Для корректного выравнивания разных типов флотов,
+% где подписи размещаются по-разному,
+% можно использовать одну из приведённых команд:
%\begin{Quote}
-%|\CenterFloatBoxes|\label{floatbox:CenterFloatBoxes}
-%|\TopFloatBoxes|\label{floatbox:TopFloatBoxes}
-%|\BottomFloatBoxes|\label{floatbox:BottomFloatBoxes}
+%|\CenterFloatBoxes|\label{FB:CenterFloatBoxes}
+%|\TopFloatBoxes|\label{FB:TopFloatBoxes}
+%|\BottomFloatBoxes|\label{FB:BottomFloatBoxes}
%\end{Quote}
%^^A% which align \emph{full} float boxes by center, top or bottom lines.
-%^^A% These macros were created by |\buildFBBOX| macro.
-%^^A% There is also |\PlainFloatBoxes|\label{floatbox:PlainFloatBoxes} which restores standard behavior of
+% которые выравнивают боксы флотов \emph{целиком} по центральной линии,
+% по верху или по низу.
+%^^A% There is also |\PlainFloatBoxes|\label{FB:PlainFloatBoxes} which restores standard behavior of
%^^A% |\floatbox|'es.
-% Которые выравнивают флоты \emph{целиком} по центральной линии,
-% по верху или по низу. Эти команды
-% были созданы командой |\buildFBBOX|\label{floatbox:buildFBBOX}. Существует
-% также команда |\PlainFloatBoxes|\label{floatbox:PlainFloatBoxes}, которая восстанавливает
-% <<поведение>> флотов внутри команд |\floatbox|.
-%
-%^^A% The usage of |\CenterFloatBoxes| and |\killfloatstyle| you'll see in
-%^^A% mixed float row with figure~\ref{fig:rowmixspec:WcatI} and
-%^^A% table~\ref{tab:rowmixspec:tabI}\label{mixrow}:
-% Использование |\CenterFloatBoxes| и~|\killfloatstyle| вы видите
-% в~смешанном ряду, состоящем из рис.~\ref{fig:rowmixspec:WcatI}
-% и~табл.~\ref{tab:rowmixspec:tabI}\label{mixrow}:
+% Существует также команда |\PlainFloatBoxes|\label{FB:PlainFloatBoxes}, которая восстанавливает
+% «поведение» флотов внутри команд |\floatbox|.
+%
+% \DescribeMacro{\buildFBBOX}
+%^^A% 2.\enskip
+%^^A%These macros were created by |\buildFBBOX|\label{FB:buildFBBOX} macro, which can be written like
+% Эти команды созданы командой |\buildFBBOX|\label{FB:buildFBBOX}, которая может быть записана
+% следующим образом:
+%\begin{Quote}
+%|\buildFBBOX|\marg{starting code of the box}\marg{finishing code of the box}
+%\end{Quote}
+%^^A% just before any |\floatbox| command (or \env{floatrow} environment).
+%^^A% For example, definition of |\CenterFloatBoxes|
+%^^A% looks almost like following:
+% перед любой командой |\floatbox| (или перед окружением \env{floatrow}).
+% Например, определение команды |\CenterFloatBoxes|
+% выглядит почти как записано ниже:
%\begin{Quote}
+%%^^A|\newcommand\CenterFloatBoxes{\CADJfalse\OADJfalse|
+%|\newcommand\CenterFloatBoxes{%|
+%| \buildFBBOX{\hbox\bgroup$\vcenter\bgroup\vskip0pt}%|
+%| {\vskip0pt\egroup$\egroup}}|
+%\end{Quote}
+%^^A% The other two commands use |\vtop| and |\vbox| boxes consequently.
+%^^A% (see also example with usage of this command on the page~\pageref{buildFBBOX:def}).
+% Две другие команды используют боксы |\vtop| и~|\vbox| соответственно.
+% (см.~также пример использования этой команды на с.~\pageref{buildFBBOX:def}).
+%
+%^^A% In the next example we use |\CenterFloatBoxes| command before \env{floatrow}
+%^^A% and |\killfloatstyle| just before |\ttabbox| macro
+%^^A% (mixed float row with figure~\ref{fig:rowmixspec:WcatI} and
+%^^A% table~\ref{tab:rowmixspec:tabI}\label{mixrow}):
+% В следующем примере используются команда |\CenterFloatBoxes| до окружения \env{floatrow}
+% и~|\killfloatstyle| перед |\ttabbox|
+% (смешанный ряд, состоящий из рис.~\ref{fig:rowmixspec:WcatI} в~стиле |Boxed|
+% и~табл.~\ref{tab:rowmixspec:tabI}\label{mixrow}):
+%\begin{Quote}
+%\begin{preamble}
+%|\|\FRkey[sec]{floatsetup}|[figure]{|\FRkey{style}|=Boxed}|
+%\end{preamble}
%|\begin{figure}\CenterFloatBoxes|\nopagebreak
%|\begin{floatrow}|
-%| \ffigbox[\FBwidth]|
+%| \|\FRkey[FB]{ffigbox}|[\|\FRkey[FB]{FBwidth}|]|
%| ...|
-%| \killfloatstyle\ttabbox|
+%| \|\FRkey{killfloatstyle}|\|\FRkey[FB]{ttabbox}
%| ...|
%\end{Quote}
% \DeleteShortVerb{\|}%
-% \begingroup
+% \begingroup\floatsetup[figure]{style=Boxed}
% \begin{figure}[H]\CenterFloatBoxes
% \begin{floatrow}
% \ffigbox[\FBwidth]
% {\unitlength1.86\unitlength\input{Horse.picture}}
% {\caption{Рисунок в~смешанном ряду}\label{fig:rowmixspec:WcatI}}%
% \extrarowheight1pt
-% \ttabbox
+% \killfloatstyle\ttabbox
% {\caption{Таблица в~смешанном \hbox{ряду}}\label{tab:rowmixspec:tabI}}
% {\tabcolsep5\tabcolsep\begin{tabular}{|c|c|}\hline A & B \\ C & D \\ \hline\end{tabular}}
% \end{floatrow}
% \end{figure}
% \endgroup
% \MakeShortVerb{\|}%
-% \par\RestoreSpaces
+% \RestoreSpaces
%
%^^A% \emph{Note.} Both figure and table boxes have got width equal to
%^^A% contents of objects. The |\ffigbox| command has optional argument
@@ -1405,35 +1697,39 @@
%^^A% |[\FBwidth]| option as default (see definitions on page
%^^A% \pageref{abbrcom}).\label{FAD:MixedRowII}
% \emph{Замечание.} Как рисунок, так и~таблица имеют ширину, равную
-% содержимому объектов. Команда |\ffigbox| имеет дополнительный
+% содержимому объектов. Команда |\ffigbox| в~примере имеет дополнительный
% аргумент |[\FBwidth]|, но у~команды |\ttabbox| нет никакой опции
% "--- опция |[\FBwidth]| используется по умолчанию (см. определения
% на с.~\pageref{abbrcom}).\label{FAD:MixedRowII}
%
%^^A% \subsection{Running Floats In The Raw \LaTeX\ mode}\label{sec:rawfloats}
-% \subsection{Плавающие объекты в~режиме стандартного \LaTeX'а}\label{sec:rawfloats}
+% \subsection{Флоты в~режиме стандартного \LaTeX'а}\label{sec:rawfloats}
%
%^^A% The\label{FAD:PlainFloat}
-%^^A% \package{floatrow} package redefines float environments for the case
+%^^A% \package{floatrow} package redefines floating environments for the case
%^^A% of creation of common layout for all floats. This redefinition creates
%^^A% some limitations for source document file, which were mentioned in
-%^^A% introduction. If you still need a raw behavior of float environment,
-%^^A% you may do that by one of three ways.
+%^^A% introduction (see \sectionname~\ref{floatrow:wrong}). If you still need a raw behavior
+%^^A% of floating environment, you may do that by one of three ways.
% Пакет\label{FAD:PlainFloat}
% \package{floatrow} переопределяет окружение флотов так, чтобы
% на выходе получалось единообразное
% оформление всех флотов. Это накладывает некоторые ограничения
% на запись флота в~исходном файле, о~которых, в~частности,
-% говорилось во введении. Если вам всё
+% говорилось во введении (см.~\sectionname~\ref{floatrow:wrong}). Если вам всё
% же нужно окружение, работающее как в~обычном \LaTeX'е
% это можно сделать тремя способами.
%
+% \DescribeMacro{\RawFloats}\label{setup:RawFloats}%^^A
%^^A% 1.\enskip If you want \LaTeX\ behavior for \emph{just for one environment},
%^^A% input a |\RawFloats| command \emph{inside} environment:
% 1.\enskip Если нужно, чтобы \emph{лишь одно окружение} работало как в~обычном
% \LaTeX'е, задайте команду |\RawFloats| \emph{внутри} окружения:
-% \par\RestoreSpaces
-%\begin{Quote}\openup.5pt
+%\begin{Quote}
+%\begin{preamble}
+%|\|\FRkey[sec]{floatsetup}|[figure]{|\FRkey{style}|=Boxed}|\%{\itshape\smash{\begin{tabular}[t]l
+% заметьте: эта настройка\\ ничего здесь не делает\end{tabular}}}
+%\end{preamble}
%|\begin{figure}\RawFloats|\nopagebreak
%|\captionsetup[table]{position=top}|
%|\begin{minipage}{0.45\textwidth}|
@@ -1450,8 +1746,8 @@
%^^A% and table~\ref{Right:expect:tab}\footnote{That could work correct if
%^^A% you do not use any fancy float layout at least for one of floats.}.
% и~вы получите рис.~\ref{Right:expect:fig}
-% и~табл.~\ref{Right:expect:tab}\footnote{Это будет работать,
-% если вы не используете необычного оформления.}.
+% и~табл.~\ref{Right:expect:tab}.
+%\begingroup\floatsetup[figure]{style=Boxed}
% \begin{figure}[H]\RawFloats
% \captionsetup[table]{position=top}
% \begin{minipage}{0.45\textwidth}
@@ -1464,156 +1760,223 @@
% \begin{tabular}{|c|c|}\hline A & B \\ C & D \\ \hline\end{tabular}
% \end{minipage}
% \end{figure}
-% \par\RestoreSpaces
-%^^A% Compare this example with example in the {\sectionname}~\ref{sec:mixrow} and the example below.
-% Сравните этот пример с~примером из {\sectionname}~\ref{sec:mixrow} и~следующим примером.
+%\endgroup
+% \RestoreSpaces
+%^^A% Compare this example with example in the
+%^^A% {\sectionname}~\ref{sec:mixrow} and the following
+%^^A% figure~\ref{leftfig:raw} and table~\ref{righttab:raw}.
+% Сравните этот пример с~примером из {\sectionname}~\ref{sec:mixrow}
+% и~следующими рисунком~\ref{leftfig:raw} и~таблицей~\ref{righttab:raw}.
%\begin{Quote}\openup.65pt
-%|\begin{figure}\RawFloats\CenterFloatBoxes|\nopagebreak
-%|\begin{floatrow}|
-%| \ffigbox[\FBwidth]|\nopagebreak
+%\begin{preamble}
+%|\|\FRkey[sec]{floatsetup}|[figure]{|\FRkey{style}|=Boxed}|
+%\end{preamble}
+%|\begin{figure}\RawFloats\|\FRkey[FB]{CenterFloatBoxes}\nopagebreak
+%|\begin{|\FRkey[sec]{floatrow}|}|
+%| \|\FRkey[FB]{ffigbox}|[\|\FRkey[FB]{FBwidth}|]|\nopagebreak
%| {...}|\nopagebreak
%| {\caption{...}\label{...}}|
%| |
-%| \ttabbox|\nopagebreak
+%| \|\FRkey[FB]{ttabbox}\nopagebreak
%| {...}|\nopagebreak
%| {\caption{...}\label{...}}|
%|\end{floatrow}|\nopagebreak
%|\end{figure}|
%\end{Quote}
+%\begingroup\floatsetup[figure]{style=Boxed}
% \begin{figure}[H]\RawFloats\CenterFloatBoxes
% \begin{floatrow}
% \ffigbox[\FBwidth]
% {\unitlength1.86\unitlength\input{Horse.picture}}
% {\caption{Рисунок в~ряду внутри команды \cmd{\floatbox} и~в~окружении \env{floatrow} в~режиме обычного \LaTeX'а}%^^A
-% \label{intro:leftfig:raw}}%
+% \label{leftfig:raw}}%
%
% \ttabbox
% {\caption{Таблица в~ряду внутри \cmd{\floatbox} и~в~окружении \env{floatrow} в~режиме обычного \LaTeX'а}%^^A
-% \label{intro:righttab:raw}}
+% \label{righttab:raw}}
% {\tabcolsep5\tabcolsep
% \begin{tabular}{|c|c|}\hline A & B \\ C & D \\ \hline
% \end{tabular}}
% \end{floatrow}
% \end{figure}%^^A
+%\endgroup
%
-%^^A% 2.\enskip Canceling of \package{floatrow}'s behavior of \emph{all floats of one type}
-%^^A% is set outside any float environment, this settings are better for
-%^^A% preamble. In this case the |\RawFloats| command needs optional
-%^^A% argument with name(s) of float type. You may set that by two ways:
-% Отмена установок пакета \package{floatrow} для \emph{всех флотов данного типа}
-% задаётся вне окружений флотов и~такие установки лучше задать
-% в~преамбуле. В~таком случае команда |\RawFloats| задаётся с~опцией
-% задающей названия типа флотов. Это можно задать двумя способами:
-% \par\RestoreSpaces
+%^^A% 2.\enskip Canceling of \package{floatrow}'s behavior of \emph{all floats of selected type or subtype}
+%^^A% is set outside any floating environment. In this case the |\RawFloats| command needs optional
+%^^A% argument with name(s) of float type---these settings can be placed
+%^^A% \emph{only in preamble}. You may set that by two ways:
+% 2.\enskip Отмена установок пакета \package{floatrow} для \emph{всех флотов выбранных типов
+% или подтипов}. В~таком случае команда |\RawFloats| задаётся с~опцией
+% задающей названия типа флотов \cdash--- эти установки лучше задавать
+% в~преамбуле. Команду можно задать двумя способами:
% \begin{Quote}
% |\RawFloats|\oarg{type,type,\ldots}\quad or\nopagebreak
% |\RawFloats|\oarg{type}\oarg{subtype,subtype,\ldots}
% \end{Quote}
-%^^A% So, if you set |\RawFloats[figure]|, that will return to all figures
-%^^A% in all subtype environments (\texttt{figure}, \texttt{figure*},
-%^^A% \texttt{sidewaysfigure}, etc.) plain \LaTeX{} behavior. If there is also a table,
+%^^A% So, if you set |\RawFloats[figure]|, that will return the plain \LaTeX{} mode to all
+%^^A% figures in all subtype environments (|figure|, \texttt{figure*},
+%^^A% |sidewaysfigure|, |wrapfigure|, etc., see page~\pageref{sec:floatsetup}).
+%^^A% If there is also a table,
%^^A% |\RawFloats[figure,table]|, you also will set the same for all table
%^^A% subtypes.
-% Итак, если вы зададите |\RawFloats[figure]|, это вернёт всем рисункам
-% во всех относящимся к~ним окружениях (\texttt{figure}, \texttt{figure*},
-% \texttt{sidewaysfigure} и~др.) установки \LaTeX{}. Если ещё добавить таблицы:
+% Итак, если вы зададите |\RawFloats[figure]|, это вернёт всем рисункам установки \LaTeX'а
+% во всех относящимся к~ним окружениях (|figure|, \texttt{figure*},
+% |sidewaysfigure|, |wrapfigure| и~др. см.~с.~\pageref{sec:floatsetup}).
+% Если ещё добавить таблицы:
% |\RawFloats[figure,table]|, вы также отмените установки \package{floatrow}
% и~для всех окружений таблиц.
%
%^^A% The second way, with second optional argument, cancels \package{floatrow}'s
%^^A% behavior for mentioned float ``subtype(s)'' of \emph{one} float type
-%^^A% in second optional argument you may use \texttt{float}, \texttt{widefloat},
-%^^A% \texttt{rotfloat}, \texttt{widerotfloat}---the meaning of this options
+%^^A% in second optional argument you may use |float|, |widefloat|,
+%^^A% |rotfloat|, |widerotfloat|---the meaning of this options
%^^A% analogous to options of |\floatsetup| macro
%^^A% (see {\sectionname}~\ref{sec:floatsetup}) but you may use here only options which
%^^A% include ``float'' word\label{FAD:PlainFloatII}%^^A
-%^^A% %^^A(or short variants without ``float'', like
-%^^A% %^^A\texttt{rot} or \texttt{widerot})%^^A
-%^^A% .%^^A
% Второй вариант, со второй опцией, отменяет установки \package{floatrow}
% заданных в~ней окружений данного типа флота. Во второй опции
-% можно задать \texttt{float}, \texttt{widefloat},
-% \texttt{rotfloat}, \texttt{widerotfloat}---значение этих опций аналогично
+% можно задать |float|, |widefloat|,
+% |rotfloat|, |widerotfloat|---значение этих опций аналогично
% опциям команды |\floatsetup|
-% (см. {\sectionname}~\ref{sec:floatsetup}) но в~данном случае можно использовать
-% опции только со словом «float»\label{FAD:PlainFloatII}%^^A
-% %^^A(or short variants without ``float'', like
-% %^^A\texttt{rot} or \texttt{widerot})%^^A
-% .%^^A
+% (см. {\sectionname}~\ref{sec:floatsetup}, но в~данном случае можно использовать
+% опции только со словом «float»).\label{FAD:PlainFloatII}%^^A
%
% \DescribeMacro{rawfloats}\label{setup:rawfloats}%^^A
-%^^A% This option stores the plain \LaTeX{} mode (i.e. stores usage of standard
-%^^A% \LaTeX{} float macros) for all standard and new
-%^^A% user defined float types. This option can be used only in
+%^^A% 3.\enskip This option stores the plain \LaTeX{} mode (i.e. stores usage of standard
+%^^A% \LaTeX{} float macros) for all \emph{standard and new defined}
+%^^A% float types. This option can be used only in
%^^A% |\usepackage| line.
-% Данная опция сохраняет режим plain \LaTeX'а (т.\,е. использование
-% стандартных команд \LaTeX'а) для всех стандартных и~вновь созданных
+% 3.\enskip Данная опция сохраняет режим plain \LaTeX'а (т.\,е. использование
+% стандартных команд \LaTeX'а) для всех \emph{стандартных и~вновь созданных}
% типов флотов. Опция может использоваться только в~строке
% |\usepackage|.
%
-%^^A% The \env{floatrow} environment ({\sectionname}~\ref{sec:floatrow})
+%\medskip
+%^^A% \emph{Notes}.\nopagebreak
+% \emph{Замечания}.\nopagebreak
+%
+%^^A% 1)\enskip Please note that with |\RawFloats[...]| command and |rawfloats=| key
+%^^A% you will cancel layout (|\floatsetup|)
+%^^A% settings of all chosen float types/subtypes ({\sectionname}~\ref{sec:floatsetup}).
+% 1)\enskip Обратите внимание, что с~командой |\RawFloats[...]| и~ключом |rawfloats=|
+% отменяются настройки оформления (|\floatsetup|) для всех выбранных типов и~подтипов флотов
+% ({\sectionname}~\ref{sec:floatsetup}).
+%
+%^^A% 2)\enskip The \env{floatrow} environment ({\sectionname}~\ref{sec:floatrow})
%^^A% and commands of |\floatbox| stuff ({\sectionname}~\ref{sec:floatbox})
-%^^A% still work after |\RawFloats|' settings (see figure~\ref{intro:leftfig:raw}
-%^^A% and table~\ref{intro:righttab:raw})\label{FAD:MixedRow}%^^A
-% Окружение \env{floatrow} ({\sectionname}~\ref{sec:floatrow})
+%^^A% still work after |\RawFloats[...]| command and |rawfloats=| key
+%^^A% (see example width figure~\ref{leftfig:raw}
+%^^A% and table~\ref{righttab:raw})\label{FAD:MixedRow}.
+%^^A% But inside |\floatbox| commands
+%^^A% can work only layout settings of the package, written in |\usepackage| line and
+%^^A% inside |\floatsetup{...}|, and settings for main types of floats like |\floatsetup[figure]{...}|
+%^^A% or |\floatsetup[table]{...}| settings for all subtypes will be canceled
+%^^A% (see {\sectionname}~\ref{sec:floatsetup}).
+% 2)\enskip Окружение \env{floatrow} ({\sectionname}~\ref{sec:floatrow})
% и~команды базирующиеся на |\floatbox| ({\sectionname}~\ref{sec:floatbox})
-% всё равно работают после задания команды |\RawFloats|
-% и~опции |rawfloats=| (рис.~\ref{intro:leftfig:raw}
-% и~табл.~\ref{intro:righttab:raw})\label{FAD:MixedRow}%^^A
+% всё равно работают после задания команды |\RawFloats[...]|
+% и~ключа |rawfloats=| (см.~рис.~\ref{leftfig:raw}
+% и~табл.~\ref{righttab:raw})\label{FAD:MixedRow}.
+% Но в~этом случае внутри команд |\floatbox| действуют
+% только настройки, записанные в~строке |\usepackage| или внутри
+% |\floatsetup{...}|, или настройки для главных типов флотов,
+% типа |\floatsetup[figure]{...}| или |\floatsetup[table]{...}|
+% (см.~{\sectionname}~\ref{sec:floatsetup}).
+%
+%^^A% \subsubsection{Raw Caption---Printing in Unusual Way}
+% \subsubsection{Стандартная команда подписи---необычное размещение}
+% \DescribeMacro{\RawCaption}\label{setup:RawCaption}%^^A
+%^^A% 4.\enskip The last command allows to ``release'' caption contents from special
+%^^A% box register. The caption is placed as argument of |\RawCaption|:
+% 4.\enskip Последняя команда позволяет «высвободить» содержимое подписи из специального
+% регистра бокса. В~этом случае подпись помещается в~аргумент команды |\RawCaption|:
+% \begin{Quote}
+% |\RawCaption{\caption\marg{contents}\label{...}}|
+% \end{Quote}
+%^^A% In this case the settings of float layout of current type will be stored, but
+%^^A% you may put caption in non-standard way. For example in the free corner of the
+%^^A% graphics (figure~\ref{rawcaption:plain}):
+% В~этом случае, сохраняя настройки макета данного флота, можно
+% разместить подпись нестандартным способом. Например в~свободном углу рисунка
+% (рис.~\ref{rawcaption:plain}):
+%\begingroup
+% \begin{Quote}
+%\begin{preamble}
+%|\|\FRkey[sec]{floatsetup}|[figure]{|\FRkey{style}|=plain}|
+%\end{preamble}
+%|\begin{figure}|
+%|\framebox(70,60){...}\hskip2\unitlength|
+%|\framebox(70,60){...}\vskip2\unitlength|
+%|\framebox(70,60){...}\hskip2\unitlength|
+%|\parbox[b][60\unitlength]{70\unitlength}%|
+%| {\RawCaption{\caption{...}\label{...}}}|
+%|\end{figure}|
+% \end{Quote}
+%\floatsetup{style=plain}
+%\begin{figure}[H]\unitlength1.28\unitlength\lineskip0pt
+%\framebox(70,60){\input{TheCat.picture}}\hspace{2\unitlength}%%^^A
+%\framebox(70,60){\unitlength.5\unitlength\input{TheCat.picture}}\vspace{2\unitlength}\par
+%\framebox(70,60){\unitlength.25\unitlength\input{TheCat.picture}}\hspace{2\unitlength}%%^^A
+%\parbox[b][60\unitlength]{70\unitlength}{\RawCaption{\caption
+% [Подпись в~режиме стандартного \LaTeX;а, помещена в~свободный угол рисунка]{Портрет кошки,
+% в~разных масштабах}\label{rawcaption:plain}}}
+%\end{figure}%
+%^^A% The more suitable example of usage of the |\RawCaption| command see on the
+%^^A% page~\pageref{fig:subIcap:IcatsI} (figure~\ref{fig:subIcap:IcatsI} with modified
+%^^A% \verb|Boxed| style).
+% Более подходящий вариант использования команды |\RawCaption| см.~на~%^^A
+% с.~\pageref{fig:subIcap:IcatsI} (рис.~\ref{fig:subIcap:IcatsI} с~изменённым стилем
+% \verb|Boxed|).
+%\endgroup
%
-% \RestoreSpaces
%^^A% \subsection{Usage of Footnotes Inside Float Environment}
-% \subsection{Сноски внутри окружения
-% флота}\label{sec:floatfootnote}
+% \subsection{Сноски внутри окружения флота}\label{sec:floatfootnote}
%
%^^A% Sometimes table
%^^A% or figure contents have material, which authors mark
%^^A% and then write some explanation like footnotes. Current package has
-%^^A% mechanism which allows to put footnotes inside float environment, in
+%^^A% mechanism which allows to put footnotes inside floating environment, in
%^^A% the same way as is in \env{minipage} environment.
% Иногда таблица или рисунок может содержать
% материал, который помечается а~снизу даётся объяснение в~виде сноски.
% Пакет имеет механизм, позволяющий размещение сносок внутри окружения флота,
-% как это сделано в~окружении \env{minipage}.
+% как это сделано в~окружении \LaTeX'а \env{minipage}.
%
%^^A% In the case of few elements have the same footnote, we cannot
%^^A% use standard |\footnotemark|---|\footnotetext| combination, because
%^^A% of |\footnotemark| in standard \LaTeX\ always creates the sign of main text footnote.
-%^^A% For these cases current package offers |\mpfootnotemark|
-%^^A% \FRmpar{Footnotemark inside float}{FAD:FnoteInsideFloat}
-%^^A% macro instead of |\footnotemark|%
-%^^A% \footnote{The same macro also is defined in \package{footmisc} package,
-%^^A% version 4.10, dated 2003/01/20.}.
+%^^A% For these cases current package offers |\mpfootnotemark|%^^A
+%^^A% \FRmpar{Footnotemark inside float}{FAD:FnoteInsideFloat}\label{FB:mpfootnotemark}
+%^^A% macro instead of |\footnotemark|.
+%^^A% (The same macro also is defined in \package{footmisc} package.
+%^^A% The \package{floatrow} package doubles this definition.)
% В~тех случаях, когда несколько элементов
% имеют одинаковую сноску, мы не можем воспользоваться стандартной
% комбинацией |\footnotemark|---|\footnotetext|, потому что команда
% |\footnotemark|
-% \FRmpar{Знак сноски внутри флота}{FAD:FnoteInsideFloat}
+% \FRmpar{Знак сноски внутри флота}{FAD:FnoteInsideFloat}\label{FB:mpfootnotemark}
% в~стандартном \LaTeX'е всегда создаёт знак для сноски основного текста.
% Для этих случаев данный пакет предлагает макрокоманду
-% |\mpfootnotemark| вместо |\footnotemark|%%^^A
-% \footnote{Та же макрокоманда также определена в~пакете
-% \package{footmisc}, версия 4.10, датированная 2003/01/20.}.
+% |\mpfootnotemark| вместо |\footnotemark|.
+% (Та же макрокоманда также определена в~пакете
+% \package{footmisc}. Пакет \package{floatrow} просто дублирует это определение.)
% \begin{Quote}\openup-.35pt%
-% \meta{preamble}
-% |\floatsetup{...,|\hyperref[setup:footnoterule]{\texttt{footnoterule}}|=limited,|%^^A
-% \hyperref[setup:footskip]{\texttt{footskip}}|=\skip\footins,...}|
-% \meta{preamble}
-% |\begin{table}|
-% |\ttabbox|
-% | {\caption{...}\label{...}}%|
-% \verb+ {\begin{tabular}{...}+
-% | \hline|
-% | First row & \phantom01 & 2\mpfootnotemark[1] \\|
-% | Second row & \phantom06\mpfootnotemark[1] & 4\mpfootnotemark[1] \\|
-% | ...|
-% | \hline|
-% | \end{tabular}%|
-% | \footnotetext[1]{Even numbers.}}|
+% \begin{preamble}
+% |\|\FRkey[sec]{floatsetup}|{...,|\FRkey{footnoterule}|=none,|%^^A
+% \FRkey{footskip}|=.35\skip\footins,...}|
+% \end{preamble}
+% |\begin{table}|
+% |\|\FRkey[FB]{ttabbox}
+% | {\caption{...}\label{...}}%|
+%\verb+ {\begin{tabular}{...}+
+% | ...|
+% | \end{tabular}%|
+% | \footnotetext[1]{Even numbers.}}|
% |\end{table}|
% \end{Quote}%
% \DeleteShortVerb{\|}%
-% \begin{table}[H]\floatsetup{footnoterule=limited,footskip=\skip\footins}
+%\begingroup\floatsetup[table]{footnoterule=none,footskip=.35\skip\footins}\tabcolsep.5\tabcolsep
+% \begin{table}[H]
% \ttabbox
% {\caption{Таблица со сноской}%^^A
% \label{tab:floatfnote}}%^^A
@@ -1629,57 +1992,43 @@
% \end{tabular}%^^A
% \footnotetext[1]{Even numbers.}}
% \end{table}%
+%\endgroup
% \MakeShortVerb{\|}%
%
%
-%^^A% The |\floatbox| macro uses special own definition of footnote rule
-%^^A% (the \hyperref[setup:footnoterule]{\texttt{footnoterule}}|=| key) and skip before footnotes and
-%^^A% explications or legends (\hyperref[setup:footskip]{\texttt{footskip}}|=|). (See also
-%^^A% page~\pageref{sec:footnotestyle} for variants of footnote rule.)
-% Макрокоманда |\floatbox| использует собственное определение линейки для
-% сноски (ключ \hyperref[setup:footnoterule]{\texttt{footnoterule}}|=|) и~отбивку до сносок
-% и~экспликаций (ключ \hyperref[setup:footskip]{\texttt{footskip}}|=|). (См. также
-% с.~\pageref{sec:footnotestyle} о~вариантах линейки для сносок под флотами.)
-%
-% \RestoreSpaces
-%^^A% \subsubsection{The Legend-Like Macro}\label{subsec:floatfoot}
-% \subsubsection{Макрокоманда для экспликаций}\label{subsec:floatfoot}
+%^^A% {\sloppy The |\|\FRkey[sec]{floatbox} macro uses special own definition of footnote rule
+%^^A% (the \FRkey{footnoterule}|=| key, see also
+%^^A% page~\pageref{sec:footnotestyle} for variants of footnote rule) and skip before footnotes and
+%^^A% explications or legends (\FRkey{footskip}|=|).\par}
+% Макрокоманда |\|\FRkey[sec]{floatbox} использует собственное определение линейки для
+% сноски (ключ \FRkey{footnoterule}|=|, см. также
+% с.~\pageref{sec:footnotestyle} о~вариантах линейки для сносок под флотами) и~отбивку до сносок
+% и~экспликаций (ключ \FRkey{footskip}|=|).
%
+%^^A% \subsection{The Legend-Like Macro}\label{subsec:floatfoot}
+% \subsection{Макрокоманда для экспликаций}\label{subsec:floatfoot}
%^^A% In the case of table or figure have some additional explanations
%^^A% which could not put in caption contents and they are definitely not
%^^A% a footnote you may use |\floatfoot|\label{FAD:Legend}
%^^A% command. The |\floatfoot| is
%^^A% build by usage of |\caption| stuff and uses caption's justification,
-%^^A% but star form (|\floatfoot*|) prints its contents as plain unindented
-%^^A% paragraph (see table~\ref{tab:floatfoot}).
% Если таблица или рисунок имеют дополнительные объяснения
% которые не должны быть в~подписи и~они не являются сноской
% вы можете использовать команду |\floatfoot|\label{FAD:Legend}. Команда |\floatfoot|
% использует механизм оформления команд |\caption| и~использует
-% выключку, заданную для текста подписей;
-% «звёздная» форма (|\floatfoot*|) печатает содержимое в~виде обычного
-% абзаца без отступа (см. табл.~\ref{tab:floatfoot}).
-%
-%^^A% For defining of explication font use \hyperref[setup:footfont]{\texttt{footfont=}} option
-%^^A% (page~\pageref{setup:footfont}) in |\floatsetup|. You may try to
-%^^A% define special settings for float foot using
-%^^A% \cmd{\captionsetup[floatfoot]} setup.
-% Для определения шрифта для экспликаций используйте соответствующую опцию
-% \hyperref[setup:footfont]{\texttt{footfont=}} (с.~\pageref{setup:footfont}) в~команде
-% |\floatsetup|. Вы можете задать
-% дополнительные настройки оформления задав командную
-% последовательность \cmd{\captionsetup[floatfoot]}.
-%\begin{Quote}\openup.5pt
+% выключку, заданную для текста подписей (табл.~\ref{tab:floatfoot}):
+%\begin{Quote}
%|\begin{table}|
-%|\ttabbox|
+%|\|\FRkey[FB]{ttabbox}
%| {\caption{...}\label{...}}|
% \verb+ {\begin{tabular}{...}+
%| ...|
%| \end{tabular}%|
-%| \floatfoot*{`Data I' column ...}}|
+%| \floatfoot{`Data I' column ...}}|
%|\end{table}|
%\end{Quote}
% \DeleteShortVerb{\|}%
+%\begingroup\floatsetup[table]{footnoterule=none,footskip=.35\skip\footins}\tabcolsep.5\tabcolsep
% \begin{table}[H]
% \ttabbox
% {\caption{Таблица с экспликацией}%^^A
@@ -1694,11 +2043,55 @@
% Third row & 28 & 8 \\
% \hline
% \end{tabular}%^^A
+% \floatfoot{`Data I' column---numbers which equal to sum of all
+% their divisors; `Data II' column---$2^n$ values}}
+% \end{table}%
+%\endgroup
+% \MakeShortVerb{\|}%
+%
+%^^A% Star form (|\floatfoot*|) prints its contents as plain unindented
+%^^A% paragraph (see table~\ref{tab:floatfoot}).
+% «Звёздная» форма (|\floatfoot*|) печатает содержимое в~виде обычного
+% абзаца без отступа (см. табл.~\ref{tab:floatfoots}):
+%\begin{Quote}
+%|\begin{table}|
+%| ...|
+%| \end{tabular}%|
+%| \floatfoot*{`Data I' column ...}}|
+%|\end{table}|
+%\end{Quote}
+% \DeleteShortVerb{\|}%
+%\begingroup\floatsetup[table]{footnoterule=none,footskip=.35\skip\footins}\tabcolsep.5\tabcolsep
+% \begin{table}[H]
+% \ttabbox
+% {\caption{Таблица с экспликацией}%^^A
+% \label{tab:floatfoots}}%^^A
+% {\extrarowheight1pt\tabcolsep2\tabcolsep
+% \begin{tabular}{|l|c|c|}
+% \hline
+% \thead{Column head} & \thead{Data I} & \thead{Data II} \\
+% \hline
+% First row & \phantom01 & 2 \\
+% Second row & \phantom06 & 4 \\
+% Third row & 28 & 8 \\
+% \hline
+% \end{tabular}%^^A
% \floatfoot*{`Data I' column---numbers which equal to sum of all
% their divisors; `Data II' column---$2^n$ values}}
% \end{table}%
+%\endgroup
% \MakeShortVerb{\|}%
%
+%^^A% For defining of explication font use \FRkey{footfont}|=| option
+%^^A% in |\floatsetup| (page~\pageref{setup:footfont}). You may try to
+%^^A% define special settings for float foot using
+%^^A% \cmd{\captionsetup[floatfoot]} setup.
+% Для определения шрифта для экспликаций используйте соответствующую опцию
+% \FRkey{footfont}|=| в~команде
+% |\floatsetup| (с.~\pageref{setup:footfont}). Вы можете задать
+% дополнительные настройки оформления задав командную
+% последовательность \cmd{\captionsetup[floatfoot]} (см.~{\sectionname}~\ref{sec:floatsetup}).
+%
%^^A% \emph{Notes.} 1)\enskip The \package{float} package defines additional
%^^A% optional argument after main caption text, possibly for explications.
%^^A% Since this possibility
@@ -1712,7 +2105,7 @@
% пользователей текущая версия пакета \package{caption} (3.0 и~выше),
% а~также пакет \package{floatrow}, не поддерживают эту возможность.
% Используйте команду |\floatfoot| и~команды
-% |\footnote|/\allowbreak|\footnotemark|/\allowbreak|\footnotetext|.
+% |\footnote|/\allowbreak|\mpfootnotemark|/\allowbreak|\footnotetext|.
%
%^^A% 2)\enskip If you use both |\floatfoot| command and |\footnote|
%^^A% inside one float box, the |\floatfoot| appears above |\footnote|
@@ -1728,16 +2121,12 @@
%^^A% float object, footnotes and foot text always placed below caption.
% 3)\enskip Сноски и~экспликации могут быть размещены несколькими
% способами: в~самом низу флота, под подписью
-% (даже в~случае подписи сверху). См. с.~\pageref{setup:footposition}
-% и~файл примера \file{frsample01.tex}. В~случае подписи сбоку,
-% сноски и~экспликации всегда помещаются под подписью.
-%
-% \RestoreSpaces
-%^^A% \subsection{Fine Tuning of Vertical Spaces of Float}
-%^^A% \label{sec:FBabskips}
-% \subsection{Корректировка вертикальных отбивок
-% в~флоте}\label{sec:FBabskips}
+% (даже в~случае подписи сверху; см. описание ключа \FRkey{footposition}|=|
+% на с.~\pageref{setup:footposition} и~файл примера \file{frsample01.tex}).
+% В~случае подписи сбоку, сноски и~экспликации всегда помещаются под подписью.
%
+%^^A% \subsection{Fine Tuning of Vertical Spaces of Float}\label{sec:FBabskips}
+% \subsection{Корректировка вертикальных отбивок в~флоте}\label{sec:FBabskips}
%^^A% At the final variant of document you may need to correct vertical
%^^A% spaces between float and main text, between float object and
%^^A% caption.
@@ -1750,19 +2139,31 @@
% Изменить отбивки между флотом и~основным текстом можно,
% используя две простые команды |\FBaskip| и~|\FBbskip|.
% Например, определите
-% \begin{verse}
+% \begin{Quote}
% |\renewcommand\FBaskip{-4pt}|
-% \end{verse}
-%^^A% to move up float box up (or reduce space above) by 4pt. In current
-%^^A% document the |\FBaskip| command was necessary for moving up
-%^^A% some of wrapped figures.
+% |\begin{figure}|
+% | ...|
+% |\end{figure}|
+% \end{Quote}
+%^^A% to move up float box up (or reduce space above) by 4pt. Or write
% чтобы передвинуть флот вверх (уменьшить отбивку сверху)
-% на 4pt. В~данном документе
+% на 4pt. Или запишите
+% \begin{Quote}
+% |\renewcommand\FBbskip{-5pt}|\nopagebreak
+% |\begin{figure}[t]|\nopagebreak
+% | ...|\nopagebreak
+% |\end{figure}|
+% \end{Quote}
+%^^A% to reduce space below (here: distance between figure and text) by 5pt.
+%^^A% In current document the |\FBaskip| command was necessary for moving up
+%^^A% some of wrapped figures.\nopagebreak
+% чтобы уменьшить (здесь: расстояние между рисунком и~текстом)
+% на 5pt. В~данном документе
% команда |\FBaskip| понадобилась для корректировки
-% рисунков в~оборку.
+% рисунков в~оборку.\nopagebreak
%
%^^A% Use |\vspace| command for vertical space correction around float
-%^^A% object\footnote{The plain float environment allows usage of
+%^^A% object\footnote{The plain floating environment allows usage of
%^^A% \cmd{\vskip} command. But \cmd{\floatbox} stuff
%^^A% (\cmd{\floatbox} itself, \cmd{\ffigbox} etc.) in case
%^^A% of usage of the \cmd{\FBwidth} option, gets error message
@@ -1774,229 +2175,180 @@
% в~аргументе \meta{width} опции \cmd{\FBwidth}, выдадут сообщение
% об ошибке если встретят команду \cmd{\vskip}.}.\par
%
-% \RestoreSpaces
-%^^A% \subsection{Do not write that with \package{floatrow} package}
-% \subsection{Это не допускается пакетом \package{floatrow}}
-%
-%^^A% The \package{floatrow} package creates some features or limitations
-%^^A% of float layout building. If you'll write something like
-% Пакет \package{floatrow} создаёт некоторые особенности и~ограничения
-% в~построении плавающих объектов. Если вы запишете:
-%\begin{Quote}
-%\meta{preamble}
-%|\usepackage{floatrow}|
-%\meta{preamble}
-%|\begin{figure}|
-%| \caption{Табличный заголовок должен быть вверху, но это не так}|
-%| \centering \begin{tabular}{cc} A & B \\ C & D \end{tabular}|
-%|\end{figure}|
-%\end{Quote}
-%^^A% please do not expect that caption appears at the top of figure.
-% не ждите что подрисуночная подпись получится сверху рисунка.
-%
-% \begingroup\clearfloatsetup{table}
-% \begin{table}[H]
-% \caption{Табличный заголовок должен быть вверху, но это не так}\label{Wrong:expect}
-% \centering \begin{tabular}{cc} A & B \\ C & D \end{tabular}
-% \end{table}
-% \endgroup
-%
-%^^A% If you want, e.g. to put figure captions above its contents, you must
-%^^A% write in preamble |\floatsetup[figure]{style=plaintop}|
-%^^A% (see also
-%^^A% {\sectionname}~\ref{sec:floatsetup} about |\floatsetup| mechanism).
-% Если вы хотите, например, поместить подрисуночные подписи сверху, вы должны
-% задать в~преамбуле |\floatsetup[figure]{style=plaintop}|%^^A
-% (см.~также {\sectionname}~\ref{sec:floatsetup} о~механизме команды |\floatsetup|).
-%^^A% Another example. If you put beside floats by following way:
-% Другой пример. Если вы поместите плавающие объекты как в~примере:
-%\begin{Quote}
-%\meta{preamble}
-%|\usepackage{floatrow}|
-%\meta{preamble}
-%|\begin{figure}|\nopagebreak\parskip0pt
-%|\begin{minipage}{0.5\textwidth}|
-%| \centering ...|
-%| \caption{Пропавшая подрисуночная подпись, неверно заданный ряд}|
-%|\end{minipage}|
-%|\begin{minipage}{0.5\textwidth}|
-%| \captionof{table}{Табличный заголовок, неверно заданный ряд}}|
-%| \centering |
-%| \begin{tabular}{cc}|
-%| A & B \\ C & D |
-%| \end{tabular}|
-%|\end{minipage}|\nopagebreak
-%|\end{figure}|
-%\end{Quote}
-%^^A% you also won't get expected result. Use \env{floatrow}, like in
-%^^A% example with figures~\ref{intro:leftfig} and~\ref{intro:rightfig}.
-%^^A% Also you would need, e.g., |\CenterFloatBoxes| command just before
-%^^A% \env{floatrow} environment to get correct
-%^^A% vertical alignment (see page~\pageref{mixrow}
-%^^A% about mixed float rows).
-% вы также не получите ожидаемого результата.
-%\begin{figure}[H]
-%\begin{minipage}{0.5\textwidth}
-%\centering \input{Horse.picture}
-%\caption{Пропавшая подрисуночная подпись, неверно заданный ряд}
-%\end{minipage}
-%\begin{minipage}{0.5\textwidth}
-%\captionof{table}{Табличный заголовок, неверно заданный ряд}
-%\centering \begin{tabular}{cc} A & B \\ C & D \end{tabular}
-%\end{minipage}
-%\end{figure}
-%^^A% Read back the {\sectionname}s~\ref{sec:mixrow} и~\ref{sec:rawfloats} and correct the error.
-% Вернитесь к~{\sectionname}~\ref{sec:mixrow} и~\ref{sec:rawfloats} чтобы исправить ошибку.
+%^^A% \emph{Note}. If you'll write something like:
+% \emph{Замечание}. Если вы запишете нечто вроде:
+% \begin{Quote}
+%\begin{preamble}
+% |\usepackage{floatrow}|
+%\end{preamble}
+% |\begin{figure}|\nopagebreak
+% | ...|
+% |\caption{...}|
+% |\vspace{-6pt}|\nopagebreak
+% |\end{figure}|
+% \end{Quote}
+%^^A% in \emph{plain} floats like in example above, you will change space between caption
+%^^A% and object (in the case of caption below object).
+%^^A% Again, for layout with caption above:
+% в~\emph{простом} окружении флота, как в~примере выше, вы измените расстояние между
+% подписью и~объектом (если подпись помещается снизу объекта).
+% Опять же, для макета с~подписью сверху, как в~следующем примере:
+% \begin{Quote}
+%\begin{preamble}
+% |\usepackage[|\FRkey{capposition}|=top]{floatrow}|
+%\end{preamble}
+% |\begin{figure}|\nopagebreak
+% |\vspace{-6pt}|\nopagebreak
+% |\caption{...}|
+% | ...|
+% |\end{figure}|
+% \end{Quote}
+% вы получите уменьшенную отбивку между подписью и~объектом.
%
% \clearpage
%^^A% \section{Float Layout Settings}\label{sec:floatsetup}
% \section{Настройка оформления плавающих объектов}\label{sec:floatsetup}
-%
%^^A% The idea of \package{floatrow} package is to avoid a lot of repeated code
-%^^A% inside document for creation of desired layout for floats (which also
-%^^A% lowers readability of document), and make layout modification easier
-%^^A% if you ought to change book layout. In this case you could think only
+%^^A% for creation of desired layout for floats inside the document text.
+%^^A% If you ought to change the layout of one float type or even of all float types,
+%^^A% the package allows also to make these modifications
+%^^A% of layout much easier. In this case you could think only
%^^A% about \emph{markup} of floats and their contents.
-% Идея пакета \package{floatrow} состоит в~том, чтобы избежать множества
-% повторяющихся команд в~документе для оформления флотов
-% и~упростить возможные изменения, если понадобится изменить оформление книги.
-% В~результате вы уделяете внимание только \emph{разметке}
+% Основная идея пакета \package{floatrow} состоит в~том, чтобы избежать множества
+% повторяющихся команд в~документе для создания нужного оформления плавающих объектов
+% а~также упростить возможные изменения, если понадобится изменить оформление всех флотов или
+% только отдельно взятого типа флота.
+% В~результате при создании и~работе с~документом уделяется внимание только \emph{разметке}
% флотов и~их содержанию.
%
%^^A% The easy modification of common layout of all float of for one type of
%^^A% float is possible because of the borrowed code from the \package{float}
%^^A% package, which allows to modify layout of float boxes as a whole.
-% Простота изменения общего оформления флотов одного типа возможна
+% Простота изменения общего оформления всех флотов или флотов одного типа возможна
% благодаря коду, взятому из пакета \package{float}, который позволяет
-% изменять целиком оформление плавающего объекта.
+% изменять оформление всех плавающих объектов одного типа.
%
-%^^A% The common layout and its modification for captions and special
-%^^A% settings for
-%^^A% each type of float supported by \package{caption} package, version~3.x.
-% Единое оформление и~изменение подписей флотов и~настройки для каждого
-% типа флотов, поддерживается пакетом \package{caption}, версии~3.x.
+%^^A% The common layouts and modification for captions for all float types as a whole,
+%^^A% for each float type separately, and other special settings
+%^^A% are supported by \package{caption} package, version~3.x.
+% Единое оформление и~изменение подписей всех типов флотов и~настройки для каждого
+% типа флотов, а~также другие настройки поддерживается пакетом \package{caption}, версии~3.\emph{x}.
%
%^^A% The layout settings of \package{floatrow} package are built similarly
-%^^A% to \package{caption} ones and use |\floatsetup|\footnote{Some key and
-%^^A% option names were changed from version 0.1d, the reason was
-%^^A% to arrange and make names more memorable, and, sometimes, reduction
-%^^A% of their names (see {\sectionname}~\ref{sec:changed}).} mechanism which is
-%^^A% analog to |\captionsetup| one\footnote{Look also at \package{caption}
+%^^A% to the settings from the \package{caption}~3.x package and layout settings of the
+%^^A% |\floatsetup|\footnote{Some key and option names were changed from version 0.1d,
+%^^A% the reason was to arrange and make names more memorable, and, sometimes, reduction
+%^^A% of their names (see {\sectionname}~\ref{sec:changed}).} command are built in
+%^^A% similar way as layout settings
+%^^A% of the |\captionsetup| command\footnote{Look also at the \package{caption}
%^^A% documentation (version 3.0 and later)}.
% Настройки оформления пакета \package{floatrow} построены аналогично
-% \package{caption} и~используют механизм |\floatsetup|\footnote{Некоторые имена
+% настройкам пакета \package{caption}~3.\emph{x}, а~команда |\floatsetup|\footnote{Некоторые имена
% ключей и~опций изменены после версии 0.1d, для упорядочения и~создания более
% запоминаемых названий, и, иногда, сокращения их имён
-% (см.~{\sectionname}~\ref{sec:changed}).}, аналогичный механизму
+% (см.~{\sectionname}~\ref{sec:changed}).}, использует механизм, аналогичный механизму команды
% |\captionsetup|\footnote{См.~также документацию пакета \package{caption}
% (версии~3.0 и~выше)}.
%
-% \DescribeMacro{\floatsetup}
%^^A% You may use layout settings stuff as \package{floatrow} option in
-%^^A% |\usepackage| line.
+%^^A% the |\usepackage| line in the preamble of codument.
% Вы можете использовать настройки оформления флотов как опции пакета
-% \package{floatrow} в~строке |\usepackage|.
+% \package{floatrow} в~строке |\usepackage|, задаваемой в~преамбуле.
% \begin{Quote}
+%\begin{preamble}
% |\usepackage[|\meta{options}|]{floatrow}|\quad.
+%\end{preamble}
% \end{Quote}
%^^A% You may write
% Вы можете записать
% \begin{Quote}
+%\begin{preamble}
% |\usepackage[style=boxed,font=small]{floatrow}|\quad.
+%\end{preamble}
% \end{Quote}
-%^^A% The same result you get with
-% Тот же результат вы получите при
+% \DescribeMacro{\floatsetup}
+%^^A% The same result you get with |\floatsetup| command:
+% Тот же результат вы получите при использовании специальной команды настроек макета |\floatsetup|
% \begin{Quote}
+%\begin{preamble}
+% |\usepackage{floatrow}|
% |\floatsetup{style=boxed,font=small}|\quad.
+%\end{preamble}
% \end{Quote}
-%^^A% The lines above declare \texttt{boxed} style and |\small| font for
-%^^A% float contents. These settings were loaded for \emph{all} float types.
-% Строки выше определяют стиль \texttt{boxed} (рамка |\fbox| вокруг объекта)
-% и~шрифт |\small| для содержимого
+%^^A% The lines above declare the |boxed| float style (this style creates
+%^^A% the frame around float object which is built by \LaTeX's |\fbox| command) and the
+%^^A% |\small| font for contents of float objects. These settings are loaded for \emph{all} float types.
+% Строки выше определяют стиль |boxed| (стиль создаёт рамку вокруг объекта с~помощью
+% команды \LaTeX'а |\fbox|) и~шрифт |\small| (меньший, чем для всего документа) для содержимого
% объектов. Эти установки заданы для \emph{всех} типов плавающих объектов.
%
-%^^A% The |\floatsetup| command has following form:
+%^^A% The usage of the |\floatsetup| command has following form:
% Команда |\floatsetup| имеет следующую форму задания:
% \begin{Quote}
% |\floatsetup|\oarg{float type}\marg{options}\quad.
% \end{Quote}
-%
-%^^A% For defining of a special style for float of one type use optional
-%^^A% argument with name of necessary float type. The following command
-% Для задания специальных настроек для флотов одного типа используется
-% опция, в~которой указывается его тип. Следующая команда
+%^^A% Where option \meta{float type} is the name of float type. You can use this optional
+%^^A% argument with for creating of special settings of chosen float type. The following command
+% Где опция \meta{float type} является именем типа флота.
+% Вы можете использовать эту опцию для задания специальных настроек для флотов выбранного типа.
+% Следующая команда
% \begin{Quote}
% |\floatsetup[table]{style=Plaintop}|
% \end{Quote}
-%^^A% sets a special float style for tables: captions are placed above
-%^^A% float objects; in the case of beside floats inside \env{floatrow}
-%^^A% environment captions aligned by top line.%^^A
-%^^A% %^^A \footnote{The keys,
-%^^A% %^^A used in special settings for float of one type, are always
-%^^A% %^^A ``stronger'' than synonym keys in common setting. In other words,
-%^^A% %^^A if you want after example above to redefine float style for all
-%^^A% %^^A floats with \cmd{\floatsetup\{style={\normalfont \meta{option}}\}}
-%^^A% %^^A you won't change tables---use
-%^^A% %^^A \cmd{\floatsetup[table]}\allowbreak
-%^^A% %^^A \texttt{\{style={\normalfont \meta{option}}\}} again.}.
+%^^A% sets a special float style for floating tables: captions are placed above
+%^^A% float objects; in the case of floats are placed in one row, inside the \env{floatrow}
+%^^A% environment, text of captions is aligned by the top lines.
% задаёт специальный стиль для таблиц: табличные заголовки помещаются
-% сверху; если таблицы стоят рядом внутри окружения \env{floatrow},
+% сверху, если таблицы стоят рядом внутри окружения \env{floatrow},
% табличные заголовки выравниваются по верхней строке.%^^A
-% %^^A \footnote{Ключи,
-% %^^A используемые в~специальной настройке для плавающих объектов одного
-% %^^A типа, всегда <<сильнее>> их синонимов, заданных в~общей настройке. Другими
-% %^^A словами, если вы захотите, после приведённого примера переопределить стиль
-% %^^A для всех флотов,
-% %^^A с~помощью \cmd{\floatsetup\{style={\normalfont \meta{option}}\}}
-% %^^A вы не измените оформления таблицы "--- используйте опять
-% %^^A \cmd{\floatsetup[table]}\allowbreak\texttt{\{style={\normalfont
-% %^^A \meta{option}}\}}.}
-%
-%^^A% There are also special options of |\floatsetup| for settings for floats
-%^^A% in different positioning: two-column floats (starred environment, like
-%^^A% \env{figure*}, you may also use, for example, for wide floats) rotated
-%^^A% floats etc. The ``strength'' of options in the lists below decreases
-%^^A% from previous item to next one (examples based on \env{figure}
-%^^A% environment)\footnote{In the case of the boolean key \texttt{rawfloats=} is switched to \texttt{true},
-%^^A% the options below for float layout are canceled.}:
-% Созданы также специальные опции команды |\floatsetup| для настройки флотов
-% с~разными вариантами размещения:
-% для набора в~две колонки (в~одноколонной книге «звёздное» окружение, типа
-% \env{figure*}, можно использовать
-% для вёрстки, например, широких рисунков) для флотов, развёрнутых
-% вертикально и~др.
-% <<Сила>> приведённых ниже в~перечнях опций убывает от предыдущего
-% к~следующему пункту
-% (как пример используется окружение \env{figure})\footnote{В~случае
-% если ключ \texttt{rawfloats=} задан как \texttt{true},
-% опции будут отменены.}:
-% \begin{itemize}\label{stsetorder}\itemsep0pt\parskip0pt
+%
+%^^A% The |[table]| or the |[figure]| options are not the only options you are allowed to use.
+%^^A% The |\floatsetup| command allows usage of a number of special options for settings
+%^^A% for floats in different positioning: plain floats, two-column floats (in one-column layout
+%^^A% of the document, the starred environment like
+%^^A% \env{figure*} can be used for alternative float layout, e.g. for
+%^^A% wide floats, which expand to the margins) rotated floats, wrapped floats. There is also
+%^^A% minor support for floats with captions placed beside float objects.\medskip
+% Опции |[table]| или |[figure]| не единственные, которые можно использовать.
+% Команде |\floatsetup| можно задать специальные опции для настройки флотов
+% с~разными вариантами размещения: обычное,
+% для флотов вразрез двух колонок (в~одноколонной книге «звёздное» окружение
+% типа \env{figure*} можно использовать для альтернативной вёрстки,
+% например, широких рисунков, выходящих на поля) для флотов, развёрнутых
+% вертикально, флотов в~оборку и~др. Есть также поддержка, но неполная, настроек для
+% флотов с~подписью сбоку.
+%
+%^^A% Below are printed lists of all possible options of |\floatsetup| command,
+%^^A% they are based, as example, on the \env{figure} environment.
+%^^A% The ``strength'' of options in the lists below decreases
+%^^A% from previous item to next one
+% Ниже приведены перечни всех возможных опций команды |\floatsetup|, которые, для примера,
+% берут за основу окружение \env{figure}.
+% «Сила» приведённых ниже в~перечнях опций убывает от предыдущего
+% пункта к~следующему:
+% \begin{itemize}\label{stsetorder}
% \item
-%^^A% Wide or two-column floats (e.g. \env{figure*},
-%^^A% you may load special
-%^^A% settings for starred environments even in one-column document):
-% Широкие флоты или флоты вразрез двух колонок
-% (например, \env{figure*}, вы можете определить специальные настройки для
-% «звёздных» окружений и~в~одноколонном документе):
+%^^A% Wide or two-column floats (\env{figure*},
+% Широкие флоты или флоты вразрез двух колонок (\env{figure*}):
% \begin{itemize}
% \item
%^^A% |\floatsetup[widefigure]|---the ``strongest'' settings;
-%^^A% if they absent, package uses settings from next item;
-% |\floatsetup[widefigure]|\label{setup:widefigure} "---самые <<сильные>> настройки;
+%^^A% if they are absent, the settings from the next item will be used;
+% |\floatsetup[widefigure]|\label{setup:widefigure} "---самые «сильные» настройки;
% если они отсутствуют,
% пакет использует настройки из следующего пункта;
% \item
-%^^A% |\floatsetup[widefloat]|\label{setup:widefloat}---these settings ``stronger''
+%^^A% |\floatsetup[widefloat]|---these settings ``stronger''
%^^A% than settings from next item (|\floatsetup[figure]|);
-%^^A% if they absent, package uses settings from next item;
-% |\floatsetup[widefloat]| "---эти настройки <<сильнее>> чем настройки
+%^^A% if they are absent, the settings from the next item will be used;
+% |\floatsetup[widefloat]|\label{setup:widefloat} "---эти настройки «сильнее» чем настройки
% из следующего пункта (|\floatsetup[figure]|); если они отсутствуют, пакет
% использует настройки из следующего пункта;
% \item
%^^A% |\floatsetup[figure]|;
-%^^A% if they absent, package uses settings from
+%^^A% if they are absent, package uses settings from
%^^A% optional argument in |\usepackage| line or |\floatsetup{...}|
-%^^A% command; if they absent---default package settings
+%^^A% command; if they are absent---default package settings
%^^A% (see page~\pageref{sec:default});
% |\floatsetup[figure]|; если эти настройки отсутствуют, пакет
% использует настройки,
@@ -2014,7 +2366,7 @@
% \item |\floatsetup[figure]|;
% \end{itemize}
% \item
-%^^A% Rotated floats (in environments, like \env{sidewaysfigure},
+%^^A% Rotated floats (\env{sidewaysfigure},
%^^A% used width \package{rotating} package):
% Флоты развёрнутые вертикально (\env{sidewaysfigure}
% пакета \package{rotating}):
@@ -2024,17 +2376,17 @@
% \item |\floatsetup[figure]|;
% \end{itemize}
% \item
-%^^A% Wide rotated floats
+%^^A% Wide or two-column rotated floats
%^^A% (\env{sidewaysfigure*})\footnote{The settings
-%^^A% for wide float (\texttt{widefloat}, \texttt{widefigure})
-%^^A% removed---use settings for \texttt{widerotfloat}
-%^^A% and---here---\texttt{widerotfigure}}:
+%^^A% for wide float (|widefloat|, |widefigure|)
+%^^A% removed---use settings for |widerotfloat|
+%^^A% and---here---|widerotfigure|}:
% Развёрнутые флоты вразрез двух колонок
% (\env{sidewaysfigure*})\footnote{Настройки
% для флотов на две колонки (или широких в~одноколонной вёрстке)
-% (\texttt{widefloat}, \texttt{widefigure}) удалены "--- используйте
-% настройки для \texttt{widerotfloat} и "--- здесь
-% "---\texttt{widerotfigure}}:
+% (|widefloat|, |widefigure|) отсутствуют "--- используйте
+% настройки для |widerotfloat| и "--- здесь
+% "---|widerotfigure|}:
% \begin{itemize}\itemsep0pt\parskip.5\parskip
% \item |\floatsetup[widerotfigure]|\label{setup:widerotfigure};
% \item |\floatsetup[widerotfloat]|\label{setup:widerotfloat};
@@ -2043,27 +2395,62 @@
% \item |\floatsetup[figure]|;
% \end{itemize}
% \item
-%^^A% Floats with beside captions (settings in these options are limited, see below):
-% Флоты с~подписями сбоку (здесь есть ограничения, см.~ниже):
+%^^A% Floats with beside captions (settings in these options are limited, see section below):
+% Флоты с~подписями сбоку (здесь есть ограничения, см.~раздел ниже):
% \begin{itemize}\itemsep0pt
% \item |\floatsetup[capbesidefigure]|\label{setup:capbesidefigure};
% \item |\floatsetup[capbesidefloat]|\label{setup:capbesidefloat};
% \item
%^^A% setting of outer environments from previous items:
%^^A% \env{sidewaysfigure*}, \env{sidewaysfigure}, and \env{figure*}.
-% настройки окружений перечисленных выше, где помещён флот:
+% настройки окружений перечисленных выше, где помещён флот, например,
% \env{sidewaysfigure*}, \env{sidewaysfigure}, и \env{figure*}.
% \end{itemize}
% \end{itemize}
-%^^A% You can also create and change special settings for captions, using
-%^^A% the same \meta{float~type} options in |\captionsetup| stuff.
-% Вы можете создать специальные настройки для подрисуночных подписей, используя
+%
+%^^A% \emph{Notes}.\nopagebreak
+% \emph{Замечания}.\nopagebreak
+%
+%^^A% 1)\enskip You can also create and change special settings for captions, using
+%^^A% the same \meta{float~type} options in |\captionsetup| stuff.\nopagebreak
+% 1)\enskip Вы можете создать специальные настройки для подрисуночных подписей типа
+% или подтипа флотов, используя
% те же названия опций \meta{float~type} в~команде |\captionsetup|.
%
+%^^A% 2)\enskip Please note that with |\RawFloats[...]| command and |rawfloats=| key
+%^^A% (\sectionname~\ref{sec:rawfloats}) you will cancel all layout
+%^^A% settings created as options in the |\usepackage| line or inside
+%^^A% the |\floatsetup| command for all chosen float types/subtypes.
+% 2)\enskip Обратите внимание, что с~командой |\RawFloats[...]| и~ключом |rawfloats=|
+% (\sectionname~\ref{sec:rawfloats})
+% отменяются настройки оформления созданные в~опции строки |\usepackage|
+% или внутри команды |\floatsetup| для всех выбранных типов и~подтипов флотов.
+%
+%^^A% {\sloppy3)\enskip Since the \env{floatrow} environment ({\sectionname}~\ref{sec:floatrow})
+%^^A% and |\floatbox| commands (e.g. |\ffigbox|, |\ttabbox|, see {\sectionname}~\ref{sec:floatbox})
+%^^A% still work after both |\RawFloats[...]| command and |rawfloats=| key (see example width
+%^^A% figure~\ref{leftfig:raw} and table~\ref{righttab:raw})\label{FAD:MixedRowA}. These box
+%^^A% still support layout settings, but please note, that inside |\floatbox| commands
+%^^A% can work only~\nobreak\quad1)\nobreak\enskip layout settings of the package,
+%^^A% written in |\usepackage| line and inside |\floatsetup{...}|,
+%^^A% and~\nobreak\quad2)\nobreak\enskip settings for main types of floats like |\floatsetup[figure]{...}|
+%^^A% or |\floatsetup[table]{...}| settings for all subtypes will be canceled.\par}\medskip\nopagebreak
+% 3)\enskip Поскольку окружение \env{floatrow} ({\sectionname}~\ref{sec:floatrow})
+% и~команды базирующиеся на |\floatbox| (например, |\ffigbox|, |\ttabbox|,
+% см.~{\sectionname}~\ref{sec:floatbox})
+% всё равно работают после задания команды |\RawFloats[...]|
+% и~ключа |rawfloats=| (см.~пример с~рис.~\ref{leftfig:raw}
+% и~табл.~\ref{righttab:raw})\label{FAD:MixedRowA} эти команды всё равно поддерживают
+% настройки макетов.
+% Но обратите внимание, что в~этом случае внутри команд |\floatbox| действуют
+% только~\nobreak\quad1)\nobreak\enskip настройки, записанные в~строке |\usepackage| или внутри
+% |\floatsetup{...}|, и~\nobreak\quad2)\nobreak\enskip настройки для главных типов флотов,
+% типа |\floatsetup[figure]{...}| или |\floatsetup[table]{...}|, настройки всех подтипов
+% не работают.\medskip\nopagebreak
+%
%^^A% The next few sections describe keys of |\floatsetup| macro.
% Разделы ниже описывают ключи, используемые командой |\floatsetup|.
%
-% \clearpage
%^^A% \subsection{Floatsetup Keys}\label{sec:floatkeys}
% \subsection{Ключи Floatsetup}\label{sec:floatkeys}
%
@@ -2071,19 +2458,23 @@
% \subsubsection{Стиль плавающего объекта}
%
% \DescribeMacro{style}\label{setup:style}%^^A
-%^^A% The \emph{float style} could include alignment of float contents, margins, boxes or lines,
-%^^A% if necessary, and other options.
+%^^A% The \emph{float style} could include settings of the justification (in particular) of float contents;
+%^^A% margins (in particular the alignment of float boxes); separation material between objects and captions
+%^^A% and between float boxes in a~row (mainly spaces); frames or lines and other options.
+% Ключ \emph{float style} включает выключку (в~частности) содержимого объекта;
+% поля (в~частности выравнивание боксов флотов); разделительный материал между объектами и~подписями
+% и~между флотами, стоящими в~ряду (чаще всего это отбивки);
+% рамки или линейки и~некоторые другие опции.
+%
%^^A% The \emph{float style} is specified by following way:
-% Ключ \emph{float style} включает выравнивание содержимого объекта, поля (или материал на полях),
-% рамки или линейки и~некоторые опции, если необходимо. Опция \emph{float style} задаётся следующим образом:
-% \par\RestoreSpaces
+% Опция \emph{float style} задаётся следующим образом:
% \begin{Options}{style=float style name }
% \item[style=\rmfamily\mdseries\meta{float style name}\ ,\quad]
%^^A% the \meta{float style name} you may take from
%^^A% table~\ref{tab:floatlayouts}.
% где \meta{float style name} вы можете взять из табл.~\ref{tab:floatlayouts}.
% \item[...]
-%^^A% You may create your own options with |\DeclareFloatStyle| command,
+%^^A% You may create your own options with the |\DeclareFloatStyle| command,
%^^A% see page~\pageref{ssec:declstyle}.
% Вы можете создать свои опции с~помощью команды \\|\DeclareFloatStyle|,
% см.~с.~\pageref{ssec:declstyle}.
@@ -2091,40 +2482,57 @@
%
%^^A% As you may see in the table~\ref{tab:floatlayouts}, there are included all float styles
%^^A% which emulate co-named ones from the \package{float} package.
-% Как вы видите, в~табл.~\ref{tab:floatlayouts} включены все стили, эмулирующие
+% Как вы видите, в~табл.~\ref{tab:floatlayouts} в~пакет \package{floatrow} включены все стили, эмулирующие
% соответствующие стили из пакета~\package{float}.
%
-%^^A% Please note, that usage of \texttt{style=} key for floats with beside captions,
+%^^A% Please note, that usage of |style=| key for floats with beside captions,
%^^A% i.e.~using |\floatsetup| settings with options like, e.g.,
-%^^A% |[capbesidefigure]| or |[capbesidefloat]|
-%^^A% cancels settings for beside position of caption. Usually the floats with beside captions
-%^^A% can set different alignment of captions, so the radical changes for float layout
-%^^A% with beside caption in current version could get wrong results (see also
-%^^A% {\sectionname}~\ref{page:killfloatstyle} how to get different settings for floats with beside captions).\medskip
-% Обратите внимание, что использование ключа \texttt{style=} для флотов с~подписями сбоку, т.\,е.
+%^^A% |[capbesidefigure]| or |[capbesidefloat]| can destroy layout for this float subtype.
+%^^A% For example that key cancels settings for beside position of caption.
+%^^A% If you really need to create the alternative
+%^^A% layout for floats with beside captions, for example to print float objects in frames,
+%^^A% using the |Boxed| style:~\nobreak\quad1)\nobreak\enskip if you are creating
+%^^A% one-column document, revise your settings
+%^^A% which were used for float creation, maybe you didn't use the settings for
+%^^A% starred floating environments, like \env{figure*}, so you can load necessary settings for
+%^^A% floats with beside caption inside |\floatsetup[widefigure]{...}|, and then
+%^^A% use \env{figure*} environment for floats with beside captions;~\nobreak\quad2)\nobreak\enskip
+%^^A% if you can't follow advice of the previous item, you may use a bit risky
+%^^A% variant with usage of |\killfloatstyle| command,
+%^^A% see {\sectionname}~\ref{page:killfloatstyle}.\bigskip
+% Обратите внимание, что использование ключа |style=| для флотов с~подписями сбоку, т.\,е.
% использование настроек |\floatsetup| с~опциями типа
-% |[capbesidefigure]| или |[capbesidefloat]|
-% отменяет установки для подписей сбоку. Обычно для флотов с~подписями сбоку задаётся только другое выравнивание
-% текста подписи или оформление её метки (например задание её отдельной строкой), поэтому радикальные изменения для
-% подписи сбоку могут дать неверные результаты (см.~%^^A
-% {\sectionname}~\ref{page:killfloatstyle} для решения этой проблемы).\medskip
+% |[capbesidefigure]| или |[capbesidefloat]| могут разрушить установки для этого подтипа флотов.
+% Например этот ключ отменяет настройки для размещения подписи сбоку.
+% Если вам действительно нужно создать альтернативное оформление для флотов с~подписью сбоку,
+% к~примеру поместить объекты флотов в~рамки, используя стиль |Boxed|:~\nobreak\quad1)\nobreak\enskip
+% если ваш документ верстается в~одну колонку, проверьте, какие настройки
+% у~вас используются, возможно вы не используете настроек для «звёздных» флотов, например
+% \env{figure*}, следоватльно, вы можете задать необходимые настройки для флотов с~подписью
+% сбоку внутри настроек |\floatsetup[widefigure]{...}|, а~затем
+% использовать окружение \env{figure*} для всех таких флотов;~\nobreak\quad2)\nobreak\enskip
+% если вы не можете последовать совету предыдущего пункта, вы можете использовать несколько
+% рискованный вариант с~использованием команды |\killfloatstyle|,
+% см.~{\sectionname}~\ref{page:killfloatstyle}.\bigskip
%
%^^A% The \package{caption} package uses its own settings and names for caption layout styles.
-%^^A% The caption's \texttt{ruled} style is the only one from \package{float}
-%^^A% package, which was predefined in \package{caption} package. To use it,
-%^^A% write
+%^^A% The caption's |ruled| style is the only one from \package{float}
+%^^A% package, which was predefined in \package{caption} package. (The |ruled| style
+%^^A% is used by the \package{floatrow} package as well as other \package{float} package's
+%^^A% styles.) To use caption settings of the |ruled| style, you may write
% Пакет \package{caption} использует собственные настройки и~названия для стилей подписей.
-% Стиль для подписи, \texttt{ruled}, единственный из пакета \package{float},
-% который также предопределён в~пакете \package{caption}. Для его использования,
+% Стиль для подписи, |ruled|, единственный из пакета \package{float},
+% который также предопределён в~пакете \package{caption}. (Стиль |ruled| задаётся
+% среди прочих стилей пакета \package{float}.) Для использования настроек подписей этого стиля,
% запишите, например
% \begin{quote}
% |\captionsetup[figure]{style=ruled}|\quad .
% \end{quote}
%
% \begingroup
-% \extrarowheight1pt\jot3pt\tabcolsep1.25\tabcolsep%
-% \newlengthtocommand\settowidth\Icolumn{\small\texttt{wshadowboxx}}
-% \newlengthtocommand\settowidth\IIcolumn{\small\texttt{framestyle=wshadowbox}}
+% \extrarowheight1pt\jot5pt\tabcolsep.9\tabcolsep
+% \newlengthtocommand\settowidth\Icolumn{\small\texttt{wshadowbox\,}}
+% \newlengthtocommand\settowidth\IIcolumn{\small|framestyle=wshadowbox|}
% \newlengthtocommand\setlength\IIIcolumn{\textwidth-\Icolumn-\IIcolumn
% -6\tabcolsep}
% \newcommand\leftcell[2][16.5mm]{%^^A%
@@ -2134,143 +2542,151 @@
% p{\hsize}}
% #2\unskip\botstrut\end{tabular}\hspace*{-\tabcolsep}%
% }
+%^^A% \def\LongtableHead{
+%^^A% \hfil\thead{Style} &
+%^^A% \hfil\thead{\cmd{\floatsetup} keys} &
+%^^A% \hfil\thead{Description}
+%^^A% }
+% \def\LongtableHead{
+% \hfil\thead{Стиль} &
+% \hfil\thead{Ключи \cmd{\floatsetup}} &
+% \hfil\thead{Описание}
+% }
% \begin{longtable}{|>{\extrarowheight0pt\def\arraystretch{.75}\ttfamily}p{\Icolumn}
% |>{\extrarowheight0pt\def\arraystretch{.75}\ttfamily}p{\IIcolumn}
% |>{\parindent1em\topstrut}p{\IIIcolumn}<{\botstrut}|}
%^^A% \caption{Float layout styles}\label{tab:floatlayouts}\\
% \caption{Стили плавающих объектов}\label{tab:floatlayouts}\\
% \hline
-% \hfil\thead{Style} &
-% \hfil\thead{\cmd{\floatsetup} keys} &
-% \hfil\thead{Description} \\
-% \hline
+% \LongtableHead \\ \hline\noalign{\vskip-.4pt}
% \endfirsthead
-%^^A% \caption{Float layout styles \textmd{(\emph{Continued})}}\label{tab:floatlayouts}\\
-% \caption[]{Стили плавающих объектов \textmd{(\emph{Продолжение})}}\\
-% \hline
-% \hfil\thead{Style} &
-% \hfil\thead{\cmd{\floatsetup} keys} &
-% \hfil\thead{Description} \\
+% \captionsetup{labelformat=continued}\caption[]{}\\
% \hline
+% \LongtableHead \\ \hline\noalign{\vskip-.4pt}
% \endhead
-%^^A% \caption{Float layout styles \textmd{(\emph{Finished})}}\label{tab:floatlayouts}\\
-% \caption[]{Стили плавающих объектов \textmd{(\emph{Окончание})}}\\
-% \hline
-% \hfil\thead{Style} &
-% \hfil\thead{\cmd{\floatsetup} keys} &
-% \hfil\thead{Description} \\
+% \captionsetup{labelformat=finished}\caption[]{}\\
% \hline
+% \LongtableHead \\ \hline\noalign{\vskip-.4pt}
% \endlasthead
+% \hline\noalign{\vskip-.4pt}
%^^A% \multicolumn{3}{r@{}}{\emph{Continued on next page}}
% \multicolumn{3}{r@{}}{\emph{продолжение на следующей странице}}
% \endfoot
+% \hline\noalign{\vskip-.4pt}
%^^A% \multicolumn{3}{r@{}}{\emph{Finished on next page}}
% \multicolumn{3}{r@{}}{\emph{окончание на следующей странице}}
% \endprelastfoot
% \endlastfoot
% \multicolumn{3}{|c|}{Определено в пакете \package{floatrow}}\\
-% \hline \leftcell{\texttt{plain}\label{setup:plain}{\mpfootnotemark[1]\mpfootnotemark[2]\mpfootnotemark[3]}}
+% \hline \leftcell{|plain|\label{setup:plain}{\mpfootnotemark[1]\mpfootnotemark[2]\mpfootnotemark[3]}}
% & \leftcell{\meta{none}}
-% &Стиль \texttt{plain} создаёт стандартное оформление \LaTeX'а. Подрисуночные подписи всегда снизу
-% \\\hline
+% &Стиль |plain| создаёт стандартное оформление \LaTeX'а. Подрисуночные подписи всегда снизу
% \\\hline
-% \leftcell{\texttt{plaintop}{\mpfootnotemark[1]}
-% \botstrut\\ \hline\topstrut\texttt{Plaintop}}
-% & \leftcell[50mm]{capposition=top\botstrut\\ \hline\topstrut
-% capposition=TOP}
-% &Стиль \texttt{plaintop} \cdash---то же что и~стиль \texttt{plain} но помещает подпись сверху "---
+% \leftcell{\topstrut plaintop{\mpfootnotemark[1]}\botstrut}
+% & \leftcell[50mm]{\topstrut capposition=top\botstrut}
+% &Стиль |plaintop| \cdash---то же что и~стиль |plain| но помещает подпись сверху "---
% аналог стиля из пакета
-% \package{float}.\par Стиль с~прописной, \texttt{Plaintop}, помещает
-% флоты рядом (в~окр.~\env{floatrow}) и~выравнивает подписи по верхней строке
+% \package{float}.\\ \cline{1-2}
+% %^^A
+% \leftcell{\topstrut Plaintop\botstrut}
+% & \leftcell[50mm]{\topstrut capposition=TOP\botstrut}
+% & Стиль с~прописной, |Plaintop|,
+% выравнивает подписи у~флотов рядом (в~окр.~\env{floatrow}) по верхней строке
% (см.~пример на~с.~\pageref{tab:row:tabIII})
% \\\hline
-% \leftcell{\texttt{ruled}\label{setup:ruled}{\mpfootnotemark[1]\mpfootnotemark[3]}
-% \\ \\ \\ \\ \botstrut\\ \hline\topstrut\texttt{Ruled}\smash{\mpfootnotemark[2]}}
-% & \leftcell[50mm]{capposition=top,\\ precode=thickrule,\\
+% \leftcell{\topstrut ruled\label{setup:ruled}\mpfootnotemark[1]\mpfootnotemark[3]\botstrut}
+% & \leftcell[50mm]{\topstrut capposition=top,\\ precode=thickrule,\\
% midcode=rule,\\ postcode=lowrule,\\
-% heightadjust=all\botstrut\\ \hline\topstrut
-% style=ruled,\\ capposition=TOP}
-% &Первый стиль, \texttt{ruled}, повторяет оформление одноимённого стиля из пакета \package{float}.
+% heightadjust=all\botstrut}
+% &Первый стиль, |ruled|, повторяет оформление одноимённого стиля из пакета \package{float}.
% Он создаёт толстую линию
-% над флотом, и~тонкие линии между подписью и~объектом и~снизу бокса флота.\par
-% Стиль с~прописной, |Ruled|, выравнивает подписи флотов, в~случае размещения их
+% над флотом, и~тонкие линии между подписью и~объектом и~снизу бокса флота
+% отделённые от содержимого 2-пунктовыми отбивками (см.~пример на~с.~\pageref{leftfig:ruled}).\\ \cline{1-2}
+% %^^A
+% \leftcell{\topstrut Ruled\smash{\mpfootnotemark[2]}\botstrut}
+% & \leftcell[50mm]{\topstrut style=ruled,\\ capposition=TOP\botstrut}
+% &Стиль с~прописной, |Ruled|, выравнивает подписи флотов, в~случае размещения их
% рядом (в~окружении \env{floatrow}),
-% по верхней строке (см.~пример на~с.~\pageref{example:ruledcapposTOP})
+% по верхней строке (см.~пример на~с.~\pageref{leftfig:Ruled})
% \\\hline
-% \leftcell{\texttt{boxed}\smash{\mpfootnotemark[1]\mpfootnotemark[2]\mpfootnotemark[3]\mpfootnotemark[4]}
-% \\ \\ \\ \botstrut\\ \hline\topstrut\texttt{Boxed}\label{setup:Boxed}\smash{\mpfootnotemark[2]\mpfootnotemark[3]}
-% \\ \botstrut\\ \hline\topstrut\texttt{BOXED}\smash{\mpfootnotemark[2]}\mpfootnotemark[3]}
+% \leftcell{\topstrut boxed\mpfootnotemark[1]\mpfootnotemark[2]\mpfootnotemark[3]\mpfootnotemark[4]\botstrut}
% & \leftcell[50mm]{captionskip=2pt,\\framestyle=fbox,\\
-% heightadjust=object,\\framearound=object\botstrut\\ \hline\topstrut
-% style=boxed,\\ framefit=yes\botstrut\\ \hline\topstrut
-% framestyle=fbox,\\ framefit=yes,\\
-% heightadjust=all,\\ framearound=all}
-% &Первый, \texttt{boxed}, повторяет стиль пакета \package{float}:
-% ширина объекта равна |\textwidth|, предварительно заданной \cmd{\hsize} или
+% heightadjust=object,\\framearound=object\botstrut}
+% &Первый, |boxed|, повторяет стиль пакета \package{float}:
+% \emph{ширина объекта} равна |\textwidth|, предварительно заданной \cmd{\hsize} или
% предопределённой ширине заданной внутри команды |\floatbox|;
-% рамка выступает по сторонам (см.~пример на~с.~\pageref{fig:setup:boxed}). Расстояние от текста до рамки
+% рамка выступает за края бокса (см.~пример на~с.~\pageref{fig:setup:boxed}). Расстояние от текста до рамки
% и~толщина рамки определяются параметрами \cmd{\fboxsep} и~\cmd{\fboxrule}
-% (значения по умолчанию \texttt{3\,pt} и~\texttt{.4\,pt} соответственно).\par
-% В~стиле с~прописной буквы, |Boxed|, ширина рамки совпадает
+% (значения параметров по умолчанию равны \texttt{3\,pt} и~\texttt{.4\,pt} соответственно).\\ \cline{1-2}
+% %^^A
+% \leftcell{\topstrut|Boxed|\label{setup:Boxed}\mpfootnotemark[2]\mpfootnotemark[3]\botstrut}
+% & \leftcell[50mm]{\topstrut style=boxed,\\ framefit=yes\botstrut}
+% & В~стиле с~прописной буквы, |Boxed|, \emph{ширина рамки} совпадает
% с~\cmd{\textwidth}, предварительно заданной \cmd{\hsize} или заданной шириной в~опции команды |\floatbox|;
% ширина объекта при этом уменьшается,
-% чтобы поместиться внутри рамки (см.~пример на~с.~\pageref{fig:plain:MyBoxed}).\par
-% Прописная форма, |BOXED|, создаёт рамку
-% которая равна \cmd{\textwidth}, предварительно заданной \cmd{\hsize} или заданной шириной в~опции команды |\floatbox|
-% уже вокруг всех элементов бокса флота: подписи, объекта и~возможных экспликаций
-% (см.~пример на~с.~\pageref{fig:wrapfig:WcatII})
+% чтобы поместиться внутри рамки (см.~пример на~с.~\pageref{fig:setup:Boxed}).\\ \cline{1-2}
+% %^^A
+% \leftcell{\topstrut|BOXED|\smash{\mpfootnotemark[2]}\mpfootnotemark[3]\botstrut}
+% & \leftcell[50mm]{\topstrut framestyle=fbox,\\ framefit=yes,\\
+% heightadjust=all,\\ framearound=all\botstrut}
+% & Прописная форма, |BOXED|, создаёт рамку
+% которая равна \cmd{\textwidth}, предварительно заданной \cmd{\hsize} или заданной шириной в~опции команды
+% |\floatbox| уже вокруг всех элементов бокса флота: подписи, объекта и~возможных экспликаций
+% (см.~пример на~с.~\pageref{BOXED:heightmod})
% \\\hline
% \multicolumn{3}{|c|}{Определено в пакете \package{fr-fancy}.
% Эти стили также требуют пакет \package{fancybox}.}\\
-% \hline \leftcell{\texttt{shadowbox}\smash{\mpfootnotemark[4]}
-% \\ \botstrut\\ \hline\topstrut\texttt{Shadowbox}
-% \\ \botstrut\\ \hline\topstrut\texttt{SHADOWBOX}}
+% \hline \leftcell{|shadowbox|\smash{\mpfootnotemark[4]}
+% \\ \botstrut\\ \hline\topstrut|Shadowbox|
+% \\ \botstrut\\ \hline\topstrut|SHADOWBOX|}
% & \leftcell[50mm]{style=boxed,\\framestyle=shadowbox\botstrut\\ \hline\topstrut
% style=Boxed,\\framestyle=shadowbox\botstrut\\ \hline\topstrut
% style=BOXED,\\framestyle=shadowbox}
-% &То же, что и \texttt{boxed}, \texttt{Boxed} и \texttt{BOXED}
+% &То же, что и |boxed|, |Boxed| и |BOXED|
% соответственно. Рамка \cmd{\fbox} заменена на \cmd{\shadowbox}
% из пакета \package{fancybox} (см.~пример на~с.~\pageref{fig:subfig:catsI}).
-% Помимо \cmd{\fboxsep} и~\cmd{\fboxrule}, здесь ещё задаётся параметр \cmd{\shadowsize} \cdash--- ширина тени
-% (по умолчанию равна 4\,pt).
+% Помимо \cmd{\fboxsep} и~\cmd{\fboxrule}, здесь ещё задаётся параметр
+% \cmd{\shadowsize} \cdash--- ширина тени (по умолчанию равна 4\,pt).
% \\\hline
-% \leftcell{\texttt{doublebox}\smash{\mpfootnotemark[4]}
-% \\ \botstrut\\ \hline\topstrut\texttt{Doublebox}\\
-% \botstrut\\ \hline\topstrut\texttt{DOUBLEBOX}}
+% \leftcell{|doublebox|\smash{\mpfootnotemark[4]}
+% \\ \botstrut\\ \hline\topstrut|Doublebox|\\
+% \botstrut\\ \hline\topstrut|DOUBLEBOX|}
% & \leftcell[50mm]{style=boxed,\\ framestyle=doublebox\botstrut\\ \hline\topstrut
% style=Boxed,\\ framestyle=doublebox\botstrut\\ \hline\topstrut
% style=BOXED,\\ framestyle=doublebox}
-% &То же, что и \texttt{boxed}, \texttt{Boxed} и \texttt{BOXED}
+% &То же, что и |boxed|, |Boxed| и |BOXED|
% соответственно. Рамка \cmd{\fbox} заменена на \cmd{\doublebox}
-% из пакета \package{fancybox}. Рамка определяется параметрами \cmd{\fboxsep} и~\cmd{\fboxrule}
-% \\\hline
+% из пакета \package{fancybox} (см.~пример на~с.~\pageref{fig:parpic:BcatII}).
+% Рамка определяется параметрами \cmd{\fboxsep} и~\cmd{\fboxrule}
+% \\\hline\noalign{\penalty-1000}
% \multicolumn{3}{|c|}{Дополнительный стиль. Он также требует пакет
-% \package{fancybox}.}\\\hline
-% \leftcell{\texttt{wshadowbox}\smash{\mpfootnotemark[4]}
-% \\ \botstrut\\ \hline\topstrut\texttt{Wshadowbox}
-% \\ \botstrut\\ \hline\topstrut\texttt{WSHADOWBOX}}
+% \package{fancybox}.}\\*\hline
+% \leftcell{|wshadowbox|\smash{\mpfootnotemark[4]}
+% \\ \botstrut\\ \hline\topstrut|Wshadowbox|
+% \\ \botstrut\\ \hline\topstrut|WSHADOWBOX|}
% & \leftcell[50mm]{style=boxed,\\framestyle=wshadowbox\botstrut\\ \hline\topstrut
% style=Boxed,\\framestyle=wshadowbox\botstrut\\ \hline\topstrut
% style=BOXED,\\framestyle=wshadowbox}
-% &То же, что и~\texttt{boxed}, \texttt{Boxed} и~\texttt{BOXED}
+% &То же, что и~|boxed|, |Boxed| и~|BOXED|
% соответственно. Рамка \cmd{\fbox} заменена на \cmd{\wshadowbox},
% похожую на \cmd{\shadowbox} (но создаёт белую тень, или
-% края <<второй копии>>) из пакета \package{fancybox} (см.~пример на~с.~{fig:floatflt:WcatI}), для задания рамки
-% используются те же параметры, что и~в~стиле \texttt{wshadowbox}
+% края «второй копии») из пакета \package{fancybox} (см.~пример на~с.~{fig:floatflt:WcatI}), для задания
+% рамки используются те же параметры, что и~в~стиле |wshadowbox|
% \\\hline
-%^^A% {\floatfoot*{When there is set float style with frame around object of
-%^^A% fitted to the text width (like \texttt{Boxed}, etc.), and
+%^^A% {\floatfoot*{When there is set float style with frame around object is
+%^^A% fitted to the box width (like |Boxed|, etc.), and
%^^A% \cmd{\floatbox} macro uses \cmd{\FBwidth} command as \meta{width}
-%^^A% option, which sets box width equal to float object's width (see
-%^^A% page~\pageref{sec:floatbox}), the width of all float other elements
-%^^A% in this case enlarged to get width of framed object.\vspace{-3pt}\par
+%^^A% option, which sets box width equal to float object's width, the width of all float other elements
+%^^A% in this case enlarged to get width of framed object
+%^^A% (see figure~\ref{fig:setup:FBwidth:Boxed} on the page~\pageref{fig:setup:FBwidth:Boxed}).\vspace{-3pt}\par
%^^A% \rule{1in}{.4pt}\vspace{2pt}\parindent15pt
% \noalign{\floatfoot*{Если задан стиль флота, где ширина рамки вокруг объекта, равна ширине
-% основного текста или предопределённой ширине (как \texttt{Boxed}, etc.),
+% основного текста или предопределённой ширине (как |Boxed|, etc.),
% и~в~опции \meta{width} макрокоманды \cmd{\floatbox} определена команда
% \cmd{\FBwidth}, устанавливающая ширину всех элементов флота равной
-% ширине объекта (см.~с.~\pageref{sec:floatbox}), ширина остальных элементов
-% флота в~этом случае увеличивается, до ширины равной обведённому рамкой объекту.\vspace{-3pt}\par
+% ширине объекта, ширина остальных элементов
+% флота в~этом случае увеличивается, до ширины равной обведённому рамкой объекту
+% (см.~рис.~\ref{fig:setup:FBwidth:Boxed} на с.~\pageref{fig:setup:FBwidth:Boxed}).\vspace{-3pt}\par
% \rule{1in}{.4pt}\vspace{2pt}\parindent15pt
%
%^^A% \mpfootnotemark[1]{The styles co-named and analogous to \package{float} package style.}
@@ -2281,7 +2697,7 @@
%^^A%
%^^A% \mpfootnotemark[4]{During usage of these styles in
%^^A% \env{floatrow} environment you ought to enlarge
-%^^A% space between floats, using key \texttt{floatrowsep}.}
+%^^A% space between floats, using key |floatrowsep|.}
% \mpfootnotemark[1]{Стили аналогичны предложенным пакетом \package{float}.}
%
% \mpfootnotemark[2]{Этот стиль используется в~файле образцов \file{frsmaple01.tex}}
@@ -2295,20 +2711,15 @@
%
% \endgroup
%
-%
-%
-% \RestoreSpaces
-%
%^^A%\pagebreak[4]%^^A%protect clubs
%
%^^A% \subsubsection{Font settings}\label{setup:start}
% \subsubsection{Настройки шрифта}\label{setup:start}
-%
% \DescribeMacro{font=}\label{setup:font}%^^A
%^^A% Defines font for float object contents. Option
%^^A% analogous to |font| key in |\captionsetup| stuff.\nopagebreak
% Определяет шрифт для содержимого плавающего объекта. Опции аналогичны
-% ключу \texttt{font=}
+% ключу |font=|
% в~команде |\captionsetup|.\nopagebreak
%
%^^A% Available font setting options:
@@ -2334,10 +2745,10 @@
% \item[sf] {\sffamily рубленый шрифт}
% \item[tt] {\ttfamily шрифт пишущей машинки}
%^^A% \item[...]
-%^^A% You may create your own options with |\DeclareFloatFont| command,
+%^^A% You may create your own options with the |\DeclareFloatFont| command,
%^^A% see page~\pageref{ssec:declfont}.
% \item[...]
-% Вы можете создать свои определения с~помощью команды~|\DeclareFloatFont|,
+% Вы можете создать свои собственные определения с~помощью команды~|\DeclareFloatFont|,
% см.~с.~\pageref{ssec:declfont}.
% \end{Options}
%
@@ -2346,7 +2757,7 @@
% \begin{quote}
% |font=small|
% \end{quote}
-% или
+% (что используется в~данной документации) или
% \begin{quote}
% |font={small,sf}|\quad .
% \end{quote}
@@ -2358,55 +2769,83 @@
%^^A% uses |\captionsetup| mechanism (because |\floatfoot| macro
%^^A% uses \package{caption} mechanism). By default the font size
%^^A% of float foot text equals to footnote text: |footfont=footnotesize|.
-% Определяет шрифт для экспликаций (задаваемые командой |\floatfoot|,
+% Определяет шрифт для экспликаций (дополнительных описаний к~флоту,
+% задаваемые командой |\floatfoot|,
% см.~\textsl{\sectionname}~\ref{subsec:floatfoot}).
-% Эта команда использует настройки, заданные командой |\captionsetup| (определение
-% |\floatfoot| базируется на командах из \package{caption}).
+% Эта команда использует настройки, заданные командой |\captionsetup| (определение команды
+% |\floatfoot| базируется на утилитах из пакета \package{caption}).
% По умолчанию шрифт для экспликаций аналогичен
% шрифту сносок: |footfont=footnotesize|.
%
-% \RestoreSpaces
-%^^A% \subsubsection{Position of Caption and of Other Elements}
-% \subsubsection{Размещение подписей и~других элементов}
+%\RestoreSpaces
+%^^A% \paragraph{Font Settings for longtable.}
+% \paragraph{Настройки шрифта для окружения \env{longtable}. }
+%^^A% The font settings loaded in |\floatsetup|
+%^^A% in \env{longtable} environment expand to captions\footnote
+%^^A% {The version 3.1 of \package{caption} package will correct that.}.
+%^^A% In this case, when you write something like
+% Установки шрифта, заданные в~команде~|\floatsetup|
+% в~окружении \env{longtable} могут распространяться и~на подписи\footnote
+% {Версия 3.1 пакета \package{caption} это исправляет.}.
+% В~этом случае, когда вы задаёте, что-то типа
+% \begin{Quote}
+% |\floatsetup{font={sf,scriptsize,it}...|
+% \end{Quote}
+% или
+% \begin{Quote}
+% |\floatsetup[longtable]{font={sf,scriptsize,it}...|
+% \end{Quote}
+%^^A% for floats (or for [long]tables only), you ought to restore correct
+%^^A% font size, family, shape (here) and series for caption contents and write:
+% для объектов (или только в~опции [longtable] команды~|\floatsetup|),
+% нужно вернуть нужные
+% размер, семейство, начертание (в~данном случае) и~насыщенность шрифта, хотя бы так:
+% \begin{Quote}
+% |\captionsetup{font={rm,small,up}...|
+% \end{Quote}
+% или
+% \begin{Quote}
+% |\captionsetup[longtable]{font={rm,small,up}...|
+% \end{Quote}
%
+%^^A% \subsubsection{Position of Caption}
+% \subsubsection{Размещение подписей}
% \DescribeMacro{capposition}\label{setup:capposition}%^^A
-%^^A% Defines position of captions. It is similar to \texttt{position=}
+%^^A% Defines position of captions. It is similar to |position=|
%^^A% key in \package{caption} package, but it has two additional
-%^^A% options\footnote{The option \texttt{auto} isn't used by
-%^^A% \texttt{capposition=}.}: \texttt{TOP}%^^A
-%^^A% \FRmpar{Caption above table object}{FAD:CaptionAboveTableII},
-%^^A% if you prefer to align captions
+%^^A% options\footnote{The option |auto| isn't used by
+%^^A% |capposition=|.}:~\nobreak\qquad1)\nobreak\enskip|TOP|%^^A
+%^^A% \FRmpar{Caption above\\ table object}{FAD:CaptionAboveTableII}, if you prefer to align captions
%^^A% above objects, in the case of beside floats (in \env{floatrow}
-%^^A% environment), by the top line; and \texttt{beside} to put caption
-%^^A% beside object (this option could be more preferable in settings
+%^^A% environment), by the top line;~\nobreak\qquad2)\nobreak\enskip|beside| to put caption
+%^^A% beside object (this option could be more popular in settings
%^^A% for one environment, see about |\thisfloatsetup| on the
%^^A% page~\pageref{thisfloatsetup}):
% Определяет расположение подписей. Ключ похож
-% на ключ \texttt{position=} пакета \package{caption}, но он имеет
-% две дополнительные опции\footnote{Опция \texttt{auto} не используется ключом
-% \texttt{capposition=}.}: \qquad\texttt{TOP},%^^A
+% на ключ |position=| пакета \package{caption}, но он имеет
+% две дополнительные опции\footnote{Опция |auto| не используется ключом
+% |capposition=|.}:~\nobreak\qquad1)\nobreak\enskip|TOP|,%^^A
% \FRmpar{Подпись над таблицей}{FAD:CaptionAboveTableII}
% если вы хотите выровнять подписи,
% расположенные сверху объектов, расположенных в~одном ряду
% (окружение \env{floatrow}),
-% по верхней строке; \qquad и~\texttt{beside} для размещения подписи
+% по верхней строке;~\nobreak\qquad2)\nobreak\enskip|beside| для размещения подписи
% сбоку от объекта (эта опция
-% может быть более предпочтительна для настроек отдельного окружения флота, см. о~команде
+% может быть более популярна для настроек отдельного окружения флота, см. о~команде
% |\thisfloatsetup| на~с.~\pageref{thisfloatsetup}):
-% \par\RestoreSpaces
% \begin{Options}{\OptionLabel}
%^^A% \item[top] caption above object (or |\captop| command,
%^^A% for |\floatbox|'s option, see below);
% \item[top] подписи сверху объекта;
%^^A% \item[TOP] caption above object and also aligned by top line in float
%^^A% row (or |\CAPTOP| command).
-%^^A% For example the \texttt{Plaintop} style is the variant of
-%^^A% \texttt{plaintop} where used |capposition=TOP| settings,
+%^^A% For example the |Plaintop| style is the variant of
+%^^A% |plaintop| where used |capposition=TOP| settings,
%^^A% see tables~\ref{tab:row:tabIII}--\ref{tab:row:tabIV};
% \item[TOP] подписи сверху объекта и~при размещении флотов рядом
% (\env{floatrow}) они выравниваются
% по верху.
-% Так, стиль \texttt{Plaintop} \cdash--- вариант стиля \texttt{plaintop}
+% Так, стиль |Plaintop| \cdash--- вариант стиля |plaintop|
% где определена |capposition=TOP|,
% см. табл.~\ref{tab:row:tabIII:CAPTOP}--\ref{tab:row:tabIV:CAPTOP};
%^^A% \item[bottom] caption below object (or |\capbot| command);
@@ -2417,9 +2856,11 @@
% %^^A\FRmpar{Подпись сбоку}{FAD:BesideCaptionII}
% \end{Options}
%
+%^^A% Compare two examples:
+% Сравните два примера:
% \begin{Quote}
-% |\floatsetup[table]{|\hyperref[setup:style]{\texttt{style}}%^^A
-% |=plain,capposition=top}%|${}\equiv\texttt{style=plaintop}$
+% |\floatsetup[table]{|\FRkey{style}%^^A
+% |=plain,capposition=top}%|${}\equiv|style=plaintop|$
% \end{Quote}
% \DeleteShortVerb{\|}%
% \begingroup
@@ -2464,9 +2905,9 @@
% \endgroup
% \MakeShortVerb{\|}%
%
-% \begin{Quote}
-% |\floatsetup[table]{|\hyperref[setup:style]{\texttt{style}}|=plain,capposition=TOP}%|${}\equiv\texttt{style=Plaintop}$
-% \end{Quote}
+% \allowpostlistbreaks[-4]\begin{Quote}
+% |\floatsetup[table]{|\FRkey{style}|=plain,capposition=TOP}%|${}\equiv|style=Plaintop|$
+% \end{Quote}\allowpostlistbreaks
% \DeleteShortVerb{\|}%
% \begingroup
% \floatsetup[table]{style=plain,capposition=TOP}
@@ -2511,22 +2952,22 @@
% \endgroup
% \MakeShortVerb{\|}%
%
-%^^A% \emph{Note}. The option \texttt{TOP} uses |\label|---|\ref|
+%^^A% \emph{Note}. The option |TOP| uses |\label|---|\ref|
%^^A% mechanism, so to get necessary result with it you must run \LaTeX{}
%^^A% twice (when you make changes in contents which could change number
%^^A% of lines you get correct result also on the second run).
-% \emph{Замечание}. Опция \texttt{TOP} использует механизм |\label|---|\ref|,
+% \emph{Замечание}. Опция |TOP| использует механизм |\label|---|\ref|,
% поэтому нужный результат получится после второй обработки \LaTeX'а
% (изменения, которые изменили количество строк также требуют
% двойной обработки).
%
-% \medskip\noindent
+%^^A% \subsubsection{Position of Beside Caption}
+% \subsubsection{Расположение подписи сбоку}
% \DescribeMacro{capbesideposition}\label{setup:capbesideposition}%^^A
%^^A% Defines position of beside captions: vertical and horizontal.
%^^A% For horizontal position there are defined four options:
-% Определяет вертикальное и~горизонтальное расположение подписи рядом с~объектом.
+% Определяет вертикальное и~горизонтальное расположение подписи сбоку.
% Для горизонтального расположения определены следующие четыре опции:
-% \par\RestoreSpaces
% \begin{Options}{\OptionLabel}
% \item[left]
%^^A% caption is printed to the left side of object;
@@ -2536,15 +2977,22 @@
% подпись помещается с~правой стороны от объекта;
% \item[inside]
%^^A% caption is printed in binding side of page if |twoside| option
-%^^A% switched on in document class;
+%^^A% switched on in document class and key \FRkey{facing}|=yes| is used;
+%^^A% in |oneside| option of document (and key |facing=no| is used),
+%^^A% caption is printed at the left side;
% подпись помещается со стороны корешкового поля, если включена опция |twoside|
-% в~классе документа;
+% в~классе документа и~используется ключ \FRkey{facing}|=yes|; если включена
+% опция |oneside| (или используется ключ \FRkey{facing}|=no|), подпись печатается слева;
% \item[outside]
-%^^A% least popular option: caption printed in
-%^^A% outer side of page if |twoside| option switched on
-%^^A% in document class.
+% least popular option: caption printed in
+% outer side of page if |twoside| option switched on
+% in document class and key |facing=yes| is used;
+% in |oneside| option of document (or key |facing=no| is used),
+% caption is printed at the right side.
% менее популярная опция: подпись помещается со стороны внешнего поля,
-% если опция |twoside| включена.
+% если опция документа |twoside| включена и~используется ключ \FRkey{facing}|=yes|;
+% если включена опция |oneside| (или используется ключ \FRkey{facing}|=no|),
+% подпись печатается справа.
% \end{Options}
%
%^^A% For vertical position there are defined three options
@@ -2558,7 +3006,7 @@
% подпись выравнивается по низу объекта;
% \item[center]
%^^A% caption aligned to the center of float contents.
-% подпись и объекта выравниваются по средней линии.
+% подпись и объект выравниваются по средней линии.
% \end{Options}
%^^A% You may define position of beside caption by following:
% Вы можете определить расположение подписи рядом следующим образом:
@@ -2570,7 +3018,8 @@
% См.~примеры в~файле \file{frsample02.tex} со всеми возможными вариантами
% размещения подписей сбоку.
%
-% \medskip\noindent
+%^^A% \subsubsection{Defining width of Beside Caption}
+% \subsubsection{Задание ширины для подписи сбоку}
% \DescribeMacro{capbesidewidth}\label{setup:capbesidewidth}%^^A
%^^A% Defines width of beside caption (this option could be more preferable
%^^A% in settings for one environment, see about |\thisfloatsetup| on the
@@ -2578,81 +3027,166 @@
% Определяет ширину подписи сбоку. Эта опция более предпочтительна для
% отдельного окружения, см.~о~команде |\thisfloatsetup| на
% с.~\pageref{thisfloatsetup}. Можно задать:
-% \par\RestoreSpaces
+% \RestoreSpaces
% \begin{quote}
% |capbesidewidth=4cm|\quad.
% \end{quote}
-%^^A% If you'll write \texttt{capbesidewidth=none} or
-%^^A% \texttt{capbesidewidth=sidefill} (this is default key setting), the
-%^^A% width of caption will be counted by usual way, accordingly
+%^^A% (see figure~\ref{capbesideframeI}). If you'll write |capbesidewidth=none| or
+%^^A% |capbesidewidth=sidefil| (this is default key setting), the
+%^^A% width of caption will be calculated by usual way, accordingly
%^^A% to float width (i.e. occupies the rest width of float box, see
%^^A% figure~\ref{fig:beside:mouse} on the page~\pageref{fig:beside:mouse}).
-% Если вы зададите \texttt{capbesidewidth=none} или
-% \texttt{capbesidewidth=sidefill}
+% (см.~рис.~\ref{capbesideframeI}). Если вы зададите |capbesidewidth=none| или
+% |capbesidewidth=sidefil|
% (настройка по умолчанию), ширина подписи будет рассчитана
% относительно ширины объекта (т.\,е. займёт остальное пространство
% в~боксе, см.~рис.~\ref{intro:beside:FBwidth} на с.~\pageref{intro:beside:FBwidth}).
%
+%^^A% \subsubsection{Defining Width of Object}\label{sec:wd:object}
+% \subsubsection{Определение ширины объекта}\label{sec:wd:object}
+% \noindent
+% \DescribeMacro{floatwidth}\label{setup:floatwidth}%^^A
+%^^A% It is used for redefinition of width of objects.
+%^^A% This key, similar to |capbesidewidth=|, page~\pageref{setup:capbesidewidth},
+% Используется для переопределения ширины объектов, содержимого флотов.
+% Этот ключ используется так же, как и~|\capbesidewidth=|:
+% \begin{Quote}
+% |floatwidth=.35\hsize|
+% \end{Quote}
+% или
+% \begin{Quote}
+% |floatwidth=7cm|
+% \end{Quote}
+%^^A% could be used at first
+%^^A% for settings of one floating environment:
+%^^A% (see page~\pageref{thisfloatsetup} about settings for current floating environment and |\thisfloatsetup|).\pagebreak[1]
+% Он в~первую очередь предназначен для настроек одного окружения
+% (см.~о~настройках для конкретного окружения флота и~о~команде |\thisfloatsetup|
+% на~с.~\pageref{thisfloatsetup}).
+%
+% \begingroup
+% \begin{Quote}
+% \begin{preamble}
+% |\floatsetup[figure]{|\FRkey{margins}|=raggedright}|\nopagebreak
+% \end{preamble}
+% |\|\FRkey{thisfloatsetup}%^^A
+% |[figure]{floatwidth=.35\hsize}|\nopagebreak
+% |\begin{figure}|
+% | \includegraphics[width=\hsize]{Bear}|
+% | \caption{...}\label{...}|\nopagebreak
+% |\end{figure}|
+% \end{Quote}%
+%
+% \floatsetup[figure]{margins=raggedright}
+% \thisfloatsetup{floatwidth=.35\hsize}
+% \begin{figure}[H]
+% \setlength\unitlength{\hsize/100}\input{Bear.picture}%^^A
+% \caption[Рисунок с~настройками ширины бокса \texttt{floatwidth=0.3}\cmd{\hsize},
+% подпись снизу]{Рисунок с~настройками ширины бокса \texttt{floatwidth=0.3}\cmd{\hsize}}%
+% \label{fig:floatwidth}
+% \end{figure}%
+% \endgroup
+%
+% \begingroup
+% \begin{Quote}%
+% |\|\FRkey{thisfloatsetup}%^^A
+% |{floatwidth=.35\hsize,|\FRkey{capbesidewidth}|=sidefil,|\nopagebreak
+% | |\FRkey{capposition}|=beside,|\FRkey{capbesideposition}|=right}|
+% \end{Quote}%
+%
+% \thisfloatsetup{floatwidth=.35\hsize,capbesidewidth=sidefil,
+% capposition=beside,capbesideposition=right}
+% \begin{figure}[H]
+% \setlength\unitlength{\hsize/100}\input{Bear.picture}%^^A
+% \caption[Рисунок с~настройками ширины бокса \texttt{floatwidth=0.3}\cmd{\hsize},
+% подпись сбоку]{Подпись сбоку рисунка с~настройками ширины бокса \texttt{floatwidth=0.3}\cmd{\hsize}}%^^A
+% \label{fig:bear}
+% \end{figure}%
+% \endgroup
+%^^A% These examples you can write with box commands |\ffigbox[.3\hsize]| and |\fcapside[.3\hsize]| consequently.
+% (Оба этих примера можно переписать, используя соответственно команды боксов
+% |\ffigbox[.3\hsize]| и~|\fcapside[.3\hsize]|.)
+%
+%^^A% If you use option |floatwidth=sidefil| for objects with beside
+%^^A% captions (in the case of key |capbesidewidth=|,
+%^^A% \DescribeMacro{capbesidewidth}\label{setup:capbesidewidth}%^^A
+%^^A% page~\ref{setup:capbesidewidth}, uses absolute
+%^^A% value, like \texttt{capbesidewidth=4cm}) the object (instead of caption)
+%^^A% occupies the rest space of float box (see appendix,
+%^^A% figure~\ref{fig:capbeside:trick} on the page~\pageref{fig:capbeside:trick})
+% Если вы используете опцию |floatwidth=sidefil| для флотов с~подписью
+% сбоку (в~случае если в~|capbesidewidth=|,
+% задано абсолютное значение
+% ширины, например, \texttt{capbesidewidth=4cm}) содержимому объекта (вместо подписи) будет отведено остальное
+% пространство в~боксе (см. также рис.~\ref{capbesideframeI} на~с.~\pageref{capbesideframeI}
+% приложение, рис.~\ref{fig:capbeside:trick} на
+% с.~\pageref{fig:capbeside:trick})
+%
+%^^A% \subsubsection{Other Settings for Beside Captions}
+% \subsubsection{Другие установки для подписей сбоку}
% \medskip\noindent
% \DescribeMacro{capbesideframe}\label{setup:capbesideframe}%^^A
%^^A% This boolean key declares whether beside caption stays near framed object
-%^^A% (\texttt{capbesideframe=yes}) in this case caption lines aligned by top
+%^^A% (|capbesideframe=yes|) in this case caption lines aligned by top
%^^A% or bottom of frame; otherwise caption lines will be aligned with top or
-%^^A% bottom of framed object's \emph{contents} (\texttt{capbesideframe=no}).
+%^^A% bottom of framed object's \emph{contents} (|capbesideframe=no|).
% Этот ключ (работает как булев параметр) декларирует, размещена ли подпись рядом
-% с~объектом, заключённым в~рамку (\texttt{capbesideframe=yes}): в~этом случае
+% с~объектом, заключённым в~рамку (|capbesideframe=yes|): в~этом случае
% строки подписи будут выравнивается по верху или низу рамки;
% в~противном случае со строками
% подписи будут выровнены верх или низ
-% \emph{содержимого} объекта (\texttt{capbesideframe=no}).
-%^^A% This key was switched on in the example on the page~\pageref{fig:subfig:catsI}.
-% Данный ключ включён в~примере на~с.~\pageref{fig:subfig:catsI}.
+% \emph{содержимого} объекта (|capbesideframe=no|).
% \newcommand\TEXTBOX[1][]{\par
-% Here goes first line of text \text\par
+% Here goes first line of text \Text\par
% There goes second line of text#1\par
-% Thence goes third line of text \text\par
+% Thence goes third line of text \Text\par
% Hence goes fourth line of text}
-% \def\text{{\mdseries And more text and some more text and a bit more text and
-% a little more text and a little piece of text to fill space}}
+% \def\Text{{\mdseries and more text and some more text and a bit more text and
+% a little more text to fill space}}
%\begingroup
-% \begin{Quote}\openup.5pt
-% \meta{preamble}
-% |\floatsetup[figure]{|\hyperref[setup:style]{\texttt{style}}|=Boxed,|%^^A
-% \hyperref[setup:frameset]{\texttt{frameset}}|={\fboxsep8pt},|
-% | |\hyperref[setup:objectset]{\texttt{objectset}}|=justified,|%^^A
-% |capbesideframe=no,capbesideposition={right,top}}|
+% \begin{Quote}
+% \begin{preamble}\nopagebreak
+% |\floatsetup[figure]{|\FRkey{style}|=Boxed,|%^^A
+% \FRkey{frameset}|={\fboxsep8pt},|
+% | |\FRkey{objectset}|=justified,|
+% | capbesideposition={right,top},capbesideframe=yes}|
% |\captionsetup[figure]{...,strut=no}|
-% \meta{preamble}
-% |\|\hyperref[setup:thisfloatsetup]{\texttt{thisfloatsetup}}%^^A
-% |{|\hyperref[setup:capposition]{\texttt{capposition}}|=beside,|
-% | |\hyperref[setup:floatwidth]{\texttt{floatwidth}}|=sidefil,|%^^A
-% \hyperref[setup:capbesidewidth]{\texttt{capbesidewidth}}|=4cm}|
+% \end{preamble}
+% |\|\FRkey{thisfloatsetup}%^^A
+% |{|\FRkey{capposition}|=beside,|
+% | |\FRkey{floatwidth}|=sidefil,|%^^A
+% \FRkey{capbesidewidth}|=4cm}|
% |\begin{figure}|
% |\fcapside|
% | {...}|
-% | {\caption{...}\label{...}}|
+% | {\caption{...}\label{...}}|\nopagebreak
% |\end{figure}|
% \end{Quote}%
-% \floatsetup[figure]{style=Boxed,frameset={\fboxsep8pt},capbesideframe=no,objectset=justified,
+% \floatsetup[figure]{style=Boxed,frameset={\fboxsep8pt},capbesideframe=yes,objectset=justified,
% capbesideposition={right,top},footnoterule=limited}
% \captionsetup[figure]{strut=no}
% \thisfloatsetup{capposition=beside,floatwidth=sidefil,capbesidewidth=4cm}
% \begin{figure}[H]
% {\TEXTBOX}
-% {\caption{Подпись сбоку объекта в~рамке, выровнена по верху содержимого объекта}%%^^A
+% {\caption{Подпись сбоку объекта в~рамке, выровнена по верху рамки}%%^^A
% \label{capbesideframeI}}%
% \end{figure}
% \begin{Quote}\openup.5pt
-% |\|\hyperref[setup:thisfloatsetup]{\texttt{thisfloatsetup}}%^^A
-% |{|\hyperref[setup:capposition]{\texttt{capposition}}|=beside,|
-% | |\hyperref[setup:floatwidth]{\texttt{floatwidth}}|=9cm,|%^^A
-% \hyperref[setup:capbesidewidth]{\texttt{capbesidewidth}}|=sidefil}|
+% \begin{preamble}\nopagebreak
+% |\floatsetup[figure]{...,capbesideframe=no,...}|
+% |...|
+% \end{preamble}
+% |\|\FRkey{thisfloatsetup}%^^A
+% |{|\FRkey{capposition}|=beside,|
+% | |\FRkey{floatwidth}|=9cm,|%^^A
+% \FRkey{capbesidewidth}|=sidefil}|
% \end{Quote}%
+% \floatsetup[figure]{capbesideframe=no}
% \thisfloatsetup{capposition=beside,floatwidth=9cm,capbesidewidth=sidefil}
% \captionsetup{strut=no}
% \begin{figure}[H]
% {\TEXTBOX}
-% {\caption{Подпись сбоку объекта в~рамке, выровнена по верху рамки}%
+% {\caption{Подпись сбоку объекта в~рамке, выровнена по верху содержимого объекта}%
% \label{row:text:I}}%
% \end{figure}
%\endgroup
@@ -2662,23 +3196,23 @@
%^^A% and depth, which are set accordingly to current |\baselineskip|).
% \noindent\emph{Замечание \textsf{floatrow}}.
% Для примеров выше также был задан специальный ключ |\captionsetup{strut=no}|, который
-% отменяет <<распорки>> вначале и~в~конце подрисуночной подписи (|\strut|: специальные невидимые линейки,
-% высота и~ширина которых изменяется в~зависимости от заданного в~данный момент интерлиньяжа, |\baselineskip|).
+% отменяет «распорки» вначале и~в~конце подрисуночной подписи (|\strut|: специальные невидимые линейки,
+% высота и~глубина которых изменяется в~зависимости от заданного в~данный момент интерлиньяжа, |\baselineskip|).
%
%
% \penalty-5000
-% \RestoreSpaces
%^^A% \subsubsection{Defining Float Foot Position (Legends and Footnotes)}%
-% \subsubsection{Определение расположения экспликаций (и~сносок)}
+% \subsubsection{Определение расположения экспликаций и~сносок}
% \label{sec:footposition}
%
% \DescribeMacro{footposition}\label{setup:footposition}%^^A
%^^A% Defines position of |\footnote|'s and |\floatfoot|'s in float box
%^^A% with above/below captions.
+%^^A% (See examples in file \file{frsample01.tex}.)
% Определяет расположение содержимого команд |\footnote| и~|\floatfoot| внутри
-% бокса плавающего объекта с~подписями сверху/снизу.
+% бокса плавающего объекта с~подписями сверху/снизу. (См. примеры в~файле~\file{frsample01.tex}.)
% \begin{Options}{\OptionLabel}
-% \par\RestoreSpaces
+% \RestoreSpaces
% \item[default]
%^^A% if caption above float object foot material is placed below float
%^^A% object otherwise---below caption;
@@ -2691,46 +3225,66 @@
%^^A% always placed at the bottom of float box.
% всегда помещаются внизу бокса.
% \end{Options}
-%^^A% See examples in file \file{frsample01.tex}. In the case of caption
+%^^A% In the case of caption
%^^A% beside float object, footnotes and foot text always placed below
%^^A% caption.
-% См.~примеры в~файле \file{frsample01.tex}. В~случае подписи стоящей сбоку,
+% В~случае подписи стоящей сбоку,
% сноски и~экспликации всегда помещаются под подписью.
%
-%^^A% \subsubsection{Defining Vertical Alignment}\label{sec:heightadjust}
-% \subsubsection{Определение вертикального выравнивания}\label{sec:heightadjust}
+%^^A% Next example shows the usage of |caption| option:
+% Следующий пример демонстрирует использование опции |caption|:
+%\begin{Quote}
+%\begin{preamble}
+%|\floatsetup{|\FRkey{style}|=ruled,footposition=caption}|
+%\end{preamble}
+% |\begin{figure}|
+% | ...|
+% | \caption{...}\label{...}%|
+% | \floatfoot{...}|
+% |\end{figure}|
+%\end{Quote}%
+%\begingroup\floatsetup[figure]{style=ruled,footposition=caption}
+% \begin{figure}[H]
+% \unitlength\unitlength\input{TheCat.picture}
+% \caption{Рисунок в~стиле \texttt{ruled} с~экспликацией, помещённой сразу под содержимым подписи}%
+% \label{ruled:footposition}%
+% \floatfoot{На рисунке изображение очень симпатичной мордочки очень забавной рыжей и~очень
+% пушистой кошки. У~кошки жёлтые глаза, большие уши, маленький розовый носик и~толстые белые усы}
+% \end{figure}%^^A
+%\endgroup
%
+%^^A% \subsubsection{Defining Vertical Alignment}\label{sec:heightadjust}
+% \subsubsection{Вертикальное выравнивание элементов флота}\label{sec:heightadjust}
% \DescribeMacro{heightadjust}\label{setup:heightadjust}%^^A
%^^A% Defines whether the common maximum height of objects
%^^A% or/and captions in \env{floatrow} will be used. It has
%^^A% following options
% Определяет будет ли использоваться в~ряду (\env{floatrow}) максимальная
% высота объекта
-% и/или подписи в~качестве общей. ключ имеет следующие опции
-% \par\RestoreSpaces
+% и/или подписи в~качестве общей. Ключ имеет следующие опции
% \begin{Options}{\OptionLabel}\samepage
% \item[all]
%^^A% adjust both caption and object heights (e.g. for styles
-%^^A% \texttt{Ruled} and \texttt{BOXED});
+%^^A% |Ruled| and |BOXED|);
% выровнять высоты объектов и подписей по максимальной
-% высоте (например, используется стилями \texttt{Ruled} и \texttt{BOXED});
+% высоте (например, используется стилями |Ruled| и |BOXED|);
% \item[caption]
-%^^A% adjust caption heights (e.g. for styles \texttt{Plaintop});
+%^^A% adjust caption heights (e.g. for styles |Plaintop|);
% выровнять высоты подписей по максимальной высоте
-% (используется стилем \texttt{Plaintop});
+% (используется стилем |Plaintop|);
% \item[object]
-%^^A% adjust object heights (e.g. for styles \texttt{Boxed});
+%^^A% adjust object heights (e.g. for styles |Boxed|);
% выровнять высоты объектов по максимальной высоте
-% (используется стилем \texttt{Boxed});
+% (используется стилем |Boxed|);
% \item[none]
%^^A% nothing to be adjusted;
-% никакие высоты не изменяются (используется стилем \texttt{plain});
+% никакие высоты не изменяются (используется стилем |plain|);
% \item[nocaption]
%^^A% no adjusting for captions;
% высоты подписей не изменяются;
% \item[noobject]
%^^A% no adjusting for objects;
-% высоты объектов не изменяются;
+% высоты объектов не изменяются;\vspace*{-.5\baselineskip}
% \end{Options}
%^^A% You may define height adjustment even as followed:
% Вы можете определить, как делать общие высоты, даже так:
@@ -2738,6 +3292,59 @@
% |heightadjust={caption,noobject}|\quad.
% \end{quote}
%
+%^^A% The following two examples show |ruled| and |Ruled| style.
+%^^A% Both styles use |heightadjust=all| key option, but first style
+%^^A% uses |capposition=top|, and second one---|capposition=TOP|.
+% Два следующих примера демонстрируют стили |ruled| и~|Ruled|.
+% Оба стиля используют ключ |heightadjust=all|, но первый стиль
+% использует |capposition=top|, а~второй \cdash--- |capposition=TOP|.
+%\begin{Quote}
+%\begin{preamble}
+%|\floatsetup{|\FRkey{style}|=ruled}|
+%\end{preamble}
+% |\begin{figure}|
+% |\begin{|\FRkey[sec]{floatrow}|}|
+% | \|\FRkey[FB]{ffigbox}
+% | {...}{\caption{Рисунок ...}\label{...}}%|
+%
+% | \ffigbox|
+% | {\caption{Рисунок справа ...}\label{...}}{...}|
+% |\end{floatrow}|\nopagebreak
+% |\end{figure}|\vspace*{-.75\intextsep}
+%\end{Quote}%
+% \begin{figure}[H]\floatsetup{style=ruled}\killfloatstyle
+% \begin{floatrow}
+% \ffigbox
+% {\unitlength.8\unitlength\input{BlackCat.picture}}
+% {\caption{Рисунок в~стиле \texttt{ruled}}%
+% \label{leftfig:ruled}}%
+%
+% \ffigbox
+% {\caption{Рисунок справа в~ряду также использует настройки стиля \texttt{ruled}}%^^A
+% \label{rightfig:ruled}}
+% {\unitlength1.25\unitlength\input{Cat.picture}}
+% \end{floatrow}
+% \end{figure}%^^A
+%\begin{Quote}
+%\begin{preamble}
+%|\floatsetup{style=Ruled}|
+%\end{preamble}\nopagebreak
+% |...|\vspace*{-.75\intextsep}
+%\end{Quote}%
+% \begin{figure}[H]\floatsetup{style=Ruled}\killfloatstyle
+% \begin{floatrow}
+% \ffigbox
+% {\unitlength.8\unitlength\input{BlackCat.picture}}
+% {\caption{Рисунок в~стиле \texttt{Ruled}}%
+% \label{leftfig:Ruled}}%
+%
+% \ffigbox
+% {\caption{Рисунок справа в~ряду также использует настройки стиля \texttt{Ruled}}%^^A
+% \label{rightfig:Ruled}}
+% {\unitlength1.25\unitlength\input{Cat.picture}}
+% \end{floatrow}
+% \end{figure}\pagebreak[1]
+%
% \addvspace\medskipamount\noindent
% \DescribeMacro{valign}\label{setup:valign}%^^A
%^^A% Defines vertical alignment of
@@ -2756,128 +3363,139 @@
% выравнивания в~окружении \env{minipage} и~команде |\parbox|.
% Опция по умолчанию: |c|
% (центрированное вертикальное выравнивание).
-% \par\RestoreSpaces
% \begin{Options}{cc}\samepage
% \item[t]
%^^A% aligns objects by top line;
% выравнивает объекты по верхней линии;
% \item[c]
-%^^A% aligns objects by center line;
-% выравнивает объекты по средней линии;
+%^^A% aligns objects by center line (this is default for all float styles which
+%^^A% use |heightadjust=object| or |heightadjust=all| settings, see examples above);
+% выравнивает объекты по средней линии (опция по умолчанию для всех стилей,
+% которые используют ключи |heightadjust=object| или |heightadjust=all|, см.~примеры выше);
% \item[b]
%^^A% aligns objects by bottom line;
% выравнивает объекты по нижней линии;
% \item[s]
%^^A% stretches objects by full height (if it is possible).
-% растягивает объекты на всю высоту (если возможно).
+% растягивает объекты на всю высоту (если возможно).\vspace*{-.5\baselineskip}
% \end{Options}
%
-%^^A% The settings |heightadjust=object,valign=c| were used
-%^^A% in the example with figures \ref{intro:leftfig:valigned}
-%^^A% and \ref{intro:rightfig:valigned}. (Please look at the width options of |\ffigbox| commands:
-%^^A% you may set the widths in this way with \package{calc} package.)
-% Настройки |heightadjust=object,valign=c| использованы
-% в~примере с~рисунками \ref{intro:leftfig:valigned}
-% и~\ref{intro:rightfig:valigned}. (Посмотрите на задание ширины в~командах |\ffigbox|:
-% такое задание ширины можно использовать при загруженном пакете \package{calc}.)
-%\begin{Quote}%
-%\meta{preamble}\nopagebreak
-%|\floatsetup{...,heightadjust=object,valign=c,...}|\nopagebreak
-%\meta{preamble}
+%^^A% Next example (figure~\ref{BOXED:heightmod}) shows default vertical centered alignment
+%^^A% for figure with changed height (remember that empty \meta{width} option means |\hsize|).
+% Следующий пример (рис.~\ref{BOXED:heightmod}) демонстрирует вертикальную центральную
+% выключку по умолчанию для рисунка с~изменённой
+% высотой (напомним, что пустая опция \meta{width} означает |\hsize|).
+%\begin{Quote}
+%\begin{preamble}
+%|\floatsetup{style=BOXED}|
+%|\usepackage{calc}|
+%\end{preamble}
+% |\begin{figure}|\nopagebreak
+% | \|\FRkey[FB]{ffigbox}|[][\|\FRkey[FB]{FBheight}|+2cm]|\nopagebreak
+% |...|
+% |\end{figure}|\vspace*{-.75\intextsep}
+%\end{Quote}\pagebreak[1]
+% \begin{figure}[H]\floatsetup{style=BOXED}\killfloatstyle
+% \ffigbox[][\FBheight+2cm]
+% {\unitlength.95\unitlength\input{TheCat.picture}}
+% {\caption{Рисунок внутри \cmd{\ffigbox} использует опцию \meta{height}, центрируется вертикально}%
+% \label{BOXED:heightmod}}%
+% \end{figure}%^^A
+%
+%^^A% The example with figures \ref{leftfig:BOXED:valigned}
+%^^A% and \ref{rightfig:BOXED:valigned} shows |BOXED| style, which
+%^^A% uses |heightadjust=all| settings already, and
+%^^A% there was also added |valign=t|.
+% Пример с~рисунками \ref{leftfig:BOXED:valigned}
+% и~\ref{rightfig:BOXED:valigned} демонстрируют стиль |BOXED|,
+% который уже использует |heightadjust=all|,
+% здесь также задана настройка |valign=t|.
+%\begin{Quote}\openup-.5pt
+%\begin{preamble}
+%|\floatsetup{style=BOXED,valign=t}|
+%|\usepackage{calc}|
+%\end{preamble}
% |\begin{figure}|
-% |\begin{floatrow}|
-% | \ffigbox[\FBwidth+2cm]|
+% |\begin{|\FRkey[sec]{floatrow}|}|
+% | \|\FRkey[FB]{ffigbox}|[\|\FRkey[FB]{FBwidth}|+2cm]|
% | {...}|
% | {\caption{Левый ...}\label{...}}%|
%| |
-% | \ffigbox[\FBwidth+2cm]|
+% | \ffigbox[\FBwidth+2cm][2\FBheight]|
% | {\caption{Рисунок ...}\label{...}}|
% | {...}|
-% |\end{floatrow}|
+% |\end{floatrow}|\nopagebreak
% |\end{figure}|
-%\end{Quote}%
-% \begin{figure}[h!]\floatsetup{heightadjust=object,valign=c}\killfloatstyle
+%\end{Quote}\pagebreak[1]
+% \begin{figure}[H]\floatsetup{style=BOXED,valign=t}\killfloatstyle
% \begin{floatrow}
% \ffigbox[\FBwidth+2cm]
% {\input{BlackCat.picture}}
-% {\caption{Левый рисунок в~ряду использует вертикальное выравнивание по \hbox{центру}}%^^A
-% \label{intro:leftfig:valigned}}%
+% {\caption{Левый рисунок в~ряду использует вертикальное выравнивание по \hbox{верху}}%^^A
+% \label{leftfig:BOXED:valigned}}%
%
-% \ffigbox[\FBwidth+2cm]
-% {\caption{Рисунок рядом тоже использует вертикальное выравнивание по \hbox{центру}}%^^A
-% \label{intro:rightfig:valigned}}
+% \ffigbox[\FBwidth+2cm][2\FBheight]
+% {\caption{Рисунок справа тоже использует вертикальное выравнивание по \hbox{верху}}%^^A
+% \label{rightfig:BOXED:valigned}}
% {\unitlength1.25\unitlength\input{Cat.picture}}
% \end{floatrow}
% \end{figure}%^^A
+%^^A% Please look at the \meta{height} and \meta{width} options of |\ffigbox|
+%^^A% commands of the figure~\ref{BOXED:heightmod}
+%^^A% and beside figures\ref{leftfig:BOXED:valigned}, \ref{rightfig:BOXED:valigned} consequently:
+%^^A% you may set the height and widths in this way with \package{calc} package.
+%^^A% Right figure has double height in the \meta{height} argument of |\ffigbox|.
+% Посмотрите на задание ширины и~высоты в~опциях \meta{height} и~\meta{width} команды |\ffigbox|
+% в~рисунке~\ref{BOXED:heightmod}
+% и~в~двух рисунках~\ref{leftfig:BOXED:valigned}, \ref{rightfig:BOXED:valigned} соответственно:
+% такое задание ширины можно использовать при загруженном пакете \package{calc}.
+% У~правого рисунка в~ряду задана двойная высота в~аргументе \meta{height} команды |\ffigbox|.
%
%^^A% \subsubsection{Facing Layout}
% \subsubsection{Оформление для разворотов}
-%
% \DescribeMacro{facing}\label{setup:facing}%^^A
-%^^A% This key defines whether facing layout used
-%^^A% for floats. This key works if |twoside| option switched on in
-%^^A% document class.
+%^^A% This key defines whether facing layout is used
+%^^A% for floats, if it switched on, key options, which create different layout for even and odd pages
+%^^A% are switched on. This key works if |twoside| option is switched on inside the
+%^^A% document class line.
% Этот ключ определяет будет ли использоваться оформление флотов
-% для разворотов (различное
-% оформление чётных и нечётных полос).
+% для разворотов (различное, обычно зеркальное
+% оформление чётных и нечётных полос) если он включён, опции ключей, которые создают различный
+% макет для чётных и~нечётных полос будут также включены.
% Этот ключ работает, если включена опция |twoside| в~классе документа.
%
-%^^A% The most popular usage of |facing| key is in the case, when beside captions are placed to the inner sides
-%^^A% of pages. The figures~\ref{intro:beside} and~\ref{intro:beside:FBwidth} at beginning of the document
-%^^A% illustrate these options---%^^A
+%^^A% The most popular usage of |facing| key is printing of
+%^^A% beside captions to the inner sides of pages with option
+%^^A% |capbesideposition=inside| (the opposite option is |capbesideposition=outside|)
+%^^A% works together with switched |facing=yes| key.
+% Наиболее популярное использование ключа |facing| \cdash---
+% размещение подрисуночных подписей сбоку к~корешку с~помощью
+% опции |capbesideposition=inside| (а~также |capbesideposition=outside|)
+% которая работает вместе с~ключом |facing=yes|.
+%
+%^^A% The figures~\ref{intro:beside} and~\ref{intro:beside:FBwidth} with beside captions
+%^^A% in the Introduction illustrate these options---%^^A
%^^A% \texttt{facing=yes,\allowbreak capbesideposition=inside}.
-% Наиболее популярное использование ключа |facing|: размещение подрисуночных подписей сбоку к~корешку.
-% Рисунки~\ref{intro:beside} и~\ref{intro:beside:FBwidth}
-% иллюстрируют применение этой опции \cdash---
+% Рисунки~\ref{intro:beside} и~\ref{intro:beside:FBwidth} с~подписями сбоку
+% во введении иллюстрируют опции \cdash---
% \texttt{facing=yes,\allowbreak capbesideposition=inside}.
%
-%
-% \RestoreSpaces
-%^^A% \subsubsection{Defining Float Margins and Object Settings}
-% \subsubsection{Поля вокруг флотов и~настройка
-% для содержимого объекта}\label{sec:set:box}
-%
-% \DescribeMacro{margins}\label{setup:margins}%^^A
-%^^A% Defines margins of alone float boxes with
-%^^A% captions above/below, of float boxes with beside captions, and of
-%^^A% \env{floatrow} environments. It has following three predefined
-%^^A% options:
-% Определяет поля для отдельных флотов с~подписями сверху/снизу,
-% для отдельных флотов с~подписями сбоку, и~для окружения
-% \env{floatrow}. Ключ уже имеет три предопределённые опции:
-% \par\RestoreSpaces
-% \begin{Options}{\OptionLabel}
-% \item[centering]
-%^^A% float box centered;
-% плавающий объект центрируется;
-% \item[raggedright]
-%^^A% float box flushed to the left;
-% плавающий объект выключается влево;
-% \item[raggedleft]
-%^^A% float box flushed to the right.
-% плавающий объект выключается вправо.
-% \item[...]
-%^^A% You may create your own alignment settings with \\|\DeclareMarginSet| command, see
-%^^A% page~\pageref{ssec:decl:marg}.
-% Вы можете задать специальное выравнивание с~помощью команды~|\DeclareMarginSet|,
-% см.~с.~\pageref{ssec:decl:marg}.
-% \end{Options}
-%
+%^^A% \subsubsection{Object Settings}
+% \subsubsection{Настройки для содержимого объекта}\label{sec:set:object}
% \noindent
% \DescribeMacro{objectset}\DescribeMacro{justification}\label{setup:objectset}%^^A
%^^A% Defines justification of float object
%^^A% (float contents). Predefined options are similar to
-%^^A% \texttt{justification=} key in |\captionsetup|.
+%^^A% |justification=| key in |\captionsetup|.
% Определяет выключку содержимого объекта.
% Предопределённые опции те же, что и~для ключа
-% \texttt{justification=} команды |\captionsetup|.
-% \par\RestoreSpaces
+% |justification=| команды |\captionsetup|.
% \begin{Options}{\OptionLabel}
% \item[justified]
%^^A% Blocks (in the case of a~picture or text box)
%^^A% moved to the left, the object text aligned as a normal paragraph (without paragraph
%^^A% indentation). (This is the default.)
-% Блоки (рисунки или бокс с~текстом) сдвигаются влево,
+% Блоки (рисунки или текст в~боксе) сдвигаются влево,
% текст объекта печатается как обычный абзац, но без отступа. (Задано по умолчанию.)
%
% \item[centering]
@@ -2903,113 +3521,58 @@
%^^A% Each line of the object text will be moved to the right margin.
% Блоки и строки выключаются вправо.
%
-% \item[RaggedLeft]
-%^^A% Analogous to |RaggedRight|.
-% Аналогична |RaggedRight|.
+%^^A% \item[RaggedLeft]
+%^^A%^^A% Analogous to |RaggedRight|.
+%^^A% Аналогична |RaggedRight|.
%
% \item[...]
-%^^A% You may also create your own settings with |\DeclareObjectSet| command (see
+%^^A% You may also create your own settings with the |\DeclareObjectSet| command (see
%^^A% page~\pageref{ssec:decl:rule})
% Вы можете задать свои собственные настройки с~помощью команды~|\DeclareObjectSet|
% (см.~с.~\pageref{ssec:decl:rule})
% \end{Options}
%
-% \RestoreSpaces
-%^^A% \subsubsection{Defining Width of Object}\label{sec:wd:object}
-% \subsubsection{Определение ширины объекта, содержимого флота}\label{sec:wd:object}
-%
-% \noindent
-% \DescribeMacro{floatwidth}\label{setup:floatwidth}%^^A
-%^^A% It is used for redefinition of width of objects.
-%^^A% This key, similar to |captionwidth=|, page~\pageref{setup:capbesidewidth},
-%^^A% could be used at first
-%^^A% for settings of one float environment:
-% Используется для переопределения ширины объектов, содержимого флотов.
-% Этот ключ, как и~|captionwidth=|, см.~с.~\pageref{setup:capbesidewidth},
-% в~первую очередь предназначен для
-% настроек одного окружения:
-% \par\RestoreSpaces
-% \begin{Quote}
-% |floatwidth=.3\hsize|
-% \end{Quote}
-% или
-% \begin{Quote}
-% |floatwidth=7cm|
-% \end{Quote}
-%^^A% (see page~\pageref{thisfloatsetup} about settings for current float environment and |\thisfloatsetup|).\pagebreak[1]
-% (см.~о~настройках для конкретного окружения флота и~о~команде |\thisfloatsetup|
-% на~с.~\pageref{thisfloatsetup}).
-%
-% \begingroup
-% \begin{Quote}\openup-.65pt
-% \meta{preamble}\nopagebreak
-% |\floatsetup[figure]{|\hyperref[setup:capposition]{\texttt{capposition}}|=bottom}|\nopagebreak
-% \meta{preamble}
-% |\|\hyperref[setup:thisfloatsetup]{\texttt{thisfloatsetup}}%^^A
-% |[figure]{floatwidth=.3\hsize,capposition=bottom}|\nopagebreak
-% |\begin{figure}|
-% | \includegraphics[width=\hsize]{Bear}|
-% | \caption{...}\label{...}|
-% |\end{figure}|
-% \end{Quote}%
-%
-% \floatsetup[figure]{capposition=bottom}
-% \thisfloatsetup{floatwidth=.3\hsize}
-% \begin{figure}[H]
-% \setlength\unitlength{\hsize/100}\input{Bear.picture}%^^A
-% \caption{Рисунок с~шириной \texttt{floatwidth=0.3}\cmd{\hsize}}%
-% \label{fig:rot}
-% \end{figure}%
-% \endgroup
-%
-% \begingroup
-% \begin{Quote}%
-% |\|\hyperref[setup:thisfloatsetup]{\texttt{thisfloatsetup}}%^^A
-% |{floatwidth=.3\hsize,|\hyperref[setup:capbesidewidth]{\texttt{capbesidewidth}}|=sidefil,|
-% | capposition=beside}|
-% \end{Quote}%
-%
-% \floatsetup[figure]{floatwidth=.3\hsize,capbesidewidth=sidefil,
-% capposition=beside}
-% \begin{figure}[H]
-% \setlength\unitlength{\hsize/100}\input{Bear.picture}%^^A
-% \caption{Подпись сбоку рисунка шириной \texttt{floatwidth=0.3}\cmd{\hsize}}%^^A
-% \label{fig:bear}
-% \end{figure}%
-% \endgroup
-%
-%^^A% If you use option \texttt{floatwidth=sidefill} for objects with beside
-%^^A% captions (in the case of key \texttt{capbesidewidth=},
-%^^A% \DescribeMacro{capbesidewidth}\label{setup:capbesidewidth}%^^A
-%^^A% page~\ref{setup:capbesidewidth}, uses absolute
-%^^A% value, like \texttt{capbesidewidth=4cm}) the object (instead of caption)
-%^^A% occupies the rest space of float box (see appendix,
-%^^A% figure~\ref{fig:capbeside:trick} on the page~\pageref{fig:capbeside:trick})
-% Если вы используете опцию \texttt{floatwidth=sidefill} для флотов с~подписью
-% сбоку (в~случае если в~\texttt{capbesidewidth=},
-% \DescribeMacro{capbesidewidth}%^^A
-% задано абсолютное значение
-% ширины, например, \texttt{capbesidewidth=4cm}) содержимому объекта (вместо подписи) будет отведено остальное
-% пространство в~боксе (см. также рис.~\ref{capbesideframeI} на~с.~\pageref{capbesideframeI}
-% приложение, рис.~\ref{fig:capbeside:trick} на
-% с.~\pageref{fig:capbeside:trick})
+%^^A% \subsubsection{Defining Float Margins}
+% \subsubsection{Поля вокруг флотов}\label{sec:set:box}
+% \DescribeMacro{margins}\label{setup:margins}%^^A
+%^^A% Defines margins (skips, rules or other margin material) of alone float boxes with
+%^^A% captions above/below, of float boxes with beside captions, and of
+%^^A% \env{floatrow} environments. It has following three predefined
+%^^A% options:
+% Определяет поля (отбивки, линейки или другой материал) для отдельных флотов с~подписями сверху/снизу,
+% для отдельных флотов с~подписями сбоку, и~для окружения
+% \env{floatrow}. Ключ уже имеет три предопределённые опции:
+% \begin{Options}{\OptionLabel}
+% \item[centering]
+%^^A% float box centered;
+% бокс флота (ряд флотов) центрируется;
+% \item[raggedright]
+%^^A% float box flushed to the left (see figure~\ref{fig:floatwidth});
+% бокс флота (ряд флотов) выключается влево (см.~рис.~\ref{fig:floatwidth});
+% \item[raggedleft]
+%^^A% float box flushed to the right.
+% бокс флота (ряд флотов) выключается вправо.
+% \item[...]
+%^^A% You may create your own alignment settings with the \\|\DeclareMarginSet| command, see
+%^^A% page~\pageref{ssec:decl:marg}.
+% Вы можете задать специальное выравнивание с~помощью команды~|\DeclareMarginSet|
+% (см.~с.~\pageref{ssec:decl:marg}).
+% \end{Options}
%
-% \RestoreSpaces
%^^A% \subsubsection{Defining Float Separators}\label{sec:set:sep}
-% \subsubsection{Определение разделителей в~боксах флотов}\label{sec:set:sep}
-%
+% \subsubsection{Определение разделителей}\label{sec:set:sep}
% \noindent
% \DescribeMacro{floatrowsep}\label{setup:floatrowsep}%^^A
%^^A% Sets separation material between beside float boxes (defined
%^^A% by |\floatbox| macro etc., see page~\pageref{sec:floatbox})
%^^A% inside \env{floatrow} environment (see page~\pageref{sec:floatrow}).
% Задаёт разделительный материал между плавающими объектами в~одном ряду,
-% внутри окружения \env{floatrow}, (см.~с.~\pageref{sec:floatrow}).
+% внутри окружения \env{floatrow} (см.~с.~\pageref{sec:floatrow}).
%
% \addvspace\smallskipamount\noindent
% \DescribeMacro{capbesidesep}\label{setup:capbesidesep}%^^A
-%^^A% Sets separation material between object and beside caption.
-% Задаёт разделительный материал между объектом и~подписью сбоку.
+%^^A% Sets separation material between object and beside caption (see page~\pageref{intro:beside}).
+% Задаёт разделительный материал между объектом и~подписью сбоку (см.~с.~\pageref{intro:beside}).
%
% \RestoreSpaces
%^^A% Both key settings work similarly to |labelsep=| key
@@ -3021,9 +3584,9 @@
% Они используют следующие предопределённые опции:
% \begin{Options}{\OptionLabel}
% \item[columnsep]
-%^^A% horizontal skip${}={}$|\columnsep|;
+% horizontal skip${}={}$|\columnsep| (default for both keys);
% горизонтальная отбивка${}={}$|\columnsep| (межколонник при двух-
-% и~многоколонном наборе);
+% и~многоколонном наборе, опция по умолчанию для обоих ключей);
% \item[quad]
%^^A% horizontal skip${}={}1$\,em;
% горизонтальная отбивка${}={}1$\,em (одна кегельная);
@@ -3038,32 +3601,87 @@
% горизонтальная отбивка${}={}1$\,fill (то же, что и~|\hfill|);
% \item[none]
%^^A% empty separator.
-% пустой разделитель.
+% пустой разделитель;
% \item[...]
-%^^A% You may also create your own settings with\\ |\DeclareFloatSeparators| command (see
+%^^A% You may also create your own settings with the\\ |\DeclareFloatSeparators| command (see
%^^A% page~\pageref{setup:DeclareFloatSeparators})
-% Вы можете задать свои установки с~помощью команды~\\|\DeclareFloatSeparators|
+% вы можете задать свои собственные установки с~помощью команды |\DeclareFloatSeparators|
% (см.~с.~\pageref{setup:DeclareFloatSeparators})
% \end{Options}
%^^A% This documentation uses settings |floatrowsep=qquad,capbesidesep=quad|.
% Данная документация использует настройки |floatrowsep=qquad,| для флотов рядом и~|capbesidesep=quad|
% для флотов с~подписью сбоку.
%
+%^^A% The figure \ref{fig:plain:trick} uses tricky float style, which shows you layout, where
+%^^A% the |capbesidewidth=| key with absolute value appears very useful.
+% Рисунок \ref{fig:plain:trick} использует хитроумный вариант
+% оформления где ключ |capbesidewidth=| с~абсолютным значением оказывается очень полезным.
+%\begin{Quote}
+%\begin{preamble}
+%|\|\FRkey{DeclareFloatSeparators}|{mcapwidth}{\hskip-\FCwidth}|
+%|\floatsetup[figure]|
+%| {|\FRkey{style}|=plain,|\FRkey{objectset}|=centering,|\FRkey{margins}|=centering,|
+%| |\FRkey{capbesidewidth}|=6cc,|%^^A
+% \FRkey{capbesideposition}|=left,|
+%| |\FRkey{capbesidesep}|=mcapwidth,|\FRkey{floatwidth}|=sidefil}|\smallskip
+%|\captionsetup[capbesidefigure]{labelsep=newline,|
+%| justification=raggedright}|
+%\end{preamble}
+% |\begin{figure}|\nopagebreak
+% |\|\FRkey[FB]{fcapside}\nopagebreak
+% |\end{figure}|
+%\end{Quote}
+%^^A% In this style all figures with beside captions centered accordingly to
+%^^A% full text \verb|\hsize|, because of the separator between float object and
+%^^A% caption has negative value of caption width (see page~\ref{setup:DeclareFloatSeparators}).
+%^^A% Usage of such float layout supposes that all
+%^^A% float objects with beside captions are narrower than |\hsize| (|\textwidth|) by at least 2~caption
+%^^A% widths. Please note the |\FCwidth| command in the definition of |mcapwidth|
+%^^A% key---later you may change the width of beside caption (loading settings inside |\thisfloatsetup|),
+%^^A% and picture will be anyway
+%^^A% centered accordingly to full \verb|\hsize|.
+% В~этом случае все рисунки с~подписями сбоку будут центрированы
+% относительно \verb|\hsize|, поскольку разделитель между объектом и~подписью сбоку
+% задан в~виде отрицательного значения ширины подписи (см.~с.~\pageref{setup:DeclareFloatSeparators}).
+% Использование такого оформления флота предполагает что все объекты флота \'уже чем
+% |\textwidth| или заданного значения \verb|\hsize| (|\textwidth|), как минимум на 2~ширины подписи.
+% Обратите внимание, что в~опции |mcapwidth| используется команда |\FCwidth| \cdash---
+% в~документе вы можете изменить ширину подписи сбоку (задав, например, настройки в~команде
+% |\thisfloatsetup|), но рисунок всё равно центрируется
+% относительно всей ширины \verb|\hsize|.
+%
+% \begingroup
+% \clearfloatsetup{figure}\floatsetup[figure]
+% {style=plain,objectset=centering,
+% floatwidth=\columnwidth,capbesidewidth=6cc,
+% capbesideposition=left,capbesidesep=mcapwidth,
+% margins=centering,floatwidth=sidefil}
+% \captionsetup[capbesidefigure]{labelsep=newline,
+% justification=raggedright}
+% \begin{figure}[H]
+% \fcapside{}{\unitlength1.28\unitlength
+% \input{Doll.picture}
+% \caption[Рисунок с~подписью сбоку; ширина подписи (\texttt{=6cc}) «скрыта»,
+% рисунок центрируется на всю ширину]{%^^A
+% Просто рисунок}\label{fig:plain:trick}}
+% \end{figure}%
+% \endgroup
+%
%^^A% \subsubsection{Defining Float Rules/Skips}\label{sec:set:rule}
% \subsubsection{Определение вертикальных отбивок или линеек}\label{sec:set:rule}
-%
% \DescribeMacro{precode}\label{setup:precode}%^^A
-%^^A% Defines skip, rule or other analogous code above float box.
-% Определяет отбивку, линейку или аналогичный материал сверху флота.
+%^^A% Defines skip, rule or other analogous code above float box (see page~\pageref{intro:leftfig:box}).
+% Определяет отбивку, линейку или аналогичный материал сверху флота
+% (см.~с.~\pageref{intro:leftfig:box}).
%
% \addvspace\smallskipamount\noindent
% \DescribeMacro{rowprecode}\label{setup:rowprecode}%^^A
%^^A% Defines skip, rule or other analogous code above alone float box,
%^^A% or, in the case of beside floats inside \env{floatrow} environment,
-%^^A% above float row (see page~\pageref{fig:rotrow:WcatI}).
+%^^A% above float row (see page~\pageref{intro:leftfig:row} and~\pageref{fig:rotrow:WcatI}).
% Определяет отбивку, линейку или аналогичный материал
-% сверху отдельного флота или сверху ряда флотов в~окружении \env{floatrow}.
-% (см.~с.~\pageref{fig:rotrow:WcatI}).
+% сверху отдельного флота или сверху ряда флотов в~окружении \env{floatrow}
+% (см.~с.~\pageref{intro:leftfig:row} и~\pageref{fig:rotrow:WcatI}).
%
% \addvspace\smallskipamount\noindent
% \DescribeMacro{midcode}\label{setup:midcode}%^^A
@@ -3074,14 +3692,15 @@
%
% \addvspace\smallskipamount\noindent
% \DescribeMacro{postcode}\label{setup:postcode}%^^A
-%^^A% Defines skip, rule or other analogous code below float box.
-% Определяет отбивку, линейку или аналогичный материал снизу флота.
+%^^A% Defines skip, rule or other analogous code below float box (see page~\pageref{intro:leftfig:box}).
+% Определяет отбивку, линейку или аналогичный материал снизу флота
+% (см.~с.~\pageref{intro:leftfig:row} и~\pageref{intro:leftfig:box}).
%
% \addvspace\smallskipamount\noindent
% \DescribeMacro{rowpostcode}\label{setup:rowpostcode}%^^A
%^^A% Defines skip, rule or other analogous code below alone float box, or,
%^^A% in the case of beside floats inside \env{floatrow} environment,
-%^^A% below float row (see page~\pageref{fig:rotrow:WcatI}).
+%^^A% below float row (see page~\pageref{intro:leftfig:row} and~\pageref{fig:rotrow:WcatI}).
% Определяет отбивку, линейку или аналогичный материал снизу
% отдельного флота или
% снизу ряда флотов в~окружении \env{floatrow} (см.~с.~\pageref{fig:rotrow:WcatI}).
@@ -3092,28 +3711,38 @@
% взяты из стилей, созданных пакетом \package{float}):
% \begin{Options}{\OptionLabel}\makeatletter\@itempenalty10000\makeatother
% \item[none]
-%^^A% absent code;
-% отбивка отсутствует;
+%^^A% absent code (the default option for |precode|, |rowprecode|, |postcode| and |rowpostcode|
+%^^A% keys);
+% отбивка отсутствует (является опцией по умолчанию для ключей |precode|, |rowprecode|,
+% |postcode| и~|rowpostcode|);
% \item[thickrule]
%^^A% thick rule (.8pt) with 2pt vertical skip below---rule above float box
-%^^A% in \texttt{ruled} style;
-% толстая линия (.8pt) с~отбивкой снизу в~2pt "--- верхняя линейка
-% над флотов в стиле \texttt{ruled};
+%^^A% in |ruled| and |Ruled| styles which is used there by
+%^^A% |precode=| key (see figures~\ref{leftfig:ruled}--\ref{rightfig:Ruled});
+% толстая линия (.8pt) с~отбивкой снизу в~2pt \cdash--- верхняя линейка
+% над флотом в~стилях |ruled| и~|Ruled|, используется
+% ключом |precode=|;
% \item[rule]
-%^^A% rule of default thickness (.4pt), with 2pt vertical skips above and
-%^^A% below---middle rule in \texttt{ruled} style;
+%^^A% rule of default thickness (.4pt), with 2pt vertical skips above and below---middle rule
+%^^A% in |ruled| and |Ruled| styles is printed between object and caption, and
+%^^A% used there by |midcode=| key;
% линейка обычной толщины (.4pt), с~отбивками сверху и~снизу
-% в~2pt "---средняя линейка в~стиле \texttt{ruled};
+% в~2pt \cdash--- средняя линейка в~стиле |ruled| и~|Ruled|, печатается между
+% объектом и~подписью и~используется ключом |midcode=|;
% \item[lowrule]
-%^^A% rule of default thickness (.4pt), with 2pt vertical skip above---rule
-%^^A% below float box in \texttt{ruled} style;
+% rule of default thickness (.4pt), with 2pt vertical skip above---rule below float box
+% in |ruled| and |Ruled| styles, used there by |postcode=| key;
% линейка обычной толщины (.4pt), с~отбивкой сверху
-% в~2pt "--- нижняя линейка в~стиле \texttt{ruled};
+% в~2pt "--- нижняя линейка в~стиле |ruled| используется ключом |postcode=|;
% \item[captionskip]
-%^^A% vertical skip equal to value, defined in |captionskip=| key.
-% вертикальная отбивка, задаваемая в~ключе |captionskip=|.
+%^^A% vertical skip which uses the value, defined in |captionskip=| key, this option is used
+%^^A% by |midcode=| key in |plain|, |plaintop|, |boxed| etc. styles (the default option for
+%^^A% |midcode=| key).
+% опция использует вертикальную отбивку, задаваемую ключом |captionskip=|, и~в~свою очередь
+% используется стилями |plain|, |plaintop|, |boxed| и~др. (является опцией по умолчанию
+% для ключа |midcode=|).
% \item[...]
-%^^A% You may create your own options with |\DeclareFloatVCode| command,
+%^^A% You may create your own options with the |\DeclareFloatVCode| command,
%^^A% see page~\pageref{ssec:decl:rule}.
% Вы можете задать свои установки с~помощью команды~\\|\DeclareFloatVCode|,
% см.~с.~\pageref{ssec:decl:rule}.
@@ -3121,16 +3750,19 @@
%
%^^A% \subsubsection{Defining Float Frames}
% \subsubsection{Задание рамок для флотов}
-%
% \DescribeMacro{framestyle}\label{setup:framestyle}%^^A
%^^A% Defines type of frame; the
%^^A% \package{floatrow} package offers only one type of frame:
% Определяет тип рамки; пакет
-% \package{floatrow} предлагает только один вид рамки:
-% \par\RestoreSpaces
-% \begin{Options}{\OptionLabel}
+% \package{floatrow} предлагает только два вида рамки:
+% \RestoreSpaces\begin{Options}{\OptionLabel}
% \item[fbox]
% стандартная рамка.
+% \item[colorbox]
+%^^A% colored frame, needs also \package{color} package;
+%^^A% if not defined, there is used |\fbox|;
+% цветная рамка, для неё нужен пакет \package{color};
+% если эта рамка не определена, используется обычная |\fbox|;
% \end{Options}
%^^A% There are options for additional frames, offered by \package{fr-fancy}
%^^A% package, installed with \env{floatrow}:
@@ -3138,11 +3770,6 @@
% предлагаемых пакетом \package{fr-fancy},
% который инсталлируется вместе с~\package{floatrow}:
% \begin{Options}{\OptionLabel}
-% \item[colorbox]
-%^^A% colored frame, needs also \package{color} package;
-%^^A% if not defined, there is used |\fbox|;
-% цветная рамка, для неё нужен пакет \package{color};
-% если эта рамка не определена, используется обычная |\fbox|;
% \item[doublebox]
%^^A% double frame, needs also \package{fancybox} package;
% двойная рамка, для неё нужен пакет \package{fancybox};
@@ -3150,9 +3777,9 @@
%^^A% frame with shadow, needs also \package{fancybox} package;
% рамка с~тенью, для неё нужен пакет \package{fancybox};
% \item[wshadowbox]
-%^^A% modified \texttt{shadowbox} frame (frame with ``white shadow''),
+%^^A% modified |shadowbox| frame (frame with ``white shadow''),
%^^A% needs also \package{fancybox} package;
-% изменённая рамка \texttt{shadowbox} (с~<<белой тенью>>),
+% изменённая рамка |shadowbox| (с~«белой тенью»),
% для неё нужен пакет \package{fancybox};
% \end{Options}
%
@@ -3162,17 +3789,15 @@
%^^A% for this key, just write something like:
% Параметры выбранной рамки; для этого ключа нет предопределённых опций,
% он определяется следующим образом:
-% \par\RestoreSpaces
-% \begin{quote}
+% \begin{Quote}
% |frameset={\fboxrule1pt\fboxsep12pt}|\quad.
-% \end{quote}
+% \end{Quote}
%
% \addvspace\medskipamount\noindent
% \DescribeMacro{framearound}\label{setup:framearound}%^^A
%^^A% Declares element of float box to be framed:
% Задаёт элемент флота, вокруг которого нужно создать рамку:
-% \par\RestoreSpaces
-% \begin{Options}{RaggedRigh}
+% \RestoreSpaces\begin{Options}{RaggedRigh}
% \item[object]
%^^A% float object contents;
% только содержимое объекта;
@@ -3184,100 +3809,126 @@
% \addvspace\medskipamount\noindent
% \DescribeMacro{framefit}\label{setup:framefit}%^^A
%^^A% Boolean which sets whether the \textit{frame width} will
-%^^A% be equal to current |\hsize| or predefined width of
-%^^A% float box (\texttt{framefit=yes}), in this case object size reduced
-%^^A% see~page~\pageref{fig:plain:MyBoxed} (all boxed figures in current
-%^^A% documentation use true value of this key);
+%^^A% be equal to current |\hsize|, predefined width or value of \meta{width} option of
+%^^A% float box (|framefit=yes|), in this case object size reduced (see
+%^^A% figures~\ref{fig:setup:Boxed} and~\ref{fig:setup:FBwidth:Boxed});
%^^A% or the frame climbs out in the left and
%^^A% right sides, and \textit{width of object} has current
-%^^A% |\hsize| or predefined width of float box (\texttt{framefit=no}).
+%^^A% |\hsize|, predefined width or value of \meta{width} option of
+%^^A% float box (|framefit=no|, see figure~\ref{fig:setup:boxed}).
% Переключатель (булев параметр) определяет,
-% нужно ли ширину рамки делать равной ширине
-% текста или предопределённой ширине |\hsize| (\texttt{framefit=yes}),
+% нужно ли \emph{ширину рамки} делать равной ширине
+% текста, предопределённой ширине |\hsize| или значению \meta{width} заданному в~командах
+% |\floatbox| (|framefit=yes|),
% объект в~этом случае
-% сужается, (см.~пример на с.~\pageref{fig:plain:MyBoxed}
-% и~все рисунки в~рамке в~данной документации);
+% сужается, (см.~рис.~\ref{fig:setup:Boxed} и~\ref{fig:setup:FBwidth:Boxed});
% или рамка выступает в~обе стороны и
-% в~этом случае ширина объекта равна |\hsize|
-% или предопределённой ширине (\texttt{framefit=no}).
+% в~этом случае \emph{ширина объекта} будет равна ширине
+% текста, предопределённой ширине |\hsize| или значению \meta{width} заданному в~командах
+% |\floatbox| (|framefit=no|, см.~рис.~\ref{fig:setup:boxed}).
% \begingroup
-% \begin{Quote}\openup.5pt
-% |\floatsetup[figure]{framestyle=fbox,|\hyperref[setup:heightadjust]{\texttt{heightadjust}}|=object,|
-% | framearound=object,frameset={\fboxrule1pt\fboxsep10pt},|
-% | framefit=no}%|$\approx\texttt{style=boxed}$
+% \begin{Quote}\openup-.5pt
+% |\floatsetup[figure]{framestyle=fbox,|\nopagebreak
+% | framearound=object,frameset={\fboxrule1pt\fboxsep14pt},|
+% | framefit=yes}%|$\approx|style=Boxed|$
% |\begin{figure}|
-% |\ffigbox[4cm]|
-% | {...}{\caption{...}}|
+% |\|\FRkey[FB]{ffigbox}|[5cm]|
+% | {...}{\caption{...}}|\nopagebreak
% |\end{figure}|
-% \end{Quote}%
-% \floatsetup[figure]{framestyle=fbox,heightadjust=object,
-% framearound=object,frameset={\fboxrule1pt\fboxsep10pt},framefit=no}%^^A$\equiv\texttt{style=boxed}$
+% \end{Quote}\pagebreak[3]
+% \floatsetup[figure]{framestyle=fbox,
+% framearound=object,frameset={\fboxrule1pt\fboxsep14pt},framefit=yes}%^^A$\equiv|style=Boxed|$
% \begin{figure}[H]%
-% \ffigbox[4cm]
-% {\unitlength1.44\unitlength\input{Cat.picture}}{\caption[Рамка вокруг графики выступает за края]{Рамка вокруг содержимого
-% объекта выступает за края бокса \hbox{флота}}\label{fig:setup:boxed}}
+% \ffigbox[5cm]
+% {\unitlength1.2\unitlength\input{Cat.picture}}{\caption[Ширина рамки равна ширине бокса]{Ширина рамки равна
+% ширине бокса (здесь: ширине подрисуночной подписи)}\label{fig:setup:Boxed}}
% \end{figure}%
-% \begin{Quote}\openup.5pt
-% |\floatsetup[figure]{...,framefit=yes}%|$\approx\texttt{style=Boxed}$
+% \floatsetup[figure]{framestyle=fbox,heightadjust=object,
+% framearound=object,frameset={\fboxrule1pt\fboxsep14pt},framefit=no}%%^^A$\equiv|style=boxed|$
+% \begin{Quote}\openup-.5pt
+% |\floatsetup[figure]{...,framefit=no}%|$\approx|style=boxed|$
% |\begin{figure}|%
-% |\ffigbox[4cm]|
+% |\ffigbox[5cm]|
% | {...}{\caption{...}}|\nopagebreak
-% |\end{figure}|%
+% |\end{figure}|
% \end{Quote}%
+% \begin{figure}[H]%
+% \ffigbox[5cm]
+% {\unitlength1.2\unitlength\input{Cat.picture}}{\caption[Рамка вокруг графики выступает за края]{Рамка вокруг содержимого
+% объекта выступает за края бокса \hbox{флота}}\label{fig:setup:boxed}}
+% \end{figure}%
+%
+%^^A% Next goes example |framefit=yes| key in the case of |[\FBwidth]| option of |\ffigbox| command.
+%^^A% In this case the width of float box expanded to the width of framed object.
+% Следующим идёт пример с~ключом |framefit=yes|, а~в~команде |\ffigbox| задана опция |[\FBwidth]|.
+% В~этом случае ширина бокса флота увеличивается до размера объекта в~рамке.
+% \begin{Quote}\openup-.5pt
+% |\floatsetup[figure]{...,framefit=yes}%|$\approx|style=Boxed|$
+% |\begin{figure}|
+% |\|\FRkey[FB]{ffigbox}|[\|\FRkey[FB]{FBwidth}|]|
+% | {...}{\caption{...}}|\nopagebreak
+% |\end{figure}|
+% \end{Quote}
% \floatsetup[figure]{framestyle=fbox,heightadjust=object,
-% framearound=object,frameset={\fboxrule1pt\fboxsep10pt},framefit=yes}%%^^A$\equiv\texttt{style=Boxed}$
+% framearound=object,frameset={\fboxrule1pt\fboxsep14pt},framefit=yes}%^^A$\equiv|style=Boxed|$
% \begin{figure}[H]%
-% \ffigbox[4cm]
-% {\unitlength1.4\unitlength\input{Cat.picture}}{\caption[Ширина рамки равна ширине бокса]{Ширина рамки равна
-% ширине бокса (здесь: ширине подрисуночной подписи)}}
+% \ffigbox[\FBwidth]
+% {\unitlength1.2\unitlength\input{Cat.picture}}{\caption[Объект в~рамке имеет натуральную ширину;
+% у~остальных элементов бокса (здесь: подписи) ширина увеличена до размера
+% объекта в~рамке]{Объект в~рамке имеет натуральную ширину;
+% у~подписи ширина увеличена}\label{fig:setup:FBwidth:Boxed}}
% \end{figure}%
% \endgroup
%
-% \addvspace\medskipamount\noindent
+%^^A% \subsubsection{Settings for Colored Frames}
+% \subsubsection{Настройки для цветных рамок}
% \DescribeMacro{colorframeset}\label{setup:colorframeset}%^^A
-%^^A% Offered by \package{fr-fancy} package\footnote{Use
-%^^A% \texttt{fancyboxes=yes} option in \cmd{\usepackage} line.}: defines
-%^^A% concrete color box (default is standard |\fbox|).
-%^^A% In current version you may use only |\fcolorbox| as color box. You
-%^^A% may define your color box like
-% Ключ предлагается пакетом \package{fr-fancy}\footnote{Для его загрузки нужно задать
-% ключ \texttt{fancyboxes=yes} в~строке \cmd{\usepackage}, а~также необходимо
-% загрузить пакет \package{color}.}: определяет
+% \DescribeMacro{\DeclareColorBox}\label{setup:DeclareColorBox}%^^A
+%^^A% This key (needs \package{color} package) defines
+%^^A% color box (default is standard |\fbox|). There are not any predefined options for this key so you
+%^^A% must define option your color box, using |\DeclareColorBox| command like following:
+% Данный ключ (для него необходимо
+% загрузить пакет \package{color}) определяет
% цветную рамку (по умолчанию это команда |\fbox|).
-% Для цветной рамки используется
-% команда |\fcolorbox|.
-% Её можно определить следующим образом:
-% \par\RestoreSpaces
-% \begin{quote}
-% |colorframeset={\fcolorbox{white}{yellow}}|\quad.
-% \end{quote}
+% Для данного ключа не определено готовых опций, поэтому вам нужно задать
+% опцию цветной рамки, используя команду |\DeclareColorBox|, например:
+% \begin{Quote}
+% |\DeclareColorBox{mycolorbox}{\fcolorbox{red}{yellow}}|
+% \end{Quote}
+%^^A% then use this option in |colorframeset=| key:
+% затем использовать эту опцию в~ключе:
+% \begin{Quote}
+% |colorframeset=\meta{option}|\quad,
+% \end{Quote}
+%^^A% for example:
+% например так:
+% \begin{Quote}
+% |\floatsetup{colorframeset=mycolorbox}|\quad,
+% \end{Quote}
%
%^^A% \subsubsection{Defining Float Skips}
% \subsubsection{Определение отбивок внутри флота}
-%
% \DescribeMacro{captionskip}\label{setup:captionskip}%^^A
%^^A% Defines vertical space between caption and float object
%^^A% in case of |midcode| key defined as |midcode=captionskip|;
-%^^A% or in case of usage of float styles (\texttt{style=}
-%^^A% key) \texttt{plain}, \texttt{plaintop} or \texttt{Plaintop}:
+%^^A% or in case of usage of float styles (|style=|
+%^^A% key) |plain|, |plaintop| or |Plaintop|:
% Определяет размер вертикальной отбивки между подписью и~объектом
-% если ключ |midcode| определён как
-% |midcode=captionskip|; или в~случае использования стилей (ключ \texttt{style=})
-% \texttt{plain}, \texttt{plaintop} или \texttt{Plaintop}, пример:
-% \par\RestoreSpaces
+% если ключ \FRkey{midcode} определён как
+% |midcode=captionskip|; или в~случае использования стилей (ключ |style=|)
+% |plain|, |plaintop| или |Plaintop|, пример:
% \begin{Quote}
% |captionskip=10pt|\quad.
% \end{Quote}
-%^^A% The settings above are default.
+%^^A% The settings above are default and equal to \LaTeX's settings (|\abovecaptionskip=10pt|).
%^^A% The settings of current documentation: |captionskip=5pt|.
-% Установки отбивки выше используются по умолчанию.
+% Установки отбивки выше используются по умолчанию и~равны стандартным (|\abovecaptionskip=10pt|).
% Установки, используемые данной документацией: |captionskip=5pt|.
%
% \addvspace\medskipamount\noindent
% \DescribeMacro{footskip}\label{setup:footskip}%^^A
-%^^A% Defines vertical space before foot material and footnotes.
-% Определяет вертикальную отбивку до сносок и~экспликаций.
-% \par\RestoreSpaces
+%^^A% Defines vertical space before foot material and footnotes. It can be defined like:
+% Определяет вертикальную отбивку до сносок и~экспликаций. Его можно задать как:
% \begin{Quote}
% |footskip=4pt|\quad,
% \end{Quote}
@@ -3285,14 +3936,14 @@
% \begin{Quote}
% |footskip=\skip\footins|\quad.
% \end{Quote}
+%^^A% the last example shows default settings.
+% Последний пример демонстрирует установки по умолчанию.
%
%^^A% \subsubsection{Defining Float Footnote Rule's Style}
% \subsubsection{Задание стиля для линейки над сноской}\label{sec:footnotestyle}
-%
% \DescribeMacro{footnoterule}\label{setup:footnoterule}%^^A
-%^^A% Defines type of footnote rule for footnotes inside float environment.
+%^^A% Defines type of footnote rule for footnotes inside floating environment.
% Определяет тип линейки над сноской внутри бокса плавающего элемента.
-% \par\RestoreSpaces
% \begin{Options}{\OptionLabel}
% \item[normal]
%^^A% standard \LaTeX{} definition, used in \env{minipage} environments, the
@@ -3302,10 +3953,10 @@
% 0.4 от ширины текста (|\columnwidth|);
% \item[limited]
%^^A% like previous one but max width of footnote rule equals to the value
-%^^A% defined by |\frulemax| command, like:
+%^^A% defined by |\frulemax|\label{setup:frulemax} command, like:
% аналогична предыдущей, но максимальная ширина сноски равна
% величине определённой
-% в~команде |\frulemax|:
+% в~команде |\frulemax|\label{setup:frulemax}:
% \begin{quote}
% |\renewcommand\frulemax{1in}|
% \end{quote}
@@ -3324,30 +3975,30 @@
%
% \label{setup:end}
%
-% %^^A ???needed?
-%^^A% \subsubsection{Loading Style for Fancy Boxes}
-% \subsubsection{Загрузка пакета для необычных рамок}
-%
-% \DescribeMacro{fancyboxes}\label{setup:fancyboxes}%^^A
-%^^A% This boolean key loads \package{fr-fancy} package. This key you may use
-%^^A% only in optional argument in |\usepackage| line.
-% Переключатель (работает как булев параметр) загружает пакет
-% \package{fr-fancy}. Этот ключ можно использовать
-% только в~опции строки |\usepackage|.
+%^^A%^^A% \subsubsection{Loading Style for Fancy Boxes}
+%^^A% \subsubsection{Загрузка пакета для необычных рамок}
+%^^A% \DescribeMacro{fancyboxes}\label{setup:fancyboxes}%^^A
+%^^A%^^A% This boolean key loads \package{fr-fancy} package. This key you may use
+%^^A%^^A% only in optional argument in |\usepackage| line. The styles, supported by this package
+%^^A%^^A% are described in the table~\ref{tab:floatlayouts}.
+%^^A% Переключатель (работает как булев параметр) загружает пакет
+%^^A% \package{fr-fancy}. Этот ключ можно использовать
+%^^A% только в~опции строки |\usepackage|. Стили, предлагаемые данным пакетом описаны
+%^^A% в~табл.~\ref{tab:floatlayouts}.
%
-% \RestoreSpaces
%^^A% \subsubsection{Managing Floats with \texttt{[H]} placement option}
% \subsubsection{Управление флотами с~опцией~\texttt{[H]}}
-%
% \DescribeMacro{doublefloataswide}\label{setup:doublefloataswide}%^^A
-%^^A% This boolean key redefines starred float in onecolumn layout
-%^^A% like non-starred ones. (In this case the \texttt{[H]} option works
-%^^A% in starred environments also; layout settings from |\floatsetup|
-%^^A% as \texttt{widefloat} are not cancelled.)
+%^^A% This boolean key redefines starred floating environment \emph{in onecolumn layout}
+%^^A% like non-starred ones, but in this case they are still store layout
+%^^A% settings, declared by |[wide...]| options of |\floatsetup|. This key is necessary
+%^^A% for usage of the \texttt{[H]} option
+%^^A% in starred environments in the same way as in non-starred.
% Данный переключатель делает \LaTeX'овское поведение «звёздных»
-% окружений флотов в~одноколонном макете аналогичным «незвёздным».
-% (В~этом случае опция \texttt{[H]} может действовать и~на «звёздные» окружения; при
-% этом действие опций оформления|\floatsetup| типа \texttt{widefloat} не отменяется.)
+% окружений флотов в~одноколонном макете аналогичным «незвёздным», но при этом
+% сохраняются установки опции |[wide...]| команды |\floatsetup| (с.~\pageref{sec:floatsetup}).
+% Данный ключ нужен для возможности использования опции \texttt{[H]}
+% в~«звёздных» окружения равно как и~в~«незвёздных».
%
% \medskip\noindent
% \DescribeMacro{floatHaslist}%^^A
@@ -3355,15 +4006,13 @@
%^^A% this ``anchored'' float like in the list environment and cancels
%^^A% paragraph indentation, if no blank line appears after environment
%^^A% (see also section~\pageref{sec:listpen}).
-% Данный переключатель значения штрафов (penalties) до и~после
-% флотов «на якоре» равные штрафам в~окружениях перечней и~отменяет
+% Данный переключатель добавляет штрафы (penalties) до и~после
+% флотов «на якоре» аналогичные штрафам до и~после окружений перечней и~отменяет
% абзацный отступ, если после окружения флота нет пустой строки
-% (см.~также {\sectionname}~\pageref{sec:listpen}).
+% (см.~также с.~\pageref{sec:listpen}).
%
-% \RestoreSpaces
%^^A% \subsection{Settings for Current Float Environment}
% \subsection{Настройки для одного флота}
-%
% \DescribeMacro{\thisfloatsetup}\label{thisfloatsetup}\label{setup:thisfloatsetup}%^^A
%^^A% You may define some settings only for one float just
%^^A% before necessary environment. Command |\thisfloatsetup| could
@@ -3380,14 +4029,12 @@
%^^A Please note that |\thisfloatsetup| doesn't overwrite co-named key
%^^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.
+%^^A keys |capbesidewidth=|
+%^^A |floatwidth| do not used usually in |\floatsetup| stuff.
%
-% \RestoreSpaces
%^^A% \subsection{Clearing of Previous Float Type Settings}
% \subsection{Отмена настроек для определённого
% типа плавающих объектов}
-%
% \DescribeMacro{\clearfloatsetup}\label{setup:clearfloatsetup}%^^A
%^^A% If you want to get rid of parameters marked
%^^A% for an automatic use within a particular environment
@@ -3397,63 +4044,108 @@
% использования в~окружении определённого типа
% вы можете использовать команду\footnote{Сделана как «сопровождение»
% команде \cs{clearcaptionsetup}, см.~также документацию пакета
-% \package{caption} о~команду \cmd{\clearcaptionsetup}}:
-% \par\RestoreSpaces
-% \begin{quote}
+% \package{caption} о~команду \cmd{\clearcaptionsetup}}:\allowpostlistbreaks[-4]
+% \begin{Quote}
% |\clearfloatsetup|\marg{float type}\quad.
-% \end{quote}
-%^^A% where \marg{float type}---types as \texttt{figure}, \texttt{widefloat} etc.
-% где \marg{float type} \cdash--- тип флота, например, \texttt{figure},
-% \texttt{widefloat} и~т.\,д.
-%
-% %^^A !!!for footnotes!
-% %^^A \newpage
+% \end{Quote}\allowpostlistbreaks
+%^^A% where \marg{float type}---types as |figure|, |widefloat| etc.
+% где \marg{float type} \cdash--- тип флота, например, |figure|,
+% |widefloat| и~т.\,д.
%
%^^A% \subsection{Temporary Clearing of All Float Settings}\label{page:killfloatstyle}
% \subsection{Временная очистка всех установок для флотов}\label{page:killfloatstyle}
-%
% \DescribeMacro{\killfloatstyle}\label{setup:killfloatstyle}%^^A
-%^^A% In some cases like mixed rows of floats where figure stays beside table
-%^^A% you need to cancel layout of ``foreign'' float (see page~\pageref{mixrow}).
+%^^A% The first case when this command is needed: mixed rows of floats where figure stays beside table
+%^^A% and you need to cancel layout of ``foreign'' float (see page~\pageref{mixrow}).
%^^A% The |\killfloatstyle| command is used before any
%^^A% command of |\floatbox| stuff (see {\sectionname}~\ref{sec:floatbox}).
-%^^A% This command will be useful for layout with beside captions in the cases
-%^^A% of usage of quite different styles for, e.g. |[figure]| option of
-%^^A% floatsetup with \texttt{style=plain} and
-%^^A% |[cabesidefigure]| with \texttt{style=boxed}.
-%^^A% In this case you may define your command, based on predefined
-%^^A% |\fcapside|:
% Первый случай, когда нужна эта команда \cdash--- рисунок нужно поместить рядом с~таблицей
% и~нужно отключить настройки «чужого» флота (см.с.~\pageref{mixrow}).
% Команда |\killfloatstyle| используется до
% команды, созданной на базе |\floatbox|, (см.~{\sectionname}~\ref{sec:floatbox}).
+%
+%^^A% Another case---layout of floats with beside captions is quite different from
+%^^A% other subtypes: |[figure]| option of
+%^^A% floatsetup defined with |style=plain| and
+%^^A% |[cabesidefigure]| must be defined with |style=boxed|.
+%^^A% In this case you may define your command, based on predefined
% Другой случай \cdash--- макет флота с~подписями сбоку
% имеет сильно отличающиеся настройки от других подтипов: опция |[figure]|
-% команды |\floatsetup| задана как \texttt{style=plain},
-% а~|[cabesidefigure]| \cdash--- как \texttt{style=boxed}.
+% команды |\floatsetup| задана как |style=plain|,
+% а~|[cabesidefigure]| (для подписей сбоку) должна быть задана как |style=boxed|.
% Для~этих случаев можно определить новую команду, например, на основе
% |\fcapside|:
-% \par\RestoreSpaces
-% \begin{quote}
-% |\newcommand\myfcapside{\killfloatstyle|\\
-% | \floatsetup[figure]{style=Boxed}\fcapside}|\quad.
-% \end{quote}
+%\begingroup
+% \begin{Quote}
+% |\newcommand\myfcapside{\killfloatstyle|\nopagebreak
+% | \floatsetup[figure]{style=Boxed,capbesideframe=yes}\fcapside}|\quad.
+% |\begin{figure}|
+% |\myfcapside[\FBwidth]|
+% |...|
+% |\end{figure}|\quad.\vspace*{-\intextsep}
+% \end{Quote}
+% \newcommand\myfcapside{\killfloatstyle
+% \floatsetup[figure]{style=Boxed,capbesideframe=yes}\fcapside}
+% \begin{figure}[H]
+% \myfcapside[\FBwidth]
+% {\input{Horse.picture}}%
+% {\caption[Подпись сбоку рисунка, заключённого в~рамку в~стиле \texttt{Boxed}.]{%^^A
+% Подпись сбоку рисунка, заключённого в~рамку в~стиле \texttt{Boxed}.
+% Специально создана команда \cmd{\myfcapside} для изменения макета
+% с~обычного \texttt{plain} для рисунков с~подписями снизу}\label{fig:beside:Boxed}}%
+% \end{figure}
+%\endgroup
+%^^A% The option |[figure]| is necessary if you defined settings for this option
+%^^A% globally in the preamble.
% Опция |[figure]| необходима, если определены установки с~такой опцией
% в~преамбуле.
%
-% %^^A !!!for footnotes!
-% %^^A \newpage
+%^^A% \emph{Notes}.\nopagebreak \par
+% \emph{Замечания}.\nopagebreak \par
+% 1)\enskip Please remember that such command with redefined settings can be placed
+% only \emph{inside environment} or \emph{group}.
+% Обратите внимание, что такая команда, с~изменёнными настройками,
+% может быть использована только в~\emph{окружениях
+% флота} или \emph{в~группе}.
+%
+%^^A% 2)\enskip Before creation of such dangerous command, please revise your layout settings:
+%^^A% maybe the |[widefigure]| option never used in your documentation, so you can define
+%^^A% necessary settings in |\floatsetup[widefigure]|\allowbreak|{style=Boxed,capposition=beside...}|
+%^^A% and then use floats with beside captions in following way:
+% 2)\enskip До того, как создать такую коварную команду, проверьте ваши настройки:
+% возможно опция |[widefigure]| вами не используется в~данной документации, следовательно
+% вы можете задать нужные настройки в~|\floatsetup[widefigure]|\allowbreak
+% |{style=Boxed,capposition=beside...}|
+% а~затем использовать «звёздное» окружение следующим образом:
+%\begingroup
+% \begin{Quote}
+% \begin{preamble}
+% |\floatsetup[widefigure]{|\FRkey{style}|=Boxed,|\FRkey{capposition}|=beside,|
+% | |\FRkey{capbesideframe}|=yes}|
+% \end{preamble}
+% |\begin{figure*}|
+% |\fcapside...|
+% |\end{figure*}|\quad.\vspace*{-\intextsep}
+% \end{Quote}
+% \floatsetup[widefigure]{margins=centering,style=Boxed,capposition=beside,capbesideframe=yes}
+% \begin{figure*}[H]
+% \fcapside[\FBwidth]{\input{Horse.picture}}%
+% {\caption[Подпись сбоку рисунка, заключённого в~рамку в~стиле \texttt{Boxed}
+% в~«звёздном» окружении.]{%^^A
+% Подпись сбоку рисунка, заключённого в~рамку в~стиле \texttt{Boxed}.
+% Специальные настройки для рисунков в~рамках заданы в~звёздном окружении}\label{figs:beside:Boxed}}%
+% \end{figure*}
+%\endgroup
%
%^^A% \subsection{The Default Float Type Settings}\label{sec:default}
% \subsection{Установки для флотов заданные по умолчанию}\label{sec:default}
-%
%^^A% The following keys and options are switched on when \package{floatrow}
-%^^A% package loaded. They equal to \texttt{plain} style:
+%^^A% package loaded. They equal to |plain| style:
% Следующие ключи и~опции включаются, при загрузке пакета \package{floatrow}.
-% Они эквивалентны стилю \texttt{plain}:
+% Они эквивалентны стилю |plain| и~являются опциями по умолчанию:
% \begin{Options}{\OptionLabel}\openup-.5pt
-% \item[font=normalsize]
-% \item[footfont=footnotesize]
+% \item[font=normalsize]\allowitembreaks[-4]
+% \item[footfont=footnotesize]\allowitembreaks
% \item[capposition=bottom]
% \item[capbesideposition=inside]
% \item[capbesideframe=no]
@@ -3461,39 +4153,36 @@
% \item[heightadjust=none]
% \item[facing=no]
% \item[margins=centering]
-% \item[objectset=centering] ($\equiv$\texttt{justification=centering})
+% \item[objectset=centering] ($\equiv$|justification=centering|, \package{caption})
% \item[floatrowsep=columnsep]
% \item[capbesidesep=columnsep]
% \item[precode=none]
% \item[rawprecode=none]
% \item[postcode=none]
% \item[rawpostcode=none]
-% \item[midcode=captionskip]
+% \item[midcode=captionskip]\allowitembreaks[-4]
% \item[captionskip=10pt]
% \end{Options}
%
-%^^A% \subsection{Defining new options}
+%^^A% \subsection{Defining New Options}
% \subsection{Определение новых опций (Делаем сами!)}
-%
%^^A% In the next few sections goes a small list of commands, which
%^^A% define key options for |\floatsetup|.
-% В~следующих разделах перечисляются команды, которые определяют опции
+% В~следующих разделах перечисляются команды, с~помощью которых можно определить дополнительные опции
% ключей команды |\floatsetup|.
%
%^^A% \subsubsection{Float Style (\texttt{style=})}\label{ssec:declstyle}
% \subsubsection{Опция стиля флота (\texttt{style=})}\label{ssec:declstyle}
-%
% \DescribeMacro{\DeclareFloatStyle}\label{setup:DeclareFloatStyle}%^^A
%^^A% Defines new float style. Example shows definition of new float
-%^^A% style \texttt{MyBoxed}. The figures~\ref{fig:plain:MyBoxed}, and
+%^^A% style |MyBoxed|. The figures~\ref{fig:plain:MyBoxed}, and
%^^A% some others in current documentation show result.
% Определяет новый стиль. Пример демонстрирует задание нового стиля
-% \texttt{MyBoxed}. Рисунок~\ref{fig:plain:MyBoxed},
+% |MyBoxed|. Рисунок~\ref{fig:plain:MyBoxed},
% и~некоторые другие в~данной документации демонстрируют результат.
-% \par\RestoreSpaces
%\begin{Quote}
-%|\DeclareFloatStyle{MyBoxed}{|\hyperref[setup:style]{style}|=Boxed,|\hyperref[setup:captionskip]{captionskip}|=5pt,|
-%| |\hyperref[setup:frameset]{frameset}|={\fboxrule1pt\fboxsep12pt}}|
+%|\DeclareFloatStyle{MyBoxed}{|\FRkey{style}|=Boxed,|\FRkey{captionskip}|=5pt,|
+%| |\FRkey{frameset}|={\fboxrule1pt\fboxsep12pt}}|
%|\floatsetup[figure]{style=MyBoxed}|
%\end{Quote}
%
@@ -3510,72 +4199,92 @@
% \end{figure}
%
%^^A% The same result you get with:
-% Тот же результат вы можете получить:
-% \par\RestoreSpaces
+% Тот же результат вы можете получить, задав:
%\begin{Quote}\openup-.65pt
%|\floatsetup[figure]{style=Boxed,captionskip=5pt,|
%| frameset={\fboxsep12pt\fboxrule1pt}}|
%\end{Quote}
% \endgroup
%
-%^^A% \subsubsection{Defining Float Rules/Skips}\label{ssec:decl:rule}
-% \subsubsection{Опция задания линеек или отбивок (\texttt{precode=} и~др.)}
-% \label{ssec:decl:rule}
+%^^A% \subsubsection{Float Font Option}\label{ssec:declfont}
+% \subsubsection{Опция шрифта содержимого объекта (\texttt{font=})}\label{ssec:declfont}
+% \DescribeMacro{\DeclareFloatFont}\label{setup:DeclareFloatFont}%^^A
+%^^A% With this macro you may define new option
+%^^A% for font (|font=| key) of float contents. This macro works
+%^^A% like |\DeclareCaptionFont| in \package{caption} package. (You may also
+%^^A% use key options declared by |\DeclareCaptionFont| command.)\par
+% Этой макрокомандой вы можете определить новую опцию
+% для шрифта (ключ |font=|) содержимого объекта. Эта макрокоманда работает
+% также как аналогичная ей |\DeclareCaptionFont| из пакета \package{caption}: вы можете также
+% воспользоваться опциями, заданными в~команде |\DeclareCaptionFont|.
+%
+%^^A% To get red color for text in the example above, you may define the red color by following way:
+% Чтобы получить текст красного цвета в~примере с~рис.~\ref{color:fig} на с.~\pageref{color:fig},
+% определите красный цвет:
+% \begin{Quote}%
+% |\DeclareFloatFont{red}{\color{red}}|
+% \end{Quote}%
+% а~затем задайте его в~команде |\floatsetup|
+% \begin{Quote}%
+% |\floatsetup[figure]{font={small,red}}|\quad.
+% \end{Quote}%
%
+%^^A% \subsubsection{Defining Float Rules/Skips}\label{ssec:decl:rule}
+% \subsubsection{Опция задания линеек или отбивок (\texttt{precode=} и~др.)}\label{ssec:decl:rule}
% \DescribeMacro{\DeclareFloatVCode}\label{setup:DeclareFloatVCode}%^^A
%^^A% This command defines the skip, rule or other analogous code above
%^^A% and below full float box and between caption above/below and
-%^^A% object. The defined option you may use in \texttt{rowprecode},
-%^^A% \texttt{precode}, \texttt{midcode}, \texttt{postcode}, and
-%^^A% \texttt{rowpostcode} keys.
+%^^A% object. The defined option you may use in |rowprecode|,
+%^^A% |precode|, |midcode|, |postcode|, and
+%^^A% |rowpostcode| keys (page~\pageref{setup:percode}).
% Эта команда создаёт определение отбивки, линейки или другого подобного материала
% сверху и~снизу всего бокса объект---подпись и~между
% подписью сверху/снизу и~объектом.
-% Созданную опцию вы можете использовать в~ключах \texttt{rowprecode},
-% \texttt{precode}, \texttt{midcode}, \texttt{postcode}
-% и~\texttt{rowpostcode}.
-% \par\RestoreSpaces
+% Созданную опцию вы можете использовать в~ключах |rowprecode|,
+% |precode|, |midcode|, |postcode|
+% и~|rowpostcode|.
+%
+%^^A% Compare two examples:
+% Сравните два примера:
% \begin{Quote}\openup.5pt
-% \meta{preamble}
+% \begin{preamble}
% |\DeclareFloatVCode{grayruleabove}%|
% | {{\color{gray}\hrule height2.8ptdepth0pt\vskip4pt}}|
% |\DeclareFloatVCode{grayrulebelow}%|
% | {{\color{gray}\vskip4pt\hrule height2.8ptdepth0pt}}|
-% |\floatsetup{...,|
-% | |\hyperref[setup:rowprecode]{rowprecode}|=grayruleabove,|%^^A
-% \hyperref[setup:rowpostcode]{rowpostcode}|=grayrulebelow}|
-% \meta{preamble}
-% |\begin{figure}|
-% |\begin{floatrow}|
-% | \ffigbox|
-% | {...}{\caption{The left ...}\label{...}}%|
-%| |
+% |\floatsetup{...,|\FRkey{heightadjust}|=all,|%^^A
+% \FRkey{valign}|=c,|
+% | |\FRkey{rowprecode}|=grayruleabove,|%^^A
+% \FRkey{rowpostcode}|=grayrulebelow}|
+% \end{preamble}
+% |\begin{figure}|\nopagebreak
+% |\begin{floatrow}|\nopagebreak
+% | \ffigbox|\nopagebreak
+% | {...}{\caption{Левый ...}\label{...}}%|
% | \ffigbox|\nopagebreak
-% | {...}{\caption{The beside ...}\label{...}}|
+% | {...}{\caption{Правый ...}\label{...}}|
% | \end{floatrow}|\nopagebreak
% |\end{figure}|
-%| |
-%| |
-% |\begin{figure}|
+% |\begin{figure}|\nopagebreak
% | ...|
-% | \caption{The figure ...}\label{...}%|
+% | \caption{Отдельный ...}\label{...}%|\nopagebreak
% |\end{figure}|
% \end{Quote}
-% \begin{figure}[H]\floatsetup{heightadjust=object,valign=c,rowprecode=grayruleabove,
+% \begin{figure}[H]\floatsetup{heightadjust=all,valign=c,rowprecode=grayruleabove,
% rowpostcode=grayrulebelow}\killfloatstyle
% \begin{floatrow}
% \ffigbox
% {\unitlength.65\unitlength\input{BlackCat.picture}}
-% {\caption{Левый рисунок в~ряду с~заданными линейками сверху и~снизу, заданными для ряда}%
+% {\caption{Левый рисунок в~ряду с~линейками сверху и~снизу, заданными для ряда}%
% \label{intro:leftfig:row}}%
%
% \ffigbox
-% {\caption{Правый рисунок в~ряду с~заданными линейками сверху и~снизу, заданными для ряда}%^^A
+% {\caption{Правый рисунок в~ряду с~линейками сверху и~снизу, заданными для ряда}%^^A
% \label{intro:rightfig:row}}
% {\unitlength.85\unitlength\input{Cat.picture}}
% \end{floatrow}
% \end{figure}%^^A
-% \begin{figure}[H]\floatsetup{heightadjust=object,valign=c,rowprecode=grayruleabove,
+% \begin{figure}[H]\floatsetup{heightadjust=all,valign=c,rowprecode=grayruleabove,
% rowpostcode=grayrulebelow}\killfloatstyle
% \ffigbox
% {\caption{Отдельный рисунок с~линейками сверху и~снизу, заданными для ряда}%^^A
@@ -3583,14 +4292,17 @@
% {\unitlength.85\unitlength\input{TheCat.picture}}
% \end{figure}%^^A
% \begin{Quote}\openup-.65pt
-% \meta{preamble}\nopagebreak
+% \begin{preamble}
% |...|\nopagebreak
-% |\floatsetup{...,|\hyperref[setup:precode]{precode}|=grayruleabove,|
-% | |\hyperref[setup:postcode]{postcode}|=grayrulebelow}|
-% \meta{preamble}
+% |\floatsetup{...,|\FRkey{heightadjust}|=all,|
+% | |\FRkey{precode}|=grayruleabove,|%^^A
+% \FRkey{postcode}|=grayrulebelow}|
+% \end{preamble}\nopagebreak
% |...|
-% \end{Quote}
-% \begin{figure}[H]\floatsetup{heightadjust=object,valign=c,
+% \end{Quote}%^^A
+%\begingroup
+% \advance\intextsep-.5\intextsep
+% \begin{figure}[H]\floatsetup{heightadjust=all,valign=c,
% precode=grayruleabove,postcode=grayrulebelow}\killfloatstyle
% \begin{floatrow}
% \ffigbox
@@ -3604,60 +4316,80 @@
% {\unitlength.85\unitlength\input{Cat.picture}}
% \end{floatrow}%
% \end{figure}\kern-\lastskip%^^A
-% \begin{figure}[H]\floatsetup{heightadjust=object,valign=c,
-% precode=grayruleabove,postcode=grayrulebelow}\killfloatstyle
+% \begin{figure}[H]\floatsetup{precode=grayruleabove,postcode=grayrulebelow}\killfloatstyle
% \ffigbox
% {\caption{Отдельный рисунок с~линейками сверху и~снизу рисунка, заданными для бокса флота}%^^A
% \label{intro:alone:box}}
% {\unitlength.85\unitlength\input{TheCat.picture}}
% \end{figure}%^^A
+%^^A% {\sloppy Please note that for ruled styles for figures \ref{intro:leftfig:box}
+%^^A% and \ref{intro:rightfig:box}, which are placed in one row, you need to
+%^^A% set |heightadjust=all| key---the rules
+%^^A% at the start and finish of boxes reset the height and depth values.\par}
+% Обратите внимание, что для стилей задающих линейки для бокса, как в~рис.~\ref{intro:leftfig:box}
+% и~\ref{intro:rightfig:box}, если рисунки должны помещаться в~одном ряду,
+% необходимо задать ключ |heightadjust=all| \cdash--- линейки вначале
+% и~в~конце боксов изменяют значения высоты и~глубины.
+%\endgroup
%
-% \RestoreSpaces
-%^^A% \subsubsection{Object Justification Option (\texttt{objectset=})}\label{ssec:decl:oset}
-% \subsubsection{Опция выключки содержимого объекта (\texttt{objectset=})}
-% \label{ssec:decl:oset}
+%^^A% \subsubsection{Settings for Colored Frame (\texttt{colorframeset=})}\label{ssec:color:frame}
+% \subsubsection{Настройки для цветных рамок (\texttt{colorframeset=})}\label{ssec:color:frame}
+% \DescribeMacro{\DeclareColorBox}%^^A
+%^^A% Let's repeat the command for definition of colored box used by |colorframeset=| key
+%^^A% (see also page~\pageref{setup:DeclareColorBox}).
+%^^A% Here is defined frame for figure~\ref{color:frame} below:
+% Здесь опять повторим определение опции для цветной рамки, используемой ключом |colorframeset=|
+% (см.~также с.~\pageref{setup:DeclareColorBox}).
+% Ниже дано определение рамки, используемой рисунком~\ref{color:frame}:
+% \begin{Quote}
+% |\DeclareColorBox{framedfigure}{\fcolorbox{gray}{white}}|\quad.
+% \end{Quote}
%
+%^^A% \subsubsection{Object Justification Option (\texttt{objectset=})}\label{ssec:decl:oset}
+% \subsubsection{Опция выключки содержимого объекта (\texttt{objectset=})}\label{ssec:decl:oset}
% \DescribeMacro{\DeclareObjectSet}\label{setup:DeclareObjectSet}%^^A
-%^^A% You may define justification for \texttt{objectset=} key like\nopagebreak:
-% Вы можете определить свою опцию выключки для ключа \texttt{objectset=}
+%^^A% You may define justification for \texttt{objectset=} key (page~\pageref{setup:objectset})
+%^^A% like\nopagebreak:
+% Вы можете определить свою опцию выключки для ключа \texttt{objectset=} (с.~\pageref{setup:objectset})
% так:
-% \par\RestoreSpaces
% \begin{Quote}
% |\DeclareObjectSet{centering}{\centering}|
% \end{Quote}
%^^A% In option's definition you may try to include any regular commands
%^^A% which you need to put before each object contents in float
-%^^A% environment\footnote{You may also use key options declared by
+%^^A% environment. You may also use key options declared by
%^^A% \cmd{\DeclareCaptionJustification} command of \package{caption} package
-%^^A% as options for \texttt{objectset=} key.}.\par
-%^^A% \strut\par\kern-\baselineskip
+%^^A% as options for |objectset=| key.
% В~определении опции вы можете попробовать задать и~другие повторяющие команды,
% которые вам нужны при оформлении содержимого
-% объекта\footnote{Вы можете использовать
-% опции ключей, заданные \cmd{\DeclareCaptionJustification} "---
+% объекта. Вы можете использовать
+% опции, заданные \cmd{\DeclareCaptionJustification} "---
% командой из пакета \package{caption},
-% как опции ключа \texttt{objectset=}.}.\par\strut\par\kern-\baselineskip
+% как опции ключа |objectset=|.
%
%^^A% \subsubsection{Option for Float Box Alignment/Settings (\texttt{margins=})}
-% \subsubsection{Определение выключки/настроек
+% \subsubsection{Определение выключки/полей
% для бокса флота (\texttt{margins=})}\label{ssec:decl:marg}
-%
% \DescribeMacro{\DeclareMarginSet}\label{setup:DeclareMarginSet}%^^A
-%^^A% You may define box alignment for float box (\texttt{margins=} key) like:
-% Вы можете определить выключку всего бокса (ключ \texttt{margins=})
+%^^A% You may define box alignment for float box (|margins=| key) like:
+% Вы можете определить выключку всего бокса (ключ |margins=|)
% так:
-% \par\RestoreSpaces
% \begin{Quote}
-% |\DeclareMarginSet{center}{%|
+% |\DeclareMarginSet{center}{%|\nopagebreak
% | \setfloatmargins{\hfil}{\hfil}}|
% \end{Quote}
%^^A% or like (see also sample files)
% или (см. также файлы примеров);
% \begin{Quote}
-% |\DeclareMarginSet{outside}{%|
+% |\DeclareMarginSet{outside}{%|\nopagebreak
% | \setfloatmargins*{\hfil}{}}|
-% \end{Quote}
+% \end{Quote}\pagebreak[1]
+%^^A% The |\DeclareMarginSet| command used the |\setfloatmargins| command, which defines
+%^^A% fill code for each margin.
+% Команда |\DeclareMarginSet| использует команду |\setfloatmargins|, которая определяет
+% заполняющий материал для каждого из полей.
%
+% \DescribeMacro{\setfloatmargins}\label{setup:setfloatmargins}%^^A
%^^A% Non-starred form of |\setfloatmargins| defines left and right
%^^A% margin.
% Команда |\setfloatmargins| определяет левое и правое поля.
@@ -3665,6 +4397,58 @@
% |\setfloatmargins{|\meta{left margin}|}{|\meta{right margin}|}|
% \end{quote}
%
+%^^A% here goes rather complex example which was created as alternative float layout for one-column
+%^^A% document. the starred, \env{figure*}, environment places caption on the left margin, beside
+%^^A% object. frame around object has width of main text (but if you will change, reduce, width of object,
+%^^A% it will be flushed to the left margin).
+% Далее следует довольно громоздкий пример, созданный как альтернативное оформление флотов в~одноколонном
+% документе. «Звёздное» окружение \env{figure*}, помещает подпись сбоку в~левое поле.
+% Рамка вокруг объекта по умолчанию имеет ширину основного текста
+% (но если вы измените ширину объекта он выключится к~левому краю).
+% \begin{Quote}[0pt]
+% \begin{preamble}
+% |\makeatletter\@mparswitchfalse\makeatother|
+% |\DeclareMarginSet{hangleft}%|
+% | {\setfloatmargins|
+% | {\hskip-\marginparwidth\hskip-\marginparsep}{\hfil}}|\vspace{1ex}
+% |\|\FRkey{DeclareColorBox}|{framedfigure}{\fcolorbox{gray}{white}}|\vspace{1ex}
+% |\|\FRkey{DeclareFloatSeparators}|{marginparsep}{\hskip\marginparsep}|
+% |\|\FRkey[sec]{floatsetup}|[widefigure]{|%^^A
+% \FRkey{margins}|=hangleft,|%^^A
+% \FRkey{floatwidth}|=\textwidth,|
+% | |\FRkey{capposition}|=beside,|%^^A
+% \FRkey{capbesideposition}|=left,|%^^A
+% \FRkey{capbesideframe}|=yes,|
+% | |\FRkey{capbesidewidth}|=\marginparwidth,|%^^A
+% \FRkey{capbesidesep}|=marginparsep,|
+% | |\FRkey{framestyle}|=colorbox,|\FRkey{framefit}|=yes,|\nopagebreak
+% | |\FRkey{colorframeset}|=framedfigure,|%^^A
+% \FRkey{frameset}|={\fboxrule3pt\fboxsep8pt}}|\vspace{1ex}
+% |\captionsetup[capbesidefigure]{justification=RaggedRight,|\nopagebreak
+% | font=small,labelfont={normalsize,sf,bf},labelsep=newline,strut=no}|
+% \end{preamble}
+% |\begin{figure*}|\nopagebreak
+% |...|\nopagebreak
+% |\end{figure*}|
+% \end{Quote}
+% \begingroup
+% \floatsetup[widefigure]{margins=hangleft,floatwidth=\textwidth,
+% capposition=beside,capbesideposition=left,capbesideframe=yes,
+% capbesidewidth=\marginparwidth,capbesidesep=marginparsep,framestyle=colorbox,framefit=yes,
+% frameset={\fboxrule3pt\fboxsep8pt},colorframeset=framedfigure}
+% \captionsetup[capbesidefigure]{justification=RaggedRight,
+% font=small,labelfont={normalsize,sf,bf},labelsep=newline,strut=no}
+% \begin{figure*}[H]%
+% {\input{Mouse.picture}}{\caption{Рисунок с~альтернативным оформлением («звёздное» окружение)
+% подпись сбоку помещается в~левое поле}\label{color:frame}}
+% \end{figure*}%
+% \endgroup
+%
+%^^A% \enph{Note}. The row of figures~\ref{fig:row:Dog}--\ref{fig:row:cheese} on the page
+%^^A% \pageref{fig:row:Dog} uses the same margin settings of option |hangleft|.
+% \emph{Замечание}. Ряд рисунков~\ref{fig:row:Dog}--\ref{fig:row:cheese} на
+% с~\pageref{fig:row:Dog} использует те же настройки полей в~опции |hangleft|.
+%
%^^A% Starred form, |\setfloatmargins*|, defines facing layout: inside and
%^^A% outside margin.
% «Звёздная» форма команды, |\setfloatmargins*|, определяет оформление
@@ -3681,19 +4465,29 @@
% | \floatfacing{\hskip-12pt\vrule width4pt\hskip8pt\hfill}%|
% | {\hfill\hskip8pt\vrule width4pt\hskip-12pt}}{}}|
% \end{Quote}
+% \DescribeMacro{\floatfacing}\label{setup:floatfacing}%^^A
%^^A% the |\floatfacing| defines following
% Команда |\floatfacing| определяет следующее
% \begin{quote}
% |\floatfacing{|\meta{odd page definition}|}{|\meta{even page definition}|}|
% \end{quote}
%^^A% This macro has also starred form |\floatfacing*|,
-%^^A% which you can use in key options for |\captionsetup| stuff.
+%^^A% which you can use in key options for floats with beside captions and for |\captionsetup| stuff.
% Эта макрокоманда также имеет «звёздную» форму |\floatfacing*|,
-% которой вы можете воспользоваться в~опциях ключей для команды |\captionsetup|.
-%
-%^^A% The |\setfloatmargins| consists of three macros which set margins
+% которой вы можете воспользоваться для настроек макета с~подписями сбоку
+% и~в~опциях ключей для команды |\captionsetup|.
+%
+%^^A% \emph{Note}. Please remember that all options, which set different layout for facing pages
+%^^A% need |facing=yes| key option.
+% \emph{Замечание}. Помните, что все опции, задающие различное оформление для страниц на развороте,
+% требуют задание ключа |facing=yes|.
+%
+% \DescribeMacro{\floatboxmargins}\label{setup:floatboxmargins}%^^A
+% \DescribeMacro{\floatrowmargins}\label{setup:floatrowmargins}%^^A
+% \DescribeMacro{\floatcapbesidemargins}\label{setup:floatcapbesidemargins}%^^A
+%^^A% The |\setfloatmargins| could be ``divided'' into the three macros which set margins
%^^A% for three main variants of float positions:
-% Команда |\setfloatmargins| состоит из трёх макрокоманд, которые определяют
+% Команду |\setfloatmargins| можно разбить на три макрокоманды, которые определяют
% поля (выключку и~другой материал) для трёх вариантов расположения флота:
% \begin{Options}{\OptionLabel}
%^^A% \item[\cmd{\floatboxmargins}]sets left/right margins around alone
@@ -3710,98 +4504,71 @@
% \end{Options}
%^^A% The grammar for using three mentioned commands is similar to
%^^A% |\setfloatmargins|. The settings which use |\floatfacing| command
-%^^A% work only in the case when key \texttt{facing=yes} used.
+%^^A% work only in the case when key |facing=yes| used.
% Грамматика использования этих трёх команд такая же как
-% и~у~|\setfloatmargins|. Настройки, использующие команду |\floatfacing|
-% будут работать если включён ключ \texttt{facing=yes}.
+% и~у~|\setfloatmargins|. И~опять же настройки, использующие команду |\floatfacing|
+% будут работать если включён ключ |facing=yes|.
%
-%^^A% \emph{Notes}. 1)\enskip The \package{floatrow} expands some settings of table layout
+%\RestoreSpaces
+%^^A% \paragraph{Alignment Settings for longtable.}
+% \label{ssec:decl:ltable:marg}
+% \paragraph{Выключка таблиц в~окружении \env{longtable}.}
+%^^A% The \package{floatrow} expands some settings of table layout
%^^A% to the \env{longtable} environment, so you may set |\LTleft| and
%^^A% |\LTright| parameters inside |\setfloatmargins| command. For example,
-%^^A% \texttt{centering} option was defined like:
-% \emph{Замечания}. 1)\enskip Пакет \package{floatrow} задаёт некоторые настройки
+%^^A% |centering| option was defined like:
+% Пакет \package{floatrow} задаёт некоторые настройки
% оформления таблиц для окружения \env{longtable},
% поэтому вы можете задать параметры |\LTleft| и~|\LTright|
% в~команде |\DeclareMarginSet|.
-% Например, опция \texttt{centering} была определена следующим образом:
-% \begin{quote}
-% |\DeclareMarginSet{centering}{\setfloatmargins{\hfill}{\hfill}%|\\
-% | \LTleft=\fill \LTright=\fill}|
-% \end{quote}
-%^^A% 2)\enskip The font settings loaded in |\floatsetup|
-%^^A% in \env{longtable} environment expand to captions.
-%^^A% In this case, when you write something like
-% 2)\enskip Установки шрифта, заданные в~команде~|\floatsetup|
-% в~окружении \env{longtable} распространяются и~на подписи.
-% В~этом случае, когда вы задаёте, что-то типа
-% \begin{Quote}
-% |\floatsetup{font={sf,scriptsize,it}...|
-% \end{Quote}
-% или
-% \begin{Quote}
-% |\floatsetup[longtable]{font={sf,scriptsize,it}...|
-% \end{Quote}
-%^^A% for floats (or for [long]tables only), you ought to restore correct
-%^^A% font size, family, shape (here) and series for caption contents and write\footnote
-%^^A% {The version 3.1 of \package{caption} package will correct that.}:
-% для объектов (или только в~опции [longtable] команды~|\floatsetup|),
-% нужно вернуть нужные
-% размер, семейство, начертание (в~данном случае) и~насыщенность шрифта, хотя бы так\footnote
-% {Версия 3.1 пакета \package{caption} это исправляет.}:
+% Например, опция |centering| в~пакете была определена следующим образом:
% \begin{Quote}
-% |\captionsetup{font={rm,small,up}...|
-% \end{Quote}
-% или
-% \begin{Quote}
-% |\captionsetup[longtable]{font={rm,small,up}...|
+% |\DeclareMarginSet{centering}{%|
+% | \setfloatmargins{\hfill}{\hfill}%|
+% | \LTleft=\fill \LTright=\fill}|
% \end{Quote}
%
%^^A% \subsubsection{Float Separators Options (\texttt{floatrowsep=}, \texttt{capbesidesep=})}
% \subsubsection{Опции разделителей флотов (\texttt{floatrowsep=}, \texttt{capbesidesep=})}
-%
% \DescribeMacro{\DeclareFloatSeparators}\label{setup:DeclareFloatSeparators}%^^A
%^^A% You may to define separator
%^^A% between float boxes, or float object and beside caption, for example:
% Вы можете определить разделитель между флотами рядом (в~окружении \env{floatrow})
-% или между флотом и~подписью сбоку, пример разделителя:
-% \par\RestoreSpaces
+% или между флотом и~подписью сбоку, например:
% \begin{Quote}
% |\DeclareFloatSeparators{columnsep}{\hskip\columnsep}|
% \end{Quote}
-%^^A% or more complex, using \package{color} package, and |\floatfacing| macro
-%^^A% (do not forget the \texttt{facing=yes} key):
-% или более сложный, с~использованием пакета \package{color}
+%^^A% Please remember, that you may use option defined with |\DeclareFloatSeparators|
+%^^A% by both |floatrowsep=| and |capbesidesep=| keys.
+%^^A% You may also use key options declared
+% by \cmd{\DeclareCaptionLabelSeparator} command.\par%
+% Вы можете использовать заданные опции в~ключах |floatrowsep=|
+% и~|capbesidesep=|. (Вы можете воспользоваться опциями, заданными
+% \cmd{\DeclareCaptionLabelSeparator} "--- командой из \package{caption}.)
+%
+%^^A% The next example uses more complex separator, which uses, \package{color} package,
+%^^A% and |\floatfacing| macro (do not forget here the \texttt{facing=yes} key).
+% Следующий пример использует более сложный разделитель, с~использованием пакета \package{color}
% и~макрокоманды |\floatfacing|
-% (не забудьте также ключ \texttt{facing=yes}):
-%^^A% You may use defined option by both \texttt{floatrowsep=} and
-%^^A% \texttt{capbesidesep=} keys\footnote{You may use key options declared
-%^^A% by \cmd{\DeclareCaptionLabelSeparator} command.}.\par\strut\par
-%^^A% \kern-\baselineskip
-% Вы можете использовать заданные опции в~ключах \texttt{floatrowsep=}
-% и~\texttt{capbesidesep=}\footnote{Вы можете воспользоваться опциями, заданными
-% \cmd{\DeclareCaptionLabelSeparator} "--- командой из \package{caption}.}.\par
-% \strut\par\kern-\baselineskip
-%
-% \begin{Quote}
-% \meta{preamble}
-% |\DeclareObjectSet{colorred}{\parskip2pt\parindent15pt\color{red}}|
-% |\DeclareMarginSet{hangleft}%|
+% (не забудьте также ключ |facing=yes|):
+% \begin{Quote}[0pt]
+% \begin{preamble}\nopagebreak
+% |\|\FRkey{DeclareObjectSet}|{colorred}{\parskip2pt\parindent15pt\color{red}}|
+% |\|\FRkey{DeclareMarginSet}|{hangleft}%|
% | {\setfloatmargins|
% | {\hskip-\marginparwidth\hskip-\marginparsep}{\hfil}}|
% |\DeclareFloatSeparators{colorsep}%|
% | {\begingroup\color{blue}%|
-% | \floatfacing{\hskip6pt\vrule width4.8pt\hskip6pt}%|
-% | {\hskip6pt\vrule width4.8pt\hskip6pt}%|
+% | \floatfacing*{\hskip16pt\vrule width4.8pt\hskip6pt}%|
+% | {\hskip6pt\vrule width4.8pt\hskip16pt}%|
% | \endgroup}|
-% |\floatsetup[|\hyperref[setup:widefigure]{\texttt{widefigure}}|]{|%^^A
-% \hyperref[setup:margins]{\texttt{margins}}|=hangleft,|%^^A
-% \hyperref[setup:capbesidesep]{\texttt{capbesidesep}}|=colorsep,|
-% \hyperref[setup:objectset]{\texttt{objextset}}|=colorred,|
-% | |\hyperref[setup:floatwidth]{\texttt{floatwidth}}|=\textwidth,|%^^A
-% \hyperref[setup:facing]{\texttt{facing}}|=yes}|
+% |\|\FRkey[sec]{floatsetup}|[widefigure]{|%^^A
+% \FRkey{margins}|=hangleft,|\FRkey{capbesidesep}|=colorsep,|
+% | |\FRkey{objectset}|=colorred,|\FRkey{floatwidth}|=\textwidth,| \FRkey{facing}|=yes}|
% |\captionsetup[figure]{justification=justified,|
-% | labelfont={magenta,bf},textfont=green,labelsep=newline}|
-% \meta{preamble}
+% | labelfont={color={magenta},bf},textfont={color={green}},|
+% | labelsep=newline}|
+% \end{preamble}
% |\begin{figure*}|\nopagebreak
% |...|\nopagebreak
% |\end{figure*}|
@@ -3810,49 +4577,37 @@
% \floatsetup[widefigure]{margins=hangleft,capbesidesep=colorsep,objectset=colorred,
% floatwidth=\textwidth,facing=yes,capposition=beside,capbesideposition=left}
% \captionsetup[figure]{justification=justified,
-% labelfont={magenta,bf},textfont=green,labelsep=newline}
+% labelfont={color={magenta},bf},textfont={color={green}},labelsep=newline}
% \begin{figure*}[H]%
-% {\TEXTBOX}{\caption[Разноцветные рисунок и~подпись сбоку]{Разноцветные рисунок и~подпись. And A bit more text, and some more text}}
+% {\TEXTBOX}{\caption[Разноцветные рисунок и~подпись сбоку]{Разноцветные рисунок
+% и~подпись. And A bit more text, and some more text}\label{color:fig}}
% \end{figure*}%
+%^^A% \emph{Note}. The settings |labelfont={color={magenta},bf}|\allowbreak
+%^^A% |,textfont={color={green}}|
+%^^A% were documented in the \package{caption} documentation version 3.1.
+% \emph{Замечание}. Настройки цвета шрифта в~виде |labelfont={color={magenta},bf,}|\allowbreak
+% |textfont={color={green}}|
+% впервые описаны в~документации пакета \package{caption} версии~3.1.
% \endgroup
%
-%^^A% \subsubsection{Float font}\label{ssec:declfont}
-% \subsubsection{Опция шрифта содержимого объекта (\texttt{font=})}\label{ssec:declfont}
-%
-% \DescribeMacro{\DeclareFloatFont}\label{setup:DeclareFloatFont}%^^A
-%^^A% With this macro you may define new option
-%^^A% for font (\texttt{font=} key) of float contents. This macro works
-%^^A% like |\DeclareCaptionFont| in \package{caption} package. (You may also
-%^^A% use key options declared by |\DeclareCaptionFont| command.)\par
-% Этой макрокомандой вы можете определить новую опцию
-% для шрифта (ключ \texttt{font=}) содержимого объекта. Эта макрокоманда работает
-% также как |\DeclareCaptionFont| из пакета \package{caption}. (Вы можете также
-% воспользоваться опциями, заданными в~команде |\DeclareCaptionFont|.)
-%
-%^^A% To get red color for text in the example above, you may define the red color by following way:
-% Чтобы получить текст красного цвета в~примере выше, определите красный цвет:
-% \begin{Quote}%
-% |\DeclareFloatFont{red}{\color{red}}|
-% \end{Quote}%
-% а~затем задайте его в~команде |\floatsetup|
-% \begin{Quote}%
-% |\floatsetup[figure]{font={small,red},...}|\quad.
-% \end{Quote}%
-%
-% \RestoreSpaces
%^^A% \subsubsection{Option for Float Footnote Rule's Style}\label{ssec:fnoterule}
% \subsubsection{Опция линейки для сносок (\texttt{footnoterule=})}\label{ssec:fnoterule}
-%
% \DescribeMacro{\DeclareFloatFootnoterule}\label{setup:DeclareFloatFootnoterule}%^^A
-%^^A% You may define new footnoterule (\texttt{footnoterule=} key) like:
-% Вы можете определить новую линейку для сноски (ключ \texttt{footnoterule=})
+%^^A% You may define new footnoterule (|footnoterule=| key) like:
+% Вы можете определить новую линейку для сноски (ключ |footnoterule=|)
% следующим образом:
-% \par\RestoreSpaces
% \begin{Quote}
-% |\DeclareFloatFootnoterule{limited}{\kern-3pt|
-% | \@tempdima.4\columnwidth|
-% | \ifdim\@tempdima>\frulemax\@tempdima=\frulemax\fi|
-% | \hrule width\@tempdima\kern2.6pt}|
+% \begin{preamble}
+% |...|
+% |\usepackage{ifthen}|
+% |\renewcommand\frulemax{72pt}|
+% |\newcommand \Limitedrule{.33\columnwidth}|
+% |\DeclareFloatFootnoterule{Limited}{\kern-3pt|
+% | \def\Limitedrule{.33\columnwidth}%|
+% | \ifthenelse{\lengthtest{\frulemax<\Limitedrule}}%|
+% | {\def\Limitedrule{\frulemax}}{}%|
+% | \hrule width\Limitedrule\kern2.6pt}|
+% \end{preamble}
% \end{Quote}
%^^A% Remember, that summary vertical height for footnote rule must be
%^^A% equal to~0pt.
@@ -3861,7 +4616,6 @@
%\clearpage
%^^A% \section{Creation of New Float Type}\label{sec:newfloat}
% \section{Создание нового типа плавающих объектов (флотов)}\label{sec:newfloat}
-%
% \DescribeMacro{\DeclareNewFloatType}\label{setup:DeclareNewFloatType}%^^A
%^^A% For creation of new float type there was created
%^^A% |\DeclareNewFloatType|\label{FAD:newfloattype}
@@ -3871,11 +4625,11 @@
% |\DeclareNewFloatType|\label{FAD:newfloattype},
% которая также использует механизм
% \meta{key}${}=\nobreak {}$\meta{value}:
-% \par\RestoreSpaces
+% \RestoreSpaces
% \begin{quote}
% |\DeclareNewFloatType{|\meta{type}|}{|\meta{options}|}|
% \end{quote}
-%^^A% The \meta{type} argument includes the new float environment name.\\
+%^^A% The \meta{type} argument includes the new floating environment name.\\
%^^A% The \meta{options} could include following keys:
% Аргумент \meta{type} включает имя нового окружения флота.\\
% Аргумент \meta{options} может включать следующие ключи:
@@ -3883,15 +4637,15 @@
% \noindent
% \DescribeMacro{placement}\label{setup:placement}%^^A
%^^A% The option of this key could have any combination of letters
-%^^A% \texttt{t}, \texttt{b}, \texttt{h}, and \texttt{p}, which
+%^^A% |t|, |b|, |h|, and |p|, which
%^^A% define placement of current float type on the page in
-%^^A% the case float environment has no any option argument.
-%^^A% (As default is declared \texttt{placement=tbp}.)
+%^^A% the case floating environment has no any option argument.
+%^^A% (As default is declared |placement=tbp|.)
% (размещение) опцией этого ключа может быть любая комбинация букв
-% \texttt{t}, \texttt{b}, \texttt{h}, и~\texttt{p}, которые
+% |t|, |b|, |h|, и~|p|, которые
% определяют размещение данного типа флотов на странице
% в~случае, если не используется дополнительный аргумент в~окружении.
-% (По умолчанию определено \texttt{placement=tbp}.)
+% (По умолчанию определено |placement=tbp|.)
%
% \noindent
% \DescribeMacro{name}\label{setup:name}%^^A
@@ -3903,58 +4657,66 @@
%
% \noindent
% \DescribeMacro{fileext}\label{setup:fileext}%^^A
-%^^A% Defines the file extension from which
-%^^A% gathered list of floats. (As default, new captions
-%^^A% are gathered in \texttt{lox}-file). This option is required in the case of
-%^^A% creation of a~separate float lists.
+%^^A% Defines the file extension from which gathered list of floats.
+%^^A%^^A% (As default, new captions
+%^^A%^^A% are gathered in |loe|-file). This option is required in the case of
+%^^A%^^A% creation of a~separate float lists.
% Определяет расширение файла, где будет собираться список флотов.
-% (По умолчанию, подписи собираются в~файле с~расширением \texttt{lox}).
-% Если предполагается создание отдельных списков флотов, задание нового
-% расширения с~помощью этой опции обязательно.
+%^^A% (По умолчанию, подписи собираются в~файле с~расширением |loe|).
+%^^A% Если предполагается создание отдельных списков флотов, задание нового
+%^^A% расширения с~помощью этой опции обязательно.
+%
+%^^A% \emph{Note.} In the version v0.2b, in the case of this key not defined,
+%^^A% the captions of one type are gathered in file with extension,
+%^^A% co-named to current floating environment with perfix ``lo''. This new feature allows
+%^^A% to create separate float lists by default.
+% \emph{Примечание.} В~версии~v0.2b, если данный ключ не определён,
+% подрисуночные подписи одного типа собираются в~файле с~расширением,
+% одноимённым окружению с~префиксом ``lo''. Это даёт возможность получать разные файлы
+% списков флотов по умолчанию.%^^A\footnote{Такие расширения могут не пройти в~некоторых операционных системах?}
%
% \noindent
% \DescribeMacro{within}\label{setup:within}%^^A
%^^A% Declares the section head of document, by which
-%^^A% current float resets its numbering to zero. If this key absent,
-%^^A% float increases during whole documentation.
+%^^A% current float resets its numbering to zero. If this key is absent,
+%^^A% the float numbering increases during whole documentation.
% Определяет раздел, внутри которого будет производиться перенумерация.
% Если ключ отсутствует, задаётся сквозная нумерация по всему документу.
%
% \noindent
% \DescribeMacro{relatedcapstyle}\label{setup:relatedcapstyle}%^^A
-%^^A% In \package{float} package the non-starred
+%^^A% In the \package{float} package the non-starred
%^^A% \cmd{\newfloat}/\cmd{\restylefloat} macros attach related
-%^^A% caption style for float styles (see {\sectionname}~\ref{sec:floatst}).
+%^^A% caption style for float styles (see {\sectionname} \ref{sec:floatst}).
%^^A% If you use |\DeclareNewFloatType| mechanism and exists (you created
%^^A% it by |\captionsetup|) co-named, i.e. related, caption style
-%^^A% you may attach this style with key \texttt{relatedcapstyle=yes}.
+%^^A% you may attach this style with key |relatedcapstyle=yes|.\medskip
% В~пакете \package{float} команды \cmd{\newfloat}/\cmd{\restylefloat}
% присоединяют специальный стиль подписи, связанный с~данным стилем флота
% (см.~{\sectionname}~\ref{sec:floatst}). Если вы используете механизм |\DeclareNewFloatType|,
% и~имеется (вы создали с~помощью |\captionsetup|) одноимённый, связанный,
% стиль подписи, вы можете присоединить этот стиль с~помощью ключа
-% \texttt{relatedcapstyle=yes}.
-% %^^A \begin{quote}
-% %^^A |\captionsetup[figure]{style=ruled}|
-% %^^A \end{quote}
-%
-%^^A% The |\DeclareNewFloatType| was used for defining of \env{Example}
-%^^A% environment (see page \pageref{exa1.1}). It consists of following
-%^^A% code:
-% Команда |\DeclareNewFloatType| была использована для определения окружения
-% \env{Example} (см.~с.~\pageref{exa1.1}). Она была задана следующим образом:
-% \begin{quote}
-% |\DeclareNewFloatType{Example}%|\\
-% | {placement=t,within=section,fileext=lox,|\\
+% |relatedcapstyle=yes|.\medskip
+%
+%^^A% Below is printed example of the |\DeclareNewFloatType| command,
+%^^A% which was used for defining of the \env{Example}
+%^^A% environment demonstrated on the page \pageref{exa1.1}.
+%^^A% It consists of following code:
+% Ниже приводится пример команды |\DeclareNewFloatType|,
+% которая была использована для определения окружения примера
+% \env{Example}, который приводится на с.~\pageref{exa1.1}).
+% Она была задана следующим образом:
+% \begin{Quote}
+% |\DeclareNewFloatType{Example}%|
+% | {placement=t,within=section,fileext=loe,|
% | name=\CYRP\cyrr\cyri\cyrm\cyre\cyrr}}|
-% \end{quote}
-% Для русской документации пришлось в примере добавить ключ \texttt{name=}.
+% \end{Quote}
+% Для русской документации пришлось добавить ключ |name=|.
%
%^^A% \subsection{How to change \cmd{\newfloat} with
%^^A% \cmd{\DeclareNewFloatType}}\label{sec:oldtonew}
-% \subsection{Как заменить \cmd{\newfloat} на
-% \cmd{\DeclareNewFloatType}}\label{sec:oldtonew}
-%
+% \subsection{Как заменить \texorpdfstring{\cs{newfloat}}{newfloat} на
+% \texorpdfstring{\cs{DeclareNewFloatType}}{DeclareNewFloatType}}\label{sec:oldtonew}
%^^A% The |\newfloat| command takes three required and
%^^A% one optional argument:
% Команда |\newfloat| использует три обязательных
@@ -3966,16 +4728,22 @@
%^^A% which could be replaced with
% что можно заменить на:
% \begin{Quote}
-% |\DeclareNewFloatType|\marg{type}|%|\\
-% | {placement=|\meta{placement}|,fileext=|\marg{ext}|,widthin=|\oarg{within}|}|
+% |\DeclareNewFloatType|\marg{type}|%|
+% | {placement=|\meta{placement}|,fileext=|\meta{ext}|,widthin=|\meta{within}|}|
% \end{Quote}
%
+%^^A% The \package{float} package offered also other commands of float type declaring:
+%^^A% the |\floatname| command can be replaces by the |name=| key of |\DeclareNewFloatType|
+%^^A% command; the |\floatplacement|---by the |placement=| key.
+% Пакет \package{float} предлагает также другие команды, для задания нового типа флотов:
+% команда |\floatname| заменяется на ключ |name=| в~установках команды |\DeclareNewFlotaType|,
+% а~|\floatplacement| \cdash--- на ключ |placement=|.
+%
% \clearpage
% %^^A\section{Borrowed code}\label{sec:borrow}
% \section{Заимствованный код}\label{sec:borrow}
-%
%^^A% \subsection{\package{float} Package: Compatibility}\label{sec:floatst}
-% \subsection{Пакет \package{float}: совместимость}\label{sec:floatst}
+% \FRorisubsection{Пакет \package{float}: совместимость}\label{sec:floatst}
%
%^^A% The \package{floatrow} package includes some macros of \package{float}
%^^A% (version v1.3d, dated 2001/11/08)
@@ -3991,8 +4759,8 @@
%^^A% could call \package{float} package\footnote{I'm aware about \package{algorithm}
%^^A% package.} the \package{floatrow} package loads code which emulates
%^^A% already loaded \package{float} package v1.3, so next requests for
-%^^A% \package{float} are ignored. This will help to avoid strange error messages
-%^^A% in the case of these packages loaded \emph{after} \package{floatrow}.
+%^^A% this package will be are ignored. This will help to avoid strange error messages
+%^^A% in the case of these packages loaded after \package{floatrow}.
%^^A% Please note that packages, which load \package{float} must be loaded
%^^A% \emph{after} \package{floatrow}.
% \emph{Замечание}.
@@ -4001,64 +4769,68 @@
% пакет \package{floatrow} вводит код, эмулирующий
% загрузку пакета \package{float} v1.3 и~последующие запросы пакета игнорируются.
% Это поможет избежать сообщений об ошибках,
-% если эти пакеты загружены \emph{после} \package{floatrow}.
+% если эти пакеты загружены после \package{floatrow}.
% Обратите внимание, что пакеты, загружающие пакет \package{float}, должны быть
% загружены \emph{после} \package{floatrow}.
%
-%^^A% I hope that old documents could work with \package{floatrow}. The first
+%^^A% I hope that old documents, which use the \package{float} package,
+%^^A% could work with \package{floatrow}. The first
%^^A% limitation or feature is---if you didn't use any |\restylefloat|
-%^^A% command---all figures and tables appear in \texttt{plain} float style
+%^^A% command---all figures and tables appear in |plain| float style
%^^A% with bottomed captions. Another limitation---you ought to put all
%^^A% |\newfloat| and |\floatstyle| and |\restylefloat| commands in
%^^A% preamble, before |\begin{document}|. The commands |\restylefloat|,
%^^A% |\newfloat| and |\floatstyle| are obsolete but
%^^A% supported\footnote{The better
%^^A% way is to use \cmd{\floatsetup} macros. The \package{floatrow} package
-%^^A% supports obsolete macros but there is no guarantee.}. See also
+%^^A% supports obsolete macros but there is no guarantee. See also
%^^A% section~\ref{float-obs} about translation of these commands
-%^^A% into |\floatsetup| command.
-% Надеюсь что старые документы будут работать с~\package{floatrow}. Первое
+%^^A% into |\floatsetup| command.} see section below.
+% Надеюсь что старые документы, использующие пакет~\package{float}
+% будут работать с~\package{floatrow}. Первое
% ограничение/особенность "--- если команды |\restylefloat| не заданы
-% "--- все рисунки и~таблицы выведутся в~стиле \texttt{plain}
+% "--- все рисунки и~таблицы выведутся в~стиле |plain|
% с~подписями снизу. Другое ограничение "--- нужно перенести все команды
% |\newfloat|, |\floatstyle| и~|\restylefloat| в~преамбулу,
% до команды |\begin{document}|. Команды |\newfloat|, |\floatstyle|
-% и~|\restylefloat| устаревшие, хотя и~поддерживаются\footnote{Всё же лучше заменить
+% и~|\restylefloat| устаревшие, хотя и~поддерживаются пакетом\footnote{Всё же лучше заменить
% их на команды \cmd{\floatsetup},
-% Пакет \package{floatrow} поддерживает старые команды, но не даёт гарантии.
-% См.~также {\sectionname}~\ref{float-obs} о~том как переводятся эти команды в~команду
-% \cmd{\floatsetup}.}.
+% Пакет \package{floatrow} поддерживает старые команды, но не даёт гарантии.} (см.~раздел ниже).\medskip
%
+%^^A% The sections below explain how \package{float} command and options work in \package{floatrow}.
%^^A% Sections, signed with ``[\package{float}]'' were borrowed from
%^^A% \package{float}'s documentation. The section about commands which
%^^A% describes setting commands of \package{float} package was moved
%^^A% in the section~\ref{sec:changed}
%^^A% (subsection~\ref{sec:floatborrowI}, ``The User Interface---New
-%^^A% Floats [\package{float}]'').
-% Разделы, помеченные «[\package{float}]», заимствованы из
+%^^A% Floats [\package{float}]''), this section describes obsolete stuff.
+% Разделы ниже объясняют как команды и~опции пакета \package{float} работают в~пакете \package{floatrow}.
+% Разделы, помеченные «[\package{float}]» и~отпечатанные наклонным шрифтом, заимствованы из
% документации пакета
% \package{float}\footnote{Настоятельно рекомендуется читать эти разделы
% в~английском варианте документации.
% За корректность перевода не ручаюсь.}. Раздел, описывающий команды
% настроек флотов и~создания нового типа флотов перемещён в~конец,
% в~разд.~\ref{sec:changed} (подраздел~\ref{sec:floatborrowI},
-% «Интерфейс пользователя \cdash--- новые плавающие объекты»)
+% «Интерфейс пользователя \cdash--- новые плавающие объекты») поскольку описывает устаревший интерфейс.
%
-%
-% \RestoreSpaces
%^^A% \subsubsection{How macros from \package{float} package
%^^A% work in \package{floatrow}}\label{float-obs}
% \subsubsection{Как макрокоманды из пакета \package{float}
% работают в~\package{floatrow}}\label{float-obs}
-%
-%^^A% The combination of |\floatstyle|\marg{style} and any of
-%^^A% \cmd{\newfloat}\marg{float} or
-%^^A% \cmd{\restylefloat}\marg{float} commands in \package{floatrow} package
-%^^A% set float layout in the way:
-% Комбинация команды |\floatstyle|\marg{style} и~любой из
-% \cmd{\newfloat}\marg{float} или
-% \cmd{\restylefloat}\marg{float} превращается в~пакете \package{floatrow}
-% в~настройки \hbox{вида}:
+%^^A% The combination of command |\floatstyle|\marg{style} and one of commands
+% Комбинация команды |\floatstyle|\marg{style} и~любой из команд
+% \begin{Quote}
+% |\floatstyle|\marg{style}
+% \cmd{\newfloat}\marg{float}
+% \end{Quote}
+% или:
+% \begin{Quote}
+% |\floatstyle|\marg{style}
+% \cmd{\restylefloat}\marg{float}
+% \end{Quote}
+%^^A% in \package{floatrow} package set float layout in the following way:
+% превращается в~пакете \package{floatrow} в~настройки \hbox{вида}:
% \begin{Quote}
% |\floatsetup|\oarg{float}|{style=|\meta{style}|}|
% \end{Quote}
@@ -4067,23 +4839,20 @@
% Обратите внимание, что используются настройки |\floatsetup|\oarg{float}|{...}|,
% а~не просто |\floatsetup{...}|.
%
-%^^A% The |\floatname| command replaces the |name=| key of |\DeclareNewFlotaType|
-%^^A% command. The |\floatplacement|---|placement=| key.
-% Команда |\floatname| заменяется на ключ |name=| в~установках команды |\DeclareNewFlotaType|,
-% а~|\floatplacement| \cdash--- ключ |placement=|.
-%
%^^A% \subsubsection{Printing of Float List [\package{float}]}
%^^A% \label{sec:floatborrowIa}
% \subsubsection{Печать списка плавающих объектов (флотов)
% [\package{float}]}\label{sec:floatborrowIa}
%
+% \begin{slshape}
+%
% \nobreak\DescribeMacro{\listof}
% \nopagebreak
%^^A% The |\listof| command produces a list of all the floats
%^^A% of a given class. Its syntax~is\\[2pt]
% Команда |\listof| создаёт список всех флотов данного
% класса. Её синтаксис
-% \par\RestoreSpaces
+% \RestoreSpaces
% \begin{quote}
% \hspace*{\MacroIndent}|\listof{|\meta{type}|}{|\meta{title}|}|^^A
% \end{quote}
@@ -4098,24 +4867,24 @@
% |\listof| работает аналогично встроенным командам \LaTeX'а
% |\listoffigures| и~|\listoftables|.
%
-%^^A% \noindent\emph{Floatrow note}.
-%^^A% Please remember that for each float type list
-%^^A% you must set file extension where the entries of each float type gathered.
-%^^A% Use key \texttt{fileext=...} in |\DeclareNewFloatType|.
-%^^A% If two or more float types will have the same file
-%^^A% for list of floats, you will get all floats in the
-%^^A% first appeared |\listof|, and all next will be empty.
-% \noindent\emph{Замечание \textsf{floatrow}}.
-% Помните, что для каждого списка флотов
-% нужно задать расширение файла, где будут собираться вхождения этого флота.
-% Используйте ключ \texttt{fileext=...} в~команде~|\DeclareNewFloatType|.
-% Если два или более типов флотов будут иметь один файл (заданное расширение)
-% списка флотов, все флоты соберутся в~первом
-% списке |\listof|, оставив остальные пустыми.
+%^^A%^^A% \noindent\emph{Floatrow note}.
+%^^A%^^A% Please remember that for each float type list
+%^^A%^^A% you must set file extension where the entries of each float type gathered.
+%^^A%^^A% Use key \texttt{fileext=...} in |\DeclareNewFloatType|.
+%^^A%^^A% If two or more float types will have the same file
+%^^A%^^A% for list of floats, you will get all floats in the
+%^^A%^^A% first appeared |\listof|, and all next will be empty.
+%^^A% \noindent\emph{Замечание \textsf{floatrow}}.
+%^^A% Помните, что для каждого списка флотов
+%^^A% нужно задать расширение файла, где будут собираться вхождения этого флота.
+%^^A% Используйте ключ \texttt{fileext=...} в~команде~|\DeclareNewFloatType|.
+%^^A% Если два или более типов флотов будут иметь один файл (заданное расширение)
+%^^A% списка флотов, все флоты соберутся в~первом
+%^^A% списке |\listof|, оставив остальные пустыми.
%
%^^A% \subsubsection{The User Interface---\texttt{[H]}
%^^A% Placement Specifier [\package{float}]}\label{sec:floatborrowII}
-% \subsubsection{Интерфейс пользователя "--- указатель
+% \subsubsection{Интерфейс пользователя---указатель
% размещения \texttt{[H]} [\package{float}]}\label{sec:floatborrowII}
%
%^^A% Many%^^A
@@ -4136,7 +4905,7 @@
% поместить флот точно в~то место, где он появляется в~исходном файле,
% иными словами не делать плавающим его вообще. С~первого взгляда указатель
% \texttt{[h]} должен делать это, но фактически он только предлагает
-% \LaTeX'у~<<поместить здесь если получится>>.
+% \LaTeX'у~«поместить здесь если получится».
% На самом деле \LaTeX\ едва склонен в~действительности
% делать это. (Эта ситуация может быть исправлена только хитроумными
% манипуляциями параметров флота.)
@@ -4150,19 +4919,19 @@
%^^A% page together with whatever follows, even though there might still
%^^A% be room left for some of that. This style option provides the
%^^A% \texttt{[H]} specifier for newly defined classes of floats as well
-%^^A% as the predefined \texttt{figure}s and \texttt{table}s, thereby
+%^^A% as the predefined |figure|s and |table|s, thereby
%^^A% superseding \package{here}. David suggests that the \package{here} option be
%^^A% withdrawn from the archives in due course.
% Тот же эффект может быть достигнут изменением метода
% размещения флотов. Опция \package{here} (David Carlisle) предлагает
% новый указатель размещения флота, названный \texttt{[H]},
% который, при добавлении в~опции флота,
-% говорит \LaTeX'у~<<поставить СЮДА, точка>>. Если места на
+% говорит \LaTeX'у~«поставить СЮДА, точка». Если места на
% странице недостаточно, флот переносится на другую страницу
% вместе с~последующим текстом, даже в~случае, если этот текст
% мог бы там разместиться. Пакет поддерживает эту опцию, указатель
% \texttt{[H]}, как для новых классов флотов так и~для
-% предопределённых \texttt{figure} и~\texttt{table}, вместо
+% предопределённых |figure| и~|table|, вместо
% \package{here}. David предполагает, что пакет \package{here}
% может быть со временем удалён из архивов.
%
@@ -4197,10 +4966,10 @@
% Когда документация обрабатывалась
% \LaTeX'ом\footnote{Пакета \package{float}.}
% обнаружилось что разрыв страницы приходится между строкой
-% <<Итак теперь>> и~флотом. Это ничего не доказывает.
+% «Итак теперь» и~флотом. Это ничего не доказывает.
% Итак теперь мы имеем следующие указатели размещения
% флота:\nopagebreak
-% \par\RestoreSpaces
+% \RestoreSpaces
% \begin{table}[H]
% \begin{tabular}{cl}
% \tt t & вверх полосы\\
@@ -4212,46 +4981,46 @@
% ^^A\caption{Could it be that this just needs a caption?}
% \end{table}
%
+%\end{slshape}
+%
+% \smallskip
%^^A% \emph{Floatrow note}. Please don't mix meaning of
%^^A% \texttt{[H]} and \texttt{[h]} options.
%^^A% Float with \texttt{[h]} and \texttt{[!h]} option, if succeed, appears
%^^A% \emph{after completing line} of text,
%^^A% where it was appeared in the source file. That could be visible if you
-%^^A% put float environment at the middle of paragraph.
+%^^A% put floating environment at the middle of paragraph.
% \emph{Замечание \textsf{floatrow}}. Не путайте значение опций
% \texttt{[H]} и~\texttt{[h]}.
% Опции~\texttt{[h]} или~\texttt{[!h]}, если выполняются, помещают флот
% \emph{после того, как завершена строка} текста,
% где появилось окружение в~исходном файле. Это легко увидеть, если
-% вы поместите окружение флота внутри абзаца.
+% вы поместите окружение флота внутри абзаца (и~в~середине строки).
%
%^^A% The [H] option places float just \emph{in the point} where it appeared
%^^A% in the source file, it is used (\emph{but this method for floats strongly
%^^A% not recommended}!), for floats after text like ``\dots{}shown in this
-%^^A% \textbf{figure:}'', i.e. the \texttt{[H]} floats continue current
+%^^A% \textbf{figure:}'', i.e. the \texttt{[H]} float, almost like math formulas, continues current
%^^A% paragraph.
-% Опция~[H] помещает флот \emph{в~точке} где
+% Опция~|[H]| помещает флот \emph{в~точке} где
% окружение появилось в~исходном файле,
% это используется (\emph{такие вещи в~книгах настоятельно
% не рекомендуются}!) для «флотов» после текста типа «\dots{}показано на этом
-% \textbf{рисунке:}», т.\,е. флоты с~опцией~\texttt{[H]} фактически продолжают
+% \textbf{рисунке:}», т.\,е. флоты с~опцией~\texttt{[H]}, почти как математические формулы, продолжают
% данный абзац.
% \RestoreSpaces
%
%^^A% \subsubsection{The {[H]}
%^^A% Placement Specifier---Managing of Page Breaks}\label{sec:listpen}
-% \subsubsection{Опция {[H]}
-% "--- настройка разрывов на страницы}\label{sec:listpen}
+% \subsubsection{Опция
+% \texttt{[H]}---настройка разрывов на страницы}\label{sec:listpen}
%
-%^^A% During usage of |[H]| option I found that it is necessary
-%^^A% to set common penalties before and after ``anchored'' floats.
-% При использовании опции |[H]| мне понадобилось задать
-% общие запреты на разрывы до и~после флотов «на якоре».
-%
-%^^A% The rules for page breaking around such floats similar to
-%^^A% page breaking of lists in the book.
-% В~одной книге запреты на разрывы на страницы вокруг таких
-% флотов и~вокруг перечней могут быть одинаковыми.
+%^^A% The strange phrase at the end of previous paragraph, ``almost like math formulas''
+%^^A% means, that ``anchored'' floats have not management of page breaking, and also
+%^^A% the text, typed without blank line after float, always gets |\parindent|.
+% Странная фраза, «почти как математические формулы», в~конце предыдущего раздела
+% означает, что у~флотов «на якоре» по умолчанию нет управления разрывами до и~после флота,
+% и, если после флота нет пустой строки, абзац всё равно начинается с~отступа.
%
%^^A% To follow the idea of |\allowdisplaybreaks| command from
%^^A% \package{amsmath} package there is created a \emph{beta-temp}\footnote{I
@@ -4264,8 +5033,9 @@
% \package{listpen}\footnote{Я~надеюсь
% что подобная поддержка рано или поздно появится в~пакете
% \package{paralist} и~считаю, что лучше следовать грамматике
-% этого пакет для таких ситуаций.},
-% который предлагает \hbox{команды}:
+% этого пакета для таких ситуаций.} (может использоваться отдельно),
+% который предлагает команды, управляющие значениями штрафов стандартного \LaTeX'а,
+% используемых в~перечнях:
% \begin{Options}{\OptionLabel}
%^^A% \item[\cmd{\allowprelistbreaks}]sets penalty before lists
%^^A% (and also ``anchored'' floats);
@@ -4286,94 +5056,109 @@
%^^A% ones---to optional arguments |[1]|--|[4]| in |\nopagebreak| command.
%^^A% The default value of all three commands is |[-1]| which equal
%^^A% to settings of standard \LaTeX{} classes: \cls{book}, \cls{article}
-%^^A% etc. (|[-1]| option equal to |-\@lowpenalty| value).
+%^^A% etc. (|[-1]| option equal to |\@lowpenalty| value).
% Все эти команды задают глобально, внутри группы или
-% окружения разрывы, задаваемые цифрами
-% от |[-4]| (нет разрыва) до |[4]| (всегда разрыв). Положительные
+% окружения. Значения разрывов задаются цифрами
+% от |[-4]| (нет разрыва) до |[4]| (разрыв). Положительные
% значения опций команд аналогичны значениям опций
% команды |\pagebreak|. Отрицательные соответствуют
% опциям |[1]|--|[4]| в~команде |\nopagebreak|.
% Значение по умолчанию равно |[-1]|, что
% равно установкам стандартных классов \LaTeX'а
-% (|[-1]| соответствует значению |-\@lowpenalty|).
+% (|[-1]| соответствует значению |\@lowpenalty|).
%
% \DescribeMacro{floatHaslist}\label{setup:floatHaslist}%^^A
%^^A% This is the late attempts of backwards compatibility. The key, if true,
%^^A% uses list penalties, otherwise anchored float works like
-%^^A% defined in \package{float} package and in \package{floatrow}'s version 0.0g
+%^^A% defined in \package{float} package and in \package{floatrow}'s version 0.1j
%^^A% and earlier. (I hope there could not much difference,
%^^A% unless you redefined penalties of lists.)
-% Здесь описана запоздавшая попытка обратной совместимости.
-% Ключ, в~значении \texttt{true},
+% Здесь описана запоздалая попытка обратной совместимости, созданная в~версии 0.1k.
+% Ключ, в~значении |true|,
% использует штрафы (penalties) задаваемые для перечней,
% в~противном случае флот «на якоре»
-% и~работает как в~пакете~\package{float} и~версии~0.0g пакета~\package{floatrow}
+% работает как в~пакете~\package{float} и~версии~0.1j пакета~\package{floatrow}
% и~старше. (Надеюсь большой разницы не будет,
% только если штрафы для перечней не переопределялись.)
%
%^^A% Also (added in version 0.1k with current key):
%^^A% since list environments do \emph{not make indentation} in following
%^^A% paragraph, in the case of \emph{no blank} line after environment,
-%^^A% the ``anchored'' float environment does
-%^^A% the same, if this option is true. Default value of \texttt{floatHaslist}
-%^^A% is \texttt{false}
+%^^A% the ``anchored'' floating environment does
+%^^A% the same, if this option is true. Default value of |floatHaslist|
+%^^A% is |false|
%^^A% (for backward compatibility with previous version 0.1j).
% Также (добавлено в~версии 0.1k наряду с~данным ключом):
% поскольку после перечня \emph{не делается абзацного отступа} в~тексте
% в~случае, если \emph{не задана пустая строка} после окружения,
% флот «на якоре» делает то же самое,
-% если включена опция. По умолчанию опция \texttt{floatHaslist} отключена (\texttt{false})
-% (для обратной совместимости с~предыдущей версией~0.1j).
+% если включена опция. По умолчанию опция |floatHaslist| отключена (|false|)
+% (для обратной совместимости с~версией~0.1j).
%
% \DescribeMacro{\floatHpenalties}\label{setup:floatHpenalties}%^^A
%^^A% This macro, defined with |\renewcommand| can include settings for
%^^A% list penalties around anchored float. If you define
% Это макро, определённое с~помощью |\renewcommand| может содержать установки
% штрафов вокруг перечней вокруг флота «на якоре». Если вы определите в~преамбуле документа
-% \RestoreSpaces\begin{Quote}
-% |\renewcommand\floatHpenalties{\@beginparpenalty\@M}|
+% \begin{Quote}
+%\begin{preamble}
+% |\makeatletter|\nopagebreak
+% |\renewcommand\floatHpenalties{\@beginparpenalty\@M}|\nopagebreak
+% |\makeatother|
+%\end{preamble}
% \end{Quote}
%^^A% or, with \package{listpen} package
% или, с~пакетом \package{listpen},\allowpostlistbreaks[-4]
-% \begin{quote}
+% \begin{Quote}
+%\begin{preamble}
% |\renewcommand\floatHpenalties{\allowprelistbreaks[-4]}|\quad,
-% \end{quote}
+%\end{preamble}
+% \end{Quote}
%^^A% you'll never get page breaks before anchored float.
%^^A% \subsection{Пакет \package{rotfloat}}
% вы запретите разрыв до флота «на якоре».
%
% \allowpostlistbreaks\medskip\noindent
% \DescribeMacro{\RestoreSpaces}
-%^^A% The external version of abbreviation of internal command |\@nobreakfalse|.
-%^^A% It switches off |\if@nobreak| flag.
+% \DescribeMacro{\RemoveSpaces}
+%^^A% There was added simple commands, the external aliases
+%^^A% of internal |\if@nobreak| flag. The first is equal to |\@nobreakfalse|.
%^^A% The main (and most visible) usage of this flag---managing of
-%^^A% vertical spaces between two sectioning commands (it cancels the space before for next
-%^^A% section command of the pair); spaces before list environments (cancels the space
-%^^A% before list just after sectioning command) and other similar cases.
-% Добавлена ещё одна простая команда, пользовательский вариант внутренней
-% команды |\@nobreakfalse|.
-% Команда отключает флаг |\if@nobreak|.
+%^^A% vertical spaces: the |true| value in the case of two sectioning commands
+%^^A% cancels the space before next
+%^^A% |\..section| command of the pair, in the case of
+%^^A% spaces around list environments it cancels the space
+%^^A% before list just after sectioning command.
+%^^A% Usually the |\@nobreakfalse| flag toddled at the next paragraph (or |\par| command),
+%^^A% but in some cases this ``toggling'' cannot be happen in necessary point.
+%^^A% The |\RestoreSpaces| command would help. Opposite command |\RemoveSpaces| equals to |\@nobreaktrue|.
+% Добавлены ещё две команды, пользовательский вариант внутреннего
+% флага |\if@nobreak|.
% Основное (и~самое заметное) действие этого флага \cdash--- управление
-% вертикальными отбивками между двумя элементами рубрикации (он отменяет отбивку сверху
-% для следующего из двух стоящих подряд заголовков);
-% отбивки до окружений перечней (отменяет отбивку
-% до перечня сразу после заголовка) и~в~других подобных ситуациях.
-%
-%^^A% Usually this flag turned off at the next paragraph (or |\par| command),
-%^^A% but in some cases this turn off cannot be happen in necessary point.
-%^^A% The |\RestoreSpaces| command would help.
-% По правилам этот флаг отключается в~начале следующего абзаца (или командой |\par|),
+% вертикальными отбивками: значение |true| между двумя элементами рубрикации отменяет
+% отбивку сверху для следующего из двух стоящих подряд заголовков, а~при расстановке
+% отбивок вокруг окружений перечней, отменяет отбивку
+% до перечня сразу после заголовка.
+% По правилам этот флаг переключается в~начале следующего абзаца (или командой |\par|),
% но в~некоторых случаях этого не происходит в~нужный момент.
-% Команда |\RestoreSpaces| в~этих случаях должна помочь.
+% Команда |\RestoreSpaces| в~этих случаях должна помочь. Противоположная команда |\RemoveSpaces|
+% соответствует |\@nobreaktrue|.
%
%^^A% \subsection{The \package{rotfloat} Package}
% \subsection{Пакет \package{rotfloat}}
-%
%^^A% Code of \package{rotfloat} package was also borrowed by \package{floatrow}
-%^^A% package. In the case of loaded \package{rotfloat} package before
+%^^A% package.
+%^^A% This package originally allows to expand settings of \package{float} package to
+%^^A% rotated environments like \env{sidewaysfigure} and \env{sidewaystable}. This mechanism
+%^^A% was borrowed to expand these \package{floatrow}'s settings in the similar way.
+%^^A%
+%^^A% In the case of loaded \package{rotfloat} package before
%^^A% \package{floatrow} you will get error message.
% Код пакета \package{rotfloat} был также позаимствован
-% пакетом \package{floatrow}.
+% пакетом \package{floatrow}. Данный пакет, в~оригинале, позволяет подключить настройки пакета
+% \package{float} на развёрнутые флоты типа \env{sidewaysfigure} и~\env{sidewaystable}.
+% Данный механизм и~был позаимствован, чтобы подключить настройки пакета \package{floatrow}.
+%
% Если пакет \package{rotfloat} был загружен до \package{floatrow},
% вы получите сообщение об ошибке.
%
@@ -4393,35 +5178,26 @@
% где задан пакет \package{rotating} с~опциями: в~противном случае
% вы получите сообщение об ошибке со словами `option clash'.
%
-% \clearpage
-%\newpage
-% \section{Тандемы стилей}
-%
-%^^A% The next few sections show examples and explain some noticed
-%^^A% features with usage of \package{floatrow} and another package. There is not
-%^^A% the full list of style compatibilities. You may succeed with other
-%^^A% versions of mentioned packages, and maybe with not mentioned
-%^^A% packages too.
-% Несколько следующих разделов показывают примеры и~объясняют
-% некоторые замеченные особенности с~использованием пакета
-% \package{floatrow} вместе с~другими пакетами. Это не полный
-% список таких пакетов. Возможна совместимость и~с~другими версиями
-% указанных пакетов, и~с~неуказанными пакетами тоже.
-%
-%^^A% \subsection{The \package{caption} Package}\label{ssec:caption}
-% \subsection{Пакет \package{caption}}
-%
+%\clearpage
+%^^A% \section{The \package{floatrow} Package and The \package{caption} Package}\label{ssec:caption}
+% \section{Пакет \package{floatrow} и пакет \package{caption}}
%^^A% Tested (and compatible) with version v3.0q.
-% Тестировалось (и~совместимо) с~версией v3.0q.
+% Тестировалось (и~совместимо) с~версиями v3.0q--v3.1f.%^^A
%
%^^A% The \package{caption} package has strong mechanism of creating of
%^^A% caption layout, so \package{floatrow} addresses the creation of new
%^^A% caption styles to this package (see documentation for \package{caption}
-%^^A% package).
+%^^A% package%^^A
+%^^A% \footnote{The English documentation is
+%^^A% \href{ftp://ctan.tug.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf}%^^A
+%^^A% {\meta{texmf folder}\texttt{/doc/latex/caption/caption-eng.pdf}}.}.).
% Пакет \package{caption} обладает сильным механизмом создания
% оформления подписей, поэтому \package{floatrow} адресует создание
% новых стилей для подписей этому пакету (см.~документацию для
-% пакета \package{caption}).
+% пакета \package{caption}%^^A
+% \footnote{Английская документация
+% \href{ftp://ctan.tug.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf}%^^A
+% {\meta{texmf folder}\texttt{/doc/latex/caption/caption-eng.pdf}}.}).
%
%^^A% The \package{floatrow} adds possibility to create a variations of captions
%^^A% for floats in different positions or layouts (e.g. like wide or
@@ -4430,8 +5206,8 @@
% Пакет \package{floatrow} добавляет возможность создать варианты
% оформления подписей для флотов с~различным размещением (например
% для флотов вразрез двух колонок или широких флотов,
-% или развёрнутых вертикально флотов) за счёт использования
-% дополнительного аргумента в~команде
+% развёрнутых вертикально флотов, флотов в~оборку) параллельно с~настройками |\floatsetup|
+% за счёт задания того же дополнительного аргумента в~команде
% |\captionsetup|.
%
%^^A% For example you want to create special caption layout for wide or
@@ -4443,46 +5219,589 @@
% |\captionsetup[widefloat]|\marg{options}
% \end{quote}
%^^A% or for wide or two-column figures:
-% или, для широких или рисунков вразрез двух колонок:
+% или, для широких рисунков или рисунков вразрез двух колонок:
% \begin{quote}
% |\captionsetup[widefigure]|\marg{options}
% \end{quote}
%^^A% The priority of |\captionsetup| optional arguments is similar to
-%^^A% |\floatsetup| ones. In current examples |\captionsetup[widefigure]|
+%^^A% |\floatsetup| ones: in current examples |\captionsetup[widefigure]|
%^^A% will be stronger than |\captionsetup[widefloat]|. The priority
%^^A% and usage of ``\meta{float subtypes}'' in optional arguments
%^^A% see on the page~\pageref{stsetorder}\label{cap:beside:order}).
% Приоритет опций в~команде |\captionsetup| такой же, как в~опциях
-% команды |\floatsetup|. В~приведённых примерах настройки
-% |\captionsetup[widefigure]| будут <<сильнее>>, чем
+% команды |\floatsetup|: в~приведённых примерах настройки
+% |\captionsetup[widefigure]| будут «сильнее», чем
% |\captionsetup[widefloat]|. Приоритет и~использование
-% <<\meta{float subtype}>> в~дополнительных аргументах
+% «\meta{float subtype}» в~дополнительных аргументах
% см.~на с.~\pageref{stsetorder}\label{cap:beside:order}.
%
+%\begingroup
+%\providecommand*\subcaption{\captionsetup{subtype*}\caption}
+%
+% \captionsetup[subtype]{labelformat=brace,font=footnotesize}
+% \captionsetup[subtable]{labelformat=brace,textfont=md,labelfont=up}
+%
+%^^A% \subsection{Managing of Float Parts With the \cmd{\subcaption} Command}\label{ssec:subcaption}
+% \subsection{Работа с~частями флотов и~окружение \texttt{subfloatrow}}\label{ssec:subcaption}
+% \DescribeMacro{\subcaption}
+%^^A% The version~3.1 of caption package offers possibility for creation of
+%^^A% subcaptions, using the |subtype| settings (and |\DeclareCaptionSubType| command, see \package{caption}
+%^^A% documentation), which allow to create captions for parts of floats.
+% Версия~3.1 пакета \package{caption} предлагает возможность создания
+% подписей к~частям флота, используя настройки |subtype|
+% (и~команду |\DeclareCaptionSubType|, см.~документацию к~пакету
+% \package{caption}), которые позволяют создать подписи
+% к~частям рисунков.
+%
+%^^A% In this section you may see some examples with building of rows of beside parts of floats.
+% В~этом разделе вы можете увидеть примеры построения рядов из частей флотов.
+%
+%^^A% The example with subtables \Fref{subcaptab:tabIIIa} and \Fref{subcaptab:tabIIIb}
+%^^A% (table~\ref{captab:tabIII}).%^^A
+%^^A% \FRmpar{Subcaption above subtable}{FAD:subcapabove:subcaption}
+% Пример с~двумя подтаблицами \Fref{subcaptab:tabIIIa} и~\Fref{subcaptab:tabIIIb}
+% (табл.~\ref{captab:tabIII}).%^^A
+% \FRmpar{Подпись над частью таблицы}{FAD:subcapabove:subcaption}
+% \begin{Quote}
+%\begin{preamble}
+%\verb|...|
+%\verb|\DeclareCaptionSubType[asbuk]{table}|
+%\verb|\captionsetup[subtable]{labelformat=brace,textfont=md,labelfont=up}|\vspace{1ex}
+%\verb|\floatsetup[subtable]{style=Plaintop}%|
+%\end{preamble}
+% \verb|\begin{table}|
+% \verb|\ttabbox[\FBwidth]|
+% \verb|{\begin{subfloatrow}|
+% \verb| \ttabbox|
+% \verb| {\subcaption{First subtable}\Flabel{...}%|
+% \verb| \begin{tabular}{..}...|
+% \verb| |
+% \verb| \ttabbox...|
+% \verb|\end{subfloatrow}}|
+% \verb|{\caption{Two ...}\Flabel{...}}|\nopagebreak
+% \verb|\end{table}|
+% \end{Quote}%
+% \DeleteShortVerb{\|}%
+%\begingroup
+% \floatsetup[table]{style=plaintop}
+% \floatsetup[subtable]{style=Plaintop}
+% \begin{table}[H]\extrarowheight1pt\tabcolsep1.5\tabcolsep
+% \ttabbox[\FBwidth]
+% {\begin{subfloatrow}
+% \ttabbox
+% {\subcaption{Первая часть таблицы}\Flabel{subcaptab:tabIIIa}%^^A
+% \begin{tabular}{|l|>{\phantom0}c|>{\phantom0}c|}
+% \hline
+% \multirowthead{2}[-1ex]{Column Head}
+% & \multicolumn{2}{c|}{\thead{Data}} \\
+% \cline{2-3}
+% & \multicolumn{1}{c|}{\thead{I}}
+% & \multicolumn{1}{c|}{\thead{II}}
+% \\\hline
+% First row & 1 & 2 \\
+% Second row & 3 & 4 \\
+% Third row & 6 & 8 \\
+% Fourth row & \llap{1}0 & \llap{1}6 \\
+% \hline
+% \end{tabular}}{}
+%
+% \ttabbox
+% {\subcaption{Вторая часть таблицы, тоже внутри \cs{ttabbox} и~окружения \env{floatrow}}%^^A
+% \Flabel{subcaptab:tabIIIb}%^^A
+% \begin{tabular}{|l|c|c|}
+% \hline
+% \multirowthead{2}[-1ex]{Column Head}
+% & \multicolumn{2}{c|}{\thead{Data}} \\
+% \cline{2-3}
+% & \multicolumn{1}{c|}{\thead{I}}
+% & \multicolumn{1}{c|}{\thead{II}}
+% \\\hline
+% First row & \phantom01 & \phantom02 \\
+% Second row & \phantom03 & \phantom04 \\
+% Third row & \phantom06 & \phantom08 \\
+% \hline
+% \end{tabular}}{}%
+% \end{subfloatrow}}
+% {\caption{Две части таблицы
+% (подписи к~ним созданы с~помощью \cs{subcaption})}\label{captab:tabIII}}
+% \end{table}%
+%\endgroup
+% \MakeShortVerb{\|}%
+%^^A% Please note that for the labels of table parts there was used special option
+%^^A% \verb|brace| of the \verb|labelformat| key.
+% Обратите внимание, что для создания нумерационного заголовка частей таблицы
+% используется опция \verb|brace| ключа \verb|labelformat|.
+%
+% \DescribeMacro{subfloatrow}
+%^^A% The \env{subfloatrow} is analogous to \env{floatrow} environment\footnote{
+%^^A% It skips some features of ``parent'' environment.}.
+%^^A% The usage is similar to \env{floatrow}, you may write for example:
+% Окружение \env{subfloatrow} аналогично окружению \env{floatrow}\footnote{
+% В~данном окружении отсутствуют некоторые свойства «старшего» окружения.}.
+% Задание его тоже аналогично окружению \env{floatrow}, вы можете записать:
+% \begin{Quote}
+% \verb|\begin{subfloatrow}[|\meta{number of beside parts of floats}\verb|]|\nopagebreak
+% \verb|\floatbox...|\nopagebreak
+% \verb|\floatbox...|\nopagebreak
+% \verb|...|\nopagebreak
+% \verb|\end{subfloatrow}|
+% \end{Quote}
+%^^A% i.e.\ by default there are allowed two subfloats. For other number
+%^^A% of subfloats you ought to put number in optional argument. This
+%^^A% environment puts horizontal separator, defined by
+%^^A% |subfloatrowsep=| key. This key uses the same options
+%^^A% as |floatrowsep=| and |capbesidesep=| keys (options of
+%^^A% these keys defined by \verb|\|\FRkey{DeclareFloatSeparators} command).
+% т.\,е.\ по умолчанию в~ряду предполагаются две части флота. Если нужно разместить
+% другое число частей, вам нужно задать их число в~дополнительном аргументе.
+% Части флота разделяются отбивкой или материалом, определёнными опцией ключа
+% |subfloatrowsep=|. Этот ключ использует те же опции, что ключи
+% |floatrowsep=| и~|capbesidesep=| (опции этих ключей определяются
+% командой \verb|\|\FRkey{DeclareFloatSeparators}).
+%
+%^^A% Inside the |subfloatrow| environment you may use the |\caption| command, which
+%^^A% this time creates the label for parts of float. This is because of setting
+% Внутри окружение |subfloatrow| вы можете использовать команду |\caption|,
+% которая в~данном окружении уже создаст метки для частей флота.
+% Дело в~том что в~самом начале окружения заданы установки
+% \begin{Quote}
+% |\captionsetup{subtype}|\quad.
+% \end{Quote}%
+%
+%^^A% Next follows an example with beside main caption (figure~\ref{fig:subcap:catsI}).%^^A
+% Далее следует пример с~подписью сбоку (рис.~\ref{fig:subcap:catsI}).%^^A
+% \begin{Quote}[0pt]
+% \begin{preamble}
+% \verb|...|\nopagebreak
+% \verb|\DeclareCaptionSubType[alph]{figure}|
+% \verb|\captionsetup[subfigure]{labelformat=brace,justification=centerlast}|\vspace{1ex}
+% \verb|\floatsetup[figure]{|\FRkey{style}\verb|=Shadowbox,|%^^A%
+% \FRkey{capbesidesep}\verb|=columnsep,%|
+% \verb| |\FRkey{capbesideframe}\verb|=yes,|%^^A
+% \FRkey{capbesideposition}\verb|={left,bottom}}|\nopagebreak
+% \verb|\floatsetup[subfigure]{|\FRkey{style}\verb|=plain,|\FRkey{heightadjust}\verb|=object}|
+% \end{preamble}
+% \verb|\begin{figure}|
+% \verb|\fcapside[\FBwidth]|
+% \verb| {\begin{subfloatrow}|
+% \verb| \ffigbox[\FBwidth]{\subcaption{Одна забавная...}\Flabel{...}...}{}|
+% \verb| |
+% \verb| \ffigbox[\FBwidth]{\subcaption{Другая очаровательная...}\Flabel{...}...}{}%|
+% \verb| \end{subfloatrow}}|
+% \verb| {\caption{... \Fref{...} and \Fref{...}}\label{...}}|\nopagebreak
+% \verb|\end{figure}|
+% \end{Quote}
+%\begingroup
+% \captionsetup[subfigure]{labelformat=brace,justification=centerlast,strut=no}
+% \floatsetup[figure]{style=Shadowbox,capbesidesep=columnsep,
+% capbesideframe=yes,capbesideposition={left,bottom}}
+% \floatsetup[subfigure]{style=plain,heightadjust=object}
+% \begin{figure}[H]
+% \fcapside[\FBwidth]
+% {\begin{subfloatrow}
+% \ffigbox[\FBwidth]{\subcaption{Одна забавная кошка}\Flabel{subcapfig:w}%
+% \unitlength1.2\unitlength\input{Cat.picture}}{}
+% \ffigbox[\FBwidth]{\subcaption{Другая очаровательная кошка}\Flabel{subcapfig:b}%^^A
+% \unitlength1.32\unitlength\input{TheCat.picture}}{}%
+% \end{subfloatrow}}
+% {\caption[Ряд, состоящий из частей рисунка]{Подпись сбоку,
+% выровненная по верху; макет \texttt{Shadowbox}.
+% Рисунок состоит из двух частей:
+% \Fref{subcapfig:w} и~\Fref{subcapfig:b}}\label{fig:subcap:catsI}}
+% \end{figure}
+%\endgroup
+%
+%^^A% In the next example the main caption will be placed below, but labels of figure parts were
+%^^A% printed beside (see figure~\ref{fig:subcap:catsII}). For this reason there was used
+%^^A% \cs{useFCwidth} command, which creates the width of caption box equal to natural caption width.
+% В~следующем примере основная подпись помещена снизу, а~метки частей рисунка размещены сбоку
+% (см.~рис.~\ref{fig:subcap:catsII}). Для этой цели используется команда \cs{useFCwidth},
+% которая определяет ширину подписи, равную натуральной.
+% \begin{Quote}%
+%\begin{preamble}
+%\verb|...|
+%\verb|\captionsetup[subfigure]{labelformat=brace,list=off}|\vspace{1ex}
+%\verb|\floatsetup[subfigure]{|\FRkey{style}\verb|=plain,|%^^A
+% \FRkey{capbesideposition}\verb|=left,|
+%\verb| |\FRkey{capbesidesep}\verb|=space,|%^^A
+% \FRkey{heightadjust}\verb|=object}|
+%\end{preamble}
+% \verb|\begin{figure}[H]|
+% \verb| \ffigbox[\FBwidth]|
+% \verb| {\begin{subfloatrow}\useFCwidth|
+% \verb| \fcapside[\FBwidth]{\subcaption{}\Flabel{...}...}{}|
+%
+% \verb| \fcapside[\FBwidth]{\subcaption{}\Flabel{...}...}{}|
+% \verb| \end{subfloatrow}}|
+% \verb|{\caption[...]{...}\label{...}}|
+% \verb|\end{figure}|
+% \end{Quote}
+%\begingroup
+% \captionsetup[subfigure]{labelformat=brace,list=off}
+% \floatsetup[subfigure]{style=plain,capbesideposition=left,
+% capbesidesep=space,floatrowsep=qquad}
+% \begin{figure}[H]
+% \ffigbox[\FBwidth]
+% {\begin{subfloatrow}\useFCwidth
+%
+% \fcapside[\FBwidth]
+% {\subcaption{}\Flabel{subcap:wI}\hbox{\unitlength1.02\unitlength\input{Cat.picture}}}{}
+%
+% \fcapside[\FBwidth]
+% {\subcaption{}\Flabel{subcap:bI}\hbox{\unitlength.85\unitlength\input{TheCat.picture}}}{}%
+% \end{subfloatrow}}
+% {\caption[Две части рисунка имеют метки, созданные командой \cmd{\subcaption}
+% (метки сбоку)]{Две части рисунка рядом имеют метки, созданные командой \cmd{\subcaption}
+% (метки сбоку). Основная подпись снизу. Итак, части рисунка
+% \Fref{subcap:wI}~и~\Fref{subcap:bI}}\label{fig:subcap:catsII}}
+% \end{figure}
+%\endgroup
+%
+%^^A% In the next example the difference from previous layout settings is in usage
+%^^A% of the top vertical alignment. The height of the right graphics was enlarged by 1cm just
+%^^A% to show how the alignment for parts (here is default centering alignment)
+%^^A% and the top alignment for their captions (they are aligned by top) works.
+% Отличие от предыдущего примера в~примере ниже заключается в~том, что
+% используется вертикальное выравнивание частей рисунка. Высота правой части увеличена на 1\,см,
+% для демонстрации работы вертикального выравнивания объектов (здесь используется
+% вертикальное центрирование по умолчанию) и~их меток или подписей (которые выровнены по верху).
+% \begin{Quote}%
+%\begin{preamble}\nopagebreak
+%\verb|...|
+%\verb|\floatsetup[subfigure]{|\FRkey{style}\verb|=plain,|%^^A
+% \FRkey{heightadjust}|=object,|
+%\verb| |\FRkey{capbesideposition}\verb|={left,top},|\FRkey{capbesidesep}\verb|=space}|
+%\end{preamble}
+% \verb|\begin{figure}[H]|
+% \verb| \ffigbox[\FBwidth]|
+% \verb| {\begin{subfloatrow}\useFCwidth|
+% \verb| \fcapside[\FBwidth]{\caption{}\Flabel{...}...}{}|
+%
+% \verb| \fcapside[\FBwidth][\FBheight+1cm]{\caption{}\Flabel{...}...}{}|
+% \verb| \end{subfloatrow}}|
+% \verb|{\caption[...]{...}\label{...}}|
+% \verb|\end{figure}|
+% \end{Quote}
+%\begingroup
+% \captionsetup[subfigure]{labelformat=brace,list=off}
+% \floatsetup[subfigure]{style=plain,heightadjust=object,capbesideposition={left,top},
+% capbesidesep=space,floatrowsep=qquad}
+% \begin{figure}[H]
+% \ffigbox[\FBwidth]
+% {\begin{subfloatrow}\useFCwidth
+
+% \fcapside[\FBwidth]
+% {\caption{}\relax\Flabel{subcap:wIi}\hbox{\unitlength1.02\unitlength\input{Cat.picture}}}{}
+%
+% \fcapside[\FBwidth][\FBheight+1cm]
+% {\caption{}\Flabel{subcap:bIi}\hbox{\unitlength.85\unitlength\input{TheCat.picture}}}{}%
+% \end{subfloatrow}}
+% {\caption[Две части рисунка рядом, с~командами \cmd{\caption}
+% внутри окружения \env{subfloatrow} (метки сбоку)]{Две
+% части рисунка рядом \ref{subsubcap:wIi}~и~\ref{subsubcap:bIi},
+% внутри окружения \env{subfloatrow}
+% (метки сбоку). Основная подпись снизу. Итак, части рисунка:
+% \Fref{subcap:wIi}~и~\Fref{subcap:bIi}}\label{fig:subcap:catsIiI}}
+% \end{figure}
+%\endgroup
+%
+%^^A% Another example (\ref{fig:subcap:IcatsI}) demonstrates, that you
+%^^A% may use not only option |style=plain| for parts of float,
+%^^A% and there can be not only labels for beside subcaptions,
+% Следующий пример (\ref{fig:subcap:IcatsI}) демонстрирует, что можно использовать не только
+% простое оформление частей рисунка, заданное, например опцией ключа |style=plain|,
+% а~сбоку частей рисунка можно разместить не только метки части рисунка,
+% \begin{Quote}[0pt]
+% \begin{preamble}\nopagebreak
+% \verb|\captionsetup[subfigure]{labelformat=brace,justification=rightlast,|
+% \verb| format=hang}|\vspace{1ex}
+% \verb|\floatsetup[figure]{|\FRkey{style}\verb|=plain}%|
+% \verb|\floatsetup[subfigure]{|\FRkey{style}\verb|=BOXED,|\FRkey{capbesideposition}\verb|={left,top}}|
+% \end{preamble}
+% \verb|\begin{figure}|
+% \verb|\ffigbox|
+% \verb| {\begin{subfloatrow}|
+% \verb| \fcapside[1.1\FBwidth]{\subcaption{One ...}\Flabel{...}...}{}|
+% \verb| |
+% \verb| \fcapside[1.1\FBwidth]{\subcaption{Another ...}\Flabel{...}...}{}%|
+% \verb| \end{subfloatrow}}|
+% \verb| {\caption{... \Fref{...} and \Fref{...}}\label{...}}|\nopagebreak
+% \verb|\end{figure}|
+% \end{Quote}
+%\begingroup
+% \captionsetup[subfigure]{labelformat=brace,justification=rightlast,format=hang}
+% \floatsetup[figure]{style=plain}
+% \floatsetup[subfigure]{style=BOXED,capbesideposition={left,top}}
+% \begin{figure}[H]
+% \ffigbox
+% {\begin{subfloatrow}
+% \fcapside[1.1\FBwidth]{\subcaption{Очень забавная кошка с~глазами в~виде полумесяца, треугольным ушами
+% и~маленькими ушами}\Flabel{subcapfig:ww}%
+% \input{Cat.picture}}{}
+% \fcapside[1.1\FBwidth]{\subcaption{Другая, очаровательная кошка с~большими усами,
+% овальными глазами, и~розовым влажным носиком}\label{subcapfig:bb:}\Flabel{subcapfig:bb}%^^A
+% \input{TheCat.picture}}{}%
+% \end{subfloatrow}}
+% {\caption[Две части рисунка рядом, с~подписями сбоку]{Подписи для частей рисунков
+% выровнены по верху. Итак, две части рисунка:
+% \Fref{subcapfig:ww}~и~\Fref{subcapfig:bb}}\label{fig:subcap:IcatsI}}
+% \end{figure}
+%\endgroup
%
+% \DescribeMacro{\captionlabel}
+% \DescribeMacro{\subcaptionlabel}
+%^^A% The last example demonstrates new command \verb|\subcaptionlabel| which can be used inside,
+%^^A% e.g., \env{picture} environment or as replacing text in \verb|psfrag| command of \package{psfrag}
+%^^A% package. Unlike \verb|\caption| and \verb|\subcaption| command, the \verb|\subcaptionlabel| does
+%^^A% not saved in special box register when float box is building, and
+%^^A% will be typed like caption label, which follows settings of caption layout.
+%^^A% This command based on \verb|\subcaption| command but with changed internal command of
+%^^A% \package{caption} package. There is also the \verb|\captionlabel| command.
+%^^A% \captionsetup[subfigure]{labelformat=brace,justification=raggedleft}
+%^^A% The last example demonstrates new command \verb|\subcaptionlabel| which can be used inside,
+% Последний пример демонстрирует новую команду \verb|\subcaptionlabel|, который может быть использован,
+% например, внутри окружения \env{picture} или как текст-замена для команды \verb|psfrag| (пакет
+% \package{psfrag}). В~отличие от команд \verb|\caption| и~\verb|\subcaption|,
+% команда \verb|\subcaptionlabel| не записывается в~специальный бокс-регистр при построении макета,
+% а~будет напечатан как номер, оформленный соответственно макету подписи.
+% Эта команда, основанная на команде \verb|\subcaption|, но с~изменённой внутренней
+% командой пакета \package{caption}. Также существует команда \verb|\captionlabel|.
+% \captionsetup[subfigure]{labelformat=brace,justification=raggedleft}
+% \begin{Quote}%
+%\begin{preamble}\nopagebreak
+%\verb|...|
+%\verb|\floatsetup[figure]{|\FRkey{style}\verb|=plain}|
+%\end{preamble}
+% |\begin{figure}|
+% |\fcapside[\FBwidth]|
+% |{\begin{picture}(82,40)(0,0)|
+% |\put(0,0){\framebox(40,40)[bl]{}}|
+% |\put(2,2){\makebox(0,0)[bl]{\relax\hbox{\subcaptionlabel{}\Flabel{scap:I}}}}|
+% |...|
+% |\put(42,0){|
+% |\put(0,0){\framebox(40,40)[bl]{}}|
+% |\put(2,2){\makebox(0,0)[bl]{\hbox{\subcaptionlabel{}\Flabel{scap:II}}}}|
+% |...}|
+% |\end{picture}}|
+% |{\caption{Представлены две части рисунка.|
+% |\textit{Слева} изображены кошачьи глаза (\Fref{scap:I});|
+% |\textit{справа} \cdash--- кошачьи уши (\relax\Fref{scap:II})%|
+% |}\label{figcap:label}}|
+% |\end{figure}|
+% \end{Quote}
+%\begingroup
+% \floatsetup[figure]{style=plain}
+% \begin{figure}[H]
+% \fcapside[\FBwidth]
+% {\unitlength2\unitlength\fboxsep-.4pt
+% \begin{picture}(82,40)(0,0)
+% \put(0,0){\framebox(40,40)[bl]{}}
+% \put(2,2){\makebox(0,0)[bl]{\relax\hbox{\subcaptionlabel{}\Flabel{scap:I}}}}
+% \put(20,2){{
+% \put(-12,10){\put(4.5,4.5){\oval(9,9)[t]}
+% \put(4.5,4.5){\line(0,1){4.5}}
+% \put(0,4.5){\line(1,0){9}}}
+% \put(3,10){\put(4.5,4.5){\oval(9,9)[t]}
+% \put(4.5,4.5){\line(0,1){4.5}}
+% \put(0,4.5){\line(1,0){9}}}}}
+% \put(42,0){
+% \put(0,0){\framebox(40,40)[bl]{}}
+% \put(2,2){\makebox(0,0)[bl]{\hbox{\subcaptionlabel{}\Flabel{scap:II}}}}%^^A\label{}
+% \put(20,2){{
+% \put(-14,18){\put(0,0){\line(2,3){5}}
+% \put(10,0){\line(-2,3){5}}}
+% \put(4,18){\put(0,0){\line(2,3){5}}
+% \put(10,0){\line(-2,3){5}}}}}}
+% \end{picture}}
+% {\caption[Рисунок с~метками частей, встроенными внутри графики]{%^^A
+% Представлены две части рисунка.
+% \textit{Слева} изображены кошачьи глаза (\Fref{scap:I});
+% \textit{справа} \cdash--- кошачьи уши (\relax\Fref{scap:II})
+% \unskip}\label{figcap:label}}
+% \end{figure}
+%\endgroup
%
+%^^A% \subsection{Support of The Label--Sublabel References}\label{ssec:Flabel}
+% \subsection{Поддержка ссылок и~меток типа «старший-и-младший»}\label{ssec:Flabel}
+%^^A% In the examples above of the current section there were used the \verb|\Flabel| and
+%^^A% \verb|\Fref| commands for cross referencing (you may see these command in the code examples).
+%^^A% The \verb|\Flabel| gets modified format of current label of subfloat number:
+%^^A% In these definitions the float and subfloat
+%^^A% separators divided by special separator command, which by default means nothing.
+%^^A% This label command can be defined like following:
+% В~примерах выше в~данном разделе использовались команды \verb|\Flabel| и~\verb|\Fref|
+% для перекрёстных ссылок (вы можете видеть эти команды в~примерах кода).
+% Команда \verb|\Flabel| использует изменённый формат текущей метки части флота:
+% в~данных примерах метки флота и~подфлота разделяются специальной командой,
+% которая по умолчанию ничего не означает.
+% Команда метки \verb|\Flabel| определяется следующим образом:
+% \begin{Quote}%
+%\begin{preamble}
+% \verb|\newseparatedlabel\Flabel{figure}{subfigure}|
+%\end{preamble}
+% \end{Quote}
+%^^A% or, for all floats:
+% или для всех флотов:
+% \begin{Quote}%
+%\begin{preamble}
+% \verb|\makeatletter|\nopagebreak
+% \verb|\newseparatedlabel\Flabel{\@captype}{sub\@captype}|\nopagebreak
+% \verb|\makeatother|
+%\end{preamble}
+% \end{Quote}
+%^^A% Next command, \verb|\Fref|, redefines this separator and prints reference with
+%^^A% standard \verb|\ref| command. It was defined in this documentation like following:
+% Следующая команда, \verb|\Fref|, переопределяет команду разделителя, а~затем печатает ссылку
+% с~помощью стандартной команды \verb|\ref|. Команда \verb|\Fref|
+% определена в~данной документации следующим образом:
+% \begin{Quote}%
+%\begin{preamble}
+% \verb|\newseparatedref\Fref{,\,\textit}|\quad.
+%\end{preamble}
+% \end{Quote}
+%^^A% Thus, labels, which use \verb|\Flabel| command can be referenced by usual way with \verb|\ref|
+%^^A% command and with \verb|\Fref| command. The labels in current section and in the section, which
+%^^A% describes the \package{subfig} package, use the \verb|\Flabel|. The result of this command
+%^^A% you may see in all \verb|\Fref|erences to these parts of figures.
+% Теперь метки, которые заданы с~командой \verb|\Flabel| могут быть выведены и~стандартным
+% способом, с~использованием команды \verb|\ref|, и~с~помощью
+% команды \verb|\Fref|. Метки в~данном разделе и~в~разделе, описывающем пакет
+% \package{subfig}, используется команда \verb|\Flabel|. Результат этой команды
+% можно увидеть в~ссылках \verb|\Fref| на части рисунка.
+%
+%^^A% The last command, \verb|\makelabelseparator|, defines label separator globally:
+% Последняя команда, \verb|\makelabelseparator|, определяет разделитель между старшим и~младшим
+% номером:
+% \begin{Quote}%
+%\begin{preamble}
+% \verb|\makelabelseparator{,\,\textit}|\quad.
+%\end{preamble}
+% \end{Quote}
+%^^A% In this case both \verb|\Fref| and \verb|\ref| commands give the same result with |\Flabel|ed
+%^^A% elements.
+% В~этом случае все метки созданные командой \verb|\Flabel| дадут одинаковый
+% результат и~при использовании \verb|\Fref| и~при использовании \verb|\ref|.
+%
+%^^A% \subsubsection{The \cmd{\RawCaption} with Parts of Figure}
+% \subsubsection{Команда \texorpdfstring{\cs{RawCaption}}{RawCaption}
+% и~части рисунка}
+%\begingroup
+% \DescribeMacro{\RawCaption}\label{subcap:RawCaption}%^^A
+%^^A% The example with usage of |\subcaption| and |\RawCaption| command.
+%^^A% The layout of figure float is modified \verb|Boxed| style. The better way in this example is
+%^^A% to place caption in the free right lower corner of graphics. The \verb|\RawCaption|
+%^^A% allows to put caption in necessary place without disturbing of float layout.
+%^^A% \captionsetup[subfigure]{labelformat=brace,justification=rightlast,format=hang}
+% Пример с~совместным использованием команд |\subcaption| и~|\RawCaption|.
+% В~качестве оформления рисунка используется модифицированный стиль \verb|BOXED|.
+% В~данном примере подпись к~рисунку лучше поместить в~свободное место
+% в~правом нижнем углу. Команда \verb|\RawCaption|
+% позволяет поместить подпись в~нужное место с~сохранением оформления рисунка.
+
+% \DescribeMacro{subfloatrow*}
+%^^A% The starred form loads settings for creation captions of float parts,
+%^^A% in this case the |\caption| command restores its meaning.
+%^^A% Thus, you need the |\subcaption| command for typesetting sub-captions.
+%^^A% You may define it by yourself:
+% «Звёздная» форма окружения ряда для частей флота сохраняет
+% значение команды |\caption|. Поэтому вам необходима дополнительная
+% команда |\subcaption| для создания подписей частей флота.
+% Её можно определить следующим образом:
+% \begin{Quote}
+% |\newcommand*\subcaption{\captionsetup{subtype*}\caption}|
+% \end{Quote}%
+%^^A% or use the additional package called \package{subcaption} which on top of everything
+%^^A% defines the |\subcaption| command.
+% или использовать пакет \package{subcaption}, который помимо всего прочего
+% определяет и~команду |\subcaption|.
+%
+% \captionsetup[subfigure]{labelformat=brace,justification=rightlast,format=hang}
+% \begin{Quote}[0pt]%
+%\begin{preamble}\nopagebreak
+% |\|\FRkey{DeclareColorBox}|{framedfigure}{\fcolorbox{gray}{white}}|\vspace{1ex}
+% |\floatsetup[figure]{style=BOXED,heightadjust=object,|
+% | colorframeset=framedfigure,|
+% | framestyle=colorbox,frameset={\fboxrule3pt\fboxsep8pt}}|\vspace{1ex}
+% |\floatsetup[subfigure]{style=plain,capbesideposition={left,top},|
+% | heightadjust=object}|
+%\end{preamble}
+% |\begin{figure}[H]|
+% |\ffigbox{}{\begin{subfloatrow*}|
+% |\fcapside[1.1\FBwidth]{\subcaption{...}\Flabel{...}%|
+% | ...}{}|
+% |\fcapside[1.1\FBwidth]{\subcaption{...}\Flabel{...}%|%^^A
+% | ...}{}%|
+% |\end{subfloatrow*}%|
+% |\renewlengthtocommand\settowidth\Mylen{\subfloatrowsep}\vskip\Mylen|
+% |\BottomFloatBoxes\floatsetup[subfigure]{heightadjust=none}|
+% |\begin{subfloatrow*}|
+% |\fcapside[1.1\FBwidth]{\subcaption{...}\Flabel{...}%|
+% | ...}{}|
+% |\ffigbox[][][b]{}{\RawCaption{\caption[...}\label{...}}}|
+% |\end{subfloatrow*}}|\nopagebreak
+% |\end{figure}|
+% \end{Quote}
+% \floatsetup[figure]{style=BOXED,heightadjust=object,colorframeset=framedfigure,
+% framestyle=colorbox,frameset={\fboxrule3pt\fboxsep8pt}}
+% \floatsetup[subfigure]{style=plain,capbesideposition={left,top},heightadjust=object}
+% \begin{figure}[H]
+% \ffigbox{}{\begin{subfloatrow*}
+% \fcapside[1.1\FBwidth]{\subcaption{Очень забавный кот с весёлыми глазами, треугольными ушами,
+% и~маленьким чёрным носом}\Flabel{subIcapfig:ww}%
+% \setlength\unitlength{61\unitlength/48}\input{Cat.picture}}{}
+% \fcapside[1.1\FBwidth]{\subcaption{Очень приятная кошка с~большими усами, овальными глазами,
+% и~влажным розовым носиком}\Flabel{subIcapfig:bb}%^^A
+% \input{TheCat.picture}}{}%
+% \end{subfloatrow*}\renewlengthtocommand\settowidth\Mylen{\subfloatrowsep}\vskip\Mylen
+% \BottomFloatBoxes\floatsetup[subfigure]{heightadjust=none}
+% \begin{subfloatrow*}
+% \fcapside[1.1\FBwidth]{\subcaption{Очень большой кот, сидит на окне и~смотрит на птиц
+% на дереве во дворе}\Flabel{subIcapfig:bc}%
+% \input{BlackCat.picture}}{}
+% \ffigbox[][][b]{}{\RawCaption{\caption[Три части рисунка с~подписями.
+% Основная подпись в~свободном месте]{Подписи частей
+% рисунков выровнены по верху. Итак три части рисунка:
+% \Fref{subIcapfig:ww}, \Fref{subIcapfig:bb} и~\Fref{subIcapfig:bc}. Подпись рисунка
+% размещена на свободном месте в~правом нижнем углу}\label{fig:subIcap:IcatsI}}}
+% \end{subfloatrow*}}
+% \end{figure}
+%\endgroup
%
+%\endgroup
%
+% \clearpage
+% \section{Тандемы стилей}
+%^^A% The next few sections show examples and explain some noticed
+%^^A% features with usage of \package{floatrow} and another package. There is not
+%^^A% the full list of style compatibilities. You may succeed with other
+%^^A% versions of mentioned packages, and maybe with not mentioned
+%^^A% packages too.
+% Несколько следующих разделов показывают примеры и~объясняют
+% некоторые замеченные особенности с~использованием пакета
+% \package{floatrow} вместе с~другими пакетами. Это не полный
+% список таких пакетов. Возможна совместимость и~с~другими версиями
+% указанных пакетов, и~с~неуказанными пакетами тоже.
%
%^^A% \subsection{The \package{subfig} Package}\label{ssec:subfig}
% \subsection{Пакет \package{subfig}}\label{ssec:subfig}
-%
%^^A% Tested (and compatible) with version 1.3,
%^^A% dated 2005/06/28. For the \package{subfig} package there are additional
%^^A% macros in \package{floatrow} which create of row of subfloats;
%^^A% put subcaption label beside contents of subfloat; put alone
%^^A% subcaption label.
-% Тестировалось (и~совместимо) с~версией~1.3
-% датированной 2005/06/28. В~пакете \package{floatrow} добавлены
-% макрокоманды для размещения частей флота рядом; помещения
-% номера подподписи сбоку; задания номера подподписи
+% Тестировалось (и~совместимо) с~версией~1.3 датированной 2005/06/28.%^^A
+% \footnote{Английская документация
+% \href{ftp://ctan.tug.org/tex-archive/macros/latex/contrib/subfig/subfig.pdf}%^^A
+% {\meta{texmf folder}\texttt{/doc/latex/subfig/subfig.pdf}}.}
+% В~пакете \package{floatrow} добавлены
+% макрокоманды для размещения частей флота рядом; размещения
+% номера подписи подфлота сбоку; задания номера подписи подфлота
% отдельно.
%
%^^A% \subsubsection{Additions in \package{floatrow}}
%^^A% \label{ssec:sidelabelsubfloat}
% \subsubsection{Добавления в~пакете \package{floatrow}}
% \label{ssec:sidelabelsubfloat}
-%
%^^A% The example with \cmd{\subfloat}'s (table~\ref{tab:tabIII}). The
%^^A% setting command in preamble |\floatsetup[table]{style=Plaintop}|%^^A
%^^A% \FRmpar{Subcaption above subtable}{FAD:subcapabove}
@@ -4495,7 +5814,7 @@
% \FRmpar{Подподпись над частью таблицы}{FAD:subcapabove}
% включает
% также настройки для положения подподписей, задаваемых пакетом
-% \package{subfloat} (аналогично |\captionsetup[table]{position=top}|
+% \package{subfloat} (аналогично настройкам |\captionsetup[table]{position=top}|
% в~пакете \package{caption}):
%\begin{Quote}\obeylines\parskip-.15pt
%|\begin{table}\extrarowheight1pt|\nopagebreak
@@ -4511,9 +5830,10 @@
%| \end{subfloatrow}}}|
%|\end{table}|
%\end{Quote}
+%\begingroup
% \DeleteShortVerb{\|}%
-% \captionsetup[subtable]{textfont=md}
-% \begin{table}[h]\extrarowheight1pt\tabcolsep1.5\tabcolsep
+% \floatsetup[subtable]{style=Plaintop}
+% \begin{table}[H]\extrarowheight1pt\tabcolsep1.5\tabcolsep
% \floatbox{table}[\FBwidth]
% {\caption{Две подтаблицы (\cmd{\subtable})
% (созданные с пакетом \package{subfig})}\label{tab:tabIII}}
@@ -4553,21 +5873,33 @@
% \end{table}%
% \MakeShortVerb{\|}%
%
-%^^A% The \env{subfloatrow} is simplified \env{floatrow} environment, which
-%^^A% expands vertical alignment of float contents to subfloats and
-%^^A% puts horizontal separator, defined by \texttt{subfloatrowsep=}
+%^^A% The \env{subfloatrow} is simplified \env{floatrow} environment. The usage similar to \env{floatrow}:
+% Окружение \env{subfloatrow} \cdash--- это упрощённый вариант окружения
+% \env{floatrow}. Использование его аналогично \env{floatrow}:
+% \begin{Quote}
+% |\begin{subfloatrow}[|\meta{number of beside floats}|]|\nopagebreak
+% |\subfloat...|\nopagebreak
+% |\subfloat...|\nopagebreak
+% |...|\nopagebreak
+% |\end{subfloatrow}|
+% \end{Quote}
+%^^A% i.e. by default there are allowed two subfloats. For other number of subfloats
+%^^A% you ought to put number in optional argument.
+%^^A% This environment expands vertical alignment of float contents to subfloats and
+%^^A% puts horizontal separator, defined by |subfloatrowsep=|
%^^A% key. This key and uses the same options
-%^^A% as \texttt{floatrowsep=} and \texttt{capbesidesep=} keys (options of
+%^^A% as |floatrowsep=| and |capbesidesep=| keys (options of
%^^A% these keys defined by |\DeclareFloatSeparators| command,
%^^A% page~\pageref{setup:DeclareFloatSeparators}).
-% Окружение \env{subfloatrow} \cdash--- это упрощённый вариант окружения
-% \env{floatrow}, который распространяет вертикальное выравнивание
-% содержимого объектов и~подписей, а~между подфлотами
-% создаёт разделитель, заданный ключом \texttt{subfloatrowsep=}.
-% Этот ключ использует те же опции, что и~ключи
-% \texttt{floatrowsep=} и~\texttt{capbesidesep=} (опции этих ключей
+% {\sloppy
+% т.\,е. по умолчанию в~окружении предполагается два подфлота. Для другого числа подфлотов
+% нужно задать дополнительный аргумент.
+% Окружение между подфлотами
+% создаёт разделитель, заданный ключом |subfloatrowsep=|.
+% Ключ использует те же опции, что и~ключи
+% |floatrowsep=| и~|capbesidesep=| (опции этих ключей
% задаются командой |\DeclareFloatSeparators|,
-% с.~\pageref{setup:DeclareFloatSeparators}).
+% с.~\pageref{setup:DeclareFloatSeparators}).\par}
%
%^^A To use \env{subfloatrow} environment load
%^^A \package{fr-subfig}\footnote{This package could have only beta-status,
@@ -4575,43 +5907,19 @@
%^^A creation of subcaption and subfloat boxes.} package installed
%^^A together with \package{floatrow}.\pagebreak[3]
%
-%^^A% See examples with \env{subfloatrow} environment in sample files
-%^^A% \file{frsample03.tex}, \file{frsample05.tex}; and also
-%^^A% \file{frsample10.tex}--\file{frsample12.tex} where aligned contents
-%^^A% of beside subfloats are used in different layouts.)
-% См. примеры с~окружениями \env{subfloatrow} в~файлах примеров
-% \file{frsample03.tex}, \file{frsample05.tex}; а~также
-% \file{frsample10.tex}--\file{frsample12.tex} где подфлоты
-% даны в~различных оформлениях и~размещениях.)
-%
%^^A% The next goes example with beside caption (see
%^^A% figure~\ref{fig:subfig:catsI}).%^^A
-%^^A%^^A% \footnote{In version 1.2 the beside boxed and non-boxed subfloat
-%^^A%^^A% contents (like in figure~\ref{fig:subfig:catsI}) could not get aligned
-%^^A%^^A% bottom (top) subcaptions. In this example I ought to use following
-%^^A%^^A% lines for subfigure~\ref{subfig:b}, when \package{pstricks} package is
-%^^A%^^A% loaded:\\[2ex]\ttfamily
% Следующим идёт пример рисунка с~подписью сбоку (рис.~\ref{fig:subfig:catsI}).%^^A
-%^^A% \footnote{В~версии 1.2 подобъекты рядом, один из которых помещён
-%^^A% \cmd{\fbox}, а~другой \cdash--- нет (как
-%^^A% в~рис.~\ref{fig:subfig:catsI}), и~в~других подобных ситуациях
-%^^A% могут дать невыровненные по низу (верху)
-%^^A% подподписи. В~данном примере (когда загружен пакет
-%^^A% \package{pstricks}) при использовании версии~1.2
-%^^A% пришлось задать следующие строки для
-%^^A% подрисунка~\ref{subfig:b}:\\[2ex]\ttfamily
-%^^A% \cmd{\raisebox}\{\cmd{\depth}\}\{\cmd{\input}\{\texttt{Cat.picture}\}\}}
%\begin{Quote}
-%\meta{preamble}\nopagebreak
-%|\floatsetup[figure]{|\hyperref[setup:style]{\texttt{style}}|=Shadowbox,|%^^A
-% \hyperref[setup:capbesidesep]{\texttt{capbesidesep}}|=columnsep,|
-%| |\hyperref[setup:capbesideframe]{\texttt{capbesideframe}}|=yes,|%^^A
-% \hyperref[setup:capbesideposition]{\texttt{capbesideposition}}|={left,top}}|
-%|\floatsetup[subfigure]{|\hyperref[setup:style]{\texttt{style}}|=plain}|
-%|\DeclareCaptionLabelFormat{list}{\bothIfFirst{#1}{ }#2)}|
-%|\captionsetup[subfigure]{labelformat=list,justification=centerlast,|
-%| strut=no}|\nopagebreak
-%\meta{preamble}
+%\begin{preamble}
+%|\floatsetup[figure]{|\FRkey{style}|=Shadowbox,|%^^A
+% \FRkey{capbesidesep}|=columnsep,|
+%| |\FRkey{capbesideframe}|=yes,|%^^A
+% \FRkey{capbesideposition}|={left,top}}|
+%|\floatsetup[subfigure]{|\FRkey{style}|=plain}|
+%|\captionsetup[subfigure]{labelformat=brace,justification=centerlast,|
+%| strut=no}|
+%\end{preamble}
%|\fcapside[\FBwidth]|
%| {\begin{subfloatrow}|
%| \subfloat[...\label{...}]{...}|
@@ -4622,20 +5930,21 @@
% \floatsetup[figure]{style=Shadowbox,capbesidesep=columnsep,
% capbesideframe=yes,capbesideposition={left,top}}
% \floatsetup[subfigure]{style=plain}
-% \captionsetup[subfigure]{labelformat=list,justification=centerlast,strut=no}
+% \captionsetup[subfigure]{labelformat=brace,justification=centerlast,strut=no}
% \begin{figure}[h]
% \fcapside[\FBwidth]
% {\begin{subfloatrow}
-% \subfloat[Кот\label{subfig:w}]{\unitlength.99\unitlength\input{Cat.picture}}
+% \subfloat[Кот]{\unitlength.99\unitlength\input{Cat.picture}\Flabel{subfig:w}}
%
-% \subfloat[Другой кот\label{subfig:b}]%^^A
-% {\unitlength.9\unitlength\input{TheCat.picture}}%
+% \subfloat[Другой кот]%^^A
+% {\unitlength.9\unitlength\input{TheCat.picture}\Flabel{subfig:b}}%
% \end{subfloatrow}}
% {\caption[Ряд подфлотов]{Подпись сбоку
% выровнена по верху; стиль оформления флота
-% \texttt{Shadowbox}. Помещены две части рисунка:
-% \protect\ref{subfig:w} и~\protect\ref{subfig:b}}\label{fig:subfig:catsI}}
+% |Shadowbox|. Помещены две части рисунка:
+% \protect\Fref{subfig:w} и~\protect\Fref{subfig:b}}\label{fig:subfig:catsI}}
% \end{figure}
+%\endgroup
%
% \DescribeMacro{\sidesubfloat}
%^^A% Another addition in \package{floatrow} for subfloats is command,%^^A
@@ -4646,14 +5955,12 @@
%^^A% sets vertical alignment of beside subcaption and subfloat.
%^^A% The options analogous to options for |capbesideposition=| key:
% Ещё одно определение \package{floatrow} для подфлотов \cdash--- команда,%^^A
-% \FRmpar{Метка подподписи сбоку подфлота}{FAD:sublabelbeside}
% которая помещает метку подподписи сбоку подфлота. Метка подподписи
% всегда располагается слева от подфлота. Ключ |subcapbesideposition=|
% \DescribeMacro{subcapbesideposition}\label{setup:subcapbesideposition}%^^A
% определяет взаимное вертикальное выравнивание метки и~подфлота.
% Название опций аналогично опциям вертикального выравнивания в~ключе
% |capbesideposition=|:%^^A
-% \par\RestoreSpaces
% \begin{Options}{\OptionLabel}\samepage
% \item[top]
%^^A% subcaption label aligned to the top of object;
@@ -4667,14 +5974,15 @@
% \end{Options}
%
%^^A% The figure~\ref{fig:subfig:catsII} shows layout with subfloat labels beside.
+% \mbox{}\FRmpar{Метка подподписи сбоку подфлота}{FAD:sublabelbeside}%%^^A
% Рисунок~\ref{fig:subfig:catsII} демонстрирует оформление с~метками частей рисунка слева.
% \begingroup
% \begin{Quote}%
-%\meta{preamble}\nopagebreak
-%|...|
-%|\floatsetup[figure]{|\hyperref[setup:style]{\texttt{style}}|=plain,|%^^A
-% \hyperref[setup:subcapbesideposition]{\texttt{subcapbesideposition}}|=top}|
-%\meta{preamble}
+%\begin{preamble}
+%|...|\nopagebreak
+%|\floatsetup[figure]{|\FRkey{style}|=plain,|%^^A
+% \FRkey{subcapbesideposition}|=top}|
+%\end{preamble}
% |\begin{figure}[H]|
% | \ffigbox[\FBwidth]|
% | {\begin{subfloatrow}|
@@ -4686,6 +5994,7 @@
% |\end{figure}|
% \end{Quote}
% \floatsetup[figure]{style=plain,subcapbesideposition=top}
+% \captionsetup[subfigure]{labelformat=brace,justification=centerlast,strut=no}
% \begin{figure}[h]
% \ffigbox[\FBwidth]
% {\begin{subfloatrow}
@@ -4694,9 +6003,9 @@
%
% \sidesubfloat[]{\unitlength.9\unitlength\input{TheCat.picture}\label{subfig:bI}}%
% \end{subfloatrow}}
-% {\caption[Ряд подфлотов (метки сбоку)]{Подпись сбоку выровнена по средней линии.
-% Помещены две части рисунка:
-% \protect\ref{subfig:wI} и~\protect\ref{subfig:bI}}\label{fig:subfig:catsII}}
+% {\caption[Ряд подфлотов (метки сбоку)]{Подпись сбоку выровнена
+% по средней линии. Помещены две части рисунка: \protect\ref{subfig:wI}
+% и~\protect\ref{subfig:bI}}\label{fig:subfig:catsII}}
% \end{figure}
% \endgroup
%
@@ -4724,93 +6033,152 @@
% Данная команда базируется на комбинации |\subfloat[]{\label{..}}|
% и~помещает метку части рисунка с~нужным номером. Полный вариант
% команды |\subfloatlabel|:
-% \par\RestoreSpaces
-% \begin{quote}
+% \begin{Quote}
% |\subfloatlabel|\oarg{subfloat number}\oarg{label entry}
-% \end{quote}
+% \end{Quote}
% является сокращением следующего кода:
% \begin{Quote}
% |\setcounter|\marg{sub{\upshape\texttt{\char`\\@captype}}}\marg{subfloat number-1}\\
% |\subfloat[]{\label{|\meta{label entry}|}}|
% \end{Quote}
%
+%^^A% Another example:
+% Ещё один пример:
% \begingroup
% \begin{Quote}%
-%\meta{preamble}\nopagebreak
-%|...|
-%|\floatsetup[figure]{|\hyperref[setup:style]{\texttt{style}}|=plain}|
+%\begin{preamble}
+%|...|\nopagebreak
+%|\floatsetup[figure]{|\FRkey{style}|=plain}|
%|\DeclareCaptionListOfFormat{comma-separated}{#1,\,#2}|
%|\captionsetup[subfigure]{listofformat=comma-separated}|
% |\begin{figure}[h]|
% |\fcapside[\FBwidth]|
% | {\unitlength2\unitlength\fboxsep-.4pt|
% | \begin{picture}(90,30)(0,0)|
-% | \put(0,0){\framebox(40,30)[bl]{}}|
+% | \put(0,0){\framebox(40,30)[bl]{}}|\nopagebreak
%|...|
-%\meta{preamble}
+%\end{preamble}
% \end{Quote}
% \floatsetup[figure]{style=plain}
-% \captionsetup[subfigure]{listofformat=comma-separated}
-% \begin{figure}[h]
+% \captionsetup[subfigure]{listofformat=comma-separated,labelformat=brace,strut=no}
+% \begin{figure}[H]
% \fcapside[\FBwidth]
% {\unitlength2\unitlength\fboxsep-.4pt
% \begin{picture}(90,30)(0,0)
% \put(0,0){\framebox(40,30)[bl]{}}
% \put(2,2){\makebox(0,0)[bl]{\subfloat[]{\label{subfig:wII}}}}
% \put(0,0){
-% \put(6,18){\put(0,0){\line(2,3){5}}
-% \put(10,0){\line(-2,3){5}}}
-% \put(24,18){\put(0,0){\line(2,3){5}}
-% \put(10,0){\line(-2,3){5}}}}
+% \put(8,10){\put(4.5,4.5){\oval(9,9)[t]}
+% \put(4.5,4.5){\line(0,1){4.5}}
+% \put(0,4.5){\line(1,0){9}}}
+% \put(23,10){\put(4.5,4.5){\oval(9,9)[t]}
+% \put(4.5,4.5){\line(0,1){4.5}}
+% \put(0,4.5){\line(1,0){9}}}}
%
% \put(50,0){\framebox(40,30)[bl]{}}
% \put(52,2){\makebox(0,0)[bl]{\subfloatlabel[3][subfig:bII]{}%^^A
% }}%^^A\label{}
% \put(50,0){
-% \put(8,10){\put(4.5,4.5){\circle{9}}
-% \put(4.5,0){\line(0,1){9}}}
-% \put(23,10){\put(4.5,4.5){\circle{9}}
-% \put(4.5,0){\line(0,1){9}}}}
+% \put(6,18){\put(0,0){\line(2,3){5}}
+% \put(10,0){\line(-2,3){5}}}
+% \put(24,18){\put(0,0){\line(2,3){5}}
+% \put(10,0){\line(-2,3){5}}}}
% \end{picture}}
-% {\caption[Графика с~метками частей рисунка]{%^^A
+% {\caption[Графика с~метками частей рисунка. Метки подфлотов были заданы
+% с~изменёнными настройками ключа \texttt{listofformat=}]{%^^A
% Нарисованы два простых рисунка.
-% На первом \protect\cdash--- кошачьи уши (\protect\subref{subfig:wII}), помеченные как
+% На одном \protect\cdash--- кошачьи глаза (\subref{subfig:wII}), помеченные как
% \cs{subfloat}\texttt{[]\char`\{\char`\}};
-% а~\cs{subfloatlabel}\texttt{[3][subfig:bII]} помечает кошачьи глаза на втором
-% (\protect\subref{subfig:bII})}%^^A
+% а~\cs{subfloatlabel}\texttt{[3][subfig:bII]} помечает кошачьи уши на другом
+% (\subref{subfig:bII})}%^^A
% \label{fig:subfig:catsIII}}
% \end{figure}
-%^^A% Please look at the definition of reference to the subfigure, key |listofformat=|.
-%^^A% This format is used, in particular, by |\subref| command: the |\subref{subfig:bII}| gives
-%^^A% reference to the subfigure \subref{subfig:bII}.
-% Обратите внимание на определение формата ссылки на подрисунок, заданный ключом |listofformat=|.
-% Данный формат используется, в~частности, командой |\subref|: |\subref{subfig:bII}| выдал ссылку
-% на часть рисунка \subref{subfig:bII}.
+%^^A% In the examples of current section there were used the \verb|\Flabel| and \verb|\Fref|
+%^^A% commands for cross referencing of the subfloats
+%^^A% (you may see these commands in the code examples). As described in section~\ref{ssec:Flabel}
+%^^A% these commands allow to create combined references which consist of the parent and current
+%^^A% labels separated by predefined punctuation sign.
+% В~примерах данного раздела были использованы команды \verb|\Flabel| и~\verb|\Fref|
+% для перекрёстных ссылок к~подфлотам
+% (вы можете увидеть эти команды в~примерах кода). Как описано в~разд.~\ref{ssec:Flabel}
+% эти команды позволяют задать ссылки, состоящие из старшего и~текущего уровней,
+% разделённых предопределённым знаком пунктуации.
+%
+%\begin{small}
+%
+% \medskip
+%^^A% \emph{Some explanation}.
+%^^A% Previous versions of documentation used the |listofformat=| key; the necessary option
+%^^A% was defined by |\DeclareCaptionListOfFormat| command:
+%^^A% \begin{Quote}%
+%^^A% |\DeclareCaptionListOfFormat{comma-separated}{#1,\,#2}|
+%^^A% \end{Quote}%
+%^^A% This format is used, in particular, by |\subref| command. But usage of this key changes output
+%^^A% of subfloat numbers in the lists (list of tables and list of figures etc.),
+%^^A% which could be undesirable (see numbers of subfigures \subref{subfig:wII}
+%^^A% and \subref{subfig:bII} in the List of Figures).
+% \emph{Объяснительная}.
+% Предыдущие версии документации использовали ключ |listofformat=| key; необходимую опцию можно
+% задать с~помощью команды |\DeclareCaptionListOfFormat|:
+% \begin{Quote}%
+% |\DeclareCaptionListOfFormat{comma-separated}{#1,\,#2}|
+% \end{Quote}%
+% Такой формат метки используется, в~частности, командой |\subref|. Но использование этого ключа
+% изменяет вывод нумерации подфлотов в~Списках (таблиц, рисунков и~т.\,д.),
+% что возможно и~нежелательно (см.~нумерацию рисунков \subref{subfig:wII}
+% и~\subref{subfig:bII} в~списке рисунков в~начале документации).
+% \medskip
+%
+%\end{small}
+%
+%^^A% See examples with \env{subfloatrow} environment in sample files
+%^^A% \file{frsample03.tex}, \file{frsample05.tex}; and also
+%^^A% \file{frsample10.tex}--\file{frsample12.tex} where aligned contents
+%^^A% of beside subfloats are used in different layouts.)
+% См. примеры с~окружениями \env{subfloatrow} в~файлах примеров
+% \file{frsample03.tex}, \file{frsample05.tex}; а~также
+% \file{frsample10.tex}--\file{frsample12.tex} где подфлоты
+% даны в~различных оформлениях и~размещениях.
% \endgroup
%
%
% \clearpage
-% \par\RestoreSpaces
%^^A% \subsection{The \package{longtable} Package}\label{ssec:longtable}
% \subsection{Пакет \package{longtable}}\label{ssec:longtable}
-%
%^^A% Tested with version v4.11, dated 2004/02/01.
-% Тестировалось с~версией v4.11, датированной 2004/02/01.
+% Тестировалось с~версией v4.11, датированной 2004/02/01.%^^A
+% \footnote{Английская документация
+% \href{ftp://ctan.tug.org/tex-archive/macros/latex/required/tools/longtable.dvi}%^^A
+% {\meta{texmf folder}\texttt{/doc/latex/tools/longtable.dvi}}.}
% В~русских публикациях
% рекомендуется использовать версию не ниже указанной.
%
-%^^A% \subsubsection{Additions in \package{floatrow}}
-%^^A% \label{ssec:LTcapwidth}
-% \subsubsection{Добавления в~пакете \package{floatrow}}
-% \label{ssec:LTcapwidth}
-%
+%^^A% Please note that almost all |\floatsetup| settings do not work in |longtable|, except
+%^^A% settings for caption width (see below) and plain horizontal alignment in the |margins=| key.
+%^^A% So, during building of |\floatsetup| settings, be aware
+%^^A% that you may use only something like |style=plaintop| or |style=Plaintop|, to place caption
+%^^A% above for other types of tables,
+%^^A% and also options of the |margins=| key defined in the package (page~\pageref{setup:margins}).
+% Обратите внимание, что почти все настройки |\floatsetup| не работают внутри \env{longtable}, кроме
+% настроек ширины подписи (см.~ниже) и~выключки, задаваемой ключом |margins=|.
+% Поэтому, создавая настройки |\floatsetup| для таблиц, помните, что вы можете
+% использовать только что-то вроде |style=plaintop| или |style=Plaintop|, чтобы поместить
+% подпись над табличным материалом, а~также опции ключа
+% |margins=| предопределённые пакетом (с.~\pageref{setup:margins}).
+%
+%^^A% See the \package{caption} documentation how to build necessary caption layout in longtable.
+% Для создания оформления подписей с~учётом использования окружения \env{longtable},
+% обратитесь к~документации пакета \package{caption}.
+%
+%^^A% \subsubsection{Additions in \package{floatrow}}\label{ssec:LTcapwidth}
+% \subsubsection{Добавления в~пакете \package{floatrow}}\label{ssec:LTcapwidth}
%^^A% There was added a patch to the |\LT@array| macro (\package{longtable}
%^^A% package)\footnote{Thanks to A. Sommerfeldt for help to make this
%^^A% code compact.}: this patch adds the same font settings
%^^A% as for \env{table} environments, and adds code which helps
%^^A% to get width of \env{longtable} caption equal to the
%^^A% width of table. For settings of caption width there was created a key.
-% Был добавлен код в~макрокоманду |\LT@array| пакета
+% Был добавлен код к~пакету
% \package{longtable}\footnote{Спасибо
% A.\,Sommerfeldt за помощь в~создании компактного кода.}:
% этот код задаёт настройки того
@@ -4821,21 +6189,21 @@
% табличного заголовка задан ключ.
%
% \DescribeMacro{LTcapwidth}\label{setup:LTcapwidth}%^^A
-% \FRmpar{Ширина подписи по ширине таблицы longtable}{FAD:LTcapwidth}
-%^^A% This key could have any value, like |5cm| or |\hsize|. In this cases this
-%^^A% key does work of |\LTcapwidth| command. If you'll write
-%^^A% \texttt{LTcapwidth=table} or \texttt{LTcapwidth=contents}, you will get
+% \FRmpar{Ширина подписи по ширине таблицы longtable}{FAD:LTcapwidth}%^^A
+%^^A% This key could have any value, like |5cm| or |\hsize|. The key value will be sent to
+%^^A% the |\LTcapwidth| command. If you'll write
+%^^A% |LTcapwidth=table| or |LTcapwidth=contents|, you will get
%^^A% caption width equal to the width of table. In this case settings for
-%^^A% width of caption use information from \texttt{aux}-file, so you'll get
+%^^A% width of caption use information from |aux|-file, so you'll get
%^^A% correct caption width at the time when the width of full table become
%^^A% stable.
% Этот ключ может иметь любое значение типа |5cm| или |\textwidth| \cdash--- в~этом
% случае он дублирует команду |\LTcapwidth|.
-% Если же вы зададите \texttt{LTcapwidth=table} или
-% \texttt{LTcapwidth=contents},
-% ширина табличного заголовка будет равна ширине таблицы. Настройка
+% Если же вы зададите |LTcapwidth=table| или
+% |LTcapwidth=contents|,
+% ширина табличного заголовка будет рассчитываться по ширине таблицы. Настройка
% ширины табличного заголовка в~этом случае производится
-% по информации из \texttt{aux}-файла,
+% по информации из |aux|-файла,
% поэтому вы получите правильный результат только тогда,
% когда ширина всей таблицы будет стабильной.
%
@@ -4845,23 +6213,28 @@
% Окружение \env{longtable} использует настройки,
% заданные в~опциях команды |\floatsetup[table]|
% и~|\floatsetup[longtable]|. Последние настройки, |\floatsetup[longtable]|,
-% будет <<сильнейшими>> в~этой паре.\medskip
+% будет «сильнейшими» в~этой паре.\medskip
%
%^^A% \emph{The addition with version 0.1k}. There is added a
%^^A% \textrm{beta-temp}\footnote{Again, like with \package{listpen} package, I
%^^A% hope that such support sooner or later could appear in
%^^A% \package{longtable} and think it is better to follow
-%^^A% grammar of master-package for similar situations.} package
-%^^A% with simple additions, which allow creation of special head for last
-%^^A% page of longtable environment and special foot for pages before last.
+%^^A% grammar of master-package for similar situations. Also it is necessary to say
+%^^A% that command names from \package{fr-longtable} package ``intrude'' in the
+%^^A% \package{longtable}'s naming space.} package \package{fr-longtable}
+%^^A% with additions, which allow creation of special head for last
+%^^A% page of longtable environment and special foot for pages before last
+%^^A% (the table~\ref{tab:floatlayouts} uses these head and foot settings).
% \emph{Добавление в~версии~0.1k}. Добавлен
% \textrm{beta-temp}\footnote{Опять, как и~с~пакетом~\package{listpen},
% я~надеюсь что подобная поддержка рано или поздно появится в~самом пакете
% \package{longtable} и~думаю, что лучше использовать названия
-% аналогичные «мастер»-пакету.} пакет
-% с~простыми добавлениями, которые позволяют создание специальной шапки
-% для последней страницы таблицы \texttt{longtable} и~специального подвала
+% аналогичные «мастер»-пакету. Кроме того нужно указать, что названия новых определений «вторгаются»
+% в~пространство наименований пакета \package{longtable}.} пакет \package{fr-longtable}
+% с~добавлениями, которые позволяют создание специальной шапки
+% для последней страницы таблицы |longtable| и~специального подвала
% для предпоследней.
+% (табл.~\ref{tab:floatlayouts} использует эти команды для настройки шапок и~подвалов).
%
% \DescribeMacro{\endlasthead}
% \DescribeMacro{\endprelastfoot}
@@ -4873,9 +6246,12 @@
%^^A% (See examples and additional explanation in the sample file
%^^A% \texttt{sample-longtable.tex} file.)
%^^A% Команда |\FBLTlastpage| определяется вручную, и~задаёт для изменённой
-%^^A% команды \package{longtable} число страниц занятых окружением \texttt{longtable}.
-% Команда |\endlasthead| определяет последнюю шапку для \texttt{longtable};
+%^^A% команды \package{longtable} число страниц занятых окружением |longtable|.
+% Команда |\endlasthead| определяет последнюю шапку для |longtable|;
% команда |\endprelastfoot| определяет подвал для предпоследней страницы.
+% Поскольку названия команд «забираются» на территорию наименований пакета \package{longtable}
+% они определяются только в~случае, если они до сих пор неизвестны, т.\,е. основной
+% пакет, \package{longtable}, не определил их.
% Синтаксис определения аналогичен командам |\endhead|, |\endfirsthead| и~т.\,д.
% (См.~примеры и~дополнительные разъяснения в~файле \texttt{sample-longtable.tex}
% приложенном к~данному пакету.)
@@ -4884,29 +6260,95 @@
%^^A% The footnote stuff inside \env{longtable} works like in main
%^^A% text and put text of footnotes
%^^A% at the bottom of page\footnote{See also \env{longtable} documentation.}.
-%^^A% The command for legends or explications, |\floatfoot|, in current version
-%^^A% inside \env{longtable} has emulation mode, and needs stuff,
-%^^A% similar to |\multicolumn|\meta{n}\allowbreak|{@{}p{\textwidth}@{}}|\allowbreak
-%^^A% |{\floatfoot{..}}|. Since default font definition for explications (|\floatfoot|) also
+%^^A% The \package{floatrow} package's command for legends or explications, |\floatfoot|,
+%^^A% in current version has emulation mode inside \env{longtable}, and needs stuff,
+%^^A% similar to |\noalign{\floatfoot{...}}|. Since default font definition for explications (|\floatfoot|) also
%^^A% set to |\footnotesize|, like for footnotes, you may put footnotes-emulations at this
-%^^A% explication block, using |\mpfootnotemark| commands.
+%^^A% explication block, using |\mpfootnotemark| commands inside table contents and at the
+%^^A% beginning of footnote text.
% Механизм создания сносок внутри окружения \env{longtable} работает как
% в~основном тексте и~помещает текст сносок
% вниз полосы\footnote{См.~также документацию к~пакету \package{longtable}.}.
% Команда экспликации, |\floatfoot|, внутри окружения \env{longtable} в~данной версии
% эмулируется и~для размещения экспликаций требуется код
% типа |\noalign{\floatfoot{...}}|. Кроме того, поскольку для экспликации по умолчанию задан
-% шрифт |\footnotesize|, как и~для сносок, можно создать эмуляцию сносок
-% в~таблице и~блоке экспликаций, используя команды |\mpfootnotemark|.
-%
+% шрифт |\footnotesize|, как и~для сносок, можно создать эмуляцию сносок в~конце
+% таблицы, в~блоке экспликаций, используя команды |\mpfootnotemark| в~тексте таблицы
+% и~в~начале текста каждой сноски.
+%
+%^^A% The fragments from the longtable \ref{tab:floatlayouts},
+%^^A% which describes float styles, will be the resum\'e for
+%^^A% this section.
+% Фрагменты многостраничной таблицы~\ref{tab:floatlayouts} на
+% с.~\pageref{tab:floatlayouts},
+% описывающие стили флотов, подытоживают данный раздел.
+%\begin{Quote}\openup.5pt%
+%\begin{preamble}%
+%|\DeclareCaptionLabelFormat{continued}{\rightline|
+%| {\bothIfFirst{#1}{ }#2 (\emph{продолжение})}}|
+%|\DeclareCaptionLabelFormat{finished}{\rightline|
+%| {\bothIfFirst{#1}{ }#2 (\emph{окончание})}}|
+%\end{preamble}%
+% |\def\LongtableHead{|
+% | \hfil\thead{Стиль} &|
+% | \hfil\thead{Ключи \cmd{\floatsetup}} &|
+% | \hfil\thead{Описание}|
+% | }|
+% |\begin{longtable}{|\meta{преамбула таблицы}|}|
+% |\caption{Стили плавающих объектов}\label{tab:floatlayouts}\\|
+% |\hline|
+% |\LongtableHead|
+% |\\ \hline|
+% |\endfirsthead|\% \emph{завершение стандартного бокса пакета} \package{longtable}
+% |\captionsetup{labelformat=continued}|%^^A
+% {\em\tabular[t]{@{}l}\% настройки подписи \\\% для страниц с~продолжением\endtabular}
+% |\caption[]{}\\|
+% |\hline|
+% |\LongtableHead|
+% |\\ \hline|
+% |\endhead|\% \emph{завершение стандартного бокса пакета} \package{longtable}
+% |\captionsetup{labelformat=finished}|%^^A
+% {\em\tabular[t]{@{}l}\% настройки подписи \\\% для последней страницы\endtabular}
+% |\caption[]{}\\|
+% |\hline|
+% |\LongtableHead|
+% |\\ \hline|
+% |\endlasthead|\% \emph{завершение бокса заданного пакетом} \package{fr-longtable}
+% |\hline|
+% |\multicolumn{3}{r@{}}{\topstrut\emph{продолжение на следующей странице}}|
+% |\endfoot|\% \emph{завершение стандартного бокса пакета} \package{longtable}
+% |\hline|
+% |\multicolumn{3}{r@{}}{\topstrut\emph{окончание на следующей странице}}|
+% |\endprelastfoot|\% \emph{завершение бокса заданного пакетом} \package{fr-longtable}
+% |\endlastfoot|\% \emph{завершение стандартного бокса пакета} \package{longtable}
+% \meta{Содержимое таблицы}
+% \meta{Содержимое таблицы}|\mpfootnotemark[1]|
+% \meta{Содержимое таблицы}
+% \meta{Содержимое таблицы}|\mpfootnotemark[2]|
+% \meta{Содержимое таблицы}
+% |\\ \hline|
+% |\noalign{\floatfoot*{|\meta{Текст экспликации}|.\vspace{-3pt}\par|\nopagebreak
+% |\rule{1in}{.4pt}\vspace{2pt}%| \emph{Эмуляция линейки для сноски}\nopagebreak
+% |\parindent15pt|\nopagebreak
+% \% \textit{эмуляция текста сносок}\nopagebreak
+% |\mpfootnotemark[1]{|\meta{Текст сноски}|}|\nopagebreak
+% |...|\nopagebreak
+% |}}|\nopagebreak
+% |\end{longtable}|
+%\end{Quote}%
+%^^A% \emph{Note}. The usage of settings |\captionsetup{labelformat=continued}|
+%^^A% inside |longtable| environment was documented in the \package{caption} package 3.1.
+% \emph{Замечание}. Использование настроек |\captionsetup{labelformat=continued}|
+% внутри окружения |longtable| появилось в~документации пакета \package{caption}
+% версии 3.1.
%
% \clearpage
%^^A% \subsection{The \package{wrapfig} Package}\label{ssec:wrapfig}
% \subsection{Пакет \package{wrapfig}}\label{ssec:wrapfig}
-%
-% \begingroup
+% \begingroup\let\xpar\par\sloppy
% \def\FBaskip{-12pt}
% \floatsetup[figure]{style=ruled,relatedcapstyle=yes,footposition=caption}
+% \captionsetup[wrapfigure]{labelformat=thinspace,labelsep=period}
% \begin{wrapfigure}[10]{O}{42mm}
%^^A \ffigbox[40mm]
% {\caption{Простой рисунок в оборку (пакет \package{wrapfig})}%
@@ -4921,75 +6363,102 @@
% Тестировано с~версией 3.3 датированной 1999/10/12
% (стиль из группы пакетов \package{ltxmisc})
% и~версией 3.6 датированной 2003/01/31 (отдельный пакет).
+% \footnote{Английская документация
+% \href{ftp://ctan.tug.org/tex-archive/macros/latex/contrib/wrapfig/wrapfig.pdf}%^^A
+% {\meta{texmf folder}\texttt{/doc/latex/wrapfig/wrapfig.pdf}}.}.
%
%^^A% Options for environment (text borrowed from package comments):
% Аргументы при задании окружения (текст взят из комментариев
% к~пакету):
-% \begin{quote}
-% |\begin{wrapfigure}%|\\*
-% \strut\quad\oarg{number}\marg{placement}|%|\\*
-% \strut\quad\oarg{overhang}\marg{width of figure}\\
-% |...|\\*
+% \begin{Quote}
+% |\begin{wrapfigure}%|\nopagebreak
+% \strut\quad\oarg{number}\marg{placement}|%|\nopagebreak
+% \strut\quad\oarg{overhang}\marg{width of figure}
+% |...|\nopagebreak
% |\end{wrapfigure}|
-% \end{quote}
-%^^A% \meta{Placement} is one of \texttt{r}, \texttt{l}, \texttt{i},
-%^^A% \texttt{o}, \texttt{R}, \texttt{L}, \texttt{I}, \texttt{O}, for
+% \end{Quote}
+% \xpar{\slshape
+%^^A% \meta{Placement} is one of |r|, |l|, |i|,
+%^^A% |o|, |R|, |L|, |I|, |O|, for
%^^A% right, left, inside, outside. Lowercase letters set unfloated
%^^A% positioning, uppercase---floated variant. The figure sticks into
%^^A% the margin by \meta{overhang}, if given, or by the length
%^^A% |\wrapoverhang|, which is normally zero. The \meta{number} of
%^^A% wrapped text lines is normally calculated from the height of the
%^^A% figure, but may be specified manually, e.g.
-% \meta{Placement} \cdash--- \texttt{r}, \texttt{l},
-% \texttt{i}, \texttt{o}, \texttt{R}, \texttt{L}, \texttt{I},
-% \texttt{O}, для расположения справа, слева, к~внутреннему или
+% \meta{Placement} \cdash--- |r|, |l|,
+% |i|, |o|, |R|, |L|, |I|,
+% |O|, для расположения справа, слева, к~внутреннему или
% внешнему полю. Строчные буквы задают неплавающие варианты,
% прописные \cdash--- плавающие. Рисунок может выступать
% в~поле на величину \meta{overhang}, если опция задана,
% выступ можно задать через параметр |\wrapoverhang|,
% обычно равный нулю. Параметр \meta{number} задаёт число
% строк в~оборку, которое обычно рассчитывается автоматически из
-% высоты рисунка, но может быть задан и~вручную:
-% \begin{quote}
-% |\begin{wrapfigure}[10]{r}[34pt]{5cm}|\\* \meta{figure}\\*
+% высоты рисунка, но может быть задан и~вручную}:
+% \begin{Quote}
+% |\begin{wrapfigure}[10]{r}[34pt]{5cm}|\\* \meta{figure}\nopagebreak
% |\end{wrapfigure}|
-% \end{quote}
+% \end{Quote}
% \endgroup
%
% \begingroup
% \def\FBaskip{-14pt}
-% \floatsetup[figure]{style=BOXED,frameset={\fboxsep6pt}}
+% \floatsetup[figure]{style=BOXED,frameset={\fboxsep3pt}}
% \begin{wrapfigure}[11]{o}{0mm}
-% \ffigbox[40mm]
-% {\par{\setlength\unitlength{.7\hsize/48}%^^A
+% \ffigbox[30mm]
+% {\par{\setlength\unitlength{.67\hsize/48}%^^A
% \input{Cat.picture}}}
% {\caption{Рисунок в~оборку с~командой \cmd{\ffigbox}
% (пакет \package{wrapfig})}%
% \label{fig:wrapfig:WcatII}}
% \end{wrapfigure}
%
-%^^A% \emph{Floatrow note.}
-%^^A% For figure, placed in \env{wrap...} environment you must set width
+%^^A% \emph{Notes.}
+%^^A% For figure, placed in \env{wrap...} environment you set width
%^^A% in mandatory argument. If you'll write \texttt{0mm} as \marg{width
%^^A% of figure} argument, \package{wrapfig} package will count natural width
-%^^A% of float contents.
-% \emph{Замечание \textsf{floatrow}.}
-% Для рисунка, помещённого в~окружение \env{wrap...} вы должны
+%^^A% of float contents. If you use |\floatbox| command, put |\FBwidth| option to use natural object width.
+% \emph{Замечания.}
+% 1)\enskip Для рисунка, помещённого в~окружение \env{wrap...} вы должны
% задать ширину в~обязательном аргументе. Если вы зададите
% |0mm| как аргумент \marg{width of figure}, пакет \package{wrapfig}
-% рассчитает ширину по ширине объекта.
+% рассчитает ширину по ширине объекта. Если используются команды |\floatbox|, то
+% для использования натуральной ширины графики, нужно использовать опцию |\FBwidth|.
%
%^^A% Sometimes above (below) float box in \env{wrap...} environment
%^^A% appears unwanted space. To correct vertical position, use |\FBaskip|
%^^A% (|\FBbskip|) commands (see {\sectionname}~\ref{sec:FBabskips}).
-% Иногда над (под) флотом в~окружении \env{wrap...} может появиться
+% 2)\enskip Иногда над (под) флотом в~окружении \env{wrap...} может появиться
% ненужный пробел. Для корректировки вертикальной отбивки
% используйте команды |\FBaskip|
-% и~|\FBbskip| ({\sectionname}~\ref{sec:FBabskips}).\pagebreak[3]
+% и~|\FBbskip| ({\sectionname}~\ref{sec:FBabskips}) и~опцию \meta{number}
+% окружений \env{wrap...}.\pagebreak[3]
+%
+%^^A% 3)\enskip Please note that the label of wrapped floats changed to `Fig.~\meta{number}'.
+%^^A% This happened because of the following settings:
+% 3)\enskip
+% В~английской документации имя рисунка `Figure' было изменено на `Fig.'
+% с~помощью ключа |name|:
+% \begin{Quote}
+% \begin{preamble}%
+% |\DeclareCaptionLabelFormat{thinspace}{\bothIfFirst{#1}{\,}#2}|
+% \end{preamble}%
+% |\captionsetup[wrapfigure]{name=Fig.,labelformat=thinspace,labelsep=period}|
+% \end{Quote}
+%^^A% In preamble was added special format |thinspace| with smallest space between
+%^^A% `Fig.' and number which we use in the |wrapfig| settings.
+% помимо этого был уменьшен пробел между `Fig.' и~номером \cdash--- это
+% задано опцией ключа |labelformat=thinspace| созданный в~преамбуле.
+% В~русской документации использовались только настройки уменьшенного пробела:
+% \begin{Quote}
+% \captionsetup[wrapfigure]{labelformat=thinspace,labelsep=period}
+% \end{Quote}
+%^^A% See also \package{caption} documentation.
+% См. также документацию пакета \package{caption}.
%
%^^A% \emph{Special settings}.
% \emph{Специальные настройки}.\par\penalty10000
-%
%^^A% You may create settings for \env{wrap...} environment, there are
%^^A% following priorities
%^^A% (Please note that you can load also special caption settings with
@@ -5002,11 +6471,11 @@
%^^A% \item %
%^^A% if exists |\floatsetup[wrap|\meta{captype}|]{...}|
%^^A% \package{floatrow} uses these settings---they are the ``strongest''
-%^^A% settings; if they absent---uses settings of next item;
+%^^A% settings; if they are absent---uses settings of next item;
% \item %
% если существуют настройки
% |\floatsetup[wrap|\meta{captype}|]{...}|
-% \package{floatrow} использует эти настройки "--- они <<сильнейшие>>
+% \package{floatrow} использует эти настройки "--- они «сильнейшие»
% настройки; если они отсутствуют "--- использует настройки из
% следующего пункта;
%^^A \end{itemize}
@@ -5015,56 +6484,63 @@
%^^A% \item
%^^A% if exists |\floatsetup[wrapfloat]{...}|
%^^A% \package{floatrow} uses these settings---these settings ``stronger''
-%^^A% than next ones; if they absent---settings of current
+%^^A% than next ones; if they are absent---settings of current
%^^A% float\\[\medskipamount]
%^^A% |\floatsetup[|\meta{captype}|]{...}|\,;\\[\medskipamount]
-%^^A% if they absent---uses default settings
-%^^A% (|\floatsetup{...}| or package settings).
+%^^A% if they are absent---uses
+%^^A% |\floatsetup{...}| settings, package settings inside |\usepackage| command or default settings of
+%^^A% package (page~\pageref{sec:default}).
% \item
% если существуют настройки |\floatsetup[wrapfloat]{...}|
% \package{floatrow} использует эти настройки "--- эти настройки
-% <<сильнее>> чем следующие; если они
+% «сильнее» чем следующие; если они
% отсутствуют "--- настройки данного типа флотов
% \begin{quote}
-% |\floatsetup[|\meta{captype}|]{...}|\,;
+% |\floatsetup[|\meta{captype}|]{...}|\quad;\pagebreak[2]
% \end{quote}
-% если и~они отсутствуют "--- настройки по умолчанию
-% (|\floatsetup{...}| или настройки пакета).
+% если и~они отсутствуют "--- настройки
+% |\floatsetup{...}|, затем настройки из строки |\usepackage|,
+% и, наконец, настройки пакета по умолчанию (page~\pageref{sec:default}).
% \end{itemize}
%
%\pagebreak[2]
%^^A% \emph{Founded limitations}.
% \emph{Обнаруженные ограничения}.\nopagebreak
%
-%^^A% The usage of plain float environment in version 3.3 will
+%^^A% 1)\enskip The usage of plain floating environment in version 3.3 will
%^^A% not succeed with current version of \package{floatrow}---use |\floatbox|
%^^A% stuff. The version 3.6 allows usage of plain \env{wrap...}
-%^^A% environment with \texttt{plain} (or \texttt{ruled}) styles, but
-%^^A% the framed styles, like \texttt{Boxed} (where text inside frames
+%^^A% environment with |plain| (or |ruled|) styles, but
+%^^A% the framed styles, like |Boxed| (where text inside frames
%^^A% changes its |\hsize| to fit frames, fitted to defined |\hsize|)
%^^A% could work only with |\floatbox| macro, otherwise you'll get
%^^A% incorrect widths and layout.
+%^^A% 2)\enskip The \env{wrap...} environments could fail inside list ones.
%^^A% \endgroup
-% В~версии 3.3 нужно использовать команды |\floatbox|.
+% 1)\nobreak\enskip В~версии 3.3 нужно использовать команды |\floatbox|.
% В~версии 3.6 можно создавать простые окружения
-% \env{wrap...} со стилями \hyperref[setup:plain]{\texttt{plain}} (или
-% \hyperref[setup:ruled]{\texttt{ruled}}), но флоты
-% со стилем типа \hyperref[setup:Boxed]{\texttt{Boxed}} (где текст объекта
+% \env{wrap...} со стилями \FRkey{plain} (или
+% \FRkey{ruled}), но флоты
+% со стилем типа \FRkey{Boxed} (где текст объекта
% сужается под рамку) тоже
% нужно помещать в~|\floatbox|, иначе
% создастся неверная вёрстка.
+%
+% 2)\nobreak\enskip Окружения \env{wrap...} могут дать неверный результат в~окружениях перечней,
+% а~также нужно быть внимательным с~использованием группировок вокруг этих окружений.
% \endgroup
%
-% \begingroup
+% \begingroup\sloppy
+% \captionsetup[floatingfigure]{name=Fig.,labelformat=thinspace}
% \floatsetup[figure]{style=WSHADOWBOX,captionskip=8pt}
%^^A% \subsection{The \package{floatflt} package}\label{ssec:floatflt}
% \subsection{Пакет \package{floatflt}}\label{ssec:floatflt}
-%
% \begin{floatingfigure}[v]{44mm}\def\FBaskip{-2.5pt}
% \ffigbox[44mm]
% {\setlength\unitlength{.85\hsize/60}%%^^A
% \input{BlackDog.picture}}
-% {\caption{\hyphenpenalty-100\pretolerance-1%
+% {\caption[Рисунок в~оборку с~командой \cmd{\ffigbox} внутри окружения \env{floatingfigure}
+% (\package{floatflt})]{\hyphenpenalty-100\pretolerance-1%
% Рисунок в оборку внутри \env{floating\-figure}
% (\package{floatflt})}\label{fig:floatflt:WcatI}}
% \end{floatingfigure}%\FBbuildtrue
@@ -5079,15 +6555,15 @@
%^^A% environments need usage of |\floatbox| in any case, you can use
%^^A% either \env{floatingfigure} or \env{floatingtable} and put
%^^A% necessary float type in |\floatbox| argument (or use necessary
-%^^A% macro-abbreviation).
+%^^A% macro-abbreviation). For these wrapped floats can be used
+%^^A% |\floatsetup[figure]| settings.
% \emph{Обнаруженные ограничения} 1)\enskip У~пакета нет
-% поддержки для создания нового окружения \env{floating...}.
+% поддержки для создания нового окружения флотов \env{floating...}.
% Но поскольку окружение \env{floatflt}
-% требует использование команд |\floatbox| в~любом случае, вы
+% требует использование команд боксов |\floatbox| в~любом случае, вы
% можете использовать как команду \env{floatingfigure} так
-% и~\env{floatingtable} и~задавать необходимый
-% тип флота в~аргументе команды |\floatbox| (или использовать
-% пользовательскую команду, типа |\ffigbox|).
+% и~\env{floatingtable}. Для рисунков в~оборку в~окружениях
+% \env{floating...} работают только настройки типа |\floatsetup[figure]|.
%
%
%^^A% The next limitations could not tied with \package{floatrow} package.
@@ -5106,36 +6582,21 @@
% 3)\enskip Окружения \env{floatflt} могут дать неверный результат
% с~окружениями перечней (\env{list}).
%
-%^^A% 4)\enskip To get correct space before next |\...section| head you
-%^^A% may need to put following commands
-%^^A% |\makeatletter\@nobreakfalse\makeatother| (as was made in just
-%^^A% before next section).
-% 4)\enskip Чтобы получить корректную отбивку перед заголовком
-% следующего раздела |\...section| вам
-% может быть придётся задать следующие команды;
-% |\makeatletter\@nobreakfalse\makeatother| (как было сделано
-% в~английской документации перед следующим разделом).
-%
-% \par\RestoreSpaces
+%^^A% 4)\enskip The special caption settings were created for figure label.
+% 4)\enskip Для нумерационного заголовка использовались специальные настройки.
+% \begin{Quote}
+% |\captionsetup[floatingfigure]{name=Fig.,labelformat=thinspace}|
+% \end{Quote}
+% В~русской документации опция ключа |name=Fig.| опущена.
%
% %^^A\newpage
-%
%^^A% \subsection{The \package{picins} Package}\label{ssec:picins}
% \subsection{Пакет \package{picins}}\label{ssec:picins}
-%
-% \floatsetup[figure]{style=ruled}
-%
-% \parpic[l]{{%\def\floatrowsep{}\let\FBiffloatrow\iftrue
-% \def\FBaskip{6pt}\def\FBbskip{12pt}
-% \ffigbox[42mm]
-% {{\setlength\unitlength{12mm/61}%^^A
-% \input{TheDog.picture}}}
-% {\caption{Рисунок в оборку (\cmd{\parpic});
-% \cmd{\floatbox}}\label{fig:parpic:BcatI}}%
-% }}
+% \floatsetup[figure]{style=Doublebox}
+% \captionsetup[parpic]{labelformat=thinspace}\abovecaptionskip10pt
%
%^^A% \noindent Tested with version v\,3.0 dated 1999/10/12.
-% \noindent Тестировано с версией v\,3.0, 1999/10/12.
+% \noindent Тестировано с версией v\,3.0, 1999/10/12.\nopagebreak
%
%^^A% This package produces pictures inside paragraph. This package
%^^A% supports usage of captions with command |\piccaption|. It also allows
@@ -5143,29 +6604,49 @@
% Этот пакет создаёт рисунки внутри абзаца. Он предлагает
% использование подписей с~помощью команд |\piccaption|.
% Также он поддерживает настройки
-% пакета \package{caption}.
+% пакета \package{caption} (см.~документацию к~пакету версии~3.1f).
+%
+% \piccaption{Рисунок в~оборку (\cmd{\parpic});
+% \cmd{\floatbox}\label{fig:parpic:BcatI}}%^^A
+% \parpic[l]{{\hsize0pt
+% \ffigbox[\FBwidth ]{}{%^^A
+% \setlength\unitlength{32mm/72}%^^A
+% \input{TheDog.picture}}}}
%
%^^A% The \cmd{\parpic} macro usually allows usage of |\floatbox| macro
%^^A% inside of its mandatory argument.
% В~макрокоманде \cmd{\parpic} можно использовать макрокоманду
% |\floatbox| внутри обязательного
-% аргумента.
+% аргумента. В~этом случае для рисунков в~оборку внутри |\parpic|
+% будут работать настройки типа |\floatsetup[figure]| и~|\floatsetup|
+% и~настройки из строки |\usepackage| (но, к~сожалению, только они).
%
-%^^A \emph{Founded limitations}.\nopagebreak
+%^^A% \emph{Founded limitations}.\nopagebreak
+% \emph{Обнаруженные ограничения}.\nopagebreak
+%
+%^^A% 1)\enskip In |\parpic| argument you ought to put before |\floatbox|
+%^^A% the command |\hsize0pt|,
+%^^A% to get correct layout. (Compare with usage of |0mm| value inside the \marg{width
+%^^A% of figure} option in the \env{wrap...} environment.)
+% 1)\enskip В~аргументе команды |\parpic| нужно до команды |\floatbox| задать ширину бокса.
+% Если вы зададите |\hsize0pt| то будет использована натуральная величина содержимого.
+% (Сравните с~использованием значения |0mm| в~аргументе \marg{width
+% of figure} окружений \env{wrap...}.)
%
-%^^A 1)\enskip In |\parpic| argument you ought to put before |\floatbox|
-%^^A following commands:
-%^^A \begin{Quote}%
-%^^A |\def\floatrowsep{}|\allowbreak
-%^^A |\let\FBiffloatrow\iftrue|
-%^^A \end{Quote}%
-%^^A to get correct layout.
%
%^^A% The next limitations could not tied with \package{floatrow} package.
-% Следующие ограничения могут быть не связаны с~пакетом \package{floatrow}.
+% Следующие ограничения могут быть не связаны с~пакетом \package{floatrow}.\nopagebreak
%
%^^A \floatsetup[figure]{style=DOUBLEBOX}
%
+% \floatsetup[figure]{style=DOUBLEBOX}
+% \parpic[r]{{\hsize42mm\def\FBaskip{6pt}
+% \ffigbox[\hsize]
+% {{\setlength\unitlength{24mm/72}%^^A
+% \input{TheDog.picture}}}
+% {\caption{Рисунок в~оборку (\cmd{\parpic})}\label{fig:parpic:BcatII}}%
+% }}
+%
%^^A \parpic[r]{{%\def\floatrowsep{}\let\FBiffloatrow\iftrue
%^^A \hsize36mm
%^^A \ffigbox[\hsize]
@@ -5174,18 +6655,26 @@
%^^A {\caption{Wrapped figure (\cmd{\parpic})}\label{fig:parpic:BcatII}}%
%^^A }}
%
-%^^A% 1)\enskip If you put \cmd{\parpic} just after |\...section| command
+%^^A% 3)\enskip If you put \cmd{\parpic} just after |\...section| command
%^^A% you need (if you do not indentation after heads) to put |\noindent|
%^^A% for the first paragraph.
-% 1)\enskip Если вы задаёте \cmd{\parpic} сразу после команды |\...section|
+% 2)\enskip Если вы задаёте \cmd{\parpic} сразу после команды |\...section|
% вам придётся (если вы отменяете абзацный отступ после заголовков)
% задать команду |\noindent|
% для первого абзаца.
%
+%^^A% 3)\enskip It seems that |\parpic| commands stop non-breaking mechanism
+%^^A% between section command and text in the case of appearance
+%^^A% at the very beginning of the first paragraph (this situation appears
+%^^A% in current documentation).
+% 3)\enskip Возможно, что команда |\parpic| отменяет запрет разрыва на страницы
+% между заголовком раздела и~текстом в~случае, когда первый абзац раздела начинается
+% с~этой команды (по крайней мере это происходило при тестировании данной документации).
+%
%^^A% 2)\enskip You may try to use \cmd{\parpic} inside list environment,
%^^A% but in some cases usage of \cmd{\parpic} in
%^^A% the list gets bad or wrong layout.
-% 2)\enskip Вы можете попытаться использовать \cmd{\parpic} внутри
+% 3)\enskip Вы можете попытаться использовать \cmd{\parpic} внутри
% окружения перечня,
% но в~некоторых случаях использование \cmd{\parpic} в~окружении
% перечня может дать неверный результат.
@@ -5194,34 +6683,69 @@
%^^A% \meta{inside}, like previous two packages (the option |[o]| means
%^^A% oval box around picture), so you ought to set horizontal position
%^^A% manually.
-% 3)\enskip Этот пакет не имеет опции \meta{outside} или
+% 4)\enskip Этот пакет не имеет опции \meta{outside} или
% \meta{inside}, как предыдущие два пакета (опция |[o]| означает
% овальную рамку вокруг картинки), поэтому вы должны задавать
% горизонтальное расположение
-% вручную. Или определить несложное условие, используя флаг |\ifodd|.
-%
+% вручную. Или определить команду:
+%\begin{Quote}
+%\begin{preamble}
+%|\usepackage{ifthen}|\vspace{1ex}
+%|\newcommand\oparpic{\isodd{\value{page}}%|
+%| {\def\next{\parpic[r]}}{\def\next{\parpic[l]}}\next}|
+%\end{preamble}
+%\end{Quote}
% \endgroup
%
+%^^A% 5)\enskip The special caption settings were created for figure label.
+% 5)\enskip Для нумерационного заголовка использовались специальные настройки.
+% \begin{Quote}
+% |\captionsetup[parpic]{name=Fig.,labelformat=thinspace}|
+% \end{Quote}
+% В~русской документации опция ключа |name=Fig.| опущена.
+%
+%^^A% If you use |\piccaption| command these settings are switched on.
+%^^A% First picture in this section was created with code like:
+% Если вы используете команду |\piccaption| эти настройки |\captionsetup[parpic]{...}|
+% включаются.
+% Так первый рисунок данного раздела был создан следующим образом:
+% \begin{Quote}
+% |\piccaption{...\label{...}}%|
+% |\parpic[l]{\hsize0pt|
+% | \ffigbox[\FBwidth]{}{...}}|
+% \end{Quote}
+%^^A% Second picture uses the |\caption| command inside |\ffigbox|, so
+%^^A% the |\captionsetup[parpic]{...}| settings do not work:
+% Второй рисунок использует |\caption| внутри |\ffigbox|, поэтому
+% настройки |\captionsetup[parpic]{...}| не работают:
+% \begin{Quote}
+% |\parpic[r]{\hsize36mm\def\FBaskip{6pt}|
+% | \ffigbox[\hsize]{}{%|
+% | ...\caption{...}\label{fig:parpic:BcatII}}|
+% \end{Quote}
+% Разница видна в~английской документации, где нумерационный заголовок
+% остался в~форме `Figure'~номер рисунка.
+%
%^^A% \subsection{The \package{rotating} Package and \env{sideways\ldots}
%^^A% Environment}\label{ssec:rotating}
% \subsection{Пакет \package{rotating} и~окружение
-% \env{sideways\ldots}}\label{ssec:rotating}
-%
+% \texttt{sideways\ldots}}\label{ssec:rotating}
%^^A% Tested with version v2.13 dated Sep. 1992.
% Тестировано с версией v2.13 датированной Sep. 1992.
%
-%^^A% There is example (figure~\ref{fig:rot}) with rotated float, using
+%^^A% There is example (figure~\ref{fig:rot:ii}) with rotated float, using
%^^A% \env{sidewaysfigure}.
-% Далее идёт пример (рис.~\ref{fig:rot}) с~развёрнутым вертикально
+% Далее идёт пример (рис.~\ref{fig:rot:ii}) с~развёрнутым вертикально
% флотом, использующим окружение
% \env{sidewaysfigure}.
%\begin{Quote}\openup-.5pt
-%\meta{preamble}
-%|\floatsetup[|\hyperref[setup:rotfigure]{\texttt{rotfigure}}|]{|%^^A
-% \hyperref[setup:style]{\texttt{style}}|=WSHADOWBOX}|
-%\meta{preamble}
+%\begin{preamble}
+% |\usepackage[figuresright]{rotating}|
+%|\|\FRkey[sec]{floatsetup}|[rotfigure]{|%^^A
+% \FRkey{style}|=WSHADOWBOX}|
+%\end{preamble}
%|\begin{sidewaysfigure}\emptyfloatpage|
-%|\ffigbox[\FBwidth]|
+%|\|\FRkey[FB]{ffigbox}|[\|\FRkey[FB]{FBwidth}|]|
%| {...}|
%| {\caption{Figure ...}%|
%| \label{...}}|
@@ -5234,12 +6758,45 @@
% \env{sidewaysfigure}}%
% \label{fig:rot:ii}}
% \end{sidewaysfigure}%
-% %^^A For rotating floats on right side (like in
-% %^^A current documentation) put in preamble
-% %^^A \begin{quote}
-% %^^A |\usepackage[figuresright]{rotating}|
-% %^^A \end{quote}
%
+%^^A% \subsubsection{Special page style for float page}
+%^^A% In current example you may see command |\emptyfloatpage|.%^^A
+%^^A% \FRmpar{Empty page style for rotated floats}{FAD:emptyfloatpage}
+%^^A% It is offered by \package{floatpagestyle} package, (installed with
+%^^A% \package{floatrow} package). Macro |\emptyfloatpage| is abbreviation of
+%^^A% |\floatpagestyle{empty}|. The last macro redefines page style for
+%^^A% the page where \emph{current} floating environment appears.
+% \subsubsection{Специальный стиль колонтитула для полосы с~флотом}
+% В~примере с~рис.~\ref{fig:rot:ii} вы можете видеть
+% команду |\emptyfloatpage|.%^^A
+% \FRmpar{Пустой колонтитул для развёрнутых флотов}{FAD:emptyfloatpage}\label{setup:emptyfloatpage}
+% Эта команда предлагается
+% пакетом \package{floatpagestyle}, (инсталлируемым
+% вместе с~пакетом \package{floatrow}, может использоваться отдельно). Макрокоманда
+% |\emptyfloatpage| является сокращением команды
+% |\floatpagestyle{empty}|. Последняя макрокоманда переопределяет
+% стиль страницы когда появляется на ней данное окружение флота, аналогично команде |\thispagestyle|.
+%
+% \RestoreSpaces
+%^^A% The version 0.1h patches the core \LaTeX{} macro
+%^^A% |\@outputpage|\footnote{At the start of document
+%^^A% \package{floatpagestyle} package puts additional code at the very beginning
+%^^A% of this output routine.}
+%^^A% and I hope that it could work.\footnote{If you know more honest
+%^^A% way to get the same result---the redefinition of \emph{alone}
+%^^A% \emph{float} page style (in the case when this page can \emph{float}
+%^^A% inside document)---please let me know.} Since this package uses
+%^^A% |\label|---|\ref| mechanism, the |\floatpagestyle| command works
+%^^A% after \emph{second} \LaTeX{} run.
+% С~версии 0.1h пакет только добавляет дополнительный код к~макрокоманде
+% |\@outputpage| из ядра \LaTeX'а и~я~надеюсь что это будет
+% работать.\footnote{Если вам известен более честный путь
+% получить тот же результат \cdash--- переопределение
+% стиля отдельной страницы с~плавающим флотом (учитывая, что и~она
+% сама может плавать по документу) "--- дайте, пожалуйста, знать.}
+% Поскольку пакет \package{floatpagestyle} использует
+% механизм |\label|---|\ref|, команда |\floatpagestyle| даёт
+% результат после \emph{второй} (и~более) обработок \LaTeX'ом.
%
%^^A% \emph{Special settings}.\nopagebreak
% \emph{Специальные настройки}.\nopagebreak
@@ -5252,32 +6809,32 @@
%
%^^A% For one-column rotated float
% Для одноколонного флота
-% \par\RestoreSpaces
+% \RestoreSpaces
% \begin{itemize}\itemsep0pt\parskip0pt
%^^A% \item %
%^^A% if exists |\floatsetup[rot|\meta{captype}|]{...}|
%^^A% package uses these settings---the ``strongest'' settings; if they
-%^^A% absent---uses settings from next item;
+%^^A% are absent---uses settings from next item;
% \item %
% если существуют настройки
% |\floatsetup[rot|\meta{captype}|]{...}|
-% пакет использует эти настройки "--- <<сильнейшие>> настройки;
+% пакет использует эти настройки "--- «сильнейшие» настройки;
% если они отсутствуют "---
% используются настройки из следующего пункта;
%^^A% \item
%^^A% if exists |\floatsetup[rotfloat]{...}|
%^^A% package uses these settings---these settings ``stronger'' than next
-%^^A% ones; if they absent---settings for current float
+%^^A% ones; if they are absent---settings for current float
%^^A% (|\floatsetup[|\meta{captype}|]{...}|);
-%^^A% if they absent---uses default settings
+%^^A% if they are absent---uses default settings
%^^A% (|\floatsetup{...}| or package settings).
% \item
% если существуют настройки |\floatsetup[rotfloat]{...}|
-% пакет использует эти настройки "--- эти настройки <<сильнее>> чем
+% пакет использует эти настройки "--- эти настройки «сильнее» чем
% следующие; если они отсутствуют "--- настройки для
% флота (|\floatsetup[|\meta{captype}|]{...}|);
-% если и~они отсутствуют "--- используются настройки по умолчанию
-% в~команде (|\floatsetup{...}| или настройки пакета).
+% если и~они отсутствуют "--- используются настройки
+% |\floatsetup{...}| или настройки пакета по умолчанию.
% \end{itemize}
%
%^^A% For two-column or wide rotated float (starred environment)
@@ -5286,27 +6843,27 @@
% \item %
%^^A% if exists |\floatsetup[widerot|\meta{captype}|]{...}|
%^^A% package uses these settings---the ``strongest'' settings;
-%^^A% if they absent---uses settings of next item;
+%^^A% if they are absent---uses settings of next item;
% если существуют настройки
% |\floatsetup[widerot|\meta{captype}|]{...}|
-% пакет использует эти настройки "--- <<сильнейшие>> настройкиt;
+% пакет использует эти настройки "--- «сильнейшие» настройки;
% если они отсутствуют "---используются настройки из следующего
% пункта;
% \item %
%^^A% if exists |\floatsetup[widerotfloat]{...}| package
%^^A% uses these settings---these settings ``stronger'' than settings
-%^^A% in next item; if they absent---uses settings of next item;
+%^^A% in next item; if they are absent---uses settings of next item;
% если существуют настройки |\floatsetup[widerotfloat]{...}|
-% пакет использует эти настройки "--- эти настройки <<сильнее>>
+% пакет использует эти настройки "--- эти настройки «сильнее»
% чем следующие; если они отсутствуют
% "--- используются настройки из следующего пункта;
% \item %
%^^A% if exists |\floatsetup[rot|\meta{captype}|]{...}| package
%^^A% uses these settings---these settings ``stronger'' than settings
-%^^A% in next item; if they absent---uses settings of next item;
+%^^A% in next item; if they are absent---uses settings of next item;
% если существуют настройки
% |\floatsetup[rot|\meta{captype}|]{...}|
-% пакет использует эти настройки "---эти настройки <<сильнее>>
+% пакет использует эти настройки "---эти настройки «сильнее»
% чем следующие; если они отсутствуют
% "---используются настройки из следующего пункта;
% \item %
@@ -5314,101 +6871,122 @@
%^^A% package uses these settings---these settings ``stronger'' than next
%^^A% ones;
% если существуют настройки |\floatsetup[rotfloat]{...}|
-% пакет использует эти настройки "---эти настройки <<сильнее>>
+% пакет использует эти настройки "---эти настройки «сильнее»
% чем следующие;
-% %^^A if they absent---settings of next item;
+% %^^A if they are absent---settings of next item;
% %^^A \item %
% %^^A if exists |\floatsetup[wide|\meta{captype}|]{...}|
-% %^^A package uses these settings; if they absent---settings
+% %^^A package uses these settings; if they are absent---settings
% %^^A of next item;
% %^^A \item %
% %^^A if exists |\floatsetup[widefloat]{...}|
% %^^A package uses these settings;
-%^^A% if they absent---uses settings for current float
+%^^A% if they are absent---uses settings for current float
%^^A% (|\floatsetup|\marg{captype}|{...}|);
-%^^A% if they absent---uses default settings
+%^^A% if they are absent---uses default settings
%^^A% (|\floatsetup{...}| or package settings).
% если они отсутствуют "--- настройки для флота
% (|\floatsetup|\marg{captype}|{...}|);
-% если и~они отсутствуют "--- используются настройки по умолчанию
-% в~команде (|\floatsetup{...}| или настройки пакета).
+% если и~они отсутствуют "--- используются настройки
+% |\floatsetup{...}| или настройки пакета по умолчанию.
% \end{itemize}
-%\enlargethispage{\baselineskip}
-%^^A% \emph{Notes}.\nopagebreak
-% \emph{Замечания}.\nopagebreak
%
+%^^A% \subsubsection{Rotated floats on the facing pages}
+% \subsubsection{Компоновка развёрнутых флотов на развороте}
%^^A% 1)\enskip If you place two continued rotated floats%^^A
%^^A% \FRmpar{Continued rotated floats}{FAD:ContRotated} on facing pages,
%^^A% the better way is to gather them to binder margin. For this reason you
-%^^A% may define\footnote{In case of \package{rotating} package has |[figuresright]|
-%^^A% option, see also files \file{frsample10.tex}--\file{frsample12.tex}
-%^^A% and code in \file{fr-sample.tex}.} before first float
+%^^A% may define
% 1)\enskip Если вы помещаете два продолжающихся флота,%^^A
% \FRmpar{Продолжающиеся развёрнутые флоты на развороте}{FAD:ContRotated}
-% развёрнутых вертикально, на развороте, лучше будет их собрать
-% у~корешкового поля. Для этого вы можете определить\footnote{Если пакет
-% \package{rotating} использует опцию |[figuresright]|, см.~также
-% файлы примеров \file{frsample10.tex}--\file{frsample12.tex}
-% и~код файла \file{fr-sample.tex}.} до первого флота\allowpostlistbreaks[2]
-% \par\RestoreSpaces
-% \begin{Quote}
-% |\buildFBBOX{\vbox to\rottextwidth\bgroup\vss}{\egroup}|
-% \end{Quote}
-%^^A% and before second one
-% а~перед вторым
+% развёрнутых вертикально, на развороте, лучше будет их собрать
+% у~корешкового поля. Для этого вы можете определить\label{buildFBBOX:def}
% \begin{Quote}
+% \begin{preamble}
+% |\usepackage[figuresright]{rotating}|
+% |\newlengthtocommand\setlength\rottextwidth{\textwidth}|
+% \end{preamble}
+% |\begin{sidewaysfigure}|
+% |\|\FRkey[FB]{buildFBBOX}|{\vbox to\rottextwidth\bgroup\vss}{\egroup}|
+% |\|\FRkey[FB]{ffigbox}|{|\meta{contents of first figure}|}|
+% |\end{sidewaysfigure}|
+% |\begin{sidewaysfigure}|
% |\buildFBBOX{\vbox to\rottextwidth\bgroup}{\vss\egroup}|
+% |\ffigbox{|\meta{contents of second figure}|}|
+% |\end{sidewaysfigure}|
% \end{Quote}
-% \medskip
-%^^A% The |\rottextwidth| dimension---here is saved |\textwidth| of
-%^^A% document---the |\columnwidth| and |\textwidth| inside
+%
+% \emph{Замечания.}
+%^^A% 2)\enskip In the example above (and also in the example width figure~\ref{fig:rot:ii})
+%^^A% the \package{rotating} package has
+%^^A% |[figuresright]| option; in this case all \env{sideways...} floats on even and odd pages
+%^^A% will be rotated by 90$^\circ$ counterclockwise.
+% 1)\enskip В~примере выше (а~также в~примере с~рис.~\ref{fig:rot:ii})
+% пакет \package{rotating} был задан с~опцией
+% |[figuresright]|; поэтому все \env{sideways...} флоты на чётных и~на нечётных полосах будут
+% развёрнуты на 90$^\circ$ против часовой стрелки.
+%
+%^^A% 3)\enskip The |\rottextwidth| command in the example above stores value of the |\textwidth| of the
+%^^A% document; the |\columnwidth| and |\textwidth| inside
%^^A% \texttt{sideways...} environment are redefined and equal to
%^^A% |\textheight|.
-% Величина |\rottextwidth| "---здесь сохранённое значение
+%^^A% If you are limited in creation of new length command the \package{floatrow}
+%^^A% package provides commands
+%^^A% \DescribeMacro{\newlengthtocommand}%^^A
+%^^A% \DescribeMacro{\renewlengthtocommand}%^^A
+%^^A% \label{setup:newlengthtocommand}%^^A
+%^^A% \label{setup:renewlengthtocommand}%^^A
+%^^A% \cmd{\(re)newlengthtocommand} which save \emph{absolute}
+%^^A% value from arguments of standard \LaTeX{} commands \cmd{\setlength}, \cmd{\settowidth} and their
+%^^A% analogs to the new command; here the usual code
+%^^A% \cmd{\newdimen}\cmd{\rottextwidth}\cmd{\rottextwidth}\cmd{\textwidth}
+%^^A% changed to
+%^^A% {\cmd{\newlengthtocommand}\allowbreak\cmd{\setlength}\allowbreak
+%^^A% \cmd{\rottextwidth}\allowbreak\{\cmd{\textwidth}\}}. You may use \cmd{\(re)newlengthtocommand}
+%^^A% commands for the spacing commands or lengths, defined with |\(re)newcommand|.
+% 2)\enskip Команда |\rottextwidth| в~примере выше сохраняет значение ширины текста
% |\textwidth| документа "--- параметры |\columnwidth|
-% и~|\textwidth| внутри окружения \texttt{sideways...} равны
-% |\textheight|.
+% и~|\textwidth| внутри окружения \texttt{sideways...} приравниваются
+% |\textheight|. Если~\nobreak\quad а)\nobreak\enskip
+% вы ограничены в~возможности создать новые параметры длин с~помощью команд
+% |\newlength| (к~примеру, используете пакет \package{pictex}\footnote{Хотя, возможно,
+% компиляторы на базе \texttt{e-TeX} уже сняли эту проблему.}),
+% или~\nobreak\quad б)\nobreak\enskip
+% для команды ширины/высоты или отбивки, заданной через |\newcommand| (например
+% команда |\headrulewidth|
+% из пакета \package{fancyhdr}) новое значение требует сложного расчёта с~использованием
+% пакета \package{calc} \cdash--- \package{floatrow} предлагает команды
+% \DescribeMacro{\newlengthtocommand}\label{setup:newlengthtocommand}%^^A
+% \DescribeMacro{\renewlengthtocommand}\label{setup:renewlengthtocommand}%^^A
+%\begin{Quote}%
+% \cmd{\newlengthtocommand} \quad или
+% \cmd{\renewlengthtocommand}
+%\end{Quote}%
+% которые помещаются перед стандартными командами \LaTeX'а вроде \cmd{\setlength} или
+% \cmd{\settowidth} и сохраняют \emph{абсолютное} значение из их аргументов;
+% так, запись
+%\begin{Quote}%
+%|\newlength\fulltextwidth|
+%|\setlength\rottextwidth{\textwidth+\marginparsep+\marginparwidth}|
+%\end{Quote}%
+% может быть заменена на
+%\begin{Quote}%
+%\begin{preamble}
+%|\usepackage{calc}|
+%\end{preamble}
+% |\newlengthtocommand\setlength|
+% |\fulltextwidth{\textwidth+\marginparsep+\marginparwidth}|\quad.
+%\end{Quote}%
+%^^A% Please note than the usage of calculation inside |\setlength| command (and its analogs)
+%^^A% can be used only with the \package{calc} package.
+% Обратите внимание, что использование вычислений в~аргументе
+% команды |\setlength| (и~её аналогов)
+% возможно благодаря подключённому пакету \package{calc}.
%
-%^^A% 2)\enskip In current example you may see command |\emptyfloatpage|.%^^A
-%^^A% \FRmpar{Empty page style for rotated floats}{FAD:emptyfloatpage}
-%^^A% It is offered by \package{floatpagestyle} package, (installed with
-%^^A% \package{floatrow} package). Macro |\emptyfloatpage| is abbreviation of
-%^^A% |\floatpagestyle{empty}|. The last macro redefines page style for
-%^^A% the page where \emph{current} float environment appears.
-% 2)\enskip В~данном примере вы можете видеть команду |\emptyfloatpage|.%^^A
-% \FRmpar{Пустой колонтитул для развёрнутых флотов}{FAD:emptyfloatpage}
-% Эта команда предлагается
-% пакетом \package{floatpagestyle}, (инсталлируемым
-% вместе с~пакетом \package{floatrow}). Макрокоманда
-% |\emptyfloatpage| является сокращением команды
-% |\floatpagestyle{empty}|. Последняя макрокоманда переопределяет
-% стиль страницы когда появляется на ней данное окружение флота.
%
-%^^A% The version 0.1h patches the core \LaTeX{} macro
-%^^A% |\@outputpage|\footnote{At the start of document
-%^^A% \package{floatpagestyle} package puts additional code at the very beginning
-%^^A% of this output routine.}
-%^^A% and I hope that it could work.\footnote{If you know more honest
-%^^A% way to get the same result---the redefinition of \emph{alone}
-%^^A% \emph{float} page style (in the case when this page can \emph{float}
-%^^A% inside document)---please let me know.} Since this package uses
-%^^A% |\label|---|\ref| mechanism, the |\floatpagestyle| command works
-%^^A% after \emph{second} \LaTeX{} run.
-% Версия 0.1h только добавляет дополнительный код к~макрокоманде
-% |\@outputpage| из ядра \LaTeX'а и~я~надеюсь что это будет
-% работать.\footnote{Если вам известен более честный путь
-% получить тот же результат \cdash--- переопределение
-% стиля отдельной страницы с~плавающим флотом (учитывая, что и~она
-% сама может плавать по документу) "--- дайте, пожалуйста, знать.}
-% Поскольку пакет \package{floatpagestyle} использует
-% механизм |\label|---|\ref|, команда |\floatpagestyle| даёт
-% результат после \emph{второй} (и~более) обработок \LaTeX'ом.
-%
-% \RestoreSpaces
%^^A% \subsection{The \package{lscape} Package and \env{landscape}
%^^A% Environment}\label{ssec:lscape}
% \subsection{Пакет \package{lscape} и окружение \env{landscape}}\label{ssec:lscape}
-%
%^^A% Tested with version v3.0a dated 1999/02/16.\nopagebreak
% Тестировалось с~версией v3.0a датированной
% 1999/02/16.\nopagebreak
@@ -5421,37 +6999,44 @@
% Пример с использованием окружения \env{landscape} из пакета
% \package{lscape} на с.~\pageref{fig:rotrow:WcatI},
% рис.\ref{fig:rotrow:WcatI}--\ref{fig:rotrow:FcatI}):
-% \par\RestoreSpaces
%\begin{Quote}
-%\meta{preamble}
-%|\DeclareFloatVCode{lowthickrule}{\kern2pt\rule{\hsize}{.8pt}}|
-%|\floatsetup[figure]{|\hyperref[setup:style]{\texttt{style}}|=ruled,|%^^A
-% \hyperref[setup:rowprecode]{\texttt{rowprecode}}|=thickrule,|
-%| |\hyperref[setup:rowpostcode]{\texttt{rowpostcode}}|=lowthickrule,|%^^A
-% \hyperref[setup:capposition]{\texttt{capposition}}|=TOP}|
-%\meta{preamble}
+%\begin{preamble}
+%|\|\FRkey{DeclareFloatVCode}|{lowthickrule}{\kern2pt\rule{\hsize}{.8pt}}|
+%|\|\FRkey[sec]{floatsetup}|[figure]{|\FRkey{style}|=ruled,|\FRkey{rowprecode}|=thickrule,|
+%| |\FRkey{rowpostcode}|=lowthickrule,|\FRkey{capposition}|=TOP}|
+%\end{preamble}
%|\begin{landscape}|
-%|\begin{figure}\emptyfloatpage|
+%|\begin{figure}\|\FRkey{emptyfloatpage}
%|...|
%\end{Quote}
-%^^A% |\floatsetup| code sets \texttt{ruled} float style,
+%^^A% |\floatsetup| code sets |ruled| float style,
%^^A% then settings for above and below material are redefined:
-%^^A% \texttt{rowprecode=} and \texttt{rowpostcode=} keys define thick
+%^^A% |rowprecode=| and |rowpostcode=| keys define thick
%^^A% rules but for floatrow as whole (the `individual' |\hrule|'s
-%^^A% above/below float boxes absent).
-% Команда |\floatsetup| определяет стиль флота \texttt{ruled},
+%^^A% above/below float boxes are absent).
+% Команда |\floatsetup| определяет стиль флота |ruled|,
% затем настройки для материала сверху и~снизу переопределены:
-% ключи \texttt{rowprecode=} и~\texttt{rowpostcode=} определяют
-% толстые линейки для всего ряда рисунков (<<индивидуальные>>
+% ключи |rowprecode=| и~|rowpostcode=| определяют
+% толстые линейки для всего ряда рисунков («индивидуальные»
% линейки сверху/снизу в~ряду отменены).
%\fi\fi
%
%^^A% The \env{landscape} environment creates a new page. It would be
-%^^A% useful to start new section of document, e.g., appendix. (In current
+%^^A% useful~\nobreak\quad for rotation of multipage rotated float (in this case it is better
+%^^A% to put this float in a separate file, and, to start from necessary page, to use the
+%^^A% \package{afterpage} package and its |\afterpage|)~\nobreak\quad and also
+%^^A% to start new section of document, e.g., appendix. (In current
%^^A% document it was placed just before appendix)
-% Окружение \env{landscape} создаёт новую страницу. Оно полезно для
-% разворота целиком нового раздела документа, например, приложения. (В~данном
-% документе окружение было помещено перед приложением)
+% Окружение \env{landscape} создаёт новую страницу. Оно полезно~\nobreak\qquad1)\nobreak\enskip для
+% разворота многостраничного флота (в~этом случае части флота нужно поместить
+% в~отдельный файл, а~для того, чтобы начать его с~нужной полосы, можно воспользоваться
+% пакетом \package{afterpage} и~его командой |\afterpage|)~\nobreak\qquad2)\nobreak\enskip
+% а~также для разворота целиком раздела документа, например, приложения.
+%\ifx\landscape\undefined\else
+% \ifx\landscape\relax\else
+% (В~данном
+% документе окружение \env{landscape} было использовано для помещения ряда рисунков перед приложением).
+%\fi\fi
%
%^^A \emph{Founded limitations}.\nopagebreak
%^^A The tested version works incorrect (does not rotates contents)
@@ -5459,7 +7044,6 @@
%
%^^A% \subsection{The \package{listings} Package}\label{ssec:listings}
% \subsection{Пакет \package{listings}}\label{ssec:listings}
-%
%^^A% Tested with version v1.3 dated 2004/09/07.\nopagebreak
% Тестировалось с~версией v1.3 датированной 2004/09/07.\nopagebreak
%
@@ -5469,7 +7053,7 @@
%^^A% \package{caption} documentation: the co-operation of \package{caption}3.x and
%^^A% \package{listings} succeeds with version of last one not older than 1.2.}
%^^A% for algorithm type of float.
-% Этот пакет имеет свой сильный механизм создания плавающих
+% Этот пакет имеет свой сильный механизм создания плавающих нумерованных
% алгоритмов. Использование команды |\lstset| и~настроек пакета
% \package{caption} даст нужный результат оформления\footnote{Обратите
% внимание и~прочтите документацию
@@ -5488,10 +7072,9 @@
%
%^^A% \subsection{The \package{hyperref} and \package{hypcap} Packages}
% \subsection{Пакеты \package{hyperref} и \package{hypcap}}
-%
%^^A% There were tested versions v6.74i (\package{hyperref})
%^^A% and v1.3 (\package{hypcap}).
-% Тестированы версии v6.74i (\package{hyperref}) и v1.3 (\package{hypcap}).
+% Тестированы версии v6.77i (\package{hyperref}) и v1.7 (\package{hypcap}).
%
%^^A% The \package{floatrow} tries not to expand its code to |\caption| stuff.
%^^A% I hope that environments supported by \package{floatrow} won't
@@ -5501,17 +7084,14 @@
% пакетом \package{floatrow} не навредят тандему пакетов
% \package{caption}---\package{hyperref}/\package{hypcap}.
%
-%^^A% \subsection{The Incompatibilities}
-% \subsection{Несовместимости}
-%
+%^^A% \section{The Incompatibilities}
+% \section{Несовместимости}
%^^A% The incompatibilities at first could follow the incompatibilities of
-%^^A% \package{caption} 3.x package:
-% Несовместимости в~первую очередь совпадают с~несовместимостями
-% пакета \package{caption} 3.x:
-% \begin{Quote}
-% \package{ccaption}, \package{hvfloat}, \package{nonfloat}, \package{captcont}, \package{ccaption},
-% \package{ftcapt}, (\package{hvfloat}), \package{multicap}, \package{topcapt}, \package{nonfloat}
-% \end{Quote}
+%^^A% \package{caption} 3.x package (please look in the \package{caption} package
+%^^A% documentation to know the newest list):
+% Несовместимости или особенности работы с~другими пакетами
+% в~первую очередь совпадают с~требованиями пакета \package{caption} 3.x.
+% \textit{За новыми сведениями обращайтесь к~документации \package{caption}}.
%
%^^A% The known incompatibilities of \package{floatrow} package itself:
%^^A% \quad 1)\nobreak\enskip \package{sidecap} package\footnote{Despite that
@@ -5527,11 +7107,12 @@
% Известные несовместимости пакета \package{floatrow} \quad 1)\nobreak\enskip это пакет
% \package{sidecap}\footnote{Несмотря на это я~пыталась получить
% все предложенные этим пакетом оформления размещения подписей
-% сбоку. Большое спасибо Rolf Niepraschk и~Hubert G\"{a}\ss{}lein
+% сбоку. Большое спасибо {\fontencoding{T1}\fontfamily{ptm}\selectfont Rolf Niepraschk}
+% и~{\fontencoding{T1}\fontfamily{ptm}\selectfont Hubert G\"{a}\ss{}lein}
% за пакет в~котором дана полная гамма таких оформлений.}:
% пакет \package{floatrow} не распространяет
-% своё оформление на окружения \env{SCfigure} и~\env{SCtable}.
-% \quad 2)\nobreak\enskip пакет~\package{ctable}; если вы привыкли использовать
+% своё оформление на окружения \env{SCfigure} и~\env{SCtable}.~\nobreak\quad
+% 2)\nobreak\enskip пакет~\package{ctable}; если вы привыкли использовать
% инструменты \package{ctable}, например. для таблиц, задайте |\RawFloats[table]|
% в~преамбуле, и~помните, что команды типа |\ttabbox| не
% теряют своей силы (см.~также {\sectionname}~\ref{sec:rawfloats}).
@@ -5539,10 +7120,9 @@
% \addtocontents{toc}{\string\pagebreak[3]}
%^^A% \section{Limitations}
% \section{Ограничения}
-%
%^^A% There are known limitations, which were found during usage of
%^^A% \package{floatrow}:
-% Здесь даны ограничения, которые были обнаружены при пользовании
+% Здесь даны ограничения, обнаруженные при пользовании
% пакетом \package{floatrow}:
% \begin{itemize}
% %^^A \item %
@@ -5550,15 +7130,15 @@
% %^^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 added |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.
+% %^^A |minipage|s in object without harm.
%^^A% \item %
-%^^A% You cannot use |\floatbox| stuff for floats with \texttt{verbatim}
+%^^A% You cannot use |\floatbox| stuff for floats with |verbatim|
%^^A% environment and/or |\verb|.
% \item %
% Вы не можете использовать команды типа |\floatbox| для флотов
-% с~окружением \texttt{verbatim} или командой |\verb|.
+% с~окружением |verbatim| или командой |\verb|.
% \item %
%^^A% This limitation was mentioned above: some tools of the package use
%^^A% |\label|---|\ref| mechanism, thus, if you use float layout which
@@ -5572,38 +7152,38 @@
% в~ряду флотов, вы получите верный результат только после второй
% (и~более) обработки. Если вы измените содержимое так,
% что изменяется высота объекта/подписи вы также должны
-% обработать \LaTeX'ом дважды и~более раз.
+% обработать документ \LaTeX'ом два и~более раз.
%
%^^A% Beside captions and other facing layout will appears correctly only
%^^A% after second \LaTeX's run (sometimes you need to run more times).
-% Подписи сбоку и~другое оформление для разворотов также даст верный
+% Оформление зависящее от размещения на развороте также даст верный
% результат только после второй (и~более) обработки \LaTeX'ом.
% \item %
-%^^A% The version 3.0a (and newer) of \package{caption} package and
+%^^A% The \package{caption} and
%^^A% \package{floatrow} package do not support optional argument \emph{after}
-%^^A% caption ``title''. You may use |\floatfoot|
+%^^A% caption ``title'' (the \package{float} package's stuff). You may use |\floatfoot|
%^^A% macro after main caption argument.
-% Версия 3.0a (и~выше) пакета \package{caption} и~пакет
+% Пакет \package{caption} и~пакет
% \package{floatrow} не поддерживают дополнительный аргумент
-% \emph{после} текста подписи. Вы можете использовать команду
-% |\floatfoot| вместо этого.
+% \emph{после} текста подписи (из возможностей пакета \package{float}).
+% Вместо этого можно использовать команду |\floatfoot|.
% \item %
%^^A% Do not use |\FBwidth| option for complex float contents (which you
%^^A% could not put inside |\hbox|). (But you allowed to use |\vspace|
%^^A% macro at the very end/very beginning of object contents for fine
%^^A% vertical tuning.)
% Не используйте команду |\FBwidth| для сложного содержимого флота
-% (которое вы не можете поместить внутри |\hbox|). (Но вы можете
+% (которое вы не можете поместить внутри |\hbox|). Но вы можете
% использовать команды |\vspace| в~самом начале или
-% в~самом конце содержимого объекта для корректировки отбивок.)
+% в~самом конце содержимого объекта для корректировки отбивок.
% \item %
-%^^A% The \texttt{floatrow} environment allows spaces (and even empty
+%^^A% The |floatrow| environment allows spaces (and even empty
%^^A% lines, which sometimes create better and correct result!) between
%^^A% |\floatbox|'es, but if you add some code between them you
%^^A% must put |%| after this command.
% Внутри окружения \env{floatrow} возможны пробелы (и~даже
% пустые строки, что даёт иногда более корректный результат!) между
-% командами |\floatbox|, но если вы добавите код между флотами, вы
+% командами |\floatbox|, но если вы добавите ещё какой-либо код между флотами, вы
% должны поставить знак процента |%| после такой команды.
% \item %
%^^A% This is common rule---be careful with spaces at the end of lines
@@ -5614,7 +7194,7 @@
% \texttt{CTAN:/info/epslatex.ps} для
% дополнительной информации).
%
-%^^A% When you build plain float environment the better way is to separate
+%^^A% When you build plain floating environment the better way is to separate
%^^A% |\caption| and object contents (and also
%^^A% |\floatfoot|/|\footnotetext| contents) each by empty lines or (if
%^^A% not empty lines) end each part (and arguments of mentioned commands)
@@ -5629,13 +7209,13 @@
% пробелов и~пустых строк в~конце каждой из частей, или неверную
% выключку содержимого объекта.
% %^^A \item %
-% %^^A Usage of fancy boxes \texttt{shadowbox} and
-% %^^A \texttt{wshadowbox} could get wrong layout with
+% %^^A Usage of fancy boxes |shadowbox| and
+% %^^A |wshadowbox| could get wrong layout with
% %^^A beside captions.
-% \item Если вы используете внутри команды |\floatbox| окружения
-% \env{tabularx} или \env{tabular*} (или им подобные) с~командой
+% \item Если вы используете внутри |\floatbox| окружения
+% \env{tabularx}, \env{tabular*} и~т.\,п. с~командой
% |\hsize| внутри аргумента \meta{width}, вы должны повторить
-% аргумент |\hsize| в~аргументе \meta{width} команды |\floatbox|.
+% |\hsize| в~аргументе \meta{width} команды |\floatbox|.
%
%^^A% If you want to set width of \env{tabularx} or \env{tabular*}
%^^A% environments (or any other) like |.8\hsize| (or |1.2\hsize|) and
@@ -5646,15 +7226,14 @@
% Если вы хотите задать ширину окружения \env{tabularx} или
% \env{tabular*} (или другого) как |.8\hsize| (или |1.2\hsize|)
% и~эти окружения помещены внутри команды |\floatbox|, поместите
-% |.8\hsize| в~аргумент \meta{width} макрокоманды |\floatbox| (или
-% другой), а~в~аргументе \meta{width} команды \env{tabularx} или
+% |.8\hsize| в~аргумент \meta{width} макрокоманды |\floatbox|,
+% а~в~аргументе \meta{width} команды \env{tabularx} или
% \env{tabular*} поставьте только
% |\hsize| (см. также код файла \file{frsample03.tex}).
%
%^^A% In other cases (especially in fancy layout or settings) be careful
%^^A% with usage of |\hsize| as \meta{width} option of |\floatbox|.
-% В~иных случаях (особенно при использовании необычных оформлений)
-% будьте внимательны при использовании
+% Будьте внимательны и~при использовании
% |\hsize| как опции \meta{width} команды |\floatbox|.
% \end{itemize}
%
@@ -5662,14 +7241,13 @@
%
%^^A% \section{Acknowledgements}
% \section{Благодарности}
-%
%^^A% Thanks for Steven Cochran and Axel Sommerfeldt for all their advices
%^^A% and spirit. Special thanks for Axel for the patient answering, code, and
%^^A% help in \emph{all} my questions and problems in \package{floatrow} package.
% Спасибо Steven Cochran и~Axel Sommerfeldt за советы и~поддержку.
% Особая благодарность Axel Sommerfeldt за терпеливые ответы, код,
% и~помощь во \emph{всех} вопросах и~проблемах в~пакете
-% \package{floatrow}.
+% \package{floatrow} и~документации.
%
% \medskip\noindent
%^^A% Thanks for \emph{all} involuntary (\La)\TeX{} teachers, who teaches
@@ -5682,7 +7260,7 @@
%^^A% documentation, at last, encouraged me to create the CTAN version of
%^^A% this package.
% Спасибо Keith Reckdahl, автору документации \file{epslatex},
-% которая, в~конце концов, дала отвагу поместить создать версию
+% которая, в~конце концов, дала отвагу создать версию
% пакета для CTAN.
%
% \medskip\noindent
@@ -5697,13 +7275,13 @@
% \floatsetup[figure]{style=ruled,rowprecode=thickrule,
% rowpostcode=lowthickrule,capposition=TOP,
% footposition=caption}
-% \newlength\Mylen\Mylen\textwidth
+% \renewlengthtocommand\setlength\Mylen{\textwidth}
%
% \begin{landscape}
%
-% \begin{figure}\emptyfloatpage
+% \begin{figure}\emptyfloatpage\label{example:ruledcapposTOP}
%
-% \begin{floatrow}[4]\label{example:ruledcapposTOP}%^^A
+% \begin{floatrow}[4]%^^A
% \ffigbox[][][t]
% {{\input{TheCat.picture}}%^^A
% \footnotetext[1]{Картинка
@@ -5718,14 +7296,14 @@
% \label{fig:rotrow:BcatI}%
% \floatfoot{Всё нарисовано макрокомандами \cmd{\qbezier} и двумя
% вертикальными линиями}}%
-% {\input{BlackCat.picture}}%
+% {\input{BlackCat.picture}\footnote[2]
+% {Гляньте на чудную сноску!}}%
%
% \ffigbox[\FBwidth]
% {{\unitlength2.5\unitlength
-% \input{Cat.picture}}\footnote[2]
-% {Гляньте на чудную сноску!}}
+% \input{Cat.picture}}}
% {\caption{Рисунок в~ряду~III, в центре бокса объекта}%
-% \label{fig:rotrow:mouseI}\floatfoot{Изображение мыши}}%
+% \label{fig:rotrow:mouseI}\floatfoot{Изображение кошачьей мордочки}}%
%
% \floatbox{figure}[\Xhsize][\Mylen]
% {\caption{Рисунок в~ряду~IV}\label{fig:rotrow:FcatI}}
@@ -5741,34 +7319,43 @@
% \suppressfloats[t]
%^^A% \section{Appendix}
% \section{Приложение}
-%
% \subsection{Miscellaneous}
-%
-%^^A% \subsubsection{Usage of Captionsetup
+%^^A% \subsubsection{Usage of Captionsetup and~Thisfloatsetup
%^^A% Inside Floatbox Stuff}\label{ssec:app:besidestart}
% \subsubsection{Captionsetup и~Thisfloatsetup
% в~опции команды Floatbox}\label{ssec:app:besidestart}
-%
-%^^A% Example of figures in row (figures~\ref{floatbox:FR:lfig} and
-%^^A% \ref{floatbox:FR:fig}). There were used predefined float commands
+%^^A% Example of figures in row (figures~\ref{FB:FR:lfig} and
+%^^A% \ref{FB:FR:fig}). There were used predefined float commands
%^^A% |\fcapsideleft| and |\fcapsideright| with added |\captionsetup| and
%^^A% |\thisfloatsetup|:
-% Пример рисунков рядом (рис.~\ref{floatbox:FR:lfig}
-% и~\ref{floatbox:FR:fig}). В~примере были использованы
+% Пример рисунков рядом (рис.~\ref{FB:FR:lfig}
+% и~\ref{FB:FR:fig}). В~примере были использованы
% предопределённые команды
% постройки флотов |\fcapsideleft| и~|\fcapsideright|, в~которых
-% добавлены команды |\captionsetup| и~|\thisfloatsetup|:
-%\begin{Quote}
-%|\newfloatcommand{fcapsideleft}{figure}[{\capbeside|
-%| \captionsetup[capbesidefigure]{format=break,labelsep=none,|
+% добавлены настройки |\captionsetup| и~|\thisfloatsetup|:
+%\begin{Quote}\openup-.5pt
+%\begin{preamble}
+%|\|\FRkey[FB]{newfloatcommand}|{fcapsideleft}{figure}[{\|\FRkey[FB]{capbeside}
+%| \captionsetup[capbesidefigure]{labelsep=newline,|
%| justification=raggedleft}%|
-%| \thisfloatsetup{capbesideposition=left}}]%|
-%| [\FBwidth]|
+%| \|\FRkey{thisfloatsetup}|{|\FRkey{capbesideposition}|=left}}][\|\FRkey[FB]{FBwidth}|]|
%|\newfloatcommand{fcapsideright}{figure}[{\capbeside|
-%| \captionsetup[capbesidefigure]{format=break,labelsep=none,|
+%| \captionsetup[capbesidefigure]{labelsep=newline,|
%| justification=raggedright}%|
-%| \thisfloatsetup{capbesideposition=right}}]%|
-%| [\FBwidth]|
+%| \thisfloatsetup{capbesideposition=right}}][\FBwidth]|
+%|\|\FRkey[sec]{floatsetup}|[figure]|
+%| {|\FRkey{style}|=Boxed,|%^^A
+% \FRkey{objectset}|=centering,|%^^A
+% \FRkey{margins}|=centering,|
+%| |\FRkey{capposition}|=beside,|%^^A
+% \FRkey{capbesidesep}|=cicero,|%^^A
+% \FRkey{capbesideframe}|=yes}|
+%\end{preamble}
+% |\begin{|\FRkey[sec]{floatrow}|}|
+% | \fcapsideleft{...}{...}|
+% | \fcapsideright[\hsize]{...}{...}|
+% |\end{floatrow}|
+% |\end{figure}|
%\end{Quote}
%
% \clearfloatsetup{figure}
@@ -5778,95 +7365,48 @@
% capbesidesep=cicero,margins=centering,
% capbesideframe=yes,floatwidth=sidefil}
%
-% \begin{figure}[b!]
+% \begin{figure}[H]
% \begin{floatrow}
% \fcapsideleft
% {\unitlength1.44\unitlength
% \input{Cat.picture}}
% {\caption[Флот в~ряду с~подписью сбоку (бокс графики по её ширине)]{%^^A
% Флот (\cmd{\fcapsideleft}) бокс для объекта
-% имеет ширину включённой графики}\label{floatbox:FR:lfig}}%
+% имеет ширину включённой графики}\label{FB:FR:lfig}}%
% \hsize\Xhsize \fcapsideright[\hsize]
% {\setlength\unitlength{\hsize/61}%%^^A
% \input{BlackCat.picture}}%
% {\caption[Флот в~ряду с~подписью сбоку (занимает оставшееся место)]{%^^A
% Флот (\cmd{\fcapsideright})
% ширина всего флота занимает оставшееся пространство в ряду}%^^A
-% \label{floatbox:FR:fig}}%
+% \label{FB:FR:fig}}%
% \end{floatrow}%
% \end{figure}%
-% Формат подписи \texttt{break} был определён следующим образом:
-%\begin{Quote}
-%|\DeclareCaptionFormat{break}{#1#2\par#3\par}|
-%\end{Quote}
%
-%^^A% For these figures created following \verb|\floatsetup| settings:
-% Для этих рисунков были заданы следующие настройки в команде \verb|\floatsetup|:
-%\begin{Quote}
-%|\floatsetup[figure]|
-%| {style=Boxed,capposition=beside,|
-%| objectset=centering,floatwidth=\columnwidth,|
-%| capbesidewidth=5.75cc,capbesidesep=cicero,margins=centering,|
-%| capbesideframe=yes,floatwidth=sidefil}|
-%\end{Quote}
-%^^A% The key \texttt{floatwidth=sidefill} means that in the case of
-%^^A% caption has predefined width, object occupies the rest space of
-%^^A% \verb|\hsize| (in the case of no \meta{width} option used, or used
-%^^A% \verb|\hsize| option).
-% Ключ \texttt{floatwidth=sidefill} означает, что в случае заданной
-% ширины для подписи сбоку, объект занимает остальное место
-% \verb|\hsize| (если не задана опция \meta{width}, или используется
-% опция \verb|\hsize|).
-%
-%^^A% Left figure uses width of graphics, left one occupies the rest of
-%^^A% float row---for this reason just before \verb|\fcapsideright|
-%^^A% command was written tricky setting:
-% Правый рисунок использует ширину графики, левый занимает
-% остальное место в~ряду "--- для этого перед командой
-% \verb|\fcapsideright| была задана команда:\allowpostlistbreaks[-4]
-%\begin{Quote}
-%|\hsize\Xhsize|
-%\end{Quote}
-%^^A% which, in case of caption placed beside float object defines width
-%^^A% of full float box.
-% которая, в случае подписи сбоку определяет ширину всего флота.\allowpostlistbreaks
-%
-%^^A% The default \meta{width} option of \verb|\fcapsideleft| and
-%^^A% \verb|\fcapsideright| commands is \verb|\FBwidth|, so for
-%^^A% figure~\ref{floatbox:FR:fig} on the right (created by
-%^^A% \verb|\fcapsideright| command) in the \meta{width} option was set
-%^^A% \verb|\hsize| command to fill the rest space of float row.
-% В~качестве опции ширины по умолчанию, \meta{width}, в~командах
-% \verb|\fcapsideleft| и~\verb|\fcapsideright| задана команда
-% \verb|\FBwidth|, поэтому для рисунка~\ref{floatbox:FR:fig}
-% справа (созданном командой \verb|\fcapsideright|) в~опции
-% \meta{width} задана команда
-% \verb|\hsize|, чтобы заполнить остальное пространство в~ряду.
-%
-%^^A% Since in float style the key \texttt{heightadjust=object} (included
-%^^A% in definition of \texttt{Boxed} style), both objects have the same
+%^^A% Since in float style the key |heightadjust=object| (included
+%^^A% in definition of |Boxed| style), both objects have the same
%^^A% height.
-% Поскольку в~стиле флота ключ \texttt{heightadjust=object}
-% (заданный в~определения стиля \texttt{Boxed}), оба объекта
+% Поскольку в~стиле флота используется ключ \FRkey{heightadjust}|=object|
+% (заданный в~определения стиля |Boxed|), оба объекта
% имеют одинаковую высоту.
%
+% \RestoreSpaces
%^^A% \subsubsection{Predefined Beside Caption Width}
% \subsubsection{Предопределённая ширина подписи сбоку}
-%
%^^A% This example includes |\useFCwidth| command, which switches on usage
-%^^A% of previously defined caption width with \texttt{capbesidewidth=} key
+%^^A% of previously defined caption width with |capbesidewidth=| key
%^^A% (in command |\thisfloatsetup| before |\floatbox| macro) or, if you
-%^^A% didn't set caption width (like in current example), macro counts natural
+%^^A% didn't set caption width (like in current example), macro calculates natural
%^^A% width of caption contents (see figure~\ref{fig:Idog:w}\footnote{Inside
%^^A% \cmd{\floatbox} you may not set predefined width of caption, but remember
%^^A% that you \emph{must} define width of caption in case of usage of plain
-%^^A% float environment.}). The object---caption box in this case aligned
+%^^A% floating environment.}). The object---caption box in this case aligned
%^^A% using alignment settings from |margins| key (its options defined
%^^A% by |\setfloatmargins| or |\floatcapbesidemargins| macro). In this
%^^A% documentation they are centered (see page~\\pageref{setup:DeclareMarginSet}).
% Этот пример включает команду |\useFCwidth|, которая включает
% предварительно определённую ширину подписи с~заданным значением
-% ключа \texttt{capbesidewidth=}
+% ключа |capbesidewidth=|
% в~команде |\thisfloatsetup| до команды |\floatbox|) или, если
% вы не определили ширину подписи
% (как в~данном примере), рассчитывается натуральная ширина подписи
@@ -5875,16 +7415,16 @@
% ширину подписи \emph{нужно} определить, если это простое окружение
% флота.}). Флот в~этом случае выровнен горизонтально
% с~использованием настроек выравнивания, взятых из ключа
-% \texttt{margins=} (опции определяются командами
+% |margins=| (опции определяются командами
% |\setfloatmargins| или |\floatcapbesidemargins|). В~этой
% документации задано центрирование (см.
% с.~\pageref{setup:DeclareMarginSet}).
%\begin{Quote}
-%\meta{preamble}
-%|\floatsetup[figure]{style=plain}|
-%\meta{preamble}
+%\begin{preamble}
+%|\floatsetup[figure]{|\FRkey{style}|=plain}|
+%\end{preamble}
%|\begin{figure}|
-%|\floatbox[\capbeside\useFCwidth]{figure}[\FBwidth]|
+%|\floatbox[\capbeside\|\FRkey{useFCwidth}|]{figure}[\|\FRkey[FB]{FBwidth}|]|
%| ...|
%|\end{figure}|
%\end{Quote}
@@ -5893,42 +7433,38 @@
%
% \begin{figure}[H]
% \floatbox[\capbeside\useFCwidth]{figure}[\FBwidth]
-% {\caption[Подпись сбоку
-% бокс которой равен тексту подписи]{Подпись
-% сбоку}\label{fig:Idog:w}}
+% {\caption[Однострочная подпись сбоку
+% бокс которой равен тексту подписи]{}\label{fig:Idog:w}}
% {{\setlength\unitlength{{4cm}/60}%^^A
% \input{BlackDog.picture}}}
% \end{figure}%
%
+%^^A% Please note that inside
+%^^A% \cmd{\floatbox} you may not set predefined width of caption, but remember
+%^^A% that you \emph{must} define width of caption in case of usage of plain
+%^^A% floating environment.\RestoreSpaces
+% Обратите внимание, что внутри
+% \cmd{\floatbox} можно не задавать ширину подрисуночной подписи, но нужно помнить,
+% что её \emph{необходимо} задать при использовании такого стиля в~рисунках, не использующих
+% команды \cmd{\floatbox}.\RestoreSpaces
%
%^^A% \subsubsection{Predefined Beside Caption Width with
%^^A% The Rest Space for Object}\label{FAD:RestSpaceforObject}
-% \subsubsection{Предопределённая ширина подписи и~остальное
-% "--- для объекта}
-%
+% \subsubsection{Предопределённая ширина подписи и~остальное---для объекта}
%^^A% The figure \ref{fig:capbeside:trick} uses following float style:%^^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
-%^^A \texttt{labelsep=none\}}
-%^^A which is necessary for current documentation: the
-%^^A \package{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{Quote}
-%\meta{preamble}
-%|\renewlengthtocommand\settowidth\Mylen{\captionfont\captionlabelfont|
+%\begin{preamble}
+%|\|\FRkey{renewlengthtocommand}|\settowidth\Mylen{\captionfont\captionlabelfont|
%| \figurename\ \thefigure}|
-%\meta{preamble}
+%\end{preamble}
%|\floatsetup[figure]|
-%| {style=Boxed,capposition=beside,objectset=centering,|
-%| floatwidth=\columnwidth,capbesidewidth=\Mylen,|
-%| capbesideposition=left,capbesidesep=cicero,|
-%| margins=centering,capbesideframe=yes,|
-%| floatwidth=sidefil}|
+%| {|\FRkey{style}|=Boxed,|\FRkey{capposition}|=beside,|\FRkey{objectset}|=centering,|
+%| |\FRkey{capbesidewidth}|=\Mylen,|%^^A
+% \FRkey{capbesideposition}|=left,|\FRkey{capbesidesep}|=cicero,|
+%| |\FRkey{margins}|=centering,|\FRkey{capbesideframe}|=yes,|
+%| |\FRkey{floatwidth}|=sidefil}|
%\end{Quote}
%^^A% The \verb|\Mylen| dimension was defined as width of caption label.
% Величина \verb|\Mylen| была определена как ширина нумерационного
@@ -5940,8 +7476,8 @@
% floatwidth=\columnwidth,capbesidewidth=\Mylen,
% capbesideposition=left,capbesidesep=cicero,
% margins=centering,capbesideframe=yes,floatwidth=sidefil}
-% \renewlengthtocommand\settowidth\Mylen{\captionfont\captionlabelfont\figurename\
-% \thefigure}
+% \renewlengthtocommand\settowidth\Mylen{\captionfont\captionlabelfont
+% \figurename\ \thefigure}
%
%\begingroup
% \begin{figure}[H]
@@ -5953,85 +7489,36 @@
% \end{figure}%
%\endgroup
%
-%
-%^^A% \subsubsection{Caption Beside with Centered Object}\label{FAD:CapandCenterObj}
-% \subsubsection{Подпись рядом с~отцентрированным на всю ширину объектом}\label{FAD:CapandCenterObj}
-%
-%^^A% The figure \ref{fig:plain:trick} uses tricky float style:
-% Рисунок \ref{fig:plain:trick} использует хитроумный вариант
-% оформления:
-%\begin{Quote}
-%\meta{preamble}
-%|\DeclareFloatSeparators{mcapwidth}{\hskip-\FCwidth}|
-%\meta{preamble}
-%|\floatsetup[figure]|
-%| {style=plain,capposition=beside,objectset=centering,|
-%| floatwidth=\columnwidth,capbesidewidth=6cc,|
-%| capbesideposition=left,capbesidesep=mcapwidth,|
-%| margins=centering,capbesideframe=yes,|
-%| floatwidth=sidefil}|
-%\end{Quote}
-%^^A% the \texttt{mcapwidth} option is a negative skip equal to caption
-%^^A% width:
-%^^A% I this case all figures with beside captions centered accordingly to
-%^^A% text \verb|\hsize|. Usage of such float layout supposes that all
-%^^A% float objects are narrower than |\textwidth| by at least 2~caption
-%^^A% widths.
-% В~этом случае все рисунки с~подписями сбоку будут центрированы
-% относительно текущей величине \verb|\hsize|. Использование такого
-% оформления флота предполагает что все объекты флота \'уже чем
-% |\textwidth|, как минимум на 2~ширины подписи.
-%
-% \clearfloatsetup{figure}\floatsetup[figure]
-% {style=plain,capposition=beside,objectset=centering,
-% floatwidth=\columnwidth,capbesidewidth=6cc,
-% capbesideposition=left,capbesidesep=mcapwidth,
-% margins=centering,capbesideframe=yes,floatwidth=sidefil}
-% \begingroup
-% \captionsetup[capbesidefigure]{format=break,labelsep=none,
-% justification=raggedright}
-% \begin{figure}[H]
-% \unitlength1.1\unitlength
-% \input{Doll.picture}
-% \caption[Просто рисунок, ширина (\texttt{=6сс}) подписи <<скрыта>>, рисунок центрируется на весь формат]{%^^A
-% Просто рисунок}\label{fig:plain:trick}
-% \end{figure}%
-% \endgroup
-%
-%^^A% There were also temporarily, in group, changed settings for caption
-%^^A% in figure~\ref{fig:plain:trick}:\label{ssec:app:besidefinish}
-% Здесь также временно, в~группе, заменены настройки для
-% подрисуночной подписи~\ref{fig:plain:trick}:\label{ssec:app:besidefinish}
-% \par\RestoreSpaces
-%\begin{Quote}
-%|\captionsetup[capbesidefigure]{format=break,labelsep=none,|
-%| justification=raggedright}|
-%\end{Quote}
-%
%^^A% \subsubsection{Width Definition for Beside
%^^A% Caption---Object Box in Float Row}
-% \subsubsection{Ширина для блока подпись сбоку---объект
-% внутри \env{floatrow}}
-%
+% \subsubsection{Ширина для блока подпись сбоку---объект внутри \env{floatrow}}
%^^A% The float row with predefined width of beside object---caption
%^^A% boxes (figures~\ref{floatrow:pre:figI} and
%^^A% \ref{floatrow:pre:figII}): just define before \verb|\fcapside|
%^^A% command something like
-% Ряд с~предопределёнными ширинами для боксов подпись
-% сбоку---объект (рис.~\ref{floatrow:pre:figI}
+% Ряд с~предопределёнными ширинами для боксов «подпись
+% сбоку---объект» (рис.~\ref{floatrow:pre:figI}
% и~\ref{floatrow:pre:figII}): просто определите перед командами
% \verb|\fcapside| что-то типа
%\begin{Quote}
-%|\setlength\hsize{1.2\hsize}%|
-%\end{Quote}
-%^^A% as was defined for first figure, or
-% как было определено для первого рисунка, или
-%\begin{Quote}
-%|\setlength\hsize\Xhsize|
+%\begin{preamble}
+%|\floatsetup[figure]|
+%| {|\FRkey{style}|=plain,|\FRkey{objectset}|=centering,|\FRkey{margins}|=centering,|
+%| |\FRkey{capbesideposition}|=left,|\FRkey{capbesidesep}|=enskip,|
+%| |\FRkey{floatwidth}|=sidefil}|
+%\end{preamble}
+% |\begin{figure}\|\FRkey{useFCwidth}\nopagebreak
+% | \begin{floatrow}|
+% | \setlength\hsize{1.2\hsize}%|
+% | \|\FRkey[FB]{fcapside}|...|
+% | \setlength\hsize\|\FRkey[FB]{Xhsize}
+% | \fcapside...|
+% | \end{floatrow}|\nopagebreak
+% |\end{figure}|
%\end{Quote}
-%^^A% before second (here is clear that you can set
+%^^A% (here is clear that before second you can set
%^^A% |\setlength\hsize{.8\hsize}|).
-% перед вторым (здесь видно, что можно задать и
+% (здесь видно, что перед вторым можно задать и
% |\setlength\hsize{.8\hsize}|).
%
%^^A% Since there were used \verb|\fcapside| commands at the beginning of
@@ -6042,7 +7529,7 @@
% \verb|\useFCwidth| которая включает механизм использования
% и~расчёта ширины подписи сбоку и, поскольку используются
% команды \verb|\fcapside|, ширину подписей можно не определять
-% (ключ \texttt{capbesidewidth=} не задан), поэтому ширина боксов
+% (ключ |capbesidewidth=| не задан), поэтому ширина боксов
% подписей будет равна их содержимому.
%
%\begingroup
@@ -6069,20 +7556,11 @@
% \end{floatrow}%
% \end{figure}%
%\endgroup
-%^^A% There was used following setup for figures:
-% Были использованы следующие настройки для рисунков:
-%\begin{Quote}
-%|\floatsetup[figure]|
-%| {style=plain,capposition=beside,objectset=centering,|
-%| capbesideposition=left,capbesidesep=enskip,|
-%| margins=centering,capbesideframe=yes,floatwidth=sidefil}|
-%\end{Quote}
%
%^^A% \subsubsection{Caption Above/Below Float and Caption Beside Float at
%^^A% The One Float Row}\label{FAD:CapBesideandBelow}
-% \subsubsection{Подпись сверху/снизу
-% и~подпись сбоку в~одном ряду}\label{FAD:CapBesideandBelow}
-%
+% \subsubsection{Флот с~подписью сверху/снизу
+% и~флот с~подписью сбоку в~одном ряду}\label{FAD:CapBesideandBelow}
%^^A% The float row with object and beside caption combined with object
%^^A% and caption below (figures~\ref{flrow:mix:figI} and
%^^A% \ref{flrow:mix:figII}). There we ought to use
@@ -6097,21 +7575,28 @@
% и~\ref{flrow:mix:figII}). Здесь приходится опять использовать
% команды \verb|\TopFloatBoxes|, \verb|\CenterFloatBoxes|, или
% |\BottomFloatBoxes|, чтобы получить нужную вёрстку "--- поскольку
-% аргумент \meta{height} в~обоих флотах определён как \texttt{4cm}
+% аргумент \meta{height} в~обоих флотах имеет одинаковые значения высоты,
% вы можете использовать любую из этих трёх команд. К~сожалению вам
% приходится задать высоту таких флотов рядом вручную. Строки,
% которые создают описанный выше ряд флотов:
%\begin{Quote}
-%|\begin{figure}\CenterFloatBoxes|
+%\begin{preamble}
+%|\floatsetup[figure]|\nopagebreak
+%| {|\FRkey{style}|=Boxed,|\FRkey{frameset}|={\fboxsep4pt},|\FRkey{captionskip}|=5pt,|
+%| |\FRkey{capposition}|=bottom,|\FRkey{objectset}|=centering,|\FRkey{capbesidewidth}|=sidefil,|
+%| |\FRkey{capbesideposition}|=inside,|\FRkey{capbesidesep}|=enskip,|\FRkey{margins}|=centering,|
+%| |\FRkey{capbesideframe}|=yes}|
+%\end{preamble}
+%|\begin{figure}\|\FRkey[FB]{CenterFloatBoxes}
%|\begin{floatrow}|
%|\hsize1.098\hsize|
%| \fcapside[\FBwidth][4cm]|
%| ...|
%| |
-%| \ffigbox[\Xhsize][4cm]|
+%| \ffigbox[\|\FRkey[FB]{Xhsize}|][4cm]|
%| ...|
-%|\end{floatrow}%|
-%|\end{figure}|
+%|\end{floatrow}%|\nopagebreak
+%|\end{figure}|\vspace*{-\intextsep}
%\end{Quote}
%
% \clearfloatsetup{figure}
@@ -6125,7 +7610,7 @@
% \hsize1.098\hsize \fcapside[\FBwidth][4cm]
% {\unitlength1.44\unitlength
% \input{Cat.picture}}
-% {\caption[Флот \cmd{\fcapside} в ряду с
+% {\caption[Флот (\cmd{\fcapside}) в ряду с
% флотом \cmd{\ffigbox}]{%^^A
% Флот (\cmd{\fcapside}) с подписью сбоку в ряду с
% флотом с подписью \hbox{снизу}}\label{flrow:mix:figI}}%
@@ -6140,24 +7625,23 @@
% \end{figure}
%
%^^A% The ``mirror layout'' (but not identical) looks like:
-% <<Зеркальная вёрстка>> (но не идентичная) выглядит так:
-% \par\RestoreSpaces
+% Задание «зеркальной вёрстки» (но не идентичной) выглядит так:
%\begin{Quote}
%|\begin{figure}\CenterFloatBoxes|\nopagebreak
-%|\begin{floatrow}|
-%| \ffigbox[1.2\FBwidth][4cm]|
+%|\begin{floatrow}|\nopagebreak
+%| \ffigbox[1.28\|\FRkey[FB]{FBwidth}|][4cm]|
%| ...|
%| |
%| \hsize\Xhsize|
%| \fcapside[\FBwidth][4cm]|
%| ...|
-%|\end{floatrow}%|
-%|\end{figure}|
+%|\end{floatrow}%|\nopagebreak
+%|\end{figure}|\vspace*{-\intextsep}
%\end{Quote}
%
% \begin{figure}[H]\CenterFloatBoxes
% \begin{floatrow}
-% \ffigbox[1.2\FBwidth][4cm]
+% \ffigbox[1.28\FBwidth][4cm]
% {\unitlength1.44\unitlength
% \input{BlackDog.picture}}
% {\caption{%^^A
@@ -6167,28 +7651,14 @@
% \fcapside[\FBwidth][4cm]
% {\unitlength1.44\unitlength
% \input{Cat.picture}}
-% {\caption[Флот \cmd{\fcapside} в~«зеркальном» ряду]{%^^A
+% {\caption[Флот (\cmd{\fcapside}) в~«зеркальном» ряду]{%^^A
% Флот с подписью сбоку (\cmd{\fcapside}) в зеркальном ряду
% с флотом с подписью \hbox{снизу}}\label{floatrow:mirrmix:figI}}
% \end{floatrow}%
% \end{figure}
%
-%^^A% The figures~\ref{floatrow:mirrmix:figII}--\ref{floatrow:mirrmix:figI}
-%^^A% use following float style settings:
-% Рисунки~\ref{floatrow:mirrmix:figII}--\ref{floatrow:mirrmix:figI}
-% использовали следующие настройки:
-% \par\RestoreSpaces
-%\begin{Quote}
-%|\floatsetup[figure]|
-%| {style=Boxed,frameset={\fboxsep4pt},captionskip=5pt,|
-%| capposition=bottom,objectset=centering,capbesidewidth=none,|
-%| capbesideposition=inside,capbesidesep=enskip,margins=centering,|
-%| capbesideframe=yes}|
-%\end{Quote}
-%
%^^A% \subsubsection{Photo-Album-like Layouts}
% \subsubsection{Вёрстка под фотоальбом}
-%
%^^A% Another example of miscellaneous float row
%^^A% (figures~\ref{flrow:three:figIII}--\ref{floatrow:threemirr:figII},
%^^A% and, ``mirror layout''---^^A
@@ -6196,17 +7666,17 @@
%^^A% created by following lines:
% Другой пример необычного ряда флотов
% (рис.~\ref{flrow:three:figIII}--\ref{floatrow:threemirr:figII},
-% и, <<зеркальная вёрстка>>, "---
+% и, «зеркальная вёрстка», "---
% \ref{floatrow:threemirr:figI}--\ref{floatrow:threemirr:figIII})
% были созданы следующим кодом:
%\begin{Quote}
-%|\begin{figure}[t]\BottomFloatBoxes|\nopagebreak
+%|\begin{figure}\|\FRkey[FB]{BottomFloatBoxes}
%|\begin{floatrow}|
-%|\hsize1.2\hsize \ffigbox[][6.7cm]|
+%|\hsize1.2\hsize \|\FRkey[FB]{ffigbox}|[][6.7cm]|
%| ...|
%| |
%|\vbox to6.7cm|
-%| {\floatsetup[figure]{floatrowsep=none}\killfloatstyle|
+%| {\|\FRkey[sec]{floatsetup}|[figure]{|\FRkey{floatrowsep}|=none}\|\FRkey{killfloatstyle}
%| \ffigbox[.8\hsize]|
%| ...|
%| \vss|
@@ -6235,17 +7705,16 @@
% Бокс флота в вёрстке под фотоальбом: верхний флот в правой
% колонке}\label{floatrow:three:figI}} \vss \ffigbox[.8\hsize]
% {\input{BlackDog.picture}}%
-% {\caption[Вёрстка фотоальбома: правый верхний флот]{%^^A
+% {\caption[Вёрстка фотоальбома: правый нижний флот]{%^^A
% Нижний флот в правой колонке}%
% \label{floatrow:threemirr:figII}}}%
% \end{floatrow}%
% \end{figure}
%
%^^A% The ``mirror'' layout created by following commands:
-% <<Зеркальная вёрстка>> создана следующими командами:
-% \par\RestoreSpaces
+% «Зеркальная вёрстка» создана следующими командами:
%\begin{Quote}
-%|\begin{figure}\TopFloatBoxes|
+%|\begin{figure}[t]\|\FRkey[FB]{TopFloatBoxes}
%|\begin{floatrow}|
%|\vtop to7cm|
%| {\floatsetup[figure]{floatrowsep=none}\killfloatstyle|
@@ -6270,18 +7739,17 @@
%^^A% (here were used \package{calc} package possibilities). The |\vtop| of
%^^A% left column ends with |\vskip0pt|, otherwise you get fanny unwanted
%^^A% layout.
-% Обратите внимание, что во втором примере с~<<зеркальной вёрсткой>>
+% Обратите внимание, что во втором примере с~«зеркальной вёрсткой»
% был использован трюк с~определением высоты в~аргументе
% \meta{height} "--- подпись в~левой колонке длиннее на одну строку,
-% поэтому для правой колонки высота флота была уменьшена на 22pt
-% "---2|\baselineskip| для шрифта размером
+% поэтому для правой колонки высота флота была уменьшена на 11pt
+% "---|\baselineskip| для шрифта размером
% |\small|\footnote{Вы получите корректную высоту с~такими расчётами
-% для флотов рядом при использовании версией пакета \package{caption}
+% для флотов рядом при использовании версии пакета \package{caption}
% не ниже 3.0d.} (здесь были использованы возможности пакета
% \package{calc}). Бокс |\vtop| в~левой колонке завершён командой
% |\vskip0pt|, иначе вы получите неожиданный результат.
%
-%
% \begin{figure}\TopFloatBoxes
% \begin{floatrow}
% \vtop to8cm {\floatsetup[figure]{floatrowsep=none}\killfloatstyle
@@ -6299,7 +7767,7 @@
% нижний флот в~левой колонке}%
% \label{floatrow:three:figII}}\vskip0pt}\floatrowsep
%
-% \ffigbox[\Xhsize][8cm-22pt]
+% \ffigbox[\Xhsize][8cm-11pt]
% {\setlength\unitlength{\hsize/58}%^^A
% \input{Mouse.picture}}%
% {\caption[Зеркальная вёрстка фотоальбома: правый флот]{%^^A
@@ -6318,7 +7786,7 @@
%^^A% need more care with usage of |\Xhsize| and/or |\floatrowsep|.
% Обратите внимание, что эти примеры довольно специфичны "--- можно
% попробовать создать другие комбинации (например,
-% <<многоколонные>>), но возможно такая вёрстка потребует большей
+% «многоколонные»), но возможно такая вёрстка потребует большей
% внимательности по отношению к~использованию |\Xhsize| и/или
% |\floatrowsep|.
%
@@ -6326,16 +7794,338 @@
%^^A% this package---to reduce and remove layout code from document; but
%^^A% photo-album-like layout is rather rare in technical literature (It
%^^A% isn't?).
-% Я~предполагаю, что два последних примера конфликтуют с~<<девизом>>
+% Я~предполагаю, что два последних примера конфликтуют с~«девизом»
% данного пакета \cdash--- уменьшить и~переместить код оформления из
% текста документа; но вёрстка под фотоальбом довольно редка
% в~технической литературе (или это не так?).
%
+%^^A%^^A% \subsubsection{Photo-Album-Like Layouts: Common Height for Beside Photos}
+%^^A% \subsubsection{Вёрстка под фотоальбом: задание общей высоты для фото в~ряду}
+%^^A% \captionsetup[subfigure]{labelformat=brace,font=footnotesize}
+%^^A%^^A% This section shows example which allows to set common height for rectangular graphics,
+%^^A%^^A% i.e. photos and fill full width of this row. To emulate the rectangular photos here,
+%^^A%^^A% each graphic was loaded inside |\fbox| with zeroed |\fboxsep|. (See also file \texttt{frsample06.tex}.)
+%^^A% Данный раздел даёт примеры с~заданием общей высоты для прямоугольной графики,
+%^^A% т.\,е. фотографий так. чтобы заполнить весь ряд.
+%^^A% (См.~также файл \texttt{frsample06.tex}.)
+%
+%^^A%^^A% The code of example uses the |\includegraphics| command (\package{graphics}
+%^^A%^^A% or \package{graphicx} package).
+%^^A%^^A% You load the |\CommonHeightRow| command:
+%^^A% Код примера использует команду |\includegraphics| (пакеты \package{graphics}
+%^^A% или \package{graphicx}).
+%^^A% Для этого используйте команду |\CommonHeightRow|:
+%^^A%\begin{Quote}%
+%^^A%|\CommonHeightRow|\marg{supposed height}\marg{floatrow environment}
+%^^A%\end{Quote}%
+%^^A%^^A% with supposed value of height in the first argument,
+%^^A%^^A% which could be near the necessary common height.
+%^^A%^^A% The second argument---the contents of the |floatrow| environment.
+%^^A%^^A% All float boxes in this row must use the |[\FBwidth]| option.
+%^^A% где в~первом аргументе задаётся предполагаемая высота,
+%^^A% приблизительно равная необходимой.
+%^^A% Второй аргумент \cdash--- окружение |floatrow| со своим содержимым.
+%^^A% Все команды боксов флотов должны использовать опцию |[\FBwidth]|.
+%^^A%\begin{Quote}%
+%^^A%\begin{preamble}%
+%^^A%|\usepackage{graphicx}|
+%^^A%|\floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}|
+%^^A%\end{preamble}%
+%^^A% |\begin{figure*}\fboxsep-.4pt|\nopagebreak
+%^^A% |\CommonHeightRow{2.5cm}{\begin{floatrow}[4]|\nopagebreak
+%^^A% |\ffigbox[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
+%^^A% |\ffigbox[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
+%^^A% |\ffigbox[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
+%^^A% |\ffigbox[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|\nopagebreak
+%^^A% |\end{floatrow}}|\nopagebreak
+%^^A% |\end{figure*}%|
+%^^A%\end{Quote}%
+%
+%^^A%^^A% Here you may see the result.
+%^^A% Ниже показан результат.
+%^^A%\begingroup
+%^^A% \floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}
+%^^A% \begin{figure*}[H]\fboxsep-.4pt
+%^^A% \CommonHeightRow{2.5cm}{\begin{floatrow}[4]
+%^^A% \ffigbox[\FBwidth]
+%^^A% {\caption{Figure~I in the row with common heights}%
+%^^A% \label{fig:CH:Dog}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]
+%^^A% {\caption{Figure~II in the row with common heights}%
+%^^A% \label{fig:CH:WcatI}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]
+%^^A% {\caption{Figure~III in the row with common heights}%
+%^^A% \label{fig:CH:mouse}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]
+%^^A% {\caption{Figure~IV in the row with common heights}%
+%^^A% \label{fig:CH:cheese}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}
+%^^A% \end{floatrow}}
+%^^A% \end{figure*}%
+%^^A%\endgroup
+%
+%^^A%^^A% The next example is a~variation of previous one. The command |\CommonHeightRow| here
+%^^A%^^A% was used for the |subfloatrow| environment.
+%^^A% Следующий пример является вариантом первого. Команда |\CommonHeightRow|
+%^^A% здесь использована для окружения |subfloatrow|.
+%^^A%\begin{Quote}%
+%^^A%\begin{preamble}%
+%^^A%|\usepackage{graphicx}|
+%^^A%|\floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}|
+%^^A%\end{preamble}%
+%^^A% |\begin{figure*}\fboxsep-.4pt|\nopagebreak
+%^^A% |\CommonHeightRow{2.5cm}{%|\nopagebreak
+%^^A% |\ffigbox{}{\CommonHeightRow{2.5cm}{\begin{subfloatrow}[4]|\nopagebreak
+%^^A% |\ffigbox[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
+%^^A% |\ffigbox[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
+%^^A% |\ffigbox[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|
+%^^A% |\ffigbox[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{...}}|\nopagebreak
+%^^A% |\end{subfloatrow}}\caption{Figure with a row of parts with common height}}|
+%^^A% |\end{figure*}%|
+%^^A%\end{Quote}%
+%
+%^^A%^^A% Here you may see the result.
+%^^A% Ниже показан результат.
+%^^A%\begingroup
+%^^A% \floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}
+%^^A% \begin{figure*}[H]\fboxsep-.4pt
+%^^A% \ffigbox{}{\CommonHeightRow{2.5cm}{\begin{subfloatrow}[4]
+%^^A% \ffigbox[\FBwidth]
+%^^A% {\caption{Figure~I in the row with common heights}%
+%^^A% \label{fig:CHI:Dog}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]
+%^^A% {\caption{Figure~II in the row with common heights}%
+%^^A% \label{fig:CHI:WcatI}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]
+%^^A% {\caption{Figure~III in the row with common heights}%
+%^^A% \label{fig:CHI:mouse}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]
+%^^A% {\caption{Figure~IV in the row with common heights}%
+%^^A% \label{fig:CHI:cheese}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}%
+%^^A% \end{subfloatrow}}\caption{Figure with a row of parts with common height}}
+%^^A% \end{figure*}%
+%^^A%\endgroup
+%
+%^^A%^^A% The last example load labels of parts of figures beside graphics.
+%^^A% Последний пример помещает метки рядом с~фотографиями.
+%^^A%\begin{Quote}%
+%^^A%\begin{preamble}%
+%^^A%|\usepackage{graphicx}|
+%^^A%|\floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}|
+%^^A%|\floatsetup[subfigure]{capbesideposition=left}|
+%^^A%\end{preamble}%
+%^^A% |\begin{figure*}\fboxsep-.4pt|\nopagebreak
+%^^A% |\CommonHeightRow{2.5cm}{%|\nopagebreak
+%^^A% |\ffigbox{}{\CommonHeightRow{2.5cm}{\begin{subfloatrow}[4]\useFCwidth|\nopagebreak
+%^^A% |\fcapside[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{}}|
+%^^A% |\fcapside[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{}}|
+%^^A% |\fcapside[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{}}|
+%^^A% |\fcapside[\FBwidth]|\nopagebreak
+%^^A% |{\includegraphics[height=\CommonHeight]{...}}{\caption{}}|\nopagebreak
+%^^A% |\end{subfloatrow}}\caption{Figure with a row of parts with common height}}|
+%^^A% |\end{figure*}%|
+%^^A%\end{Quote}%
+%
+%^^A%^^A% Here you may see the result.
+%^^A% Ниже показан результат.
+%^^A%\begingroup
+%^^A% \floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}
+%^^A% \floatsetup[subfigure]{capbesideposition=left}
+%^^A% \begin{figure*}[H]\fboxsep-.4pt
+%^^A% \ffigbox{}{\CommonHeightRow{2.5cm}{\begin{subfloatrow}[4]\useFCwidth
+%^^A% \fcapside[\FBwidth]
+%^^A% {\caption{}%
+%^^A% \label{fig:CHII:Dog}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
+%^^A%
+%^^A% \fcapside[\FBwidth]
+%^^A% {\caption{}%
+%^^A% \label{fig:CHII:WcatI}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
+%^^A%
+%^^A% \fcapside[\FBwidth]
+%^^A% {\caption{}%
+%^^A% \label{fig:CHII:mouse}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
+%^^A%
+%^^A% \fcapside[\FBwidth]
+%^^A% {\caption{}%
+%^^A% \label{fig:CHII:cheese}}
+%^^A% {\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}%
+%^^A% \end{subfloatrow}}\caption{Figure with a row of parts with common height}}
+%^^A% \end{figure*}%
+%^^A%\endgroup
+%
+%^^A%^^A% The examples with beside figures which also include labeled parts, have bug in
+%^^A%^^A% calculation. They need predefined height value more close to the necessary common height.
+%^^A% Примеры с~флотами размещенными рядом, которые включают помимо этого
+%^^A% нумерованные части рисунков, имеют недостаток при расчёте общей
+%^^A% высоты. Им нужна предопределённая высота более близкая к~необходимой.
+%
+%^^A%^^A% The row with labels beside.
+%^^A% Ряд с~метками сбоку.
+%^^A%\begin{Quote}%
+%^^A% |\floatsetup[subfigure]{capbesideposition=left}|
+%^^A% |\begin{figure*}[H]|
+%^^A% |\CommonHeightRow{2.5cm}%|
+%^^A% |{\begin{floatrow}|
+%^^A% |\ffigbox[\FBwidth]{}%|
+%^^A% |{\begin{subfloatrow}\useFCwidth|
+%^^A% |\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\end{subfloatrow}\caption{Common caption~I}}|
+%^^A% |\ffigbox[\FBwidth]{}%|
+%^^A% |{\begin{subfloatrow}\useFCwidth|
+%^^A% |\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\end{subfloatrow}\caption{Common caption~II...}}|
+%^^A% |\end{floatrow}}%|
+%^^A% |\end{figure*}|%
+%^^A%\end{Quote}%
+%^^A%^^A% Here you may see the result.
+%^^A% Ниже показан результат.
+%^^A%\begingroup\makeatletter
+%^^A% \floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}
+%^^A% \floatsetup[subfigure]{capbesideposition=left}
+%^^A% \begin{figure*}[H]\fboxsep-.4pt
+%^^A% \CommonHeightRow{2.5cm}%^^A\def\CommonHeight{2.5cm}
+%^^A% {\begin{floatrow}%
+%^^A% \ffigbox[\FBwidth]{}%
+%^^A% {\begin{subfloatrow}\useFCwidth
+%^^A% \fcapside[\FBwidth]{}{\caption{}%
+%^^A% \label{fig:CHs:Dog}\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
+%^^A%
+%^^A% \fcapside[\FBwidth]{}{\caption{}%
+%^^A% \label{fig:CHs:WcatI}\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
+%^^A% \end{subfloatrow}\caption{Common caption~I}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]{}%
+%^^A% {\begin{subfloatrow}\useFCwidth
+%^^A% \fcapside[\FBwidth]{}{\caption{}%
+%^^A% \label{fig:CHs:mouse}\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
+%^^A%
+%^^A% \fcapside[\FBwidth]{}{\caption{}%
+%^^A% \label{fig:CHs:cheese}\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}
+%^^A% \end{subfloatrow}\caption{Common caption~II in a~row with common height of graphics}}
+%^^A% \end{floatrow}}%
+%^^A% \end{figure*}%
+%^^A%\endgroup
+%
+%^^A%^^A% The row with labels beside.
+%^^A% Ряд с~метками снизу.
+%^^A%\begin{Quote}%
+%^^A% |\floatsetup[subfigure]{capbesideposition=left}|
+%^^A% |\begin{figure*}[H]|
+%^^A% |\CommonHeightRow{2.5cm}%|
+%^^A% |{\begin{floatrow}|
+%^^A% |\ffigbox[\FBwidth]{}%|
+%^^A% |{\begin{subfloatrow}|
+%^^A% |\ffigbox[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\ffigbox[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\end{subfloatrow}\caption{Common caption~I}}|
+%^^A% |\ffigbox[\FBwidth]{}%|
+%^^A% |{\begin{subfloatrow}|
+%^^A% |\ffigbox[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\ffigbox[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\end{subfloatrow}\caption{Common caption~II...}}|
+%^^A% |\end{floatrow}}%|
+%^^A% |\end{figure*}|%
+%^^A%\end{Quote}%
+%^^A%^^A% Here you may see the result.
+%^^A% Ниже показан результат.
+%^^A%\begingroup\makeatletter
+%^^A% \floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}
+%^^A% \begin{figure*}[H]\fboxsep-.4pt
+%^^A% \CommonHeightRow{2.5cm}%
+%^^A% {\begin{floatrow}%
+%^^A% \ffigbox[\FBwidth]{}%
+%^^A% {\begin{subfloatrow}%
+%^^A% \ffigbox[\FBwidth]{}{\caption{Figure~I in the row with common heights}%
+%^^A% \label{fig:CHsI:Dog}\resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]{}{\caption{Figure~II in the row with common heights}%
+%^^A% \label{fig:CHsI:WcatI}\resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}
+%^^A% \end{subfloatrow}\caption{Common caption~I}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]{}%
+%^^A% {\begin{subfloatrow}%
+%^^A% \ffigbox[\FBwidth]{}{\caption{Figure~III in the row with common heights}%
+%^^A% \label{fig:CHsI:mouse}\resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}
+%^^A%
+%^^A% \ffigbox[\FBwidth]{}{\caption{Figure~IV in the row with common heights}%
+%^^A% \label{fig:CHsI:cheese}\resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}
+%^^A% \end{subfloatrow}\caption{Common caption~II in a~row with common height of graphics}}
+%^^A% \end{floatrow}}%
+%^^A% \end{figure*}%
+%^^A%\endgroup
+%
+%^^A%^^A% The row with labels beside.
+%^^A% Ряд с~метками частей сбоку.
+%^^A%\begin{Quote}%
+%^^A% |\floatsetup[subfigure]{capbesideposition=left}|
+%^^A% |\begin{figure*}[H]|
+%^^A% |\CommonHeightRow{2.75cm}%|
+%^^A% |{\begin{floatrow}|%
+%^^A% |\ffigbox[\FBwidth]{}|
+%^^A% |{\begin{subfloatrow}[3]\useFCwidth|
+%^^A% |\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\fcapside[\FBwidth]{}{\caption{}\label{...}...}|
+%^^A% |\end{subfloatrow}\caption{Common caption~I}}|
+%^^A% |\ffigbox[\FBwidth]{}{\caption{Caption~II...}\label{...}...}|
+%^^A% |\end{floatrow}}%|
+%^^A% |\end{figure*}|%
+%^^A%\end{Quote}%
+%^^A%^^A% Here you may see the result.
+%^^A% Ниже показан результат.
+%^^A%\begingroup\makeatletter
+%^^A% \floatsetup[figure]{style=plain}\floatsetup[widefloat]{margins=hangleft}
+%^^A% \floatsetup[subfigure]{capbesideposition=left}
+%^^A% \begin{figure}[H]\fboxsep-.4pt
+%^^A% \CommonHeightRow{1.5cm}%
+%^^A% {\begin{floatrow}[2]%
+%^^A% \ffigbox[\FBwidth]{}%
+%^^A% {\begin{subfloatrow}[3]\useFCwidth%
+%^^A% \fcapside[\FBwidth]{}{\caption{}%
+%^^A% \resizebox!{\CommonHeight}{\fbox{\input{BlackDog.picture}}}}%
+%^^A% \fcapside[\FBwidth]{}{\caption{}%
+%^^A% \resizebox!{\CommonHeight}{\fbox{\input{TheCat.picture}}}}%
+%^^A% \fcapside[\FBwidth]{}{\caption{}%
+%^^A% \resizebox!{\CommonHeight}{\fbox{\input{Mouse.picture}}}}%
+%^^A% \end{subfloatrow}\caption{Common caption~I}}%
+%^^A% \ffigbox[\FBwidth]{}{\caption{}%
+%^^A% \resizebox!{\CommonHeight}{\fbox{\input{Cheese.picture}}}}%
+%^^A% \end{floatrow}}%
+%^^A% \end{figure}%
+%^^A%\endgroup
+%
% \clearpage
-% \par\RestoreSpaces
%^^A% \subsection{Sample files}\label{sec:samples}
% \subsection{Файлы примеров}\label{sec:samples}
-%
%^^A% The \env{floatrow} package distribution offers a few files with
%^^A% examples, which show settings, not covered by current document (some
%^^A% of them are bit exotic and unnatural). The samples have not aim to
@@ -6343,8 +8133,8 @@
%^^A% types, and show goals and drawbacks in combinations of chosen layout
%^^A% with different float types and their contents.
% Дистрибутив пакета \env{floatrow} предлагает несколько файлов
-% с~примерами, которые демонстрируют настройки, не описанные в~данном
-% документе (некоторые из них несколько экзотичны и~ненатуральны).
+% с~примерами, которые демонстрируют настройки, не рассмотренные в~данном
+% документе (некоторые из них могут быть несколько экзотичны для технической литературы).
% Примеры не имеют цели создать совершенную вёрстку, только показать
% быстроту и~простоту модификации оформления для флотов всех
% типов, и~показывает достоинства и~недостатки в~комбинациях
@@ -6361,7 +8151,7 @@
% \begin{Options}{\OptionLabel}
%^^A% \item[frsample01.tex] all possible combinations of predefined
%^^A% \package{floatrow} styles for captions above/below floats with foot
-%^^A% material; there were created plain float environments and
+%^^A% material; there were created plain floating environments and
%^^A% \env{floatrow}s, also there were created boxes with
%^^A% alone objects and alone captions;
% \item[frsample01.tex] все возможные комбинации
@@ -6391,19 +8181,19 @@
%^^A% The next bundle of samples is a few file-headers with different
%^^A% preamble which run the same file with various float
%^^A% layouts. For these examples there was created a new float type of
-%^^A% float \texttt{textbox}---which includes text in its object contents.
+%^^A% float |textbox|---which includes text in its object contents.
% Следующий связанный ряд файлов-примеров имеют несколько
% файлов"=заголовков с~различной преамбулой, которые
% обрабатывают файл с~различным размещением флотов.
% В~этих примерах был создан новый тип флота
-% \texttt{textbox} "--- который включает в~себя текст.
+% |textbox| "--- который включает в~себя текст.
% \begin{Options}{\OptionLabel}
%^^A% \item[frsample10.tex] one column non-facing layout; figures
-%^^A% printed in \texttt{plain} style; text boxes use miscellaneous
+%^^A% printed in |plain| style; text boxes use miscellaneous
%^^A% ruled style;
% \item[frsample10.tex] одноколонная вёрстка; рисунки оформлены
-% в~стиле \texttt{plain}; боксы текста
-% (\texttt{textbox}) используют необычный стиль с~линейками;
+% в~стиле |plain|; боксы текста
+% (|textbox|) используют необычный стиль с~линейками;
%^^A% \item[frsample11.tex] one-column non-facing layout with elements
%^^A% hanged on left margin (e.g. wide floats, in starred environments,
%^^A% like \env{figure*});
@@ -6425,18 +8215,16 @@
% использующий \emph{beta-temp} пакет \package{fr-longtable}, где
% определены команды |\endlasthead| и~|\endprelastfoot|, где даны три
% варианта определения подписей (табличных заголовков) для продолжающейся
-% и~последней страниц \texttt{longtable}.
+% и~последней страниц |longtable|.
%\vfil
%
+% \begin{small}
%^^A% \subsection{Obsolete Commands}\label{sec:changed}
% \subsection{Устаревшие команды}\label{sec:changed}
-%
-% \begin{small}
-%
-% \subsubsection{Интерфейс пользователя \protect\cdash--- новые плавающие объекты
+% \FRorisubsubsection{Интерфейс пользователя---новые плавающие объекты
% [\package{float}]}\label{sec:floatborrowI}
%
-% \DescribeMacro{\newfloat}
+% \DescribeMacro{\newfloat}\slshape
%^^A% The most important command in \package{float}
%^^A% is the |\newfloat| command\footnote{It doubles the
%^^A% \cmd{\DeclareNewFloatType} command.}. It is patterned on
@@ -6448,7 +8236,7 @@
% Она сделана по образцу
% |\newtheorem|. Команда |\newfloat| имеет три основных и~один дополнительный
% аргумент; форма задания:
-% \par\RestoreSpaces
+% \RestoreSpaces
% \begin{Quote}
% \hspace*{\MacroIndent}|\newfloat{|\meta{type}|}{|^^A
% \meta{placement}|}{|\meta{ext}|}[|\meta{within}{\tt]}
@@ -6456,24 +8244,24 @@
% \begin{itemize}\itemsep0pt\parskip0pt
% \item
%^^A% \marg{type} is the `type' of the new class of floats, like
-%^^A% \texttt{program} or \texttt{algorithm}. After the appropriate
+%^^A% |program| or |algorithm|. After the appropriate
%^^A% |\newfloat|, commands like |\begin{program}| or |\end{algorithm*}|
%^^A% will be available.
% \marg{type} задаёт тип нового класса флотов, таких как
-% \texttt{program} (программа) или \texttt{algorithm} (алгоритм).
+% |program| (программа) или |algorithm| (алгоритм).
% Определив эти слова в~аргументе
% |\newfloat|, вы можете задать команды, как |\begin{program}|
% или |\end{algorithm*}|.
% \item
%^^A% \marg{placement} gives the default placement
%^^A% parameters for this class of floats. The placement parameters are
-%^^A% the same as in standard \LaTeX, i.e., \texttt{t}, \texttt{b},
-%^^A% \texttt{p} and \texttt{h} for `top', `bottom', `page' and `here',
+%^^A% the same as in standard \LaTeX, i.e., |t|, |b|,
+%^^A% |p| and |h| for `top', `bottom', `page' and `here',
%^^A% respectively.
% \marg{placement} задаёт размещение по умолчанию
% для данного класса флотов. Параметры те же самые,
-% что и~в~стандартном \LaTeX'е, например, \texttt{t}, \texttt{b},
-% \texttt{p} и~\texttt{h} для `top' (вверху), `bottom' (внизу),
+% что и~в~стандартном \LaTeX'е, например, |t|, |b|,
+% |p| и~|h| для `top' (вверху), `bottom' (внизу),
% `page' (отдельная страницы) и~`here' (здесь),
% соответственно.
% \item
@@ -6488,7 +8276,7 @@
%^^A% \oarg{within} Finally, the optional
%^^A% argument \meta{within} determines whether floats of this class will
%^^A% be numbered within some sectional unit of the document. For example,
-%^^A% if \oarg{within}${}={}$\texttt{chapter}, the floats will be numbered
+%^^A% if \oarg{within}${}={}$|chapter|, the floats will be numbered
%^^A% within chapters. (In standard \LaTeX, this happens with figures and
%^^A% tables in the \cls{report} and \cls{book} document styles.) As an
%^^A% example, Program~\ref{prog1.1} was created by a command sequence
@@ -6499,13 +8287,13 @@
% аргумент \meta{within} определяет будут ли плавающие объекты
% данного класса нумероваться
% внутри указанного раздела документа. Например,
-% если \oarg{within}${}={}$\texttt{chapter}, флоты будут перенумеровываться
+% если \oarg{within}${}={}$|chapter|, флоты будут перенумеровываться
% по главам. (В~стандартном \LaTeX'е, это задано для рисунков и~таблиц
% в~классах документов \cls{report} и~\cls{book}.) Как
% пример, программа~\ref{prog1.1} была создана командной последовательностью
% похожей на продемонстрированную в~следующем
% примере\footnote{Настройки для этого окружения примера
-% были созданы командой \cmd{\DeclareNewFloatType}.}.
+% были созданы командой \cs{}\FRkey{DeclareNewFloatType}.}.
% \end{itemize}
%^^A% \emph{Floatrow note.}
%^^A% There is also created a |\newfloat*| pair, which works similar to
@@ -6527,7 +8315,7 @@
% \end{verse}
% \caption{Это ещё один простенький плавающий пример. Исключая
% то, что он плавает, так как использует параметр {\tt[H]}, чтобы
-% появиться \textbf{Здесь}.}\label{exa1.1}
+% появиться \textbf{именно здесь}.}\label{exa1.1}
% \end{Example}
% \begin{Program}
%\begin{verbatim}
@@ -6571,9 +8359,11 @@
% Команда |\floatname| позволяет вам определить
% \emph{имя флота}, которое \LaTeX\ использует в~подписи флота,
% например, `Figure' для окружения рисунков и~тому подобное. Например,
-% |\floatname{program}{Program}| (или |\floatname|\nobreak
+% |\floatname{program}{Program}| ({\em или
+% для русской литературы |\floatname|\nobreak
% |{Program}|\allowbreak
-% |{\CYRP\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra}|).\allowbreak{}
+% |{\CYRP\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\cyra}|
+% \unskip}).
% Команда |\newfloat| определяет
% имя флота по аргументу определяющему имя окружения (\meta{type}) если не было
% определено другого имени до этого.
@@ -6589,41 +8379,40 @@
% \DescribeMacro{\restylefloat}\nopagebreak
%^^A% The |\restylefloat| command is necessary
%^^A% to change styles for the standard float types
-%^^A% \texttt{figure} and \texttt{table}. Since these aren't usually
+%^^A% |figure| and |table|. Since these aren't usually
%^^A% defined via |\newfloat|, they don't have a style associated with
%^^A% them. Thus you have to say, for example,
% Команда |\restylefloat| необходима для
% изменения стиля для стандартных типов флотов
-% \texttt{figure} и~\texttt{table}. Так как они не определяются
+% |figure| и~|table|. Так как они не определяются
% через команду |\newfloat|, они не имеют стиля, связанного с~ними.
% Поэтому вы должны задать, например,
-% \par\RestoreSpaces
% \begin{Quote}
-% \hspace*{\MacroIndent}|\floatstyle{ruled}|\\
+% \hspace*{\MacroIndent}|\floatstyle{ruled}|
% \hspace*{\MacroIndent}|\restylefloat{table}|
% \end{Quote}
-%^^A% to have tables come out \texttt{ruled}. The command also lets you
+%^^A% to have tables come out |ruled|. The command also lets you
%^^A% change style for floats that you define via |\newfloat|, although
%^^A% this is, typographically speaking, not a good idea. See
%^^A% table~\ref{table1} for an example\footnote{The \package{float} package
-%^^A% created special caption style with bold label for \texttt{boxed}
-%^^A% style. Please note that \texttt{plain} and \texttt{boxed} float
+%^^A% created special caption style with bold label for |boxed|
+%^^A% style. Please note that |plain| and |boxed| float
%^^A% styles have not any special settings in \package{caption} 3.x package.
-%^^A% To emulate \texttt{boxed} style from \package{float} documentation there
+%^^A% To emulate |boxed| style from \package{float} documentation there
%^^A% were: cleared all special caption settings for tables, and restored
%^^A% default colon separator after label.}. There is a |\restylefloat*|
%^^A% command which will restyle an existing float type but will keep the
%^^A% new float style from taking over the |\caption| command. In this
%^^A% case the user is responsible for handling their own captions.
-% чтобы получить таблицы в~стиле \texttt{ruled}. Команда также позволяет
+% чтобы получить таблицы в~стиле |ruled|. Команда также позволяет
% изменить стиль флота, определённого командой |\newfloat|, хотя
% это, по типографским правилам, не лучшая идея. См.
% табл.~\ref{table1} для примера\footnote{В~пакете \package{float}
% создан специальный стиль подписи с~полужирным нумерационным заголовком
-% для стиля \texttt{boxed}.
-% Обратите внимание, что стили флота \texttt{plain} и~\texttt{boxed}
+% для стиля |boxed|.
+% Обратите внимание, что стили флота |plain| и~|boxed|
% не имеют специальных настроек в~пакете \package{caption} 3.x.
-% Для эмуляции стиля \texttt{boxed} из документации пакета \package{float} были:
+% Для эмуляции стиля |boxed| из документации пакета \package{float} были:
% отменены все специальные установки для таблиц, и~восстановлено двоеточие
% как разделитель после нумерационного заголовка.}. Существует
% команда |\restylefloat*|,
@@ -6658,11 +8447,9 @@
%
% \end{small}
%
-%^^A% |\floatsetup|, renamed or deleted after version 0.1b.
-%\RestoreSpaces
+%\clearpage
% \begingroup\extrarowheight1.75pt\small\openup-.5pt\tabcolsep.5\tabcolsep\LTpre=0ptplus3pt\LTpost\LTpre
-% \subsubsection{Команды и~ключи \cmd{\floatsetup},
-% удалённые после версии 0.1b}
+% \subsubsection{Команды и~ключи \texorpdfstring{\cs{floatsetup}}{floatsetup}, удалённые после версии 0.1b}
% Здесь приведены устаревшие макрокоманды, которые были заменены
% ключами из команды |\floatsetup|,
% переименованы или удалены после версии 0.1b.
@@ -6706,10 +8493,10 @@
% \cmd{\floatobjectset} &
% в текущей версии \emph{не используется для определения
% настроек оформления объекта}, используйте ключ
-% \texttt{objectset=}
+% |objectset=|
% \\\hline
% \cmd{\alignsidecaption}&
-% \texttt{capbesideframe=yes}
+% |capbesideframe=yes|
% \\\hline
% \extrarowheight0pt\begin{tabular}[t]{@{}l}
% \smash{\cmd{\capbesidecenter}},\\ \smash{\cmd{\capbesidetop}},\\
@@ -6720,13 +8507,13 @@
% \smash{\cmd{\capbesideright}}
% \end{tabular}&
% \extrarowheight0pt\begin{tabular}[t]{@{}l}
-% \texttt{capbesideposition=center}\\
-% \texttt{capbesideposition=top}\\
-% \texttt{capbesideposition=bottom}\\
-% \texttt{capbesideposition=inside}\\
-% \texttt{capbesideposition=outside}\\
-% \texttt{capbesideposition=left}\\
-% \texttt{capbesideposition=right}
+% |capbesideposition=center|\\
+% |capbesideposition=top|\\
+% |capbesideposition=bottom|\\
+% |capbesideposition=inside|\\
+% |capbesideposition=outside|\\
+% |capbesideposition=left|\\
+% |capbesideposition=right|
% \end{tabular}
% \\\hline
% \extrarowheight0pt\begin{tabular}[t]{@{}l}
@@ -6736,8 +8523,8 @@
% разделительного материала}, используйте ключи\par
% \extrarowheight0pt
% \begin{tabular}[t]{@{}l}
-% \texttt{floatrowsep=}\\
-% \texttt{capbesidesep=}
+% |floatrowsep=|\\
+% |capbesidesep=|
% \end{tabular}
% \\\hline
% \extrarowheight0pt\begin{tabular}[t]{@{}l}
@@ -6746,24 +8533,24 @@
% \cmd{\FBnormal}
% \end{tabular}&
% \extrarowheight0pt\begin{tabular}[t]{@{}l}
-% \texttt{margins=center},\\
-% \texttt{margins=raggedright},\\
-% \texttt{margins=raggedleft}, \\
-% \texttt{margins=center},\\
+% |margins=center|,\\
+% |margins=raggedright|,\\
+% |margins=raggedleft|, \\
+% |margins=center|,\\
% \end{tabular}
% \\\hline
-% \cmd{\setfloatstyle} & \texttt{style=}
+% \cmd{\setfloatstyle} & |style=|
% \\\hline
% \begin{tabular}[t]{@{}l}
% \cmd{\Setframe}\\
% \cmd{\setframe}
% \end{tabular}
-% & используйте ключи \texttt{framestyle=} и \texttt{frameset=}
+% & используйте ключи |framestyle=| и |frameset=|
% \\\hline
% \cmd{\setrules}
-% & используйте \texttt{precode=}, \texttt{postcode=},
-% \texttt{midcode=} (а также
-% \texttt{rowpercode} и \texttt{rowpostcode}) ключи
+% & используйте |precode=|, |postcode=|,
+% |midcode=| (а также
+% |rowpercode| и |rowpostcode|) ключи
% \\\hline
% \end{longtable}
%
@@ -6778,43 +8565,43 @@
% \thead{Заменён на}
% \\\hline
% \endhead
-% \texttt{attachedcapstyle=} & \texttt{relatedcapstyle=}
+% |attachedcapstyle=| & |relatedcapstyle=|
% \\\hline
-% \texttt{floatstyle=} & \texttt{style=}
+% |floatstyle=| & |style=|
% \\\hline
-% \texttt{floatfont=} & \texttt{font=}
+% |floatfont=| & |font=|
% \\\hline
-% \texttt{putcaptionbeside=} & {capposition=beside}
+% |putcaptionbeside=| & {capposition=beside}
% \\\hline
-% \texttt{besidecapposition=} & \texttt{capbesideposition=}
+% |besidecapposition=| & |capbesideposition=|
% \\\hline
-% \texttt{besidecapwidth=} & \texttt{capbesidewidth=}
+% |besidecapwidth=| & |capbesidewidth=|
% \\\hline
-% \texttt{besidecapframe=} & \texttt{capbesideframe=}
+% |besidecapframe=| & |capbesideframe=|
% \\\hline
-% \texttt{floatmarginsset=} & \texttt{margins=}
+% |floatmarginsset=| & |margins=|
% \\\hline
-% \texttt{besidecapsep=} & \texttt{capbesidesep=}
+% |besidecapsep=| & |capbesidesep=|
% \\\hline
-% \texttt{Precode=} & \texttt{rowprecode=}
+% |Precode=| & |rowprecode=|
% \\\hline
-% \texttt{Postcode=} & \texttt{rowpostcode=}
+% |Postcode=| & |rowpostcode=|
% \\\hline
-% \texttt{framereduce=} & \texttt{framefit=}
+% |framereduce=| & |framefit=|
% \\\hline
% \extrarowheight0pt\begin{tabular}[t]{@{}l@{}}
-% \vphantom{(}опции ключей \texttt{objectset=}\\
-% \quad и \texttt{margins=}\\
-% \texttt{flushleft},\\ \texttt{flushright},\\\texttt{center}
+% \vphantom{(}опции ключей |objectset=|\\
+% \quad и |margins=|\\
+% |flushleft|,\\ |flushright|,\\|center|
% \end{tabular} &
% \extrarowheight0pt\begin{tabular}[t]{@{}l@{}}
-% \vphantom{(}опции ключей \texttt{objectset=}
-% и~\texttt{margins=}\\\quad
+% \vphantom{(}опции ключей |objectset=|
+% и~|margins=|\\\quad
% (для унификации
% с~аналогичными опциями\\\quad ключей в~пакете
% \package{caption})\\
-% \texttt{raggedright},\\ \texttt{raggedleft},\\
-% \texttt{centering}
+% |raggedright|,\\ |raggedleft|,\\
+% |centering|
% \end{tabular}
% \\\hline
% \end{longtable}