Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2eba52f

Browse files
committed
Thinking on comp.text.tex seems to be that it's better to override
\@makefntext than \@footnotetext, so we'll do that instead.
1 parent e2d1214 commit 2eba52f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/texinputs/python.sty

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@
137137
% Set up abstract ways to get the normal and smaller font sizes that
138138
% work even in footnote context.
139139
\newif\ifpy@infootnote \py@infootnotefalse
140-
\let\py@oldfootnotetext\@footnotetext
141-
\def\@footnotetext#1{%
140+
\let\py@oldmakefntext\@makefntext
141+
\def\@makefntext#1{%
142142
\bgroup%
143143
\py@infootnotetrue
144-
\py@oldfootnotetext{#1}%
144+
\py@oldmakefntext{#1}%
145145
\egroup%
146146
}
147147
\def\py@defaultsize{%

0 commit comments

Comments
 (0)