Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2394900 commit 699799eCopy full SHA for 699799e
1 file changed
Doc/texinputs/python.sty
@@ -820,6 +820,8 @@
820
% This weird definition of \var{} allows it to always appear in roman
821
% italics, and won't get funky in code fragments when we play around
822
% with fonts. This also works directly in math mode.
823
+% XXX \normalsize is bad in footnotes, though; we need a way to
824
+% determine when we're in a footnote.
825
\newcommand{\var}[1]{%
826
\ifmmode%
827
\hbox{\normalsize\textrm{\textit{#1\/}}}%
@@ -890,7 +892,7 @@
890
892
% The \! is a "negative thin space" in math mode.
891
893
\newcommand{\regexp}[1]{%
894
{\tiny$^{^\lceil}\!\!$%
- {\normalsize\code{#1}}%
895
+ {\normalsize\code{#1}}% XXX should use \footnotesize in footnotes
896
$\!\rfloor\!$%
897
}}
898
\newcommand{\envvar}[1]{%
0 commit comments