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
|
% \begin{macrocode}
%<*custom>
% \end{macrocode}
% \subsection{Ïîäêëþ÷åíèå è íàñòðîéêà ïàðàìåòðîâ ñòîðîííèõ ïàêåòîâ}
% Âêëþ÷àåò îòñòóï â ïåðâîé ñòðîêå ïåðâîãî àáçàöà.
% \begin{macrocode}
\let\@afterindentfalse\@afterindenttrue
\@afterindenttrue
% \end{macrocode}
% Îïöèÿ |intlimits| âêëþ÷àåò ïðàâèëüíóþ ðàññòàíîâêó ïðåäåëîâ èíòåãðèðîâàíèÿ
% (ñâåðõó è ñíèçó).
% \begin{macrocode}
\usepackage[intlimits]{amsmath}
\usepackage{amssymb,amsfonts}
% \end{macrocode}
% Áîëåå åñòåñòâåííûå ñèìâîëû èíòåãðàëîâ (èç øðèôòîâ ñåìåéñòâà Euler).
% \begin{macrocode}
\DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n}
\DeclareMathSymbol\intop\mathop{EulerExtension}{"52}
\DeclareMathSymbol\ointop\mathop{EulerExtension}{"48}
% \end{macrocode}
% Ïàêåò äëÿ îôîðìëåíèÿ áèáëèîãðàôè÷åñêèõ ññûëîê.
% \begin{macrocode}
\usepackage[square, comma, sort&compress]{natbib}
% \end{macrocode}
% \DescribeMacro{\phantomchapter}
% Êîìàíäà äëÿ èñïðàâëåíèÿ PDF-çàêëàäîê, óêàçûâàþùèõ íà |\chapter*|.
% \begin{macrocode}
\def\phantomchapter{%
\ifhref
\Hy@GlobalStepCount\Hy@linkcounter
\xdef\@currentHref{chapter*.\the\Hy@linkcounter}%
\Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
\fi
}
% \end{macrocode}
% Ïåðåîïðåäåëåíèå äëÿ âêëþ÷åíèÿ ññûëêè íà ñïèñîê ëèòåðàòóðû â Ñîäåðæàíèå.
% \DescribeMacro{\bibsection}
% \begin{macrocode}
\renewcommand\bibsection{\nchapter{\bibname}}
% \end{macrocode}
% Ïåðåîïðåäåëåíèå äëÿ ñîçäàíèÿ êîððåêòíîé PDF-çàêëàäêè (îñíîâàíî íà âàðèàíòå % èç |natbib|).
% \DescribeEnv{thebibliography}
% \begin{macrocode}
\renewenvironment{thebibliography}[1]{%
\bibsection
\parindent \z@
\bibpreamble\bibfont
\list{\@biblabel{\arabic{NAT@ctr}}}%
{\@bibsetup{#1}\setcounter{NAT@ctr}{0}}%
\ifNAT@openbib
\renewcommand\newblock{\par}
\else
\renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
\fi
\sloppy\clubpenalty4000\widowpenalty4000
\sfcode`\.=1000\relax
\let\citeN\cite
\let\shortcite\cite
\let\citeasnoun\cite
}{%
\def\@noitemerr{\PackageWarning{natbib}{Empty `thebibliography' environment}}
\endlist\vskip-\lastskip%
}
% \end{macrocode}
% Íàñòðîéêà ïàðàìåòðîâ |hyperref|:
% \begin{macrocode}
\ifpdf
% \end{macrocode}
% \begin{itemize}
% \item äëÿ pdf\LaTeX{}
% \begin{macrocode}
\ifhref
\usepackage[pdftex,unicode,hyperfigures=true]{hyperref}
\hypersetup{
colorlinks = false,
bookmarksopen = true,
bookmarksnumbered = true,
bookmarksopenlevel = 2,
pdfstartview = {FitH},
pdfborder = {0 0 0}
}
\pdfcompresslevel = 9
\fi
\usepackage[pdftex]{graphicx}
\usepackage{cmap}
\else
% \end{macrocode}
% \item äëÿ \LaTeX{}
% \end{itemize}
% \begin{macrocode}
\ifhref\usepackage[hypertex,colorlinks=false,hyperfigures=true]{hyperref}\fi
\usepackage{graphicx}
\fi
% \end{macrocode}
% Ïàêåò èñïðàâëåíèé äëÿ ñîâìåñòíîãî èñïîëüçîâàíèÿ |hyperref| è |natbib|.
% \begin{macrocode}
\ifhref\usepackage{hypernat}\fi
% \end{macrocode}
% Ïëàâàþùèå ðèñóíêè ``â îáîðêó''.
% \begin{macrocode}
\usepackage[rflt]{floatflt}
% \end{macrocode}
% Ïàêåò äëÿ âëîæåííîé íóìåðàöèè îáúåêòîâ (íàïðèìåð, 1.à)
% \begin{macrocode}
\ifsubf
\usepackage[normalsize]{subfigure}
% \end{macrocode}
% Ôîðìàò ïîñòîÿííîé ÷àñòè ïîäïèñè äëÿ ïëàâàþùèõ îáúåêòîâ ñ âëîæåííîé
% íóìåðàöèåé.
% \begin{macrocode}
\renewcommand*\@thesubfigure{\small\textit{\asbuk{subfigure}})}
% \end{macrocode}
% Ôîðìàò ññûëêè (÷åðåç |\subref|).
% \begin{macrocode}
\renewcommand*\@@thesubfigure{\textit{\asbuk{subfigure}})}
% \end{macrocode}
% Ôîðìàò ññûëêè (÷åðåç |\ref|).
% \begin{macrocode}
\renewcommand*\thesubfigure{,~\textit{\asbuk{subfigure}}}
% \end{macrocode}
% Åùå ðàç ôîðìàò ìåòêè (íóæíî óêàçàòü äâà ðàçà èç-çà ñòðàííîé îøèáêè â ïàêåòå
% |subfigure|).
% \begin{macrocode}
\renewcommand*\@thesubfigure{\small\textit{\asbuk{subfigure}})}
\fi
% \end{macrocode}
% Âêëþ÷åíèå ïåðåíîñîâ â ñëîâàõ ñ äåôèñîì.
% \begin{macrocode}
\lccode `\-=`\-
\defaulthyphenchar=127
%</custom>
% \end{macrocode}
|