Re: [sage-support] Re: pretty print question

2014-04-07 Thread P Purkayastha
On Mon 07 Apr 2014 03:34:40 PM SGT, P Purkayastha wrote: It depends on how Sage presents the latex in the HTML code. Mathjax does not parse all latex code. It only parses those that are in a special or . One way to get Sage to pass on the latex within the specific or is to make the string a "

Re: [sage-support] Re: pretty print question

2014-04-07 Thread P Purkayastha
It depends on how Sage presents the latex in the HTML code. Mathjax does not parse all latex code. It only parses those that are in a special or . One way to get Sage to pass on the latex within the specific or is to make the string a "LatexExpr" string. On Mon 07 Apr 2014 03:07:06 PM SG

[sage-support] Re: pretty print question

2014-04-07 Thread Dominique Laurain
I don't know so much about cell display in SAGE cloud...but I guess... there are step s: 1. cell content in ASCII raw text is processed by Tex 2. tex content is then displayed by Mathjax I am sure about Mathjax because I can mouse right button click on the displayed matrix in my browser (curr

[sage-support] Re: pretty print question

2014-04-02 Thread P Purkayastha
If you want x to be typeset normally, then you can do the following: pretty_print(LatexExpr('x = '), matrix([[1,2], [3,4]])) On Wednesday, April 2, 2014 8:51:56 PM UTC+8, P Purkayastha wrote: > > pretty_print('x = ', matrix([[1,2], [3,4]])) > > > > On Tuesday, April 1, 2014 9:25:30 PM UTC+8, jua

[sage-support] Re: pretty print question

2014-04-02 Thread P Purkayastha
pretty_print('x = ', matrix([[1,2], [3,4]])) On Tuesday, April 1, 2014 9:25:30 PM UTC+8, juaninf wrote: > > Dears members, > > I want make a pretty_print in the follow code but I get false, and I want > get the pretty expression of > > $$x=\left(\begin{array}{rr} > 1 & 2 \\ > 3 & 4 > \end{array

Re: [sage-support] Re: pretty print question

2014-04-01 Thread Juan Grados
thanks but I get $$x= \left(\begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array}\right) $$\newcommand{\Bold}[1]{\mathbf{#1}}\hbox{x=\left(\begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array}\right)} the latex code and not pretty print 2014-04-01 17:59 GMT-03:00 Dominique Laurain : > x = var('x') > > A=ma

[sage-support] Re: pretty print question

2014-04-01 Thread Dominique Laurain
x = var('x') A=matrix([[1,2],[3,4]]) print "$$x==",latex(A),"$$" pretty_print('x=='+latex(A)) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubs

[sage-support] Re: pretty print question

2014-04-01 Thread Dominique Laurain
x = var('x') A=matrix([[1,2],[3,4]]) print "$$x=",latex(A),"$$" pretty_print('x='+latex(A)) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr