It seems the bug is in jupyter. Try putting the following $\verb|-_-|$
in a markdown cell. On Monday, June 6, 2022 at 12:51:00 AM UTC+9 egourg...@gmail.com wrote: > 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/e9f5d0d1-7097-46dd-83a0-64d0af35c699n%40googlegroups.com.