diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/disser/custom.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/disser/custom.dtx | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/disser/custom.dtx b/Master/texmf-dist/source/latex/disser/custom.dtx index bb25f3f8d15..375e88e2b09 100644 --- a/Master/texmf-dist/source/latex/disser/custom.dtx +++ b/Master/texmf-dist/source/latex/disser/custom.dtx @@ -7,7 +7,7 @@ %<*custom> % \end{macrocode} -% \subsection{Подключение и настройка часто используемых пакетов} +% \subsection{Подключение и настройка сторонних пакетов} % % \DescribePackage{amsmath}\index{Пакеты!\verb*+amsmath+} % \DescribePackage{amssymb}\index{Пакеты!\verb*+amssymb+} @@ -121,14 +121,15 @@ \usepackage[square,comma,sort&compress,numbers]{natbib} % \end{macrocode} -% Переопределение |\bibsection| для включения ссылки на список литературы в оглавление. +% Переопределение |\bibsection| для включения ссылки на список литературы в +% оглавление. % \DescribeMacro{\bibsection}\index{Макросы!\verb*+\bibsection+} % \begin{macrocode} \renewcommand\bibsection{\nchapter{\bibname}} % \end{macrocode} -% Переопределение |thebibliography| для создания корректной PDF-закладки -% (основано на варианте из |natbib|). +% Переопределение окружения |thebibliography| для создания корректной +% PDF-закладки (основано на варианте из \pkg{natbib}). % \DescribeEnv{thebibliography}\index{Окружения!\verb*+thebibliography+} % \begin{macrocode} \renewenvironment{thebibliography}[1]{% @@ -147,10 +148,6 @@ \let\citeN\cite \let\shortcite\cite \let\citeasnoun\cite -% \end{macrocode} -% Убираем вертикальный интервал между библиографическими ссылками для автореферата. -% \begin{macrocode} - \ifDis@autoref\setlength\bibsep{0pt}\fi }{% \def\@noitemerr{\PackageWarning{natbib}{Empty `thebibliography' environment}} \endlist\vskip-\lastskip% @@ -237,9 +234,9 @@ % \end{macrocode} % Команда, создающая цель для гиперссылок над заголовками ненумеруемых разделов. -% \DescribeMacro{\metaphantom}\index{Макросы!\verb*+\metaphantom+} +% \DescribeMacro{\hrefphantom}\index{Макросы!\verb*+\hrefphantom+} % \begin{macrocode} -\providecommand\metaphantom[1]{% +\providecommand\hrefphantom[1]{% \ifDis@href \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{#1*.\the\Hy@linkcounter}% @@ -263,23 +260,23 @@ \fi \thispagestyle{\@chapterpagestyle}% \global\@topnum\z@ - \metaphantom{chapter} - {\def\\{ }\addcontentsline{toc}{chapter}{#1}}% + \hrefphantom{chapter} + \addcontentsline{toc}{chapter}{#1}% \@afterindentfalse \@schapter{#1} } \newcommand\nsection[1]{% - \metaphantom{section}% + \hrefphantom{section}% \addcontentsline{toc}{section}{#1} \section*{#1} } \newcommand\nsubsection[1]{% - \metaphantom{subsection}% + \hrefphantom{subsection}% \addcontentsline{toc}{subsection}{#1} \subsection*{#1} } \newcommand\nsubsubsection[1]{% - \metaphantom{subsubsection}% + \hrefphantom{subsubsection}% \addcontentsline{toc}{subsubsection}{#1} \subsubsection*{#1} } |