Ask Your Question
0

hyphen in subscript

asked 2015-05-14 18:45:25 +0100

laug gravatar image

updated 2015-05-14 19:59:15 +0100

Sometimes, the hyphen as subscript doesn't appear : see the A_- in the fragment

sage: pp=  Graphics()
sage: pp+=text("$A_-$",(0,0),axes=False,fontsize=20)
sage: pp+=text("$B_-C_+$",(1,0),axes=False,fontsize=20)
sage: pp

Some hint ?

lg

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-05-14 19:58:39 +0100

This looks like a bug in matplotlib, which I've reported. As a workaround, try setting fontsize=19 instead. That works for me.

edit flag offensive delete link more

Comments

It doesn't work in my full text : [dis]appearance of the hyphen subscript seems to be at random !

lg gravatar imagelg ( 2015-05-15 08:49:41 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-05-14 18:45:25 +0100

Seen: 818 times

Last updated: May 14 '15