diff options
Diffstat (limited to 'Doc/texinputs')
-rw-r--r-- | Doc/texinputs/python.sty | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 41db7ef..2074006 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -397,6 +397,12 @@ {\reset@font\normalsize\py@HeaderFamily}} +% This gets the underscores closer to the right width; the only change +% from standard LaTeX is the width specified. + +\DeclareTextCommandDefault{\textunderscore}{% + \leavevmode \kern.06em\vbox{\hrule\@width.55em}} + % Underscore hack (only act like subscript operator if in math mode) % % The following is due to Mark Wooding (the old version didn't work with |