Inserting Characters
Typing letters, numbers and symbols from the keyboard inserts them into the current equation at the current cursor position. In addition, special "keyboard shortcuts" can be used to cut, paste, insert templates and perform other useful functions. Both kinds of keyboard input are described in more detail below.
MathFlow will accept characters from international keyboards.
In MathML equations, all characters are categorized according to type. In the MathFlow editor, the most important types are text, identifiers, numbers and operators. These types correspond to the MathML elements <mtext>, <mi>, <mn> and <mo>. In MathML, these basic character types are called tokens.
As you enter characters from the keyboard, the MathFlow editor analyzes the input and automatically inserts the characters into the appropriate MathML token element. Ordinarily, this results in the appropriate MathML markup, and makes authoring MathML equations much easier. As with any automatic algorithm there are cases where problems can arise. However, by understanding how the MathFlow editor chooses token types for characters, you can easily avoid or correct problem situations.
Common functions
MathFlow will recognize common functions such as sin, cos, and log. MathFlow analyzes the characters you type, and tries to recognize such common functions. If it determines you have typed a function, the individual characters are combined into a single token. If a function is not found, each character is placed into a separate token.

The MathFlow editor uses the following rules to decide what token type to assign to characters. A run of alphabetic characters is placed in an identifier, or <mi>, token. A run consisting of digits, commas, and/or periods is placed in a number, or <mn>, token. By default, everything else is placed in an operator, or <mo>, token. Whenever you enter a character of a type that doesn't match the preceding characters, the Editor starts a new token for it.
When problems arise, they usually result when a run of characters should be broken into several tokens, or when separate tokens merge as a result of editing. In the following sections, we outline the most common issues.
|