Hi

On Mon, 21 Nov 2022 at 10:58, Gaurish Telang <gaurish...@gmail.com> 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,
>> newsgroup, forum or whatever...
>
> I just wanted to add, I noticed that the bad alignment goes away if I
> remove the header_row argument in the call to table
>
> Thus, I get the expected output with the following code (without the
> column names of course): see attachment.
>
> R = IntegerModRing(3)
> x = PolynomialRing(R, 'x').gen()
>
> rows  = []
> for k in range(1,10):
>     f = x^k - 1
>     factor = f.factor()
>     rows.append((f,factor))
>
> table(rows, frame=True)
>
> I wonder how the header_row argument messes up the alignment for Latex in
> the other rows of the table.
>

Note it still doesn't align left if you use table(rows, frame=True,
align='left')

Regards,
Jan

-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
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/CAAg%3Dp_0DOetG1wopuNZ%2B0Q7CpYznm1kxDTMSFYVJbufe0eH%3DTA%40mail.gmail.com.

Reply via email to