This site is supported by donations to The OEIS Foundation.
Template:Overbrace
From OeisWiki
The following documentation is located at Template:Overbrace/doc. [<Edit> Template:Overbrace/doc]
[⧼Purge⧽ Template:Overbrace]
[⧼Purge⧽ Template:Overbrace]
The {{overbrace}} mathematical formatting template shows a brace over the first argument with an optional superscripted label in either HTML+CSS or LaTeX.
Usage
- {{overbrace|overbraced expression|label = superscripted label|size = size|format}}
where
-
superscripted label
is optional; -
size
is a positive real number ≥ 1 (default 1) (ignored with the tex option);
and where the optional format
(last argument) is from
-
htm
: HTML+CSS (default), -
tex
: LaTeX.
Examples
The code
{{indent}}{{math|{{overbrace|''a''|label = ''n''}}|&&}}
yields the display style HTML+CSS
|
The code
{{indent}}{{math|{{overbrace|''a''|label = ''n''|tex}}|$$}}
yields the display style LaTeX
The code
{{indent}}{{math|{{overbrace|''a'' {{op|+}} ''a''|label = ''n''|size = 3}}|&&}}
yields the display style HTML+CSS
|
The code
{{indent}}{{math|{{overbrace|''a'' {{op|+}} ''a''|label = ''n''|size = 3|tex}}|$$}}
yields the display style LaTeX
The code
{{indent}}{{math|{{overbrace|''a'' {{op|+}} ''a''{{op|+}} {{...|cdots}} {{op|+}}''a''|label = ''n''|size = 7}}|&&}}
yields the display style HTML+CSS
|
The code
: {{math|{{overbrace|''a'' {{op|+}} ''a'' {{op|+}} {{...|cdots|tex}} {{op|+}} ''a''|label {{=}} ''n''|size = 7|tex}}|$$}}
yields the display style LaTeX
The code
{{indent}}{{math|{{overbrace|''a'', ''b'', ''c'', ''d'', ''e'', ''f'', ''g'', ''h'', ''i'', ''j'', ''k'', ''l'' |label = first 12 letters|size = 13}}|&&}}
yields the display style HTML+CSS
|
The code
{{indent}}{{math|{{overbrace|''a'', ''b'', ''c'', ''d'', ''e'', ''f'', ''g'', ''h'', ''i'', ''j'', ''k'', ''l'' |label = \text{first 12 letters}|size = 13|tex}}|$$}}
yields the display style LaTeX
With both overbrace and underbrace
The code
{{indent}}{{math| {{overbrace|''a'', ''b'', ''c'', ''d'', ''e'', ''f'', ''g'', ''h'', {{underbrace|''i'', ''j'', ''k''|label = 3 letters|size = 3}}, ''l'' |label = first 12 letters|size = 13}} |&&}}
yields the display style HTML+CSS
|
The code
{{indent}}{{math| {{overbrace|''a'', ''b'', ''c'', ''d'', ''e'', ''f'', ''g'', ''h'', {{underbrace|''i'', ''j'', ''k''|label = \text{3 letters}|size = 3|tex}}, ''l'' |label = \text{first 12 letters}|size = 13|tex}} |$$}}
yields the display style LaTeX
See also
- {{underbrace}}
- {{overbrace}}