Re: [sage-support] Re: Rendering tables in jupyter notebook

2022-11-21 Thread Dima Pasechnik
I'd guess that the header_row is used to determined the column width, without checking the rest of the table. (That's how it works in LaTeX, anyway.) PS. I also notice that documentation for table() is rather patchy, and does not even tell you about the possibility of having anything except True/

Re: [sage-support] Re: Rendering tables in jupyter notebook

2022-11-21 Thread Jan Groenewald
Hi On Mon, 21 Nov 2022 at 10:58, Gaurish Telang wrote: > >> Both the display in a console and the LaTeX display given by `view` are >> single-lined. I can reproduce your problem in Jupyter ; therefore, I think >> that the question should be directed to a Jupyter-centered mailing list, >> newsgro

Re: [sage-support] Re: Rendering tables in jupyter notebook

2022-11-21 Thread Gaurish Telang
> Both the display in a console and the LaTeX display given by `view` are > single-lined. I can reproduce your problem in Jupyter ; therefore, I think > that the question should be directed to a Jupyter-centered mailing list, > newsgroup, forum or whatever... I just wanted to add, I noticed that t

Re: [sage-support] Re: Rendering tables in jupyter notebook

2022-11-20 Thread Emmanuel Charpentier
Le dimanche 20 novembre 2022 à 19:16:44 UTC+1, gauri...@gmail.com a écrit : > Thanks! I will ask on the Jupyter mailing list. > >> >> Also is it possible for me to write [image: x^k-1] for various powers of >> [image: >> k] in latex in place of [image: x^k+2]. i.e. I want to write -1 wherever

Re: [sage-support] Re: Rendering tables in jupyter notebook

2022-11-20 Thread Gaurish Telang
Thanks! I will ask on the Jupyter mailing list. > > Also is it possible for me to write [image: x^k-1] for various powers of > [image: > k] in latex in place of [image: x^k+2]. i.e. I want to write -1 wherever > there is a 2 in the left column. Sure I can do this with print, but the > output won’

[sage-support] Re: Rendering tables in jupyter notebook

2022-11-20 Thread Emmanuel Charpentier
> How can I ask Sage to place each factorization in the right column on a single line. Both the display in a console and the LaTeX display given by `view` are single-lined. I can reproduce your problem in Jupyter ; therefore, I think that the question should be directed to a Jupyter-centered ma