Open
Description
When trying \check{k}
or \not{k}
the accent is rendered left of k, not above k:
This is the code to create the above image:
from numpy import *
from matplotlib.pyplot import *
#matplotlib.rc('text', usetex=True)
figure( figsize=(6,1) )
axis('off')
title( r"|$\check{k}$|$\hat{k}$|$\dot{k}$|$\ddot{k}$|$\grave{k}$|$\acute{k}$|$\tilde{k}$|$\breve{k}$|$\bar{k}$|$\not{k}$|$\vec{k}$|$\widetilde{k}$|$\widehat{k}$|$\overleftarrow{k}$|$\overrightarrow{k}$|$\overline{k}$|" )
# Unknown symbol: \underline (at char 0), (line:1, col:1)
# Unknown symbol: \overbrace (at char 0), (line:1, col:1)
# Unknown symbol: \underbrace (at char 0), (line:1, col:1)
# $\underline{k}$|$\overbrace{k}$|$\underbrace{k}$|
tight_layout()
savefig( "testAccents.png" )
show()
When uncommenting usetex=True
the output is:
I.e. the accents are rendered correctly now, but the vertical bars are for some reason rendered as horizontal bars suddenly. Not sure if I should open yet another issue for that?
Just for comparison, this is what codecogs renders:
Also as indicated in the sourcecode \underline{...}
\overbrace{...}
\underbrace{...}
don't work at all. I tested those, because they were in the same "accent"(?)-category in the codecogs equation editor.
System:
- Debian Sid
- python-matplotlib 1.5.3-1
- python 2.7.11-2
- Everything installed through apt-get