# Latex primed regression?

Dear Matplotlib users,

Mathtext primed used to be rendered correctly in 1.0.0 like so

But now they look tiny and badly spaced in 1.1.0 like so

I haven't tried with all fonts, but it is the case with Bitstream Vera Sans and Helvetica. Can anyone confirm?

If I use the LaTeX renderer, it looks correct.

Many thanks,
Alex

What is the math string you are using? I can’t seem to reproduce
this with:

   "$D_{40}\prime\prime$"

Mike

···

Dear Matplotlib
users,

    Mathtext primed used to be rendered correctly in 1.0.0 like so

But now they look tiny and badly spaced in 1.1.0 like so

I haven't tried with all fonts, but it is the case with


Bitstream Vera Sans and Helvetica. Can anyone confirm?

    If I use the LaTeX renderer, it looks correct.

Many thanks,

Alex

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!


http://p.sf.net/sfu/Boundary-d2dvs2

_______________________________________________
Matplotlib-users mailing list


I’m using $D_{40}^{\prime\prime}$

I think this is how prime should be used in latex, or?

Using mathtext, when i don't include "^" I get

Here, the spacing between the primed is too far apart. Also, in


regular latex, primed is usually in superscript, i think, otherwise,
without the ‘^’ one gets:

![hchieagh.png|104x53](upload://5QotR0LW4eWSYbQ6FJpaiTlzYwa.png)

I hope i'm not totally wrong, but the mathtext interpreter seems to


be inconsistent with the regular latex notation, and the primes are
also too widely spaced. I guess it’s not that important, it’s just
aesthetically a bit unsatisfactory.

Best wishes,
Alex

···

Dear Matplotlib
users,

      Mathtext primed used to be rendered correctly in 1.0.0 like so

But now they look tiny and badly spaced in 1.1.0 like so

I haven't tried with all fonts, but it is the case with


Bitstream Vera Sans and Helvetica. Can anyone confirm?

      If I use the LaTeX renderer, it looks correct.

Many thanks,

Alex

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!


http://p.sf.net/sfu/Boundary-d2dvs2

_______________________________________________
Matplotlib-users mailing list


ps. my math-related rcParams are just the defaults, i think

mathtext.cal : cursive

mathtext.rm  : serif

mathtext.tt  : monospace

mathtext.it  : serif:italic

mathtext.bf  : serif:bold

mathtext.sf  : sans

mathtext.fontset : cm

mathtext.fallback_to_cm : True

mathtext.default : it

···

Dear Matplotlib
users,

      Mathtext primed used to be rendered correctly in 1.0.0 like so

But now they look tiny and badly spaced in 1.1.0 like so

I haven't tried with all fonts, but it is the case with


Bitstream Vera Sans and Helvetica. Can anyone confirm?

      If I use the LaTeX renderer, it looks correct.

Many thanks,

Alex

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!


http://p.sf.net/sfu/Boundary-d2dvs2

_______________________________________________
Matplotlib-users mailing list


This bug was introduced in PR #54. That tried to fix the behavior
as well. The fix is revert prime to its old size, but make the
apostrophe equivalent to “^\prime”.

Are you able to test the following pull request and ensure that it


https://github.com/matplotlib/matplotlib/pull/836

Mike

···

Dear Matplotlib
users,

        Mathtext primed used to be rendered correctly in 1.0.0 like


so

        But now they look tiny and badly spaced in 1.1.0 like so

I haven't tried with all fonts, but it is the case with


Bitstream Vera Sans and Helvetica. Can anyone confirm?

        If I use the LaTeX renderer, it looks correct.

Many thanks,

Alex

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!


http://p.sf.net/sfu/Boundary-d2dvs2

_______________________________________________
Matplotlib-users mailing list


Thanks, Mike, everything primed looks nice again.

Best wishes,

Alex

···

Dear Matplotlib
users,

          Mathtext primed used to be rendered correctly in 1.0.0


like so

          But now they look tiny and badly spaced in 1.1.0 like so

I haven't tried with all fonts, but it is the case with


Bitstream Vera Sans and Helvetica. Can anyone confirm?

          If I use the LaTeX renderer, it looks correct.

Many thanks,

Alex

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!


http://p.sf.net/sfu/Boundary-d2dvs2

_______________________________________________
Matplotlib-users mailing list