Changes between Initial Version and Version 6 of Ticket #11362
- Timestamp:
- Oct 14, 2020, 9:43:16 PM (2 years ago)
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
toRepair show for Cayley tables as MathJax does not support setlength
-
Property
Milestone
changed from
sage-5.11
tosage-9.3
-
Ticket #11362 – Description
initial v6 1 In the notebook we have:1 Define a finite group and its multiplication table: 2 2 {{{ 3 sage: T = SymmetricGroup(3).multiplication_table() 4 sage: show(T) 5 Unknown control sequence '\setlength' 3 sage: S = SymmetricGroup(3) 4 sage: T = S.multiplication_table() 5 }}} 6 7 The multiplication table can give latex code 8 to be copy-pasted in a paper: 9 {{{ 6 10 sage: latex(T) 7 11 \setlength{\arraycolsep}{2\ex} … … 16 20 \end{array}} 17 21 }}} 22 but is also used for showing the table in a notebook worksheet. 23 24 In Sage 4.8 with SageNB we used to have: 25 {{{ 26 sage: show(T) 27 Unknown control sequence '\setlength' 28 }}} 29 30 In Sage 9.2.rc0 with Jupyter, `show(T)` does 31 display a table but with `\setlength` displayed 32 in red instead of contributing to the rendering.