[sage-devel] Re: show() method for all sage objects

2019-05-19 Thread Kwankyu Lee
On Sunday, May 19, 2019 at 9:50:22 PM UTC+9, Eric Gourgoulhon wrote: > > LaTeX is arguably the best way to display mathematics > I agree with this, but sage objects are not mathematics. > If one would like the plain text view of an object X instead, one can use > print(X). > So, in the Jupyt

[sage-devel] Re: show() method for all sage objects

2019-05-19 Thread Eric Gourgoulhon
Le dimanche 19 mai 2019 10:48:23 UTC+2, Volker Braun a écrit : > > > In general, I would lean more on the side of reasonable defaults (e.g. why > is %display typeset not the default in the notebook, its easier for power > users to turn it off than for novices to turn it on) than a proliferation

[sage-devel] Re: show() method for all sage objects

2019-05-19 Thread Kwankyu Lee
On Sunday, May 19, 2019 at 5:48:23 PM UTC+9, Volker Braun wrote: > > If you find yourself typing show() all the time you probably want to > change the displayhook to typeset stuff, i.e. you want "%display typeset" > in the notebook or on the command line: > > sage: m = random_matrix(ZZ, 3) > s

[sage-devel] Re: Printing a matrix of large size

2019-05-19 Thread Kwankyu Lee
On Sunday, May 19, 2019 at 1:42:02 PM UTC+9, John H Palmieri wrote: > > Did you try "print(mat.str())"? > No I didn't. Thanks for the tip. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails

[sage-devel] Re: show() method for all sage objects

2019-05-19 Thread Volker Braun
If you find yourself typing show() all the time you probably want to change the displayhook to typeset stuff, i.e. you want "%display typeset" in the notebook or on the command line: sage: m = random_matrix(ZZ, 3) sage: m [12 -5 6] [ 1 -1 1] [-1 2 1] sage: %display unicode_art sage: m ⎛12 -