First time here? Check out the FAQ!

Ask Your Question
1

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

asked 12 years ago

Kabi gravatar image

updated 12 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 12 years ago

I would suggest:

%latex
$\sage{1/2}$

which displays the result of:

latex(1/2)

ie \frac{1}{2}

Preview: (hide)
link

Comments

Ah of course. Thanks!

Kabi gravatar imageKabi ( 12 years ago )

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: 12 years ago

Seen: 452 times

Last updated: Dec 29 '12