GNU TeXmacsUser manualReferenceAboutEnglish·Français·Deutsch·Español·Português
Macros and environment variables

The main key-combinations that you should know to write style files are the following (see

progs/source/source-kbd.scm

for the complete list):

⌘⌃I=

creates a new assignment. The first argument is a new command name and the second argument an expression.

⌘⌃IW

permits to locally change one or more environment variables. With statements are of the form \(\langle x_1 |a_1 | \cdots |x_n |a_n |b \rangle\), where the \(x_i\) are the names of the variables, the \(a_i\) their local values, and \(b\) the text on which the local environment applies.

⌘⌃IM

creates a macro. Arguments to the macro can be inserted using ⌃→ and ⌃←.

⌘⌃IX

creates a macro with a variable number of arguments (xmacro).

⌘⌃IA, ⌘⌃I#

get the value of a macro argument.

⌘⌃IV

get the value of an environment variable.

⌘⌃IC

applies a macro to zero or more arguments (compound).

⌘⌃ID

specifies logical properties of tags (drd-props).

⌘⌃IQ, ⌘⌃I‘, ⌘⌃I,, ⌘⌃I', ⌘⌃I!

the evaluation control primitives quasi, quasiquote, unquote, quote and eval.

More precisely, when evaluating a macro application \(\langle a|x_1 | \cdots |x_n \rangle\) created by ⌘⌃IC, the following action is undertaken:

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