Hi TB, On 2018-03-28, TB <mathze...@gmail.com> wrote: > A bit of future bike-shedding: I would not mind if QQ(3) be printed on > the command line as 3/1 or stay 3, but the LaTeX version is probably a > harder decision. For example, > > sage: latex([bernoulli(i) for i in range(10)]) > \left[1, -\frac{1}{2}, \frac{1}{6}, 0, -\frac{1}{30}, 0, \frac{1}{42}, > 0, -\frac{1}{30}, 0\right] > > seems IMO nicer than having many "0/1"'s.
That's a different story. latex(...) is (as far as I know) used to copy-and-past stuff into manuscripts, and to nicely display stuff in the notebooks. Hence, the problem that pasting back printed output of basic types may create something that isn't a copy will not occur with latex. Cheers, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.