summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/math/math-input.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-12-19 19:26:36 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2018-12-19 19:26:36 +0100
commit5d695b87d2f514578ee4872da7957007d0d36f79 (patch)
tree59d13c3016393a959c0eb408eba540ecd08eda55 /doc/context/sources/general/manuals/math/math-input.tex
parent65d8c090a0a9fe003f171eabdf0493b534270636 (diff)
downloadcontext-5d695b87d2f514578ee4872da7957007d0d36f79.tar.gz
2018-12-19 18:57:00
Diffstat (limited to 'doc/context/sources/general/manuals/math/math-input.tex')
-rw-r--r--doc/context/sources/general/manuals/math/math-input.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/math/math-input.tex b/doc/context/sources/general/manuals/math/math-input.tex
index d395e1865..9b14057d0 100644
--- a/doc/context/sources/general/manuals/math/math-input.tex
+++ b/doc/context/sources/general/manuals/math/math-input.tex
@@ -95,6 +95,36 @@ which gives:
\stopsection
+\startsection [title=Scripts]
+
+With \UNICODE\ providing math symbols and a limited set of super- and subscripts,
+it made sense to add yet another feature. The scripts were already supported for
+a long time, but at some point on the mailing list sequential scripts were
+mentioned. So here is an example of both (some fonts, like the one used for
+verbatim, don't have all symbols but you get the idea anyway):
+
+\startbuffer
+\startformula
+ ๐‘ทโ‚‚โ‚€(0), โˆ€ยฒ๐‘ฅโฐโบยฒโ‚‚โ‚€: ๐‘ทโ‚‚โ‚€(๐‘ฅโฐโบยฒโ‚‚โ‚€) โ‡’ ๐‘ทโ‚‚โ‚€(s(๐‘ฅโฐโบยฒโ‚‚โ‚€)) โŠข โˆ€ยน๐‘ฆโฐโบยนโ‚‚โ‚€ ๐‘ทโ‚‚โ‚€(๐‘ฆโฐโบยนโ‚‚โ‚€)
+\stopformula
+
+\startformula
+ \unstackscripts
+ ๐‘ทโ‚‚โ‚€(0), โˆ€ยฒ๐‘ฅโฐโบยฒโ‚‚โ‚€: ๐‘ทโ‚‚โ‚€(๐‘ฅโฐโบยฒโ‚‚โ‚€) โ‡’ ๐‘ทโ‚‚โ‚€(s(๐‘ฅโฐโบยฒโ‚‚โ‚€)) โŠข โˆ€ยน๐‘ฆโฐโบยนโ‚‚โ‚€ ๐‘ทโ‚‚โ‚€(๐‘ฆโฐโบยนโ‚‚โ‚€)
+\stopformula
+\stopbuffer
+
+\typebuffer
+
+which renders the clueless formulas:
+
+\getbuffer
+
+The \type {\unstackscripts} macro triggers the unstacking of super and
+subscripts.
+
+\stopsection
+
\stopchapter
\stopcomponent