1
0
Fork 0
doc/main/interface/man-session-input.en.tm

90 lines
3.7 KiB
Tcl

<TeXmacs|1.99.8>
<style|<tuple|tmdoc|english|old-spacing>>
<\body>
<tmdoc-title|Selecting the input method>
By default, <TeXmacs> will attempt to evaluate the input field when
pressing <key|return>. Multiline input can be created using <key|S-return>.
Alternatively, when selecting the multiline input mode using
<menu|Session|Input mode|Multiline input>, the <key|return> key will behave
as usual and <key|S-return> 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 <key|return>
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
<menu|Session|Input mode|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
<subsubmenu|Session|Input|Mathematical input> mode: for instance the key
<key|$> is usually redefined inside math mode, so if you want to input it
you'll have to type <key|S-F5><key|$>. You can read more about the prefix
key <key|S-F5> in \P<hlink|Keyboard shortcuts for text
mode|../text/keyboard/man-text-kbd.en.tm>\Q.
<\example>
Below, you will find the <hlink|previous example
session|man-session-edit.en.tm#session-example>, but now using
mathematical input:
<\session|maxima|default>
<\output>
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.
</output>
<\unfolded-io-math>
<with|color|red|(<with|math-font-family|rm|%i>1) >
<|unfolded-io-math>
diff<around*|(|x<rsup|x<rsup|x>>,x|)>
<|unfolded-io-math>
<math|<with|math-display|true|<text|<with|font-family|tt|color|red|(<with|math-font-family|rm|%o1>)
>>x<rsup|x<rsup|x>>*<around*|(|x<rsup|x>*log
<around*|(|x|)>*<around*|(|log <around*|(|x|)>+1|)>+x<rsup|x-1>|)>>>
</unfolded-io-math>
<\unfolded-io-math>
<with|color|red|(<with|math-font-family|rm|%i>2) >
<|unfolded-io-math>
<big|int>%o1*\<mathd\> x
<|unfolded-io-math>
<math|<with|math-display|true|<text|<with|font-family|tt|color|red|(<with|math-font-family|rm|%o2>)
>>\<mathe\><rsup|\<mathe\><rsup|x*log <around*|(|x|)>>*log
<around*|(|x|)>>>>
</unfolded-io-math>
<\unfolded-io-math>
<with|color|red|(<with|math-font-family|rm|%i>3) >
<|unfolded-io-math>
<big|int><frac|x<rsup|5>|x<rsup|2>-x+17>*\<mathd\> x
<|unfolded-io-math>
<math|<with|math-display|true|<text|<with|font-family|tt|color|red|(<with|math-font-family|rm|%o3>)
>><frac|239*log <around*|(|x<rsup|2>-x+17|)>|2>+<frac|1361*arctan
<around*|(|<frac|2*x-1|<sqrt|67>>|)>|<sqrt|67>>+<frac|3*x<rsup|4>+4*x<rsup|3>-96*x<rsup|2>-396*x|12>>>
</unfolded-io-math>
</session>
</example>
<tmdoc-copyright|1998--2002|Joris van der Hoeven>
<tmdoc-license|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".>
</body>
<initial|<\collection>
</collection>>