Equation Editor Quick Reference Guide

This document is a quick reference guide for the keystroke based equation editor integrated into Cassiopeia. Please note the following basic rules before going through the tutorial:
  • Pressing Command-y creates a new equation at the insertion point and gets you into equation mode. You can click into existing equations or use the cursor keys to walk into an equation from left or right.
  • Use the four cursor keys to efficiently navigate within formulas. Cursor left moves cursor to the left. Cursor right moves the cursor to the right. Use cursor down to dive into a selected part e.g. a fraction part. Use cursor up to come up again if you are deep in the innards of a complex part with lots of subcells, e.g. a matrix.
  • Press Return to leave an equation and get back to normal text mode
  • Never press space or tab while in equation mode. Cassiopeia spaces identifiers and operators automatically.
  • The equation editor in its current form is optimized for single character identifiers. This means if you press the two keys a and b in succession Cassiopeia creates two identifiers and assumes you mean to multiply them. This design decision was made since 99.9% of the identifiers in the literature are single character identifiers and because expressions can be entered more efficiently following this route (no need to give a terminating character behind every entered identifier).
  • You can use suffixes to denotate and distinguish identifiers if a single character seems insufficient, e.g.
and also make use of calligraphic identifiers (Ctrl-k A ... Ctrl-k Z) for this purpose.

  • A multichar identifier part was introduced with version 1.4.0. Ctrl-u <multiple characters> <Return> inserts such an atomic multichar identifier part, e.g. Rate. Not making use of this part but instead just typing the four characters results in four one-char identifiers being multiplied.
  • As of v1.3.5 a palette with almost all available symbols and parts can be raised with Command-Shift-P. A part or symbol can be inserted into an equation by double-clicking on an entry of the palette or by invoking the key sequence shown in the second column. To get a greek letter (when in equation mode) you would have to press Ctrl-g, release all keys and then press a (for alpha), b (for beta),...

If you miss a part or symbol on the palette or in the list below please send us a mail to support@advanced-science.com. This helps us to improve Cassiopeia.

Quick Strokes

A quick stroke consists of the Ctrl-key and another key pressed together.

Suffix

To get a suffix press Ctrl-l (for low) followed by the suffix characters. Cassiopeia supports two modes for entering suffixes that can be chosen by editing the environment variable AllowVersatileSubPartIndexes on the Environment page of the Cassiopeia preferences panel.


If this variable is set to YES complex suffixes are possible like in the following example:
Type a, Ctrl-l, n, +, 1, <cursor right> to enter an identifier with a complex suffix. This mode requires an extra <cursour right> stroke to get out of the submode. If the variable AllowVersatileSubPartIndexes is set to NO any non-alphenumeric character will do this automatically. Entering


will then be done with y, =, a, Ctrl-l, 0, +, a, Ctrl-l, 1, + ... This speeds up equation a lot if only simple suffixes are needed.

Power

You get a power part by pressing Ctrl-h (for high).


Fraction

To get a fraction part press Ctrl-f.

Fraction parts can alternatively be created using the / key.


Inline formulas are automatically rendered in a flat form.

Root

To get a root part press Ctrl-r. Get out of the root argument using cursor up and cursor right.

Differentiation

Use Ctrl-d to note a differentiation.


If you doubleclick on such an expression the differentation is executed. If you do not need automatic differentiation (symbolic algebra) you can alternatively note the expression using a fraction part like so.


The partial d can be entered as follows

or as of v1.2.9 even easier with


You can also type


and then enter any character of your choice to complete the partial diff expression, e.g. Ctrl-g a for alpha.

Numbers with units

Number unit pairs (physical properties) are entered with the quick stroke Ctrl-p.

Unit Vectors

Mathematical texts may make heavy use of unit vectors like in the follwing figure.


These unit vectors can be entered as presented below in the vector accent paragraph. For example the first unit vector in the above expression could be entered with: e, Ctrl-a, v, Ctrl-l, x This approach can be extended to enter additional accents like in

Such a derived unit vector is created by typing: e, Ctrl-a, v, Ctrl-a, 1, Ctrl-l, x ... The Ctrl-a, v is for the vector arrow and the additional accent for the first derivative is entered with Ctrl-a, 1. This approach is powerful but too cumbersome for entering lots of units vectors like in Geometric Algebra expressions. Cassiopeia therefore supports a special stroke for entering units vectors even faster. Typing Ctrl-e, x, <Return>, Ctrl-e, y, <Return> will produce the following very efficiently.

Upgrade

The upgrade stroke Ctrl-y is used to upgrade an undetermined intergral (see select strokes below for a list of available integral parts) to a determined one. Assume you have entered an intergal (as shown further below)


and want to add integration limits. Do so by clicking into the equation and then using cursor up to select just the integral


and then press Ctrl-y.


Click into the limit cells and enter limit values.

Select Strokes

A select stroke consists of the Ctrl-key pressed together with another key to select a map of symbols/parts, releasing both keys and then pressing another key to select an item from the selected map.

Frequently used symbols

The following list gives the shortcuts for the most frequently used symbols. These shortcuts can efficiently be looked up on the palette (Command-Shift-P). If you find a symbol or part missing please drop us a note.

Greek Letters

Select the greek letter map with Ctrl-g and then press one of the letters a...c or A...C to get the corresponding letter from the greek alphabet.

Vector Accent

A vector accent can be entered using the key stroke Ctrl-a v. For creating a vector part see the the parameter stroke section further below.

Operators

The following operators are currently supported in addtion to the trivial plus, minus and latent multiplication of scalars.

Integrals

The following parts are available via the Ctrl-i select stroke:


Note, these parts can be upgraded to their determined counter parts using the quick stroke Ctrl-y (see quick stroke section).

Parantheses

Parantheses can be entered with the brackets select stroke Ctrl-t.

Binominal Coefficients

Factorials are entered naturally.


Binomial coefficients can be entered with the keystroke Ctrl-i b.

Parameter strokes

Some structures require parameters. If you want to create a vector you need to specify the dimension of the vector. If you want to create a matrix you need to specify the number of rows and columns. This can be accomplished using parameter strokes.


Note that you get a green flag over the equation operator to indicate incompatibility between the left and the right side for the last two equations until you open the context drawer with Command-Shift-C and explicitly set suitable identifier classes for A and B.


You can efficiently set an identifier class for a complete range of identifiers as shown below.

Functions

No special strokes are required for entering functions. When you type letters in succession Cassiopeia usually assumes the multiplication of identifiers.

However, if the entered sequence of letters corresponds to the name of a known function, the sequence is automatically transformed into one.

Terms and Conditions          © Smartsoft GmbH 2019