![]() |
Selecting the input method | ![]() |
By default, TeXmacs will attempt to evaluate the input field when pressing ↩. Multiline input can be created using ⇧↩. Alternatively, when selecting the multiline input mode using Session\(\rightarrow\)Input mode\(\rightarrow\)Multiline input, the ↩ key will behave as usual and ⇧↩ may be used in order to evaluate the input field. Notice finally that certain systems admit built-in heuristics for testing whether the input has been completed; if not, then the ↩ may behave as usual.
Certain applications allow you to type the mathematical input in a graphical, two dimensional form. This feature can be used by selecting Session\(\rightarrow\)Input mode\(\rightarrow\)Mathematical input. If this feature is available, then it is usually also possible to copy and paste output back into the input. However, it depends on the particular application how well this works. Keep in mind that some key combinations may be used by the Mathematical input mode: for instance the key $ is usually redefined inside math mode, so if you want to input it you'll have to type ⇧F5$. You can read more about the prefix key ⇧F5 in “Keyboard shortcuts for text mode”.
Example 1. Below, you will find the previous example session, but now using mathematical input:
(%i1)
\(\displaystyle \operatorname{diff} (x^{x^x}, x)\)
(%i2)
\(\displaystyle \int \%o 1 \mathrm{d} x\)
(%i3)
\(\displaystyle \int \frac{x^5}{x^2 - x + 17} \mathrm{d} x\)