[Bug 394242] [NEW] usetex: wrong spacing
Torsten Bronger
bronger at physik.rwth-aachen.de
Wed Jul 1 12:10:52 UTC 2009
Public bug reported:
I use 0.98.5.2 with PDF output and the following settings:
matplotlib.rcParams["text.usetex"] = True
matplotlib.rcParams["text.latex.preamble"] = r"\def\rmdefault{ud2}\usepackage{eulervm}\usepackage{color}"
matplotlib.rcParams['text.latex.unicode'] = True
("ud2" is a special font that I use.)
Now,
axes.set_ylabel(ur"I in mA/cm$^2$")
causes the $^2$ being placed above the "m", so the spacing is
incorrect. I can repair it by inserting \kern0.3em after the "cm".
Or, I can append text after the $^2$, which curiously makes the
spacing correct.
** Affects: matplotlib (Ubuntu)
Importance: Undecided
Status: New
--
usetex: wrong spacing
https://bugs.launchpad.net/bugs/394242
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list