1,730 bytes added
, 10:34, 29 October 2019
== Overbraces and underbraces ==
In math mode, you can put a brace above or under an expression this way:
<context source="yes">
\startformula
a + \overbrace{b + c} + \underbrace{d + e} + \doublebrace{f + g} + h
\stopformula
</context>
The same goes for brackets:
<context source="yes">
\startformula
a + \overbracket{b + c} + \underbracket{d + e} + \doublebracket{f + g} + h
\stopformula
</context>
=== Adjusting stackers ===
You can adjust where the stackers start and end with the <code>lt</code> (left-top), <code>rt</code> (right-top), <code>lb</code> (left-bottom) and <code>rb</code> (right-bottom) parameters.
This feature was introduced in beta 2019-10-28.
<context source="yes">
$a + \overbrace [lt=1em] {b+c+d} + e$\blank
$a + \underbrace [lt=1em] {b+c+d} + e$\blank
$a + \overbrace [rb=1em] {b+c+d} + e$\blank
$a + \underbrace [rb=1em] {b+c+d} + e$\blank
$a + \overbrace [lt=1em,rb=1em] {b+c+d} + e$\blank
$a + \underbrace [lt=1em,rb=1em] {b+c+d} + e$\blank
</context>
==== Interleaved braces ====
Some terms of an expressions can be shared by both braces, tuning the <code>lt</code>, <code>rt</code>, <code>lb</code> and <code>rb</code> parameters:
<context source="yes">
$a + \doublebrace[lt=1.4em,rt=-.3em] {b+c+d} + e$\blank
$a + \doublebrace[rb=1em] {b+c+d} + e$\blank
$a + \doublebrace[lt=1.4em,rt=-.3em,lb=-.3em,rb=1.5em] {b+c+d} + e$\blank
$a + \doublebrace[lt=-1.6em,rb=-1.4em] {b+c+d} + e$\blank
</context>
== See also ==
* Chapter "1. Math stackers" in the "About" manual.
* Section "1.8 Accents" in the "Still" manual.
* Section "10.6 Fancy fences" in the "Math-mkiv" manual.
[[Category:Math]]