summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/floats.dtx
blob: 4d45bc57fe8ae3097e2c11d7b8d1621978e79549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231

% \iffalse
%%% From File: floats.dtx
% \fi
%
%    \begin{macrocode}

%<*floats>
%    \end{macrocode}
%
% \subsection{Ïëàâàþùèå îáúåêòû}
% \subsubsection{Ïàðàìåòðû ðàçìåùåíèÿ ïëàâàþùèõ îáúåêòîâ íà ñòðàíèöå}
% \paragraph{Êîëè÷åñòâî îáúåêòîâ}
%   \begin{itemize}
%   \item Ìàêñèìàëüíîå êîëè÷åñòâî ïëàâàþùèõ îáúåêòîâ, ðàçìåùàåìîå ââåðõó
% ñòðàíèöû (ïðè äâóõêîëîííîì íàáîðå --- ââåðõó êîëîíêè).
%   \DescribeMacro{topnumber}\index{Ñ÷åò÷èêè!\verb*+topnumber+}
%    \begin{macrocode}
\setcounter{topnumber}{2}
%    \end{macrocode}
%   \item Ìàêñèìàëüíîå êîëè÷åñòâî ïëàâàþùèõ îáúåêòîâ, ðàçìåùàåìîå âíèçó
% ñòðàíèöû (ïðè äâóõêîëîííîì íàáîðå --- âíèçó êîëîíêè).
%   \DescribeMacro{bottomnumber}\index{Ñ÷åò÷èêè!\verb*+bottomnumber+}
%    \begin{macrocode}
\setcounter{bottomnumber}{1}
%    \end{macrocode}
%   \item Ìàêñèìàëüíîå êîëè÷åñòâî ïëàâàþùèõ îáúåêòîâ, ðàçìåùàåìîå
%   íà ñòðàíèöå (ïðè äâóõêîëîííîì íàáîðå --- â êîëîíêå).
%   \DescribeMacro{totalnumber}\index{Ñ÷åò÷èêè!\verb*+totalnumber+}
%    \begin{macrocode}
\setcounter{totalnumber}{3}
%    \end{macrocode}
%   \item Ïðè íàáîðå â äâå êîëîíêè: ìàêñèìàëüíîå êîëè÷åñòâî ïëàâàþùèõ
%   îáúåêòîâ øèðèíîé âî âñþ ñòðàíèöó, êîòîðîå ðàçðåøàåòñÿ ðàçìåñòèòü ââåðõó
%   ñòðàíèöû
%    \begin{macrocode}
\setcounter{dbltopnumber}{2}
%    \end{macrocode}
%   \end{itemize}
%
% \paragraph{Âåëè÷èíà ìåñòà, çàíèìàåìîãî ïëàâàþùèìè îáúåêòàìè}
%   \begin{itemize}
%   \item Ìàêñèìàëüíàÿ äîëÿ ñòðàíèöû ïî âûñîòå, êîòîðóþ ìîãóò çàíèìàòü
%   ïëàâàþùèå îáúåêòû, ðàçìåùàåìûå ââåðõó ñòðàíèöû.
%   \DescribeMacro{\topfraction}\index{Ìàêðîñû!\verb*+\topfraction+}
%    \begin{macrocode}
\renewcommand\topfraction{.7}
%    \end{macrocode}
%   \item Ìàêñèìàëüíàÿ äîëÿ ñòðàíèöû ïî âûñîòå, êîòîðóþ ìîãóò çàíèìàòü
%   ïëàâàþùèå îáúåêòû, ðàçìåùàåìûå âíèçó ñòðàíèöû.
%   \DescribeMacro{\bottomfraction}\index{Ìàêðîñû!\verb*+\bottomfraction+}
%    \begin{macrocode}
\renewcommand\bottomfraction{.3}
%    \end{macrocode}
%   \item Ìèíèìàëüíàÿ äîëÿ ñòðàíèöû, êîòîðóþ äîëæåí çàíèìàòü òåêñò, à íå
%   ïëàâàþùèå îáúåêòû íà îáû÷íîé ñòðàíèöå (ê ñòðàíèöàì, ñîçäàâàåìûì
%   \LaTeX{}'îì
%   ñïåöèàëüíî äëÿ ðàçìåùåíèÿ ïëàâàþùèõ îáúåêòîâ ïðè îáðàáîòêå
%   íåîáÿçàòåëüíîãî àðãóìåíòà |p|, ýòî íå îòíîñèòñÿ).
%   \DescribeMacro{\textfraction}\index{Ìàêðîñû!\verb*+\textfraction+}
%    \begin{macrocode}
\renewcommand\textfraction{.2}
%    \end{macrocode}
%   \item Ïàðàìåòð, àíàëîãè÷íûé ïðåäûäóùåìó, îòíîñÿùèéñÿ ê ñòðàíèöàì äëÿ
%   ïëàâàþùèõ îáúåêòîâ.
%   \DescribeMacro{\floatpagefraction}\index{Ìàêðîñû!\verb*+\floatpagefraction+}
%    \begin{macrocode}
\renewcommand\floatpagefraction{.5}
%    \end{macrocode}
%   \item Òîæå, ÷òî |\topfraction|, ïðèìåíèòåëüíî ê èëëþñòðàöèÿì (òàáëèöàì)
%   øèðèíîé â öåëóþ ñòðàíèöó ïðè äâóõêîëîííîì íàáîðå.
%   \DescribeMacro{\dbltopfraction}\index{Ìàêðîñû!\verb*+\dbltopfraction+}
%    \begin{macrocode}
\renewcommand\dbltopfraction{.7}
%    \end{macrocode}
%   \item Òîæå, ÷òî |\floatpagefraction|, ïðèìåíèòåëüíî ê èëëþñòðàöèÿì
%   (òàáëèöàì) øèðèíîé â öåëóþ ñòðàíèöó ïðè äâóõêîëîííîì íàáîðå.
%   \DescribeMacro{\dblfloatpagefraction}\index{Ìàêðîñû!\verb*+\dblfloatpagefraction+}
%    \begin{macrocode}
\renewcommand\dblfloatpagefraction{.5}
%    \end{macrocode}
%   \end{itemize}
%
% \subsubsection{Ïàðàìåòðû ôîðìàòà ïîäïèñåé}
%
% \DescribeMacro{\abovecaptionskip}\index{Ìàêðîñû!\verb*+\abovecaptionskip+}
% Âåðòèêàëüíûé èíòåðâàë ïåðåä ïîäïèñüþ.
%    \begin{macrocode}
\newlength\abovecaptionskip
\setlength\abovecaptionskip{10\p@}
%    \end{macrocode}
% \DescribeMacro{\belowcaptionskip}\index{Ìàêðîñû!\verb*+\belowcaptionskip+}
% Âåðòèêàëüíûé èíòåðâàë çà ïîäïèñüþ.
%    \begin{macrocode}
\newlength\belowcaptionskip
\setlength\belowcaptionskip{0\p@}
%    \end{macrocode}
% \DescribeMacro{\captionlabeldelim}\index{Ìàêðîñû!\verb*+\captionlabeldelim+}
% Ðàçäåëèòåëü ìåòêè (ïîñòîÿííàÿ ÷àñòü + íîìåð) è òåêñòà ïîäïèñè.
%    \begin{macrocode}
\newcommand\captionlabeldelim{.}
%    \end{macrocode}
% \DescribeMacro{\captionfont}\index{Ìàêðîñû!\verb*+\captionfont+}
% Øðèôò ïîäïèñè.
%    \begin{macrocode}
\newcommand\captionfont{\small}
%    \end{macrocode}
% \DescribeMacro{\captionlabelfont}\index{Ìàêðîñû!\verb*+\captionlabelfont+}
% Øðèôò ìåòêè.
%    \begin{macrocode}
\newcommand\captionlabelfont{\small\selectfont}
%    \end{macrocode}
% \DescribeMacro{\@makecaption}\index{Ìàêðîñû!\verb+"\"@makecaption+}
% Íèçêîóðîâíåâàÿ êîìàíäà, ñîçäàþùàÿ ïîäïèñü.
%    \begin{macrocode}
\long\def\@makecaption#1#2{%
  \vskip\abovecaptionskip
  \sbox\@tempboxa{{\captionlabelfont #1\captionlabeldelim} {\captionfont #2}}%
  \ifdim \wd\@tempboxa >\hsize
    {{\captionlabelfont  #1\captionlabeldelim} {\captionfont #2}}\par
  \else
    \global \@minipagefalse
    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
  \fi
  \vskip\belowcaptionskip
}

%    \end{macrocode}
%
% \subsubsection{figure}
%
% \DescribeMacro{\thefigure}\index{Ìàêðîñû!\verb*+\thefigure+}
% Ôîðìàò íîìåðà.
%    \begin{macrocode}
\renewcommand\thefigure{\ifnum \c@chapter>\z@\thechapter.\fi\@arabic\c@figure}

%    \end{macrocode}
% \DescribeMacro{\fps@figure}
% Îïèñàòåëü ïîëîæåíèÿ ïëàâàþùèõ îáúåêòîâ òèïà |figure|.
%    \begin{macrocode}
\def\fps@figure{tbp}
%    \end{macrocode}
% \DescribeMacro{\ftype@figure}
% Íîìåð òèïà, àññîöèèðîâàííûé ñ |figure|.
%    \begin{macrocode}
\def\ftype@figure{1}
%    \end{macrocode}
% \DescribeMacro{\ext@figure}
% Ðàñøèðåíèå ôàéëà ñî ñïèñêîì èëëþñòðàöèé.
%    \begin{macrocode}
\def\ext@figure{lof}
%    \end{macrocode}
% \DescribeMacro{\fnum@figure}
% Ôîðìàò çàãîëîâêà ïîäïèñè (Ðèñ.~1).
%    \begin{macrocode}
\def\fnum@figure{\figurename~\thefigure}

%    \end{macrocode}
%
% \subsubsection{table}
%
% \DescribeMacro{\thetable}\index{Ìàêðîñû!\verb*+\thetable+}
% Ôîðìàò íîìåðà.
%    \begin{macrocode}
\renewcommand\thetable{\ifnum \c@chapter>\z@\thechapter.\fi\@arabic\c@table}

%    \end{macrocode}
%
% \DescribeMacro{\arraycolsep}\index{Äëèíû!\verb*+\arraycolsep+}
% Ïðîìåæóòîê ìåæäó êîëîíêàìè â |array|.
%    \begin{macrocode}
\setlength\arraycolsep{5\p@}
%    \end{macrocode}
% \DescribeMacro{\tabcolsep}\index{Äëèíû!\verb*+\tabcolsep+}
% Ïðîìåæóòîê ìåæäó êîëîíêàìè â òàáëèöå.
%    \begin{macrocode}
\setlength\tabcolsep{6\p@}
%    \end{macrocode}
% \DescribeMacro{\arrayrulewidth}\index{Äëèíû!\verb*+\arrayrulewidth+}
% Òîëùèíà ëèíåéêè â |array|.
%    \begin{macrocode}
\setlength\arrayrulewidth{.4\p@}
%    \end{macrocode}
% \DescribeMacro{\doublerulesep}\index{Äëèíû!\verb*+\doublerulesep+}
% Ïðîìåæóòîê ìåæäó ëèíèÿìè â äâîéíîé ëèíåéêå |\hrule\hrule|.
%    \begin{macrocode}
\setlength\doublerulesep{2\p@}
%    \end{macrocode}
% \DescribeMacro{\tabbingsep}\index{Äëèíû!\verb*+\tabbingsep+}
% Ïðîìåæóòîê ìåæäó ñòîëáöàìè â îêðóæåíèè |tabular|.
%    \begin{macrocode}
\setlength\tabbingsep{\labelsep}
%    \end{macrocode}
% Ïðîìåæóòîê, äîáàâëÿåìûé ïðè íàëè÷èè ñíîñêè ïðè èñïîëüçîâàíèè îêðóæåíèÿ
% |minipage|.
%    \begin{macrocode}
\skip\@mpfootins = \skip\footins
%    \end{macrocode}
% \DescribeMacro{\fboxsep}\index{Äëèíû!\verb*+\fboxsep+}
% Ïðîìåæóòîê ìåæäó ëèíèåé è òåêñòîì â |\fbox|.
%    \begin{macrocode}
\setlength\fboxsep{3\p@}
%    \end{macrocode}
% \DescribeMacro{\fboxrule}\index{Äëèíû!\verb*+\fboxrule+}
% Òîëùèíà ëèíèè äëÿ |\fbox|.
%    \begin{macrocode}
\setlength\fboxrule{.4\p@}

%    \end{macrocode}
% \DescribeMacro{\fps@table}
% Îïèñàòåëü ïîëîæåíèÿ ïëàâàþùèõ îáúåêòîâ òèïà |table|.
%    \begin{macrocode}
\def\fps@table{tbp}
%    \end{macrocode}
% \DescribeMacro{\ftype@table}
% Íîìåð òèïà, àññîöèèðîâàííûé ñ |figure|.
%    \begin{macrocode}
\def\ftype@table{2}
%    \end{macrocode}
% \DescribeMacro{\ext@table}
% Ðàñøèðåíèå ôàéëà, ñîäåðæàùåãî ñãåíåðèðîâàííûé ñïèñîê òàáëèö.
%    \begin{macrocode}
\def\ext@table{lot}
%    \end{macrocode}
% \DescribeMacro{\fnum@table}
% Ôîðìàò çàãîëîâêà ïîäïèñè (Òàáëèöà~1).
%    \begin{macrocode}
\def\fnum@table{\tablename~\thetable}

%</floats>
%    \end{macrocode}