Indeed, in Jupyter or Jupyterlab, the underscore is rendered as a minus 
sign in %display latex mode.
For instance, 

%display latex
type(ZZ)

returns

<πšŒπš•πšŠπšœπšœ 
'𝚜𝚊𝚐𝚎.πš›πš’πš—πšπšœ.πš’πš—πšπšŽπšπšŽπš›βŽ―πš›πš’πš—πš.π™Έπš—πšπšŽπšπšŽπš›πšπš’πš—πšβŽ―πšŒπš•πšŠπšœπšœ'>

while 

print(type(ZZ))

gives

<class 'sage.rings.integer_ring.IntegerRing_class'>

I don't know where the replacement of underscores by minus signs comes 
from...
Le dimanche 5 juin 2022 Γ  15:50:41 UTC+2, raymond....@gmail.com a Γ©crit :

> show('1_1=',2)
> Works fine in console mode.
> In jupyter and jupyterlab:
>
> 1-1=2
>
> It seems to be auto-corrected; I see the correct output momentarily then
> it gets "corrected".
> Where should I report it?
>
> Sagemath 9.6
> Linux Mate
> Google chrome and Firefox
>
> rrogers
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/eed42bec-6f61-4280-8ccf-b244b6eb77een%40googlegroups.com.

Reply via email to