Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Displaying a text before a solution

A=matrix(m,n,(0,1,1,0,6,18))
show($A =$,A)

This does not disply with A= in latex style. How can I code what I expect ?

Displaying a text before a solution

A=matrix(m,n,(0,1,1,0,6,18)) show($A =$,A)

=$,A)

This does not disply display with A= in latex style. How can I code what I expect ?

Displaying a text before a solution

A=matrix(m,n,(0,1,1,0,6,18)) show($A =$,A)

This does not display with A= in latex style. How can I code what I expect ?

Displaying a text before a solutionsolution and a strange behaviour

1)

A=matrix(m,n,(0,1,1,0,6,18))
 show($A =$,A)

=$,A)

This does not display with A= in latex style. How can I code what I expect ?

2) on my computer

%display latex
m=3 #nombre de contraintes
n=2 # nombre de variables
A=matrix(m,n,(0,1,1,0,6,18))
bmin=matrix(m,1,(12,0,0))
bmax=matrix(m,1,(oo,10,70))
c=matrix(1,n,(4.1,8)) 
show(A,bmin,bmax,c)
show(bmax)

10 and 70 are not displayed but sage substitute "$Apositivefinitenumber$"

Displaying a text before a solution and a strange behaviour

1)1) Under Windows10

A=matrix(m,n,(0,1,1,0,6,18))
show($A =$,A)

This does not display with A= in latex style. How can I code what I expect ?

2) on my computer

%display latex
m=3 #nombre de contraintes
n=2 # nombre de variables
A=matrix(m,n,(0,1,1,0,6,18))
bmin=matrix(m,1,(12,0,0))
bmax=matrix(m,1,(oo,10,70))
c=matrix(1,n,(4.1,8)) 
show(A,bmin,bmax,c)
show(bmax)

10 and 70 are not displayed but sage substitute "$Apositivefinitenumber$"