summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/fonts/fonts/fonts-math.tex
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-09-12 09:56:30 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-09-12 09:56:30 +0200
commitfbf22006525c920e93b9f671c2af3d4df2be902e (patch)
tree34d00873adf1442775edd4aa8cd5edc7da73919f /doc/context/sources/general/fonts/fonts/fonts-math.tex
parentbfc2e20d0dfa0dfaf04b0c2c81aed20638f21c91 (diff)
downloadcontext-fbf22006525c920e93b9f671c2af3d4df2be902e.tar.gz
2016-09-12 08:18:00
Diffstat (limited to 'doc/context/sources/general/fonts/fonts/fonts-math.tex')
-rw-r--r--doc/context/sources/general/fonts/fonts/fonts-math.tex24
1 files changed, 15 insertions, 9 deletions
diff --git a/doc/context/sources/general/fonts/fonts/fonts-math.tex b/doc/context/sources/general/fonts/fonts/fonts-math.tex
index b9cadceeb..2d7d26dfb 100644
--- a/doc/context/sources/general/fonts/fonts/fonts-math.tex
+++ b/doc/context/sources/general/fonts/fonts/fonts-math.tex
@@ -996,9 +996,12 @@ The results are collected here:
\startsection[title=Italics and limits]
An \OPENTYPE\ font treats italic correction differently from traditional fonts.
-For that reason we provide a bit of control over the way the correction is
-applied. There is a parameter \type {\mathnolimitsmode} that controls the
-correction.
+Officially the italic correction is used for placement above and below limits
+where the scripts shift left and right half of the correction from the center of
+the shape. Advanced kerns are then to be used for anchoring the scripts when they
+are placed at the right side (so far no fonts seem to do this). Because we cannot
+foresee if fonts compensate for correction then we can control placement a bit.
+There is a parameter \type {\mathnolimitsmode} that controls the correction.
\definebodyfontenvironment[20pt]
@@ -1013,14 +1016,17 @@ correction.
\stoplinecorrection
A value larger than 15 is interpreted as a factor (in the usual \TEX\ way 1000
-means 1.0). In \CONTEXT\ we set the value to 1 which means that the factors for
-super- and subscript are set via math parameters (or constants in the font). We
-use a default of \type {{0,750}} so we don't shift the superscript and the
-subscript we shift less than the italic correction. This is driven by a feature
-but you can change the values before loading a font, for instance with:
+means 1.0). We have some values left for future use when correction is to be
+combined with kerns.
+
+In \CONTEXT\ we set the value to 1 which means that the factors for super- and
+subscript are set via math parameters (or constants in the font). We use a
+default of \type {{0,800}} so we don't shift the superscript and the subscript we
+shift less than the italic correction. This is driven by a feature but you can
+change the values before loading a font, for instance with:
\starttyping
-\adaptfontfeature[*math*][mathnolimitsmode={100,800}]
+\adaptfontfeature[*math*][mathnolimitsmode={100,700}]
\stoptyping
The defaults come out as: