Changes between Initial Version and Version 6 of Ticket #11362


Ignore:
Timestamp:
Oct 14, 2020, 9:43:16 PM (2 years ago)
Author:
slelievre
Comment:

Still a problem in Jupyter Notebook with Sage 9.2.rc0.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11362

    • Property Keywords latex jupyter mathjax added
    • Property Cc slelievre added
    • Property Summary changed from showing a Cayley table fails in the notebook due to bad latex code to Repair show for Cayley tables as MathJax does not support setlength
    • Property Milestone changed from sage-5.11 to sage-9.3
  • Ticket #11362 – Description

    initial v6  
    1 In the notebook we have:
     1Define a finite group and its multiplication table:
    22{{{
    3 sage: T = SymmetricGroup(3).multiplication_table()
    4 sage: show(T)
    5 Unknown control sequence '\setlength'
     3sage: S = SymmetricGroup(3)
     4sage: T = S.multiplication_table()
     5}}}
     6
     7The multiplication table can give latex code
     8to be copy-pasted in a paper:
     9{{{
    610sage: latex(T)
    711\setlength{\arraycolsep}{2\ex}
     
    1620\end{array}}
    1721}}}
     22but is also used for showing the table in a notebook worksheet.
     23
     24In Sage 4.8 with SageNB we used to have:
     25{{{
     26sage: show(T)
     27Unknown control sequence '\setlength'
     28}}}
     29
     30In Sage 9.2.rc0 with  Jupyter, `show(T)` does
     31display a table but with `\setlength` displayed
     32in red instead of contributing to the rendering.