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

88 lines
3.4 KiB
Plaintext
Raw Normal View History

2012-03-07 22:03:34 +08:00
<TeXmacs|1.0.7.14>
2011-08-28 15:59:50 +08:00
<style|tmdoc>
<\body>
2012-03-07 22:03:34 +08:00
<tmdoc-title|Selecting the input method>
2011-08-28 15:59:50 +08:00
By default, <TeXmacs> will attempt to evaluate the input field when
2012-03-07 22:03:34 +08:00
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
2011-08-28 15:59:50 +08:00
field. Notice finally that certain systems admit built-in heuristics for
2012-03-07 22:03:34 +08:00
testing whether the input has been completed; if not, then the <key|return>
may behave as usual.
2011-08-28 15:59:50 +08:00
Certain applications allow you to type the mathematical input in a
graphical, two dimensional form. This feature can be used by selecting
2012-03-07 22:03:34 +08:00
<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.
2011-08-28 15:59:50 +08:00
2012-03-07 22:03:34 +08:00
<\example>
Below, you will find the <hlink|previous example
session|man-session-edit.en.tm#session-example>, but now using
mathematical input:
2011-08-28 15:59:50 +08:00
2012-03-07 22:03:34 +08:00
<\session|maxima|default>
<\output>
Maxima 5.25.1 http://maxima.sourceforge.net
2011-08-28 15:59:50 +08:00
2012-03-07 22:03:34 +08:00
using Lisp SBCL 1.0.51
Distributed under the GNU Public License. See the file COPYING.
2011-08-28 15:59:50 +08:00
2012-03-07 22:03:34 +08:00
Dedicated to the memory of William Schelter.
2011-08-28 15:59:50 +08:00
2012-03-07 22:03:34 +08:00
The function bug_report() provides bug reporting information.
</output>
2011-08-28 15:59:50 +08:00
2012-03-07 22:03:34 +08:00
<\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>
2011-08-28 15:59:50 +08:00
2012-03-07 22:03:34 +08:00
<\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>
<associate|language|english>
2011-08-28 15:59:50 +08:00
</collection>
2012-03-07 22:03:34 +08:00
</initial>