ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 15 May 2015 08:49:41 +0200hyphen in subscripthttps://ask.sagemath.org/question/26830/hyphen-in-subscript/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
Thu, 14 May 2015 18:45:25 +0200https://ask.sagemath.org/question/26830/hyphen-in-subscript/Answer by John Palmieri for <p>Sometimes, the hyphen as subscript doesn't appear : see the A_- in the fragment </p>
<pre><code>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
</code></pre>
<p>Some hint ?</p>
<p>lg</p>
https://ask.sagemath.org/question/26830/hyphen-in-subscript/?answer=26831#post-id-26831This looks like a bug in matplotlib, which [I've reported](https://github.com/matplotlib/matplotlib/issues/4428). As a workaround, try setting `fontsize=19` instead. That works for me.Thu, 14 May 2015 19:58:39 +0200https://ask.sagemath.org/question/26830/hyphen-in-subscript/?answer=26831#post-id-26831Comment by lg for <p>This looks like a bug in matplotlib, which <a href="https://github.com/matplotlib/matplotlib/issues/4428">I've reported</a>. As a workaround, try setting <code>fontsize=19</code> instead. That works for me.</p>
https://ask.sagemath.org/question/26830/hyphen-in-subscript/?comment=26835#post-id-26835It doesn't work in my full text : [dis]appearance of the hyphen subscript seems to be at random !Fri, 15 May 2015 08:49:41 +0200https://ask.sagemath.org/question/26830/hyphen-in-subscript/?comment=26835#post-id-26835