Ask Your Question
2

Does Sage have a plain math expression editor, without any calculation performed?

asked 2016-11-01 15:56:19 -0500

Is there a way to edit an expression in a pretty, classical, math style without declaring variables and without evaluating?

In Mathematica we can write whatever we want using some keystroke shortcuts and it looks just as if it were hand-written. We can keep these notes in a file and re-use them (visualize, modify...) later on. The powerful feature is that we can copy and paste any part of such notes into a notebook and get it evaluated in the most straightforward way.

Can we do this in Sage?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
4

answered 2016-11-04 12:53:54 -0500

In a Jupyter notebook worksheet running the Sage kernel, just like in a Sage notebook worksheet, you can use markdown cells in addition to compute cells.

In markdown cells, you can freely type text, with latex formulas using $...$, italics using *...* and bold using **...**.

The Jupyter notebook worksheets can be saved as .ipynb files.

The Sage notebook worksheets can be saved as .sws files.

Note that on SageMathCloud at https://cloud.sagemath.com/ you can also use SageMathCloud Sage worksheets, and those also have an option to have markdown blocks by using %md at the beginning of a code block.

SageMathCloud Sage worksheets can be saved as .sagews files.

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

Stats

Asked: 2016-11-01 15:56:19 -0500

Seen: 111 times

Last updated: Nov 04 '16