You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #4147 was fixed, I checked if this one is also fixed, and it seems it is not. On current master, the following example produces a png, pdf and svg where the \left| and \right\rangle characters are missing around the minus signs. Furthermore, I realized that the problem is the same in the interactive backends (at least MacOSX and Qt4Agg, which are the ones I have available here).
For the plus sign, it works like expected. This is on current master.
This is a tricky one. At the end of the day, I think the metrics on the minus sign are just wrong (it defines a character with negative height). I guess the best we can do is special case it, but that's icky... Oh well, I think I can have a fix ready shortly.
Activity
tacaswell commentedon Aug 17, 2014
Can you include a minimal amount of code to show this? (If I am understanding this right, I think that two call to
ax.textwould be enough).jfeist commentedon Feb 25, 2015
After #4147 was fixed, I checked if this one is also fixed, and it seems it is not. On current master, the following example produces a png, pdf and svg where the
\left|and\right\ranglecharacters are missing around the minus signs. Furthermore, I realized that the problem is the same in the interactive backends (at least MacOSX and Qt4Agg, which are the ones I have available here).For the plus sign, it works like expected. This is on current master.
jfeist commentedon Mar 3, 2015
just pinging @mdboom, @tacaswell because I'm not sure this was seen.
tacaswell commentedon Mar 3, 2015
I assume that is a similar problem with the height of the | and > being scaled to almost zero.
mdboom commentedon Mar 3, 2015
This is a tricky one. At the end of the day, I think the metrics on the minus sign are just wrong (it defines a character with negative height). I guess the best we can do is special case it, but that's icky... Oh well, I think I can have a fix ready shortly.
anntzer commentedon Jan 5, 2018
May be worth checking whether another version of computer modern (http://www.ams.org/publications/type1-fonts, http://cm-unicode.sourceforge.net/) has better metrics.
anntzer commentedon Feb 9, 2020
This was actually fixed by #5871.