Fractions and roots\abovewithdelims

\abovewithdelimsCommand

Plain-TeX infix generalized fraction with explicit rule thickness and explicit left/right delimiters.

a \abovewithdelims ( ) 1em b
Available in
base
Kind
infix
Allowed mode
math
Frequency
Not measured
Commonality
low
Tags
discouraged
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: NoneXeTeX: Full
About the test scope

Syntax#

\abovewithdelimsm:D(delimiterm:D(delimiterm:L{1em}dimension

Argspec m:D m:D m:L — three mandatory arguments. Reading argspecs

Examples#

a \abovewithdelims ( ) {1em} b

In TeXForm#

TeXForm parses this entry as infix syntax; the package determines its argument specification.

Rewrite abovewithdelims to an explicit genfrac with delimiters and thickness.

#1 \abovewithdelims #2 #3 #4 #5 \genfrac{#2}{#3}{#4}{}{#1}{#5}

Equivalent forms#

  • \genfrac{$2}{$3}{$4}{}{$1}{$5}exact

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
a \abovewithdelims ( ( 1pt bPositive · baselinePassFailPass
a \abovewithdelims a ( {1pt} bNegative · neg:D[0]FailFailFail
a \abovewithdelims ( a {1pt} bNegative · neg:D[1]FailFailFail
a \abovewithdelims ( ( {a} bNegative · neg:L[2]FailFailFail
All 21 in Fractions and roots