mirror of https://github.com/texmacs/doc.git
71 lines
2.3 KiB
Tcl
71 lines
2.3 KiB
Tcl
<TeXmacs|1.0.0.8>
|
|
|
|
<style|tmdoc>
|
|
|
|
<\body>
|
|
<expand|tmdoc-title|Computational markup>
|
|
|
|
The following commands can be used for performing dynamic computations:
|
|
|
|
<\description>
|
|
<expand|item*|<key|executable \|>>sequential or of two conditions.
|
|
|
|
<expand|item*|<key|executable ^>>exclusive or of two conditions.
|
|
|
|
<expand|item*|<key|executable &>>sequential and of two conditions.
|
|
|
|
<expand|item*|<key|executable !>>negation of a condition.
|
|
|
|
<expand|item*|<key|executable +>>add two numbers or lengths.
|
|
|
|
<expand|item*|<key|executable ->>subtract two numbers or lengths.
|
|
|
|
<expand|item*|<key|executable *>>multiply two numbers.
|
|
|
|
<expand|item*|<key|executable />>divide two numbers.
|
|
|
|
<expand|item*|<key|executable ;>>concatenate two strings.
|
|
|
|
<expand|item*|<key|executable #>>display a number in Arabic, roman,
|
|
Roman, alpha or Alpha (used for instance in enumerations).
|
|
|
|
<expand|item*|<key|executable \<gtr\>>>translate a word from a source
|
|
language into a destination language (see the dictionaries in
|
|
<verbatim|$TEXMACS_PATH/data/dic>).
|
|
|
|
<expand|item*|<key|executable =>>test equality.
|
|
|
|
<expand|item*|<key|executable E-e>>test inequality.
|
|
|
|
<expand|item*|<key|executable ?>>insert an if statement with an optional
|
|
else part.
|
|
</description>
|
|
|
|
<apply|tmdoc-copyright|1998--2002|Joris van der Hoeven>
|
|
|
|
<expand|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|paragraph width|150mm>
|
|
<associate|odd page margin|30mm>
|
|
<associate|shrinking factor|4>
|
|
<associate|page right margin|30mm>
|
|
<associate|page top margin|30mm>
|
|
<associate|reduction page right margin|25mm>
|
|
<associate|page type|a4>
|
|
<associate|reduction page bottom margin|15mm>
|
|
<associate|even page margin|30mm>
|
|
<associate|reduction page left margin|25mm>
|
|
<associate|page bottom margin|30mm>
|
|
<associate|reduction page top margin|15mm>
|
|
<associate|language|english>
|
|
</collection>
|
|
</initial>
|