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, 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}\right)$$
>>
>> var('x')
>> >A=matrix([[1,2],[3,4]])
>> >pretty_print(x==A)
>>
>> How I will be able to fix that?
>>
>>
>> -- 
>> ---------------------------------------------------------------------
>> MSc. Juan del Carmen Grados Vásquez
>> Laboratório Nacional de Computação Científica 
>> Tel: +55 24 2233-6260
>> (http://www.lncc.br/)
>> http://juaninf.blogspot.com
>> ---------------------------------------------------------------------
>>  
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to