## Welcome back to SageMathCloud™!

Not working? Email us at help@sagemath.com immediately!

### SageMathCloud™ collaborative computational mathematics

#### SageMath, IPython, LaTeX, and terminals in your browser

SMC is run by SageMath, Inc., and receives grant funding from the National Science Foundation (awards 1161226, 1147802, 1020378 1015114) and Google.
Account
First name
Last name
(change)
Terminal (settings applied to newly opened terminals after saving)
Font size (px)
Font family
Color scheme
Editor (settings applied to newly opened files after saving)
Default compute system
Autosave seconds
Font size (px)
Indent spaces
Font family
Theme (previews)
Bindings

#### Hints

• Multiple cursors: control+click in several places to create multiple cursors (command+click on Mac)
Keyboard
Next file tab
⌃]
control+]
Previous file tab
⌃[
control+[
Smaller text
⌃<
control+<
Bigger text
⌃>
control+>
Go to line
⌃L or ⌘l
control+L or command+L
Fold/unfold selected code
⌃Q
control+Q
Shift selected text right
tab
Shift selected text left
⇧⇥
shift+tab
Split view in any editor
⌃I or ⌘I
control+I or command+I
Autoindent selection
⌃'
control+'
Simple autocomplete (any language)
⌃␣
control+space
Sage worksheet autocomplete
tab
Split cell in Sage worksheet
⌃; or ⌘;
control+; or command+;
Sage Worksheet evaluate key

Other
Sort files by default by

Secret Account Creation Token: users must know this to create an account

### Create an account

video

#### Technical Notes

• Only the hash of your password is stored by the server, which uses 1000 iterations of a sha-512 hash function, with a salt length of 32. This makes it more difficult for a hacker to brute-force your password, even if they have the database of password hashes, since every guess takes much more work to make.

video

#### Technical Notes

• Changing your first or last name at any time is pretty harmless, since it only changes the name other people see when collaborating with you on projects.
• The primary purpose of providing an email address is that you can use it to reset your password when you forget it.

### Get a bunch of examples

To easily copy our collection of examples into a project, just click "+New", paste in this link
https://github.com/sagemath/cloud-examples.git
and click "From Web". In a few seconds you'll find a directory
sage-cloud-templates
in your project, full of examples.

#### Technical Notes

• The collection of examples is a Github repository, which we regularly update. In a terminal in the sage-cloud-templates directory, you can type
git pull
to get the latest changes and examples (you may have to type "git commit -a" first, if you have made changes). You can also see what's new in the Github repository.

### Watch a March 2015 talk about all of the main features of SageMathCloud

William Stein (lead developer of SageMathCloud) gave the following one-hour talk in March 2015 at the UW eScience Institute:

video

### $x^2$ Using $\LaTeX$

$\LaTeX$ is a system for creating professional quality documents, with excellent support for typesetting mathematical formulas like $J_\alpha(x) = \sum\limits_{m=0}^\infty \frac{(-1)^m}{m! \, \Gamma(m + \alpha + 1)}{\left({\frac{x}{2}}\right)}^{2 m + \alpha}$. There are two main ways to use latex in the SageMathCloud:

1. In chats or in worksheet cells that start with %html or %md, enclose mathematical formulas in single or double dollar signs and they will be typeset (using MathJax) when you submit them. In addition to dollar signs, you can use the other standard latex equation wrappers \­[ \] and \­( \). In worksheets, if f is some object, you can type show(f) to see f nicely typeset using the latex generated by latex(f). In a worksheet, type typeset_mode(True) to show the nicely typeset version of objects by default. You may also use MathJax in Markdown cells in Jupyter notebooks.

2. You can edit a full LaTeX document by creating or uploading a file with an extension of .tex, then opening it. The tex file appears on the left, and there is a preview of the compiled version on the right, which is updated whenever you save the file (ctrl+s). By clicking , you can split the tex editor so that you can see two parts of the file at once. You can also use inverse and forward search to easily move back and forth between the tex file and the preview. In addition the preview, there is an error and warning log with buttons to jump to the corresponding issue in the tex file or preview. There's also a button to show or download the final high-quality PDF. In addition, you can see the output of running pdflatex, bibtex, and use SageTex (which should "just work"), make any of those programs re-run, and customize the latex build command. If necessary, you can do extremely sophisticated processing of tex files in a Terminal ( New --> Terminal).

### Use R in SageMath worksheets

video

In a project, click New then the "Sage" button. In the worksheet that appears, type

%default_mode r
then press shift+enter. For the reset of the worksheet, type normal R commands, followed by shift+enter. Plotting should just work as usual in R. See these example worksheets.

### Use Jupyter notebooks

video

In a project, click New then the "Jupyter" button, or just open an ipynb file. The notebook will be opened using Jupyter's html-based client, with support for embedded graphics. To support the collaborative nature of the SageMathCloud, we've enhanced the Jupyter notebook with realtime sync, so if you open the same notebook on multiple computers (or if multiple people open the same notebook), they will stay in sync. Also, if you want to use the Sage preparser, type %load_ext sage into a notebook cell.

#### Technical Notes

• You can also run a normal version of the Jupyter notebook server (no sync, not integrated into cloud) by (1) finding your project's id in project settings, then (2) visiting https://cloud.sagemath.com/[project_id]/port/jupyter (you will possibly have to refresh your browser if this takes too long the first time). Any collaborator on your project can securely use the Jupyter notebook server by visiting this link, but nobody else can.

### Projects

restoring... stored
Showing only files that contain ''.

# Settings and configuration

DANGER (hover with mouse)
Title and description
##### Description
Collaborators

Collaborators can modify anything in this project, except snapshots. They can add other collaborators, but can't remove the owner.
Project
##### Id
loading…

##### SSH into your project by adding a public key to ~/.ssh/authorized_keys, then

Not working? Immediately email us at help@sagemath.com the following URL:
Project usage and quotas
Disk space:
RAM memory:
CPU cores:
CPU share:
Timeout:
project stops after (loading...) hours of non-interactive use (increase by moving to non-free data center)
External network access:

Email help@sagemath.com if you need us to raise a quota or move your project to a members-only machine. There is a $10/month membership fee that you must pay. Include the following URL in your email: Sage worksheet server Restart this Sage Worksheet server. Existing worksheet sessions are unaffected; restart this server if you customize$HOME/bin/sage, so that restarted worksheets will use the new version of Sage.
Hide or delete project
Hide this project, so it does not show up in your default project listing. This only impacts you, not your collaborators, and you can easily unhide it.

Unhide this project, so it shows up in your default project listing.

Delete this project for everyone. You can undo this.
Undelete this project for everyone.
Project configuration

/
()
()
Opened this project. Opened
():

# Settings

### Opening...

Done    Deleted

Custom Order
Due / Done
Changed

none
completed








### Contents




### Options

Enter an email address (or several separated by commas) to invite a student who does not have an account.

Only showing students that contain .
Add new students to this course by entering their email address (or name) in the box above to the right and clicking the button.

Edit the title and description of the course in settings.
Choose folder that contains assignment:
Only showing assignments that contain .
Create a folder using New (upper left) that contains materials for an assignment. Then search for that folder in the box above to the right.

• at
Warning:
Any changes you make to revisions displayed below will be discarded.

# Explore Sage Projects

Billing is not yet implemented.
Plan
Payment methods
Current invoices (if you have a valid payment method above, these will be charged)
Invoice history
Payment history
····
/
No name provided
Title:
Plan:
()
Period:
to
Started:
No description
Click to the left to toggle details
PAID UNPAID
\$