Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

screenshots

README.md

Character entry and highlighting

demo session - part 1

Demo Notes

I hit the Tab key after Inte to get the completions

Integer          IntegerExponent  IntegerQ         IntegerString    Integrate
IntegerDigits    IntegerLength    IntegerReverse   Integers

Ater adding gr though there was just one completion: Integrate.

To get the theta (θ), I entered: escape .Theta escape.

The orange color is in output is the color the Pygments default dark style paraiso-dark uses for numbers.

The output for the integration is Symbolic. So I requested the numeric approximation.

The uparrow key (or with the default Emacs bindings Ctrl-P was used twice to get to the previous command Integrate[Sin[θ], {\[Theta], 0, 1}]

To edit line this I used again the Emacs default bindings: Ctrl-E o get to the end of the line, Ctrl-B to move backwards, and Ctrl-D to delete a character.

Multi-line entry

demo session - part 2

Demo Notes for part 2

Note the indentation on In[1] after the first line because we don't have a complete line.

After completing the Grid statement I entered up-arrow again to show that in the history, this multi-line statement is recorded as just one history entry with several lines.

Then I did a reverse search Ctrl-R to retrieve the Integrate input again. Notice that in the history is saved across sessions.

How the GIFs were created

The "cast" screenshot was made with asciienema and then running through asciicast2gif.

For example:

$ asciinema play mathicsscript1.cast

You can edit the .cast files. The specific commands used after this were:

$ agg mathicsscript1.{cast,gif}
$ agg mathicsscript2.{cast,gif}