Ask Your Question

Can I use amsmath in notebook?

asked 2012-09-02 14:25:37 +0200

Jennifer Dylan gravatar image

I'd like to use Sage Notebook for typing my LaTeX papers. I'd like to be able to use environments such as theorem proof etc. Is this possible via Sage Notebook? Can I use a custom preamble such as: \usepackage{amsmath, amsthm, amssymb}?

edit retag flag offensive close merge delete


I think with the upcoming (momentarily) upgrade to using MathJax in the notebook this will be possible from the server side. I don't know if the client (you) can do that with a simple switch if that isn't turned on already.

kcrisman gravatar imagekcrisman ( 2012-09-04 15:26:24 +0200 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2012-09-06 13:35:55 +0200

MaelstromYamato gravatar image

Try the following in a notebook:

from sage.misc.latex import latex_extra_preamble
edit flag offensive delete link more

answered 2012-09-02 16:17:08 +0200

calc314 gravatar image

I've not tried adjusting the preamble, but you can find directions here in the section on customizing latex generation.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2012-09-02 14:25:37 +0200

Seen: 1,465 times

Last updated: Sep 06 '12