GNU TeXmacsUser manualReferenceAboutEnglish·Deutsch·Português
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:

Maxima 5.25.1 http://maxima.sourceforge.net

using Lisp SBCL 1.0.51

Distributed under the GNU Public License. See the file COPYING.

Dedicated to the memory of William Schelter.

The function bug_report() provides bug reporting information.

(%i1)

\(\displaystyle \operatorname{diff} (x^{x^x}, x)\)

\(\displaystyle \texttt{{\color{red}{(\%o1) }}} x^{x^x} (x^x \log (x) (\log (x) + 1) + x^{x - 1})\)

(%i2)

\(\displaystyle \int \%o 1 \mathrm{d} x\)

\(\displaystyle \texttt{{\color{red}{(\%o2) }}} \mathrm{e}^{\mathrm{e}^{x \log (x)} \log (x)}\)

(%i3)

\(\displaystyle \int \frac{x^5}{x^2 - x + 17} \mathrm{d} x\)

\(\displaystyle \texttt{{\color{red}{(\%o3) }}} \frac{239 \log (x^2 - x + 17)}{2} + \frac{1361 \arctan \left( \frac{2 x - 1}{\sqrt{67}} \right)}{\sqrt{67}} + \frac{3 x^4 + 4 x^3 - 96 x^2 - 396 x}{12}\)

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".