ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 24 Oct 2013 12:32:44 -0500typeset large matrixhttps://ask.sagemath.org/question/10653/typeset-large-matrix/I've got a matrix. It is only 5×5 elements, but the entries themselves are pretty large polynomials. I'd like to see them in a typeset fashion, with scrolling instead of line breaks since line breaks break the visual structure. However, the notebook won't display the whole output but truncate it instead. And the `full_output.txt` won't get typeset.
I've [read in the sage-support archive](http://osdir.com/ml/sage-support/2009-10/msg01882.html) that at least 2009 the only way to increase the truncation limit requires rebuilding sage. Not a thing to look forward to. But perhaps things have changed, and there is a way to raise the limit without recompiling these days. Or there is a way to typeset `full_output.txt`. Or there is some fancy external matrix viewer to browse large data in a simple way. Or something to call `latex` from the notebook and open the resulting PDF in the browser. Anything like this?Thu, 24 Oct 2013 05:37:58 -0500https://ask.sagemath.org/question/10653/typeset-large-matrix/Answer by vdelecroix for <p>I've got a matrix. It is only 5×5 elements, but the entries themselves are pretty large polynomials. I'd like to see them in a typeset fashion, with scrolling instead of line breaks since line breaks break the visual structure. However, the notebook won't display the whole output but truncate it instead. And the <code>full_output.txt</code> won't get typeset.</p>
<p>I've <a href="http://osdir.com/ml/sage-support/2009-10/msg01882.html">read in the sage-support archive</a> that at least 2009 the only way to increase the truncation limit requires rebuilding sage. Not a thing to look forward to. But perhaps things have changed, and there is a way to raise the limit without recompiling these days. Or there is a way to typeset <code>full_output.txt</code>. Or there is some fancy external matrix viewer to browse large data in a simple way. Or something to call <code>latex</code> from the notebook and open the resulting PDF in the browser. Anything like this?</p>
https://ask.sagemath.org/question/10653/typeset-large-matrix/?answer=15602#post-id-15602You can try
sage: R = PolynomialRing(QQ,'x')
sage: m = random_matrix(R,10,10)
sage: view(m)Thu, 24 Oct 2013 12:32:44 -0500https://ask.sagemath.org/question/10653/typeset-large-matrix/?answer=15602#post-id-15602