GNU TeXmacsUser manualReferenceAboutEnglish·Français·Deutsch·Español·Português
Computational markup

The following commands can be used for performing dynamic computations (see

progs/source/source-kbd.scm

for the complete list; the same primitives are also available from the menus Source\(\rightarrow\)Arithmetic, Source\(\rightarrow\)Text, Source\(\rightarrow\)Tuple and Source\(\rightarrow\)Condition):

⌘⌃E|

sequential or of two conditions.

⌘⌃E^

exclusive or of two conditions.

⌘⌃E&

sequential and of two conditions.

⌘⌃E!

negation of a condition.

⌘⌃E+

add two numbers or lengths.

⌘⌃E-

subtract two numbers or lengths.

⌘⌃E*

multiply two numbers.

⌘⌃E/

divide two numbers.

⌘⌃ED, ⌘⌃EM

integer division and remainder.

⌘⌃E;

concatenate two strings (or tuples).

⌘⌃EL

length of a string or a tuple.

⌘⌃E,

extract a range from a string or a tuple.

⌘⌃E#

display a number in Arabic, roman, Roman, alpha or Alpha (used for instance in enumerations).

⌘⌃E@, ⌘⌃E⌃@

current date, possibly formatted.

⌘⌃ET

translate a word from a source language into a destination language (see the dictionaries in $TEXMACS_PATH/langs/natural/dic).

⌘⌃EQ

test whether an expression is a tuple.

⌘⌃E[

look up an element of a tuple.

⌘⌃E=

test equality.

⌘⌃E⌃=

test inequality.

⌘⌃E<, ⌘⌃E>, ⌘⌃E⌃<, ⌘⌃E⌃>

comparisons (less, greater, less or equal, greater or equal).

⌘⌃EF

find a file.

⌘⌃I?

insert an if statement with an optional else part.

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".