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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
|
% \iffalse
%
% makecell.dtx - tabular column heads and multilined cells.
% Russian documentation.
% (c) 2005--2006 Olga Lapko (Lapko.O@g23.relcom.ru)
%
% This program is provided under the terms of the
% LaTeX Project Public License distributed from CTAN
% archives in directory macros/latex/base/lppl.txt.
%
%<*driver>
\ProvidesFile{makecell-rus.tex}
\documentclass{ltxdoc}
\usepackage{mathtext}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{makecell}
\IfFileExists{rotating.sty}{\usepackage{rotating}}{}
\IfFileExists{footmisc.sty}{\usepackage[perpage]{footmisc}}{}
\IfFileExists{multirow.sty}{\usepackage{multirow}}{}
\IfFileExists{hyperref.sty}{\usepackage[unicode]{hyperref}}{}
\IfFileExists{hypcap.sty}{\usepackage{hypcap}}{}
\IfFileExists{caption.sty}
{\usepackage[font=small,labelfont=bf,labelsep=period]{caption}[2004/11/28]
\IfFileExists{floatrow.sty}
{\usepackage[font=small,style=plaintop,captionskip=5pt]{floatrow}}
{}}{}
\makeatletter
\@ifundefined{ttabbox}{\let\ttabbox\relax}{}
\makeatother
\usepackage{tabularx}
\EnableCrossrefs
\CodelineIndex
\RecordChanges
\makeatletter
\@beginparpenalty10000
\widowpenalty10000
\clubpenalty10000
\makeatother
\providecommand*{\file}[1]{\texttt{#1}}
\providecommand*{\pkg}[1]{\textsf{#1}}
\providecommand*{\cls}[1]{\textsf{#1}}
\providecommand*{\env}[1]{\texttt{#1}}
\begin{document}
\DocInput{makecell-rus.tex}
\PrintChanges
\end{document}
%</driver>
% \fi
%
% \GetFileInfo{makecell-rus.tex}
%
% \title{Ïàêåò \textsf{makecell}}
% \author{%
% Îëüãà Ëàïêî\\
% {\tt Lapko.O@g23.relcom.ru} }
% \date{2006/06/28}
% \maketitle
% \begin{abstract}
% Äàííûé ïàêåò ïîìîãàåò ñîçäàòü åäèíîå îôîðìëåíèå äëÿ òàáëèö âî âñ¸ì
% äîêóìåíòå. Êîìàíäà |\thead|, èñïîëüçóþùàÿ îêðóæåíèå îäíîêîëîíî÷íîé
% òàáëèöû, ïîçâîëÿåò ñîçäàòü åäèíîîáðàçíîå îôîðìëåíèå äëÿ çàãîëîâêîâ
% òàáëè÷íûõ êîëîíîê â äîêóìåíòå. Åù¸ îäíà êîìàíäà, |\makecell|,
% ïðåäëàãàåòñÿ äëÿ ñîçäàíèÿ ìíîãîñòðî÷íûõ ÿ÷ååê â òàáëèöàõ.
%
% Òàêæå ïðåäëàãàåòñÿ: \quad 1)\nobreak\enskip ìàêðîêîìàíäà |\makegapedcells|,
% êîòîðàÿ èçìåíÿåò âåðòèêàëüíûå îòáèâêè âîêðóã òàáëè÷íûõ ÿ÷ååê, àíàëîãè÷íî
% ïàêåòó \pkg{tabls}, íî èñïîëüçóåò ïàêåò \pkg{array}. (Ìàêðîêîìàíäà
% |\makegapedcells| ïåðåîïðåäåëÿåò ìàêðîêîìàíäó |\@classz| ýòîãî ïàêåòà.
% Ìàêðîêîìàíäà |\nomakegapedcells| îòìåíÿåò ïåðåîïðåäåëåíèå.); \quad
% 2)\nobreak\enskip ìàêðîêîìàíäû |\multirowhead| è |\multirowcell|,
% èñïîëüçóþùèå ìàêðîêîìàíäó |\multirow| èç ïàêåòà \pkg{multirow}.%
% \smallskip
%
% \end{abstract}
%
% \section{Òàáëè÷íûå ÿ÷åéêè è çàãîëîâêè êîëîíîê}
%
% \subsection{Îñíîâíûå êîìàíäû}
%
% \DescribeMacro{\makecell}
% Ìàêðîêîìàíäà ñîçäà¸ò îêðóæåíèå îäíîêîëîíî÷íîé òàáëèöû ñ ïðåäîïðåäåë¸ííûìè îáùèìè
% ïàðàìåòðàìè âûêëþ÷êè, èíòåðëèíüÿæà è âåðòèêàëüíûõ îòáèâîê âîêðóã
% (ñì. ðàçä.~\ref{sec:sets}). Ÿ óäîáíî èñïîëüçîâàòü äëÿ
% ìíîãîñòðî÷íûõ ÿ÷ååê. Äîïîëíèòåëüíûé àðãóìåíò êîìàíäû ïîçâîëÿåò
% èçìåíèòü âûêëþ÷êó òàáëèöû.
% \begin{quote}
% |\makecell|\oarg{vertical or/and horizontal alignment}\marg{cell text}
% \end{quote}
% Äëÿ âåðòèêàëüíîé âûêëþ÷êè èñïîëüçóþòñÿ îáîçíà÷åíèÿ \texttt{t}, \texttt{b},
% èëè \texttt{c} "--- ýòè áóêâû èñïîëüçóþòñÿ â äîïîëíèòåëüíîì àðãóìåíòå îêðóæåíèé
% \env{tabular} èëè \texttt{array}. Äëÿ ãîðèçîíòàëüíîé âûêëþ÷êè âû ìîæåòå
% èñïîëüçîâàòü îáîçíà÷åíèÿ \texttt{r}, \texttt{l}, èëè \texttt{c}, èëè áîëåå
% ñëîæíûå: |{p{3cm}}|. Ïîñêîëüêó äàííûé ïàêåò çàãðóæàåò ïàêåò \pkg{array}, âû
% ìîæåòå èñïîëüçîâàòü è òàêèå îïðåäåëåíèÿ âûêëþ÷êè: |{>{\parindent1cm}p{3cm}}|.
%\begin{verbatim}
%\begin{tabular}{|c|c|}
%\hline
%Cell text & 28--31\\
%\hline
%\makecell{Multilined \\ cell text} & 28--31\\
%\hline
%\makecell[l]{Left aligned \\ cell text} & 37--43\\
%\hline
%\makecell*[r]{Right aligned \\ cell text} & 37--43\\
%\hline
%\makecell[b]{Bottom aligned \\ cell text} & 52--58\\
%\hline
%\makecell*[{{p{3cm}}}]{Cell long text with predefined width} & 52--58\\
%\hline
%\makecell[{{>{\parindent1em}p{3cm}}}]{Cell long...} & 52--58\\
%\hline
%\end{tabular}
%\end{verbatim}
% \begin{table}[h]
% \ttabbox
% {\caption{Ïðèìåð ìíîãîñòðî÷íûõ ÿ÷ååê}\label{tab:cells}}%
% {\begin{tabular}{|c|c|}
% \hline
% Cell text & 28--31\\
% \hline
% \makecell{Multilined \\ cell text} & 28--31\\
% \hline
% \makecell[l]{Left aligned \\ cell text} & 37--43\\
% \hline
% \makecell*[r]{Right aligned \\ cell text} & 37--43\\
% \hline
% \makecell[b]{Bottom aligned \\ cell text} & 52--58\\
% \hline
% \makecell*[{{p{3cm}}}]{Cell long text with predefined width} & 52--58\\
% \hline
% \makecell[{{>{\parindent1em}p{3cm}}}]{Cell long text with predefined width} &
% 52--58\\
% \hline
% \end{tabular}}
% \end{table}
%
% |*|-ôîðìà êîìàíäû, |\makecell*|, ñîçäà¸ò âåðòèêàëüíûå îòáèâêè ðàâíûå |\jot|.
%
% \emph{Çàìå÷àíèå}. Ïðè îïðåäåëåíèè âûêëþ÷êè êîëîíêè òèïà |{p{3cm}}| â
% äîïîëíèòåëüíîì àðãóìåíòå, íóæíî ñîáëþäàòü ñëåäóþùèå ïðàâèëà:
% \quad 1)\nobreak\enskip åñëè åñòü
% îáîçíà÷åíèå âåðòèêàëüíîé âûêëþ÷êè, âçÿòü âûêëþ÷êó êîëîíêè â ãðóïïó:
% |[c{p{3cm}}]|; \quad
% 2)\nobreak\enskip åñëè åãî íåò, âçÿòü âûêëþ÷êó
% êîëîíêè â äâîéíóþ ãðóïïó "--- |[{{p{3cm}}}]| èëè äîáàâèòü ïóñòóþ ãðóïïó
% "--- |[{}{p{3cm}}]|.
% Áóäüòå âíèìàòåëüíû ñ âåðòèêàëüíîé âûêëþ÷êîé ÿ÷åéêè ïðè çàäàíèè âûêëþ÷êè
% êîëîíêè â âèäå àáçàöà:
% íàïðèìåð, íóæíî èñïîëüçîâàòü |{b{3cm}}| äëÿ âûêëþ÷êè ïî íèæíåé ëèíèè
% (è |{m{3cm}}| äëÿ âûêëþ÷êè ïî ñðåäíåé ëèíèè).
%
% \DescribeMacro{\thead}
% Ìàêðîêîìàíäà ñîçäà¸ò îêðóæåíèå îäíîêîëîíî÷íîé òàáëèöû äëÿ çàãîëîâêîâ êîëîíîê
% ñ ïðåäîïðåäåë¸ííûìè
% îáùèìè ïàðàìåòðàìè âûêëþ÷êè è èíòåðëèíüÿæà (ñì.~òàáë.~\ref{tab:thead}).
% Ýòà ìàêðîêîìàíäà èñïîëüçóåò îáùèå óñòàíîâêè äëÿ çàãîëîâêîâ êîëîíîê: øðèôò,
% âûêëþ÷êó, èíòåðëèíüÿæ, âåðòèêàëüíûå îòáèâêè âîêðóã (ñì. ðàçä.~\ref{sec:tsets}).
%\begin{verbatim}
%\renewcommand\theadset{\def\arraystretch{.85}}%
%\begin{tabular}{|l|c|}
%\hline
%\thead{First column head}&
% \thead{Second \\multlined \\ column head}\\
%\hline
%Left column text & 28--31\\
%\hline
%\end{tabular}
%\end{verbatim}
% \begin{table}[h]
% \ttabbox
% {\caption{Ïðèìåð çàãîëîâêîâ êîëîíîê}\label{tab:thead}}
% {\renewcommand\theadset{\def\arraystretch{.85}}
% \begin{tabular}{|l|c|}
% \hline
% \thead{First column head}&
% \thead{Second \\multlined \\ column head}\\
% \hline
% Long left column text & 28--31\\
% \hline
% \end{tabular}}
% \end{table}
%
% |*|-ôîðìà êîìàíäû, |\thead*|, ñîçäà¸ò âåðòèêàëüíûå îòáèâêè ðàâíûå|\jot|.
%
% \DescribeMacro{\rothead}
% Ñîçäà¸ò çàãîëîâêè êîëîíîê, ðàçâ¸ðíóòûå íà 90$^\circ$ ïðîòèâ ÷àñîâîé ñòðåëêè.
% Ìàêðîêîìàíäà èñïîëüçóåò òå æå óñòàíîâêè øðèôòà è èíòåðëèíüÿæà êàê è ïðåäûäóùàÿ,
% íî âûêëþ÷êà êîëîíêè èçìåíåíà íà |p{\rotheadsize}| ñ âûðàâíèâàíèåì âïðàâî
% (|\raggedright|): â ðåçóëüòàòå ëåâûé êðàé ñòðîê çàãîëîâêà îêàçûâàåòñÿ
% íà îäíîé áàçîâîé ëèíèè.
%
% \DescribeMacro{\rotheadsize}
% Äàííûé ïàðàìåòð îïðåäåëÿåò øèðèíó êîëîíêè äëÿ ðàçâ¸ðíóòûõ âåðòèêàëüíî çàãîëîâêîâ.
% Åãî ìîæíî îïðåäåëèòü êàê:
% \begin{quote}
% |\setlength\rotheadsize{3cm}|
% \end{quote}
% èëè
% \begin{quote}
% |\settowidth\rotheadsize{\theadfont |\meta{Widest head text}|}|
% \end{quote}
% êàê ñäåëàíî â ñëåäóþùåì ïðèìåðå (òàáë.~\ref{tab:rotheads}):
% \begin{table}[b]
% \ttabbox
% {\caption{Ïðèìåð çàãîëîâêîâ êîëîíîê, ðàçâ¸ðíóòûõ âåðòèêàëüíî}\label{tab:rotheads}}%
% {\settowidth\rotheadsize{\theadfont Second multilined}%^^A
% \begin{tabular}{l|l}
% \hline
% \thead{First column head}&
% \rothead{Second multilined \\ column head}\\
% \hline
% Long left column text & 28--31\\
% \hline
% \end{tabular}}
% \end{table}%
%\begin{verbatim}
%\settowidth\rotheadsize{\theadfont Second multilined}
%\begin{tabular}{|l|c|}
%\hline
%\thead{First column head}&
% \rotthead{Second multilined \\ column head}\\
%\hline
%Left column text & 28--31\\
%\hline
%\end{tabular}
%\end{verbatim}
%
% \subsection{Óñòàíîâêè äëÿ òàáëè÷íûõ ÿ÷ååê}\label{sec:sets}
%
% Â äàííîì ðàçäåëå ïðèâåäåíû êîìàíäû, êîòîðûå çàäàþò îôîðìëåíèå
% ìíîãîñòðî÷íûõ ÿ÷ååê, çàäàííûõ êîìàíäîé |\makecell|.
% Êîìàíäà |\cellset| èñïîëüçóåòñÿ òàêæå êîìàíäîé |\thead|.
%
% \DescribeMacro{\cellset}
% Óñòàíîâêè èíòåðëèíüÿæà äëÿ òàáëè÷íûõ ÿ÷ååê. Çäåñü ìîæíî èñïîëüçîâàòü ñëåäóþùèå
% êîìàíäû:
% \begin{quote}
% |\renewcommand\cellset{\renewcommand\arraytretch{1}%|\\
% | \setlength\extrarowheight{0pt}}|
% \end{quote}
% êàê îïðåäåëåíî â äàííîì ïàêåòå.
% Äàííûå óñòàíîâêè èñïîëüçóþòñÿ êàê êîìàíäîé |\makecell| òàê è êîìàíäîé |\thead|
% (|\rothead|).
%
% \DescribeMacro{\cellalign}
% Âûêëþ÷êà ïî óìîë÷àíèþ äëÿ òàáëè÷íûõ ÿ÷ååê. Ïàêåò ïðåäëàãàåò âåðòèêàëüíóþ è
% ãîðèçîíòàëüíóþ âûêëþ÷êó ïî öåíòðó, îïðåäåë¸ííóþ ñëåäóþùèì îáðàçîì:
% \begin{quote}
% |\renewcommand\cellalign{cc}|
% \end{quote}
%
% \DescribeMacro{\cellgape}
% Îïðåäåëÿåò âåðòèêàëüíûå îòáèâêè âîêðóã ÿ÷åéêè (|\makecell|), èñïîëüçóÿ,
% åñëè íóæíî, êîìàíäó |\gape|. Îíà îïðåäåëåíà êàê:
% \begin{quote}
% |\renewcommand\cellgape{}|
% \end{quote}
% Ìîæíî îïðåäåëèòü ìàêðîêîìàíäó êàê
% \begin{quote}
% |\renewcommand\cellgape{\Gape[1pt]}|
% \end{quote}
% èëè
% \begin{quote}
% |\renewcommand\cellgape{\gape[t]}|
% \end{quote}
% (Ñì. òàêæå ðàçä.~\ref{sec:gape} î êîìàíäå |\gape|.)
%
% \DescribeMacro{\cellrotangle}
% Óãîë ïîâîðîòà äëÿ ðàçâ¸ðíóòûõ ÿ÷ååê è çàãîëîâêîâ êîëîíîê.
% Ïî óìîë÷àíèþ çàäàí óãîë 90 (ïðîòèâ ÷àñîâîé ñòðåëêè).
%
% \subsection{Óñòàíîâêè äëÿ çàãîëîâêîâ êîëîíîê}\label{sec:tsets}
%
% Â äàííîì ðàçäåëå ïðèâåäåíû êîìàíäû, êîòîðûå ïîçâîëÿþò íàñòðîèòü îôîðìëåíèå çàãîëîâêîâ
% òàáëè÷íûõ êîëîíîê, çàäàííûõ êîìàíäîé |\thead| (|\rothead|).
%
% \DescribeMacro{\theadfont}
% Çàäà¸ò øðèôò äëÿ çàãîëîâêîâ êîëîíîê. Ìîæåò áûòü çàäàí ìåíüøèé êåãåëü
% \begin{quote}
% |\renewcommand\theadfont{\foonotesize}|
% \end{quote}
% êàê îïðåäåëåíî â äàííîì ïàêåòå (çäåñü ó÷èòûâàåòñÿ, ÷òî çàäàíà
% êîìàíäà \verb|\small| äëÿ øðèôòà ñàìîé òàáëèöû).
% Ñëåäóþùèé ïðèìåð çàäà¸ò êóðñèâíîå íà÷åðòàíèå
% \begin{quote}
% |\renewcommand\theadfont{\itshape}|
% \end{quote}
%
% \DescribeMacro{\theadset}
% Óñòàíîâêè èíòåðëèíüÿæà äëÿ çàãîëîâêîâ êîëîíîê. Çäåñü ìîæíî èñïîëüçîâàòü ñëåäóþùèå
% êîìàíäû:
% \begin{quote}
% |\renewcommand\theadset{\renewcommand\arraytretch{1}%|\\
% | \setlength\extrarowheight{0pt}}|
% \end{quote}
%
% \DescribeMacro{\theadalign}
% Âûêëþ÷êà ïî óìîë÷àíèþ äëÿ çàãîëîâêîâ êîëîíîê. Çäåñü òàêæå çàäàíà âûêëþ÷êà ïî öåíòðó:
% \begin{quote}
% |\renewcommand\theadalign{cc}|
% \end{quote}
%
% \DescribeMacro{\theadgape}
% Îïðåäåëÿåò âåðòèêàëüíûå îòáèâêè âîêðóã çàãîëîâêà êîëîíêè (|\makecell|), èñïîëüçóÿ,
% åñëè íóæíî, êîìàíäó |\gape|. Îïðåäåëåíà êàê:
% \begin{quote}
% |\renewcommand\theadgape{\gape}|
% \end{quote}
%
% \DescribeMacro{\rotheadgape}
% Òî æå ñàìîå äëÿ âåðòèêàëüíûõ çàãîëîâêîâ. Ïî óìîë÷àíèþ îòñóòñòâóåò:
% \begin{quote}
% |\renewcommand\rotheadgape{}|
% \end{quote}
%
% \section{Èçìåíåíèå âûñîòû è ãëóáèíû áîêñîâ}\label{sec:gape}
%
% Èíîãäà çàãîëîâêè òàáëè÷íûõ êîëîíîê, òàáëè÷íûå ÿ÷åéêè èëè ýëåìåíòû òåêñòà òðåáóþò
% êîððåêöèè âûñîòû/ãëóáèíû. Ìàêðîêîìàíäà |\raisebox| ìîæåò ïîìî÷ü,
% íî èñïîëüçîâàíèå å¸ â ïîäîáíûõ ñèòóàöèÿõ, îñîáåííî â ìàòåìàòèêå, äîâîëüíî ãðîìîçäêî.
% Äàííûé ïàêåò ïðåäëàãàåò ìàêðîêîìàíäó |\gape|, êîòîðàÿ èñïîëüçóåòñÿ àíàëîãè÷íî
% êîìàíäå |\smash|. Ìàêðîêîìàíäà |\gape| ïîçâîëÿåò èçìåíèòü âûñîòó è/èëè ãëóáèíó áîêñà
% íà íåîáõîäèìóþ âåëè÷èíó.
%
% \DescribeMacro{\gape}
% Ïåðâàÿ ìàêðîêîìàíäà èçìåíÿåò áîêñ íà âåëè÷èíó |\jot| (îáû÷íî 3\,pt). Îíà çàäà¸òñÿ
% äîïîëíèòåëüíûì è îáÿçàòåëüíûì àðãóìåíòàìè, êàê è êîìàíäà |\smash|,
% (ïåðå)îïðåäåë¸ííàÿ ïàêåòîì \pkg{amsmath}. Äîïîëíèòåëüíûé àðãóìåíò çàäà¸ò
% èçìåíåíèå òîëüêî âûñîòû (\texttt{t}) èëè òîëüêî ãëóáèíû
% (\texttt{b}). Îáÿçàòåëüíûé âêëþ÷àåò ñîáñòâåííî òåêñò.
% \begin{quote}
% |\gape|\oarg{\texttt{t} or \texttt{b}}\marg{text}
% \end{quote}
% Ïðèìåðû èñïîëüçîâàíèÿ:
% \begin{quote}
% \noindent
% \vbox{\halign{#\cr
% \noalign{\hrule}
% \gape{\cmd{\gape}\texttt{\{text\}}}\cr
% \noalign{\hrule}
% \crcr}}\qquad
% \vbox{\halign{#\cr
% \noalign{\hrule}
% \gape[t]{\cmd{\gape}\texttt{[t]\{text\}}}\cr
% \noalign{\hrule\vskip\jot}
% \crcr}}\qquad
% \vbox{\halign{#\cr
% \noalign{\hrule}
% \gape[b]{\cmd{\gape}\texttt{[b]\{text\}}}\cr
% \noalign{\hrule}
% \crcr}}
% \end{quote}
%
% \DescribeMacro{\Gape}
% Äðóãîé âàðèàíò èçìåíåíèÿ âûñîòû/ãëóáèíû. Äàííàÿ ìàêðîêîìàíäà ïîçâîëÿåò ñäåëàòü
% êîððåêòèðîâêó îòäåëüíî äëÿ âûñîòû è ãëóáèíû áîêñà:
% \begin{quote}
% |\Gape|\oarg{height corr}\oarg{depth corr}\marg{text}
% \end{quote}
%
% Åñëè îòñóòñòâóþò îáà íåîáÿçàòåëüíûõ àðãóìåíòà, êîìàíäà |\Gape| ðàáîòàåò àíàëîãè÷íî
% |\gape|\marg{text}, äðóãèìè ñëîâàìè, èñïîëüçóåò äëÿ êîððåêòèðîâêè âûñîòû è ãëóáèíû
% âåëè÷èíó |\jot|.
%
% Åñëè ïðèñóòñòâóåò òîëüêî îäèí íåîáÿçàòåëüíûé àðãóìåíò, êîìàíäà |\Gape| èñïîëüçóåò
% åãî çíà÷åíèå äëÿ êîððåêòèðîâêè âûñîòû è ãëóáèíû áîêñà.
% \begin{quote}
% \noindent
% \vbox{\halign{#\cr
% \noalign{\hrule}
% \Gape{\cmd{\Gape}\texttt{\{text\}}}\cr
% \noalign{\hrule}
% \crcr}}\texttt{\phantom{xxxxx}}\qquad
% \vbox{\halign{#\cr
% \noalign{\hrule}
% \Gape[\jot]{\cmd{\Gape}\texttt{[\cmd{\jot}]\{text\}}}\cr
% \noalign{\hrule}
% \crcr}}\\[2ex]
% \vbox{\halign{#\cr
% \noalign{\hrule}
% \Gape[6pt]{\cmd{\Gape}\texttt{[6pt]\{text\}}}\cr
% \noalign{\hrule}
% \crcr}}\qquad
% \vbox{\halign{#\cr
% \noalign{\hrule}
% \Gape[6pt][-2pt]{\cmd{\Gape}\texttt{[6pt][-2pt]\{text\}}}\cr
% \noalign{\hrule\vskip8pt}
% \crcr}}
% \end{quote}
%
% \DescribeMacro{\bottopstrut}
% \DescribeMacro{\topstrut}
% \DescribeMacro{\botstrut}
% Ýòè òðè êîìàíäû èçìåíÿþò ñòàíäàðòíóþ êîìàíäó |\strut| íà âåëè÷èíó |\jot|:
% |\bottopstrut| èçìåíÿåò è âûñîòó è ãëóáèíó;
% |\topstrut| èçìåíÿåò òîëüêî âûñîòó;
% |\botstrut| èçìåíÿåò òîëüêî ãëóáèíó.
% Ýòè êîìàíäû ìîæíî èñïîëüçîâàòü, íàïðèìåð, â ïåðâîì è ïîñëåäíåì ðÿäàõ òàáëèöû.
%
% \emph{Çàìå÷àíèå}. Åñëè
% âû èñïîëüçóåòå ïàêåò \pkg{bigstrut}, îáðàòèòå âíèìàíèå, ÷òî ýòè òðè êîìàíäû
% äóáëèðóþò \cmd{\bigstrut}, \cmd{\bigstrut[t]}, è \cmd{\bigstrut[b]} ñîîòâåòñòâåííî.
% Îáðàòèòå òàêæå âíèìàíèå ÷òî âåëè÷èíà, èçìåíÿþùàÿ \cmd{\strut} â êîìàíäå
% \cmd{\topstrut} è äðóãèõ ðàâíà \cmd{\jot}, à êîìàíäà
% \cmd{\bigstrut} è èñïîëüçóåò ñïåöèàëüíóþ âåëè÷èíó \cmd{\bigstrutjot}.
%
% \section{Êàê èçìåíèòü âåðòèêàëüíûå îòáèâêè âî âñåé òàáëèöå}\label{sec:beta}
%
% Äàííûé ðàçäåë îïèñûâàåò ìàêðîêîìàíäû, êîòîðûå ïûòàþòñÿ ýìóëèðîâàòü
% îäíó èç âîçìîæíîñòåé ïàêåòà \pkg{tabls}:
% ñîçäàíèå íåîáõîäèìûõ îòáèâîê âîêðóã ÿ÷ååê òàáëèöû.
%
% \DescribeMacro{\setcellgapes}
% Îïðåäåëÿåò ïàðàìåòðû äëÿ âåðòèêàëüíûõ îòáèâîê. Êîìàíäà ïîõîæà íà êîìàíäó |\gape*|
% áåç àðãóìåíòà \marg{text}:
% \begin{quote}
% |\setcellgapes|\oarg{\texttt{t} or \texttt{b}}\marg{value}
% \end{quote}
% Ïðèìåðû òàáëèö, ïðèâåä¸ííûå íèæå èñïîëüçóþò ñëåäóþùèå óñòàíîâêè:
% \begin{quote}
% |\setcellgapes{5pt}|
% \end{quote}
% Âû ìîæåòå òàêæå ââåñòè îòðèöàòåëüíûå çíà÷åíèÿ. Äàííóþ ìàêðîêîìàíäó ìîæíî ïîìåñòèòü
% â ïðåàìáóëå äîêóìåíòà êàê îáùèå óñòàíîâêè.
%
% \DescribeMacro{\makegapedcells}
% \DescribeMacro{\nomakegapedcells}
% Ïåðâàÿ ìàêðîêîìàíäà âêëþ÷àåò ñîçäàíèå âåðòèêàëüíûõ îòáèâîê. Âòîðàÿ îòìåíÿåò ïåðâóþ.
%
% Ìàêðîêîìàíäà \cmd{\makegapedcells} âðåìåííî ïåðåîïðåäåëÿåò ìàêðîêîìàíäó
% |\@classz| èç ïàêåòà \pkg{array}, ïîýòîìó èñïîëüçóéòå å¸ îñòî\-ðîæíî.
% Ââîäèòå êîìàíäó |\makegapedcells| âíóòðè ãðóïïû èëè âíóòðè îêðóæåíèÿ
% (ñì.~òàáë.~\ref{tab:gaped}):
%\begin{verbatim}
%\begin{table}[h]
%\makegapedcells
%...
%\end{table}
%\end{verbatim}
% \setcellgapes{5pt}
% \begin{table}
% \makegapedcells
% \ttabbox
% {\caption{Ïðèìåð ìíîãîñòðî÷íûõ ÿ÷ååê ñ äîïîëíèòåëüíûìè âåðòèêàëüíûìè îòáèâêàìè}%^^A
% \label{tab:gaped}}%
% {\begin{tabular}{|c|c|}
% \hline
% Cell text & 28--31\\
% \hline
% \makecell{Multilined \\ cell text} & 28--31\\
% \hline
% \makecell[l]{Left aligned \\ cell text} & 37--43\\
% \hline
% \makecell*[r]{Right aligned \\ cell text} & 37--43\\
% \hline
% \makecell[b]{Bottom aligned \\ cell text} & 52--58\\
% \hline
% \makecell*[{{p{3cm}}}]{Cell long text with predefined width} & 52--58\\
% \hline
% \makecell[{{>{\parindent1em}p{3cm}}}]{Cell long text with predefined width} &
% 52--58\\
% \hline
% \end{tabular}}
% \end{table}
%
% Îáðàòèòå âíèìàíèå, ÷òî îòáèâêà çàäàííàÿ â |\setcellgapes| è îòáèâêè, êîòîðûå
% ñîçäà¸ò ìàêðîêîìàíäà |\gape| (|\Gape|) â êîìàíäàõ ÿ÷ååê (îáû÷íî â |\thead|
% èëè â |\makecell*|) ñóììèðóþòñÿ.
%
% \section{Çàãîëîâêè êîëîíîê è ÿ÷åéêè, çàíèìàþùèå íåñêîëüêî ðÿäîâ}
%
% Ñëåäóþùèå ïðèìåðû ïîêàçûâàþò èñïîëüçîâàíèå ìàêðîêîìàíä, èñïîëüçóþùèõ êîìàíäó
% |\multirow| èç ïàêåòà \pkg{multirow}.\nopagebreak
%
%  íà÷àëå êðàòêîå ïîâòîðåíèå çíà÷åíèé àðãóìåíòîâ ìàêðîêîìàíäû |\multirow|:
% \begin{quote}
% |\multirow|\marg{nrow}\oarg{njot}\marg{width}\oarg{vmove}\marg{contents}
% \end{quote}
% \marg{nrow} çàäà¸ò ÷èñëî ðÿäîâ (òî åñòü ñòðîê òåêñòà);
% \oarg{njot} îáû÷íî èñïîëüçóåòñÿ åñëè âû èñïîëüçóåòå ïàêåò \pkg{bigstrut}: äåëàåò
% äîïîëíèòåëüíóþ íàñòðîéêó âåðòèêàëüíîãî ïîëîæåíèÿ (ñì. ïîÿñíåíèÿ â ïàêåòå
% \pkg{mutirow});
% \marg{width} îïðåäåëÿåò øèðèíó âêëþ÷¸ííîãî òåêñòà, çíàê |*| èñïîëüçóåòñÿ
% äëÿ óêàçàíèÿ, ÷òî èñïîëüçóåòñÿ íàòóðàëüíàÿ øèðèíà âêëþ÷¸ííîãî òåêñòà;
% \oarg{vmove} âåëè÷èíà, èñïîëüçóåìàÿ äëÿ òîíêîé íàñòðîéêè: òåêñò ìîæåò áûòü
% ïîäíÿò (èëè îïóùåí, åñëè \meta{vmove} îòðèöàòåëüíà) íà ýòó âåëè÷èíó;
% \marg{contents} <<ìíîãîðÿäíûé>> òåêñò.\smallskip\pagebreak[3]
%
% \DescribeMacro{\multirowcell}
% \DescribeMacro{\multirowthead}
% Ýòè äâå êîìàíäû èñïîëüçóþò ñëåäóþùèå àðãóìåíòû (ïðèìåð èñïîëüçóåò êîìàíäó
% |\multirowcell|):
% \begin{quote}
% |\multirowcell|\marg{nrow}\oarg{vmove}\oarg{v or/and h alignment}\marg{contents}
% \end{quote}
% â ýòèõ ìàêðîêîìàíäàõ îïóùåíû àðãóìåíòû \oarg{njot} è \marg{width}.
% Âìåñòî äîïîëíèòåëüíîãî àðãóìåíòà \oarg{njot} äëÿ âåðòèêàëüíîé íàñòðîéêè
% èñïîëüçóåòñÿ äîïîëíèòåëüíûé àðãóìåíò \oarg{vmove}.
%  êà÷åñòâå àðãóìåíòà \marg{width} ìàêðîêîìàíäû |\multirowcell| è |\multirowthead|
% èñïîëüçóþò íàòóðàëüíóþ âåëè÷èíó âêëþ÷¸ííîãî òåêñòà (òî åñòü èñïîëüçóåòñÿ
% àðãóìåíò |*|).
%
% Ïåðâûé ïðèìåð (òàáë.~\ref{tab:mrowI}) ñ <<ìíîãîðÿäíûìè>> çàãîëîâêàìè
% òàáëè÷íûõ êîëîíîê è ÿ÷åéêàìè:
%\begin{verbatim}
%\renewcommand\theadset{\def\arraystretch{.85}}%
%\begin{tabular}{|l|c|c|}
% \multirowthead{4}{First ...}&
% \multicolumn{2}{c|}{\thead{Multicolumn head}}\\
% \cline{2-3}
% & \thead{Second ...} & \thead{Third ...}\\
% \hline
% Cell text & A &\multirowcell{3}{28--31}\\
% \cline{1-2}
% \makecell{Multilined\\Cell text} & B& \\
% \hline
% \makecell[l]{Left ...} & C & \multirowcell{4}[1ex][l]{37--43}\\
% \cline{1-2}
% \makecell[r]{Right ...} & D & \\
% \hline
% \makecell[b]{Bottom ...} & E & \multirowcell{5}[1ex][r]{37--43\\52--58}\\
% \cline{1-2}
% \makecell[{{p{5cm}}}]{Cell ...} & F & \\
% \cline{1-2}
% \makecell[{{>{\parindent1em}p{5cm}}}]{Cell ...} & G & \\
% \hline
% \end{tabular}
%\end{verbatim}
%
% \begin{table}
%\renewcommand\theadset{\def\arraystretch{.85}}%
% \ttabbox
% {\caption{Ïðèìåð <<ìíîãîðÿäíûõ>> ÿ÷ååê}\label{tab:mrowI}}%
% {\begin{tabular}{|l|c|c|}
% \hline
% \multirowthead{4}{First Column head}&
% \multicolumn{2}{c|}{\thead{Multicolumn head}}\\
% \cline{2-3}
% & \thead{Second \\multlined \\ column head} &
% \thead{Third \\ column head}\\
% \hline
% Cell text & A &\multirowcell{3}{28--31}\\
% \cline{1-2}
% \makecell{Multilined\\Cell text} & B& \\
% \hline
% \makecell[l]{Left aligned\\ cell text} & C & \multirowcell{4}[1ex][l]{37--43}\\
% \cline{1-2}
% \makecell[r]{Right aligned\\ cell text} & D & \\
% \hline
% \makecell[b]{Bottom aligned\\ cell text} & E &
% \multirowcell{5}[1ex][r]{37--43\\52--58}\\
% \cline{1-2}
% \makecell[{{p{5cm}}}]{Cell long long long long text with predefined width} & F & \\
% \cline{1-2}
% \makecell[{{>{\parindent1em}p{5cm}}}]{Cell long long long long text with
% predefined width} & G & \\
% \hline
% \end{tabular}}
% \end{table}
%
% Âòîðîé ïðèìåð (òàáë.~\ref{tab:mrowII}) ñ <<ìíîãîðÿäíûìè>> çàãîëîâêàìè êîëîíîê
% è ÿ÷åéêàìè èñïîëüçóåò êîìàíäó |\makegapedcells|. Êîìàíäà |\theadgape| íè÷åãî
% íå äåëàåò:
%\begin{verbatim}
%\makegapedcells
%\renewcommand\theadset{\def\arraystretch{.85}}%
%\renewcommand\theadgape{}
%...
%\end{verbatim}
% \begin{table}\makegapedcells
%\renewcommand\theadset{\def\arraystretch{.85}}%
%\renewcommand\theadgape{}
% \ttabbox
% {\caption{Ïðèìåð <<ìíîãîðÿäíûõ>> ÿ÷ååê ñ äîïîëíèòåëüíûìè âåðòèêàëüíûìè
% îòáèâêàìè}\label{tab:mrowII}}%
% {\begin{tabular}{|l|c|c|}
% \hline
% \multirowthead{4}{First Column head}&
% \multicolumn{2}{c|}{\thead{Multicolumn head}}\\
% \cline{2-3}
% & \thead{Second \\multlined \\ column head} &
% \thead{Third \\ column head}\\
% \hline
% Cell text & A &\multirowcell{4}{28--31}\\
% \cline{1-2}
% \makecell{Multilined \\Cell text} & B& \\
% \hline
% \makecell[l]{Left aligned \\ cell text} & C & \multirowcell{4}[0ex][l]{37--43}\\
% \cline{1-2}
% \makecell[r]{Right aligned \\ cell text} & D & \\
% \hline
% \makecell[b]{Bottom aligned \\ cell text} & E &
% \multirowcell{6}[0ex][r]{37--43\\52--58}\\
% \cline{1-2}
% \makecell[{{p{5cm}}}]{Cell long long long long text with predefined width} & F & \\
% \cline{1-2}
% \makecell[{{>{\parindent1em}p{5cm}}}]{Cell long long long long text
% with predefined width} & G & \\
% \hline
% \end{tabular}}
% \end{table}
% \bigskip
%
% Ïîñëåäíèé ïðèìåð (òàáë.~\ref{tab:mrowIII}) èñïîëüçóåò îêðóæåíèå \env{tabularx}
% ñî çíà÷åíèåì |\hsize| â àðãóìåíòå øèðèíû òàáëèöû.
%\begin{verbatim}
%\makegapedcells
%\renewcommand\theadset{\def\arraystretch{.85}}%
%\renewcommand\theadgape{}
%\begin{tabularx}\hsize{|X|c|c|}
%...
%\cline{1-2}
%\makecell[{{p{\hsize}}}]{Cell ...} & F & \\
%\cline{1-2}
%\makecell[{{>{\parindent1em}p{\hsize}}}]{Cell ...} & G & \\
%\hline
%\end{tabularx}
%\end{verbatim}
% Êàê ìîæíî âèäåòü, ÿ÷åéêè |\makecells| â ïîñëåäíèõ äâóõ ðÿäàõ îïðåäåëåíû êàê
% \begin{quote}
% |\makecell[{{p{\hsize}}}]{...}|
% \end{quote}
% è
% \begin{quote}
% |\makecell[{{>{\parindent1em}p{\hsize}}}]{...}|
% \end{quote}
% ñîîòâåòñòâåííî.
% \begin{table}\makegapedcells
%\renewcommand\theadset{\def\arraystretch{.85}}%
%\renewcommand\theadfont{\footnotesize}%
%\renewcommand\theadgape{}
% \ttabbox
% {\caption{Ïðèìåð îêðóæåíèÿ \env{tabularx}}\label{tab:mrowIII}}%
% {\begin{tabularx}\hsize{|X|c|c|}
% \hline
% \multirowthead{4}{First Column head}&
% \multicolumn{2}{c|}{\thead{Multicolumn head}}\\
% \cline{2-3}
% & \thead{Second \\multlined \\ column head} &
% \thead{Third \\ column head}\\
% \hline
% Cell text & A &\multirowcell{4}{28--31}\\
% \cline{1-2}
% \makecell{Multilined \\Cell text} & B& \\
% \hline
% \makecell[l]{Left aligned \\ cell text} & C & \multirowcell{4}[0ex][l]{37--43}\\
% \cline{1-2}
% \makecell[r]{Right aligned \\ cell text} & D & \\
% \hline
% \makecell[b]{Bottom aligned \\ cell text} & E &
% \multirowcell{6}[0ex][r]{37--43\\52--58}\\
% \cline{1-2}
% \makecell[{{p{\hsize}}}]{Cell long long long long long long text with
% predefined width} & F & \\
% \cline{1-2}
% \makecell[{{>{\parindent1em}p{\hsize}}}]{Cell long long long long
% long long text with predefined width} & G & \\
% \hline
% \end{tabularx}}
% \end{table}
%
% \subsection{ß÷åéêè íà íåñêîëüêî ðÿäîâ: âòîðîé âàðèàíò}
%
% Âòîðîé, óïðîù¸ííûé, âàðèàíò çàäàíèÿ ÿ÷åéêè íà íåñêîëüêî ðÿäîâ: \cdash---
% èñïîëüçîâàòü êîìàíäû |\makecell| è |\thead|, à â êîíöå àðãóìåíòà çàäàòü |\\|
% ñ îòðèöàòåëüíîé îòáèâêîé, íàïðèìåð
%\begin{quote}
% |\thead{First Column head\\[-5ex]}|
%\end{quote}
% ïðè ýòîì ó ÿ÷ååê â îäíîì <<ìíîãîÿðóñíîì>> ðÿäó, ñêîëüêî áû ñòðîê îíè íè èìåëè áû,
% îòðèöàòåëüíàÿ îòáèâêà áóäåò âñåãäà îäèíàêîâàÿ.
%
% \section{Íóìåðîâàííûå ðÿäû ÿ÷ååê â òàáëèöàõ}
%
% Êîìàíäû |\eline|, |\nline|, |\rnline| ïîçâîëÿþò ïðîïóñòèòü íåñêîëüêî ÿ÷ååê:
% \begin{quote}
% |\eline|\marg{number of cells}
% \end{quote}
% è ïðîíóìåðîâàòü (|\nline|) íåñêîëüêî èëè âñå ÿ÷åéêè â ðÿäó:
% \begin{quote}
% |\nline|\oarg{numbering type}\oarg{start number}\marg{number of cells}
% \end{quote}
% Êîìàíäà |\rnline| ðàáîòàåò òàê æå êàê |\nline|, íî âìåñòî íóìåðàöèè
% ëàòèíñêèìè áóêâàìè çàäà¸òñÿ íóìåðàöèÿ ðóññêèìè (ïåðåîïðåäåëÿþòñÿ ñ÷¸ò÷èêè
% \LaTeX'à |\Alph| à |\alph| íà |\Asbuk| è |\asbuk| ñîîòâåòñòâåííî).
% (ñì.~òàáë.~\ref{tab:elines})
%\begin{verbatim}
% \begin{tabular}{|*{12}{c|}}
% \hline
% \eline{6} \\ \hline
% \nline{6} \\ \hline
% \eline{3} & \nline[1][4]{3} \\ \hline
% \rnline[(a)]{6} \\ \hline
% \nline[column I]{6} \\ \hline
% \end{tabular}
%\end{verbatim}
%
% \begin{table}
% \ttabbox
% {\caption{Ïðèìåðû çàïîëíåíèÿ ÿ÷ååê}\label{tab:elines}}%
% {\begin{tabular}{|*{12}{c|}}
% \hline
% \eline{6} \\ \hline
% \nline{6} \\ \hline
% \eline{3} & \nline[1][4]{3} \\ \hline
% \rnline[(a)]{6} \\ \hline
% \nline[column I]{6} \\ \hline
% \end{tabular}}
%\end{table}
%
% \Finale
\endinput
|