Ask Your Question
1

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

asked 2012-12-29 05:50:21 +0200

Kabi gravatar image

updated 2012-12-29 10:09:03 +0200

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 15:34:44 +0200

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 16:33:03 +0200 )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-29 05:50:21 +0200

Seen: 386 times

Last updated: Dec 29 '12