From ben.bob at gmail.com Wed Feb 16 03:47:55 2005 From: ben.bob at gmail.com (Bo Peng) Date: Wed Feb 16 03:47:58 2005 Subject: [Doc-SIG] Big latex subscript font using python.sty and manual.cls Message-ID: <6ea7b543050215184714551657@mail.gmail.com> Dear list, I am writing a manual for my python extension using Python (2.4) latex classes. Everything seems to be fine except that the subscripts are as big as normal text ( see page 55 of http://bp6.stat.rice.edu:8080/simuPOP_doc/userGuide.pdf ). I doubt that the following piece of code in python.sty is causing the problem but can not fix it. (I get errors when commenting out this block of code.) Does anyone know what is happening here? Maybe there is a font size setting somewhere? Note that the subscripts are OK if I use other classes like report.cls. Many thanks in advance. Bo %%%%% in python.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % 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 % Latex 2e. \DeclareRobustCommand\hackscore{% \ifmmode_\else\textunderscore\fi% } \begingroup \catcode`\_\active \def\next{% \AtBeginDocument{\catcode`\_\active\def_{\hackscore{}}}% } \expandafter\endgroup\next %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% From goodger at python.org Sat Feb 19 02:19:39 2005 From: goodger at python.org (David Goodger) Date: Sat Feb 19 02:19:48 2005 Subject: [Doc-SIG] Docutils on Slashdot! Message-ID: <4216942B.2030704@python.org> On the Games page, not on the main page, but still cool: http://games.slashdot.org/article.pl?sid=04/12/09/163218&tid=209 -- David Goodger -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 253 bytes Desc: OpenPGP digital signature Url : http://mail.python.org/pipermail/doc-sig/attachments/20050218/29324a89/signature.pgp