Skip to content
Hal Snyder edited this page Jul 8, 2016 · 39 revisions

SageMathCloud Sage Worksheet Help

This is help for using SageMathCloud worksheets, which you can create by clicking +New --> Sage worksheet in any project or making a file whose name ends in .sagews.

How do I remove the toolbar?

In account settings, uncheck "Extra button bar"

How do I remove menu bar?

Click the full-screen toggle arrows in the upper right.

How do I delete all output?

Control+A (or command+A) on mac, then click the little circular x in the bar at the top. Or click "out" to toggle display of output (or "in" to toggle display). These actions work for any selected range of text, not just all.

How do I execute all the code cells?

Control+A (or Command+A on Mac), then click run or hit "control+enter". Actions work for any selected range of text, not just "select all".

How do I split cells?

Control+; (or Command+; on Mac)

How do I split the editor into two?

Control+I (or Command+I on Mac)

How do I hide a cell's input?

Double click on text in cell or use that keyboard shortcut or non-Macs Control+\

How do I go to a line

Control+L (or Command+L on Mac)

How do I make a markdown cell

Add %md to the top of your cell. SMC uses Github flavored Markdown, see https://guides.github.com/features/mastering-markdown/ You can add math expression, for example create a cell with:

%md
$e^{i \pi} = -1$

How do I make an HTML cell

Add %html to the top of your cell. Javascript should work.

How do I put the entire worksheet into typeset mode

Add %typeset_mode True to the top of your cell

How do I auto run a cell when I open a worksheet

Add %auto to the top of the cell

How do I revert changes

Click on Timetravel. Go to the revision you want and click live version to this.

How do I edit a Sage worksheet in raw mode

Go to a terminal and type ln -s <name>.sagews <name>.txt; open <name>.txt It may seriously confuse the sync system – in any case, last save will update the other one.

How do I use a Jupyter kernel from a Sage worksheet?

See Sage Jupyter

Clone this wiki locally