Ask Your Question
1

Problem using \sage{} in latex cells in the notebook

asked 2012-12-28 22:50:21 -0600

Kabi gravatar image

updated 2012-12-29 03:09:03 -0600

kcrisman gravatar image

Hi

I am using SAGE 5.5-1. When using the \sage{} command in the notebook the result is sometimes a bit weird. An example could be the following cell:

%latex
\sage{1/2}

Edit: here is the output

image description

Is there a different way to use results from SAGE in latex or text cells?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
2

answered 2012-12-29 08:34:44 -0600

I would suggest:

%latex
$\sage{1/2}$

which displays the result of:

latex(1/2)

ie \frac{1}{2}

edit flag offensive delete link more

Comments

Ah of course. Thanks!

Kabi gravatar imageKabi ( 2012-12-30 09:33:03 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-12-28 22:50:21 -0600

Seen: 124 times

Last updated: Dec 29 '12