[Matplotlib-users] mathtext is smaller than regular text

2010-04-27 Thread Konstantin Klementiev
Hello all, Does anyone know why mathtext is smaller than the regular text in the same string? For example, see http://matplotlib.sourceforge.net/users/text_intro.html (equation E=mc^2) How can I make it of equal size? I don't see any mathtext size settings in rcfile... Thanks in advance!

Re: [Matplotlib-users] mathtext is smaller than regular text

2010-04-27 Thread Gökhan Sever
On Tue, Apr 27, 2010 at 3:31 AM, Konstantin Klementiev kklement...@cells.es wrote: Hello all, Does anyone know why mathtext is smaller than the regular text in the same string? For example, see http://matplotlib.sourceforge.net/users/text_intro.html (equation E=mc^2) How can I make it of

Re: [Matplotlib-users] mathtext is smaller than regular text

2010-04-27 Thread Michael Droettboom
Mathtext is in a completely different font (Computer Modern), so it has a different x-height, even though it does have the same overall height. While there isn't a way to change the size of part of a Text object, you could put the math its own Text object and use the 'fontsize' kwarg to

Re: [Matplotlib-users] mathtext is smaller than regular text

2010-04-27 Thread Konstantin Klementiev
From: Gokhan Sever: In your matplotlibrc file uncomment mathtext.default : regular to get the same font between the equations and regular text. Then the mathematics italic is lost. I can force it back by \it and then I have the same small letters. From: Michael Droettboom: Mathtext is in a