ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 04 Nov 2016 18:53:54 +0100Does Sage have a plain math expression editor, without any calculation performed?https://ask.sagemath.org/question/35331/does-sage-have-a-plain-math-expression-editor-without-any-calculation-performed/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?
Tue, 01 Nov 2016 21:56:19 +0100https://ask.sagemath.org/question/35331/does-sage-have-a-plain-math-expression-editor-without-any-calculation-performed/Answer by slelievre for <p>Is there a way to edit an expression in a pretty, classical, math style without declaring variables and without evaluating?</p>
<p>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. </p>
<p>Can we do this in Sage?</p>
https://ask.sagemath.org/question/35331/does-sage-have-a-plain-math-expression-editor-without-any-calculation-performed/?answer=35433#post-id-35433In 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.Fri, 04 Nov 2016 18:53:54 +0100https://ask.sagemath.org/question/35331/does-sage-have-a-plain-math-expression-editor-without-any-calculation-performed/?answer=35433#post-id-35433