Ask Your Question

Can I use amsmath in notebook?

asked 2012-09-02 07:25:37 -0500

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 08:26:24 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2012-09-06 06:35:55 -0500

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 09:17:08 -0500

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 07:25:37 -0500

Seen: 413 times

Last updated: Sep 06 '12