[Python-checkins] python/dist/src/Doc/texinputs python.sty,1.97,1.98

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Wed, 30 Oct 2002 14:20:29 -0800


Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory usw-pr-cvs1:/tmp/cvs-serv23924

Modified Files:
	python.sty 
Log Message:
Add a couple of comments about the use of \normalsize and
\footnotesize.


Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.97
retrieving revision 1.98
diff -C2 -d -r1.97 -r1.98
*** python.sty	2 Aug 2002 18:30:22 -0000	1.97
--- python.sty	30 Oct 2002 22:20:27 -0000	1.98
***************
*** 821,824 ****
--- 821,826 ----
  % italics, and won't get funky in code fragments when we play around
  % with fonts.  This also works directly in math mode.
+ % XXX \normalsize is bad in footnotes, though; we need a way to
+ % determine when we're in a footnote.
  \newcommand{\var}[1]{%
    \ifmmode%
***************
*** 891,895 ****
  \newcommand{\regexp}[1]{%
    {\tiny$^{^\lceil}\!\!$%
!    {\normalsize\code{#1}}%
     $\!\rfloor\!$%
    }}
--- 893,897 ----
  \newcommand{\regexp}[1]{%
    {\tiny$^{^\lceil}\!\!$%
!    {\normalsize\code{#1}}% XXX should use \footnotesize in footnotes
     $\!\rfloor\!$%
    }}