summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/footnote.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-24 16:35:13 +0000
committerKarl Berry <karl@freefriends.org>2009-06-24 16:35:13 +0000
commitd73a503687f31a927aea191ec9ed3cf1c950fd8f (patch)
tree7dc5b70b51a539ac785341bad4387d836bb371c2 /Master/texmf-dist/source/latex/disser/footnote.dtx
parent3c2360d0385b88c9a20bd20ac33c71d9cec07294 (diff)
disser update (23jun09)
git-svn-id: svn://tug.org/texlive/trunk@13941 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/disser/footnote.dtx')
-rw-r--r--Master/texmf-dist/source/latex/disser/footnote.dtx50
1 files changed, 45 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/disser/footnote.dtx b/Master/texmf-dist/source/latex/disser/footnote.dtx
index eda861efbac..515e6e2dd03 100644
--- a/Master/texmf-dist/source/latex/disser/footnote.dtx
+++ b/Master/texmf-dist/source/latex/disser/footnote.dtx
@@ -10,16 +10,56 @@
%
% \subsection{Сноска}
%
+% \end{macrocode}
+% \DescribeMacro{\thefootnote}\index{Макросы!\verb+\thefootnote+}
+% Формат счетчика сносок.
+% \begin{macrocode}
+\def\thefootnote{\@arabic\c@footnote}
+
+% \end{macrocode}
+% \DescribeMacro{\thempfootnote}\index{Макросы!\verb+\thempfootnote+}
+% Формат счетчика сносок внутри окружения |minipage|.
+% \begin{macrocode}
+\def\thempfootnote{{\itshape\@alph\c@mpfootnote}}
+
+% \end{macrocode}
% \DescribeMacro{\footnoterule}\index{Макросы!\verb+\footnoterule+}
-% Горизонтальная линия, отделяющая сноску.
+% Команда, рисующая линию.
% \begin{macrocode}
-\renewcommand\footnoterule{%
+\def\footnoterule{%
\kern-3\p@\hrule\@width.4\columnwidth\kern2.6\p@
}
+
+% \end{macrocode}
+% \DescribeMacro{\prethefootnote}\index{Макросы!\verb+\prethefootnote+}
+% \DescribeMacro{\postthefootnote}\index{Макросы!\verb+\postthefootnote+}
+% \DescribeMacro{\prefootnotetext}\index{Макросы!\verb+\prefootnotetext+}
+% Дополнительный текст до и после номера сноски, перед текстом сноски.
+% \begin{macrocode}
+\providecommand\prethefootnote{}
+\providecommand\postthefootnote{}
+\providecommand\prefootnote{\;}
+% \end{macrocode}
+% \DescribeMacro{\footnoteindent}\index{Расстояния!\verb+\footnoteindent+}
+% \begin{macrocode}
+\deflength{\footnoteindent}{\parindent}
+
+% \end{macrocode}
+% \DescribeMacro{\@makefnmark}\index{Макросы!\verb+\@makefnmark+}
+% Формат метки сноски.
+% \begin{macrocode}
+\def\@makefnmark{\hbox{\prethefootnote%
+\@textsuperscript{\normalfont\@thefnmark}%
+\postthefootnote}}
+
+% \end{macrocode}
+% \DescribeMacro{\@makefntext}\index{Макросы!\verb+\@makefntext+}
+% Команда, создающая текст сноски.
+% \begin{macrocode}
\newcommand\@makefntext[1]{%
- \parindent 1em%
- \noindent
- \hb@xt@1.8em{\hss\@makefnmark}#1
+ \noindent\hspace{\footnoteindent}%
+ \@makefnmark\prefootnote #1
}
+
%</footnote>
% \end{macrocode}