mirror of
https://github.com/python/cpython.git
synced 2025-12-11 19:40:17 +00:00
Thinking on comp.text.tex seems to be that it's better to override
\@makefntext than \@footnotetext, so we'll do that instead.
This commit is contained in:
parent
e2d1214c42
commit
2eba52fefb
1 changed files with 3 additions and 3 deletions
|
|
@ -137,11 +137,11 @@
|
||||||
% Set up abstract ways to get the normal and smaller font sizes that
|
% Set up abstract ways to get the normal and smaller font sizes that
|
||||||
% work even in footnote context.
|
% work even in footnote context.
|
||||||
\newif\ifpy@infootnote \py@infootnotefalse
|
\newif\ifpy@infootnote \py@infootnotefalse
|
||||||
\let\py@oldfootnotetext\@footnotetext
|
\let\py@oldmakefntext\@makefntext
|
||||||
\def\@footnotetext#1{%
|
\def\@makefntext#1{%
|
||||||
\bgroup%
|
\bgroup%
|
||||||
\py@infootnotetrue
|
\py@infootnotetrue
|
||||||
\py@oldfootnotetext{#1}%
|
\py@oldmakefntext{#1}%
|
||||||
\egroup%
|
\egroup%
|
||||||
}
|
}
|
||||||
\def\py@defaultsize{%
|
\def\py@defaultsize{%
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue