diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-29 23:31:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-29 23:31:05 +0000 |
commit | 4015a058f2c68e873ea7f12eb582b49b9a903cd7 (patch) | |
tree | ec3d259a3423d58b7e9114c1ee681a53fb07532c /Master/texmf-dist/source/latex/disser/custom.dtx | |
parent | 12aa9b3a965ed1a926cff749fc9651dd28ac5a58 (diff) |
disser 1.1.5 (28mar10)
git-svn-id: svn://tug.org/texlive/trunk@17612 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/disser/custom.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/disser/custom.dtx | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/disser/custom.dtx b/Master/texmf-dist/source/latex/disser/custom.dtx index 85e07e68f1c..bb25f3f8d15 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+} @@ -159,8 +159,8 @@ % \end{macrocode} % \subsubsection{Плавающие объекты} % -% \DescribePackage{wrapfig}\index{Пакеты!\verb*+wrapfig+} % Плавающие рисунки <<в оборку>>. +% \DescribePackage{wrapfig}\index{Пакеты!\verb*+wrapfig+} % \begin{macrocode} \usepackage{wrapfig} % \end{macrocode} @@ -178,7 +178,6 @@ % \end{macrocode} % Формат ссылки через |\ref|. % \DescribeMacro{\thefigsubsep}\index{Макросы!\verb*+\thefigsubsep+} -% Разделитель между номером и буквой. % \begin{macrocode} \providecommand\thefigsubsep{,~} \def\p@subfigure{\@nameuse{thefigure}\thefigsubsep} @@ -221,21 +220,26 @@ % \begin{macrocode} \usepackage{graphicx} \fi +\ifDis@href % \end{macrocode} -% Пакеты для исправления ошибок \pkg{hyperref}. -% \DescribePackage{hypernat}\index{Пакеты!\verb*+hypernat+} -% \DescribePackage{hypcap}\index{Пакеты!\verb*+hypcap+} +% Включение и настройка цветных ссылок. % \begin{macrocode} -\ifDis@href - \usepackage{hypernat} - \usepackage[all]{hypcap} + \ifDis@colorlinks + \usepackage{color} + \definecolor{darkblue}{rgb}{0,0,.6} + \hypersetup{ + colorlinks = true, linkcolor = darkblue, + citecolor = darkblue, filecolor = darkblue, + menucolor = darkblue, urlcolor = darkblue + } + \fi \fi % \end{macrocode} -% \DescribeMacro{\metaphantom}\index{Макросы!\verb*+\metaphantom+} % Команда, создающая цель для гиперссылок над заголовками ненумеруемых разделов. +% \DescribeMacro{\metaphantom}\index{Макросы!\verb*+\metaphantom+} % \begin{macrocode} -\def\metaphantom#1{% +\providecommand\metaphantom[1]{% \ifDis@href \Hy@GlobalStepCount\Hy@linkcounter \xdef\@currentHref{#1*.\the\Hy@linkcounter}% |