|
Typesetting mathematics |
|
The index level increases inside certain mathematical
constructs such as indices and fractions. When the index level
is high, formulas are rendered in a smaller font. Nevertheless,
index levels higher than 2 are all rendered in
the same way as index level 2; this ensures that
formulas like
ⅇ
ⅇⅇⅇx
=
remain readable. The index level may be manually changed in
Format→Index
level, so as to produce formulas like
xyz
x<rsup|<with|math-level|0|y<rsup|<with|math-level|0|z>>>>
|
math-display≔false
(display style)
This environement variable controls whether we are in
display style or not. Formulas which occur on separate
lines like
=
+ ⋯ +
are usually typeset in display style, contrary to inline
formulas like
=
+ ⋯ +
. As you notice, formulas in display style are rendered using a
wider spacing. The display style is disabled in several
mathematical constructs such as scripts, fractions, binomial
coefficients, and so on. As a result, the double numerators in
the formula
H
(α
1
,…,α
n
) =
are typeset in a smaller font. You may override the default
settings using Format→Display
style.
math-condensed≔false
(condensed display style)
By default, formulas like a + ⋯ + z
are typeset using a nice, wide spacing around the + symbol. In
formulas with scripts like ⅇa + ⋯ +
z + ⅇα + ⋯ +
ζ the readability is further enhanced by using a more
condensed spacing inside the scripts: this helps the reader to
distinguish symbols occurring in the scripts from symbols
occurring at the ground level when the scripts are long. The
default behaviour can be overridden using Format→Condensed.
math-vpos≔0
(position in fractions)
For a high quality typesetting of fraction, it is good to avoid
subscripts in numerators to descend to low and superscripts in
denominators to ascend to high. TeXmacs therefore provides an
additional environment variable math-vpos
which takes the value 1 inside numerators, −1 inside
denominators and 0 otherwise. In order to see the effect the
different settings, consider the following formula:
a + a + a
<with|math-vpos|-1|<group|a>>+<with|math-vpos|0|<group|a>>+<with|math-vpos|1|<group|a>>
|
In this example, the grouping is necessary in order to let the
different vertical positions take effect on each
a. Indeed, the vertical position is uniform for
each horizontal concatenation.
© 2004 Joris van der Hoeven
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".