Assignments |
All user defined TeXmacs macros and style variables are stored in the
“current typesetting environment”. This environment
associates a tree value to each string variable. Variables whose
values are macros correspond to new primitives. The others are
ordinary environment variables. The primitives for operating on the
environment are available from
You may permanently change the value of an environment variable using
the
<assign|hi|<macro|Hi there!>>
You may also locally change the values of one or several environment
variables using the
<with|font-series|bold|color|red|Bold red text>
The value of an environment variable may be retrieved using the
<assign|my-counter|<plus|my-counter|1>>
Finally, you may associate logical properties to environment variables
using the