diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-05-14 19:58:50 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-05-14 19:58:50 +0200 |
commit | fd0c4577a4b6e85ca2db664906e1a03807ce133f (patch) | |
tree | fa23fcc04248d03ff82e34634b8ef1bb9cf28acb /doc/context/sources/general/manuals/math/math-combining.tex | |
parent | db581096187dc2d3cbdbe4cdc39d247c168b1607 (diff) | |
download | context-fd0c4577a4b6e85ca2db664906e1a03807ce133f.tar.gz |
2017-05-14 19:15:00
Diffstat (limited to 'doc/context/sources/general/manuals/math/math-combining.tex')
-rw-r--r-- | doc/context/sources/general/manuals/math/math-combining.tex | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/math/math-combining.tex b/doc/context/sources/general/manuals/math/math-combining.tex new file mode 100644 index 000000000..5cd2ccb9b --- /dev/null +++ b/doc/context/sources/general/manuals/math/math-combining.tex @@ -0,0 +1,58 @@ +\environment math-layout + +\startcomponent math-combining + +\startchapter[title=Combining formulas] + +Multiple formulas can be combined by wrapping them: + +\startbuffer + +\fakewords{20}{30} + +\startformula + a + b = c +\stopformula + +\fakewords{20}{30} + +\startformulas + \startformula + a + b = c + \stopformula + \startformula + d - e = f + \stopformula +\stopformulas + +\fakewords{20}{30} + +\startformulas + \startformula + \frac{\frac{x}{y}}{b} = c + \stopformula + \startformula + d - e = f + \stopformula +\stopformulas + +\fakewords{20}{30} +\stopbuffer + +\typebuffer + +When we bump the space around formulas to \type {big} we get this: + +\start + \setupformulas[spacebefore=big,spaceafter=big] + \appendtoks\showmakeup[reset]\to\everymath + \showboxes + \getbuffer +\stop + +The formulas get aligned on the baselline which in turn relates to the +math axis of the formula. + +\stopchapter + +\stopcomponent |