ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 06 Sep 2014 15:41:45 -0500"showing" both input and outputhttp://ask.sagemath.org/question/24039/showing-both-input-and-output/Is there a way to get Sage to show the "pretty" versions of both the input and the output of a calculation, instead of just the output? (sort of like the TI-89 and such)
For example, when I enter as input "integrate(x^2, x, 0, 3)" it correctly returns 9. But can I get it to return something like (the typeset version of) \int_0^3 x^2 dx = 9 ? It's obvious enough in this example what I'm asking for but some queries get complicated and seeing them as they would be printed helps make sure I'm asking Sage for what I mean to ask for.mathochistSat, 06 Sep 2014 15:41:45 -0500http://ask.sagemath.org/question/24039/Undefined control sequence when showing multiplication tablehttp://ask.sagemath.org/question/10774/undefined-control-sequence-when-showing-multiplication-table/Using Sage Version 5.12,
sage: Z5=Integers(5)
sage: show(Z5.multiplication_table())
The output is:
An error occurred.
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) (format=pdflatex 2013.11.25)
(...)
! Undefined control sequence.
<argument> 2\ex
l.40 ...ace{40mm}\[{\setlength{\arraycolsep}{2\ex}
(...)
How to get a table to display correctly with show?eyrtuweyrtMon, 25 Nov 2013 07:13:19 -0600http://ask.sagemath.org/question/10774/