This site is supported by donations to The OEIS Foundation.
Template:Integral/nicer
[⧼Purge⧽ Template:Integral/nicer]
- See also: {{integral}}, which produces not as nice integral symbols but DOES NOT require
font-family: 'Lucida Sans Unicode';
which we cannot rely on being installed on the user’s computer/tablet/smartphone...
The {{integral/nicer}} mathematical formatting template is used to obtain an HTML+CSS or a LaTeX formatted integral expression of one of the following types:
- simple integral,
- double integral,
- triple integral,
- quadruple integral,
- multiple integral,
- contour integral,
- clockwise contour integral,
- counterclockwise contour integral,
- boundary surface integral,
- boundary hypersurface integral.
Note: The {{integral/nicer}} template uses the {{integral/nicer/int}} helper template to implement the int
(simple integral) option, which is also used to implement the iiiint
(quadruple integral), and idotsint
(multiple integral) options (since font-family: 'Lucida Sans Unicode';
does not support neither the quadruple integral symbol, nor the multiple integral symbol).
Usage
- {{integral/nicer|type|from|to|integrand}}
or
- {{integral/nicer|type|from|to|integrand|format}}
or
- {{integral/nicer|type|from|to}} integrand
or
- {{integral/nicer|type|from|to|format}} integrand
where the first argument (type) is from
∫ | ∬ | ∭ | ⨌ | ∮ | ∲ | ∳ | ∯ | ∰ |
∫ | ∬ | ∭ | ⨌ | ∮ | ∲ | ∳ | ∯ | ∰ |
int | iint | iiint | iiiint | oint | varointclockwise | ointctrclockwise | oiint | oiiint |
∫ | ∬ | ∭ | ⨌ | ∮ | ∲ | ∳ | ∯ | ∰ |
∫ | ∬ | ∭ | ⨌ | ∮ | ∲ | ∳ | ∯ | ∰ |
int | iint | iiint | iiiint | oint | varointclockwise | ointctrclockwise | oiint | oiiint |
with description (these match the LaTeX definitions exactly)
- int: simple integral
∫ ∫
, - iint: double integral
∬ ∬
, - iiint: triple integral
∭ ∭
, - iiiint: quadruple integral
∫∫∫∫ ∫∫∫∫
(instead of⨌ ⨌
), - idotsint: multiple integral
∫⋯∫ ∫ ⋯ ∫
, - oint: [closed] path integral
∮ ∮
, - varointclockwise: [closed] clockwise path integral
∲ ∲
, - ointctrclockwise: [closed] counterclockwise path integral
∳ ∳
, - oiint: [closed] boundary surface integral
∯ ∯
, - oiiint: [closed] boundary hypersurface integral
∰ ∰
;
and where
- the second (from) and third (to) arguments are the limits of a definite integral;
and where
- the fourth argument (integrand) is the mathematical expression to integrate (optional);
and where the fifth argument, or fourth argument if integrand is omitted, (format) is from
- htm: HTML+CSS markup (text style) for integral expression (default),
- HTM: HTML+CSS markup (display style) for integral expression,
- tex: LaTeX markup (text style) for integral expression,
- TEX: LaTeX markup (display style) for integral expression.
Examples
- See also {{integral/testcases}} for more examples and/or tests.
Text style inline formulae
The code
: {{Wikipedia|Lorem ipsum|}} dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Gauss{{'}}s Law: {{math| ''{{Gr|epsilon}}''{{sub|0}}{{sp|3}}<!-- -->{{integral/nicer|oiint|{{d|{{Gr|Omega}}|part}}|<!-- -->|{{vec|E|b}}{{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{sp|1}}{{vec|S|b}}}}<!-- -->}}<!-- --> {{=}} <!-- -->{{integral/nicer|iiint|{{Gr|Omega}}|<!-- -->|''{{Gr|rho}}''{{sp|3}}{{d|''V''}}<!-- -->}} |&}}. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. {{math| {{Gr|Gamma}}(''z'') {{=}} <!-- -->{{integral/nicer|int|0|infty |''e''{{^|{{op|-}}{{sp|1}}''t''}}{{sp|2}}''t''{{sp|2}}{{^|''z''{{sp|1}}{{op|-}}1}}{{sp|3}}{{d|''t''}} }} |&}}. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
yields the HTML+CSS: Line spacing is undisturbed.
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Gauss’s Law:
. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.ϵ0
E ⋅ d S =∯ ∂ Ω
ρ d V∭ Ω
. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.Γ(z) =
e − t t z − 1 d t∫ ∞ 0
Examples without integrand as argument (as in LaTeX)
The code
: {{repeat|2|{{repeat|5|yadda{{nbsp}}}}{{nl}}}}before {{math|{{integral/nicer|int|''a''|''b''}} ''x''{{^|2}}{{sp|3}}{{d|''x''}} {{=}} {{tfrac|''b''{{^|3}} {{op|-}} ''a''{{^|3}}|3}}|&}} after{{repeat|2|{{nl}}{{repeat|5|yadda{{nbsp}}}}}}
yields the text style HTML+CSS
- yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
before
after
x 2 d x =∫ b a b 3 − a 3 3
yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
The code
: {{repeat|2|{{repeat|5|yadda{{nbsp}}}}{{nl}}}}before {{math|{{integral/nicer|int|''a''|''b''|tex}} ''x''{{^|2|tex}}{{sp|3|tex}}{{d|''x''|tex}} {{=}} {{tfrac|''b''{{^|3|tex}} {{op|-}} ''a''{{^|3|tex}}|3|tex}}|$}} after{{repeat|2|{{nl}}{{repeat|5|yadda{{nbsp}}}}}}
yields the text style LaTeX
- yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
before after
yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
The code
{{indent}}{{math|{{integral/nicer|int|''a''|''b''|HTM}} ''x''{{^|2}}{{sp|3}}{{d|''x''}} {{=}} {{frac|''b''{{^|3}} {{op|-}} ''a''{{^|3}}|3|HTM}}|&&}}
yields the display style HTML+CSS
|
The code
{{indent}}{{math|{{integral/nicer|int|''a''|''b''|TEX}} ''x''{{^|2|tex}}{{sp|3|tex}}{{d|''x''|tex}} {{=}} {{frac|''b''{{^|3|tex}} {{op|-}} ''a''{{^|3|tex}}|3|TEX}}|$$}}
yields the display style LaTeX
Examples with integrand as argument
The code
: {{repeat|2|{{repeat|5|yadda{{nbsp}}}}{{nl}}}}before {{math|{{integral/nicer|int|''a''|''b''|''x''{{^|2}}{{sp|3}}{{d|''x''}}}} {{=}} {{tfrac|''b''{{^|3}} {{op|-}} ''a''{{^|3}}|3}}|&}} after{{repeat|2|{{nl}}{{repeat|5|yadda{{nbsp}}}}}}
yields the text style HTML+CSS
- yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
before
after
x 2 d x =∫ b a b 3 − a 3 3
yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
The code
: {{repeat|2|{{repeat|5|yadda{{nbsp}}}}{{nl}}}}before {{math|{{integral/nicer|int|''a''|''b''|''x''{{^|2|tex}}{{sp|3|tex}}{{d|''x''|tex}}|tex}} {{=}} {{tfrac|''b''{{^|3|tex}} {{op|-}} ''a''{{^|3|tex}}|3|tex}}|$}} after{{repeat|2|{{nl}}{{repeat|5|yadda{{nbsp}}}}}}
yields the text style LaTeX
- yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
before after
yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
The code
{{indent}}{{math|{{integral/nicer|int|''a''|''b''|''x''{{^|2}}{{sp|3}}{{d|''x''}}|HTM}} {{=}} {{frac|''b''{{^|3}} {{op|-}} ''a''{{^|3}}|3|HTM}}|&&}}
yields the display style HTML+CSS
|
The code
{{indent}}{{math|{{integral/nicer|int|''a''|''b''|''x''{{^|2|tex}}{{sp|3|tex}}{{d|''x''|tex}}|TEX}} {{=}} {{frac|''b''{{^|3|tex}} {{op|-}} ''a''{{^|3|tex}}|3|TEX}}|$$}}
yields the display style LaTeX
Gamma function
The code
: {{repeat|2|{{repeat|5|yadda{{nbsp}}}}{{nl}}}}before {{math|{{Gr|Gamma}}(''z'') {{=}} {{integral/nicer|int|0|infty|''e''{{^|{{op|-}}{{sp|1}}''t''}}{{sp|2}}''t''{{^|{{sp|2}}''z''{{sp|1}}{{op|-}}1}}{{sp|3}}{{d|''t''}}}}|&}} after{{repeat|2|{{nl}}{{repeat|5|yadda{{nbsp}}}}}}
yields the text style HTML+CSS
- yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
before
afterΓ(z) =
e − t t z − 1 d t∫ ∞ 0
yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
The code
: {{repeat|2|{{repeat|5|yadda{{nbsp}}}}{{nl}}}}before {{math|{{Gr|Gamma|tex}}(''z'') {{=}} {{integral/nicer|int|0|infty|''e''{{^|{{op|-}}{{sp|1|tex}}''t''|tex}}{{sp|2|tex}}''t''{{^|{{sp|1|tex}}''z''{{op|-}}1|tex}}{{sp|3|tex}}{{d|''t''|tex}}|tex}}|$}} after{{repeat|2|{{nl}}{{repeat|5|yadda{{nbsp}}}}}}
yields the text style LaTeX
- yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
before after
yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
The code
{{indent}}{{math|{{Gr|Gamma}}(''z'') {{=}} {{integral/nicer|int|0|infty|''e''{{^|{{op|-}}{{sp|1}}''t''}}{{sp|2}}''t''{{^|{{sp|2}}''z''{{sp|1}}{{op|-}}1}}{{sp|3}}{{d|''t''}}|HTM}}|&&}}
yields the display style HTML+CSS
Γ(z) =
|
The code
{{indent}}{{math|{{Gr|Gamma|tex}}(''z'') {{=}} {{integral/nicer|int|0|infty|''e''{{^|{{op|-}}{{sp|1|tex}}''t''|tex}}{{sp|2|tex}}''t''{{^|{{sp|1|tex}}''z''{{op|-}}1|tex}}{{sp|3|tex}}{{d|''t''|tex}}|TEX}}|$$}}
yields the display style LaTeX
Contour integrals and boundary integrals
The code
: {{repeat|2|{{repeat|7|yadda{{nbsp}}}}{{nl}}}}before {{math| {{integral/nicer|varointclockwise|''C''||''F''{{sp|1}}({{vec|x|b}}){{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|x|b}}}}}} {{=}} <!-- -->{{op|-}}{{sp|1}}{{integral/nicer|ointctrclockwise|''C''||''F''{{sp|1}}({{vec|x|b}}){{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|x|b}}}}}} |tex = {{integral/nicer|varointclockwise|C||F({{vec|x|b|tex}}) \sdot {{d|{{vec|x|b|tex}}|tex}}|tex}} {{=}} <!-- -->- {{integral/nicer|ointctrclockwise|C||F({{vec|x|b|tex}}) \sdot {{d|{{vec|x|b|tex}}|tex}}|tex}} |&}} after{{repeat|2|{{nl}}{{repeat|7|yadda{{nbsp}}}}}}
yields the text style HTML+CSS
- yadda yadda yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda yadda yadda
before
after
F (x) ⋅ d x = −∲ C
F (x) ⋅ d x∳ C
yadda yadda yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda yadda yadda
and with the $
option, yields the display style LaTeX
- yadda yadda yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda yadda yadda
before after
yadda yadda yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda yadda yadda
The code
{{indent}}{{math| {{integral/nicer|varointclockwise|''C''||''F''{{sp|1}}({{vec|x|b}}){{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|x|b}}}}|HTM}} {{=}} <!-- -->{{op|-}}{{sp|1}}{{integral/nicer|ointctrclockwise|''C''||''F''{{sp|1}}({{vec|x|b}}){{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|x|b}}}}|HTM}} |tex = {{integral/nicer|varointclockwise|C||F({{vec|x|b|tex}}) \sdot {{d|{{vec|x|b|tex}}|tex}}|TEX}} {{=}} <!-- -->- {{integral/nicer|ointctrclockwise|C||F({{vec|x|b|tex}}) \sdot {{d|{{vec|x|b|tex}}|tex}}|TEX}} |&&}}
yields the display style HTML+CSS
|
and with the $$
option, yields the display style LaTeX
Maxwell's equations
The code
{{indent}}{{math| {{align|begin}} {{integral/nicer|oiint|{{d|''V''|part}}||{{vec|E|b}}{{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|S|b}}}}|HTM}} {{&=}} <!-- -->{{frac|1|''{{Gr|epsilon}}''{{sub|0}}}} {{integral/nicer|iiint|''V''||''{{Gr|rho}}''{{sp|3}}{{d|''V''}}|HTM}} {{\\}} {{integral/nicer|oiint|{{d|''V''|part}}||{{vec|B|b}}{{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|S|b}}}}|HTM}} {{&=}} 0 {{\\}} {{integral/nicer|oint|{{d|''S''|part}}||{{vec|E|b}}{{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|x|b}}}}|HTM}} {{&=}} <!-- -->{{op|−}}{{integral/nicer|iint|''S''||{{partial|{{vec|B|b}}|''t''}}{{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|S|b}}}}|HTM}} {{\\}} {{integral/nicer|oint|{{sym|partial}}''S''||{{vec|B|b}}{{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|x|b}}}}|HTM}} {{&=}} <!-- -->{{integral/nicer|iint|''S''||{{(|''{{Gr|mu}}''{{sub|0}}{{sp|1}}{{vec|J|b}} + {{frac|1|''c''{{^|2}}}} <!-- -->{{partial|{{vec|E|b}}|''t''}}|)|Big}}{{sp|1}}{{op|sdot}}{{sp|1}}{{d|{{vec|S|b}}}}|HTM}} {{align|end}} |&&}}
yields the display style HTML+CSS
Error: String exceeds 10,000 character limit. |
The code
{{indent}}{{math| {{align|begin|tex}} {{integral/nicer|oiint|{{d|V|part|tex}}||{{vec|E|b|tex}} \sdot {{d|{{vec|S|b|tex}}|tex}}|TEX}} {{&=|tex}} <!-- -->\frac{1}{\epsilon_0} {{integral/nicer|iiint|V||\rho \, {{d|V|tex}}|TEX}} {{\\|tex}} {{integral/nicer|oiint|{{d|V|part|tex}}||{{vec|B|b|tex}} \sdot {{d|{{vec|S|b|tex}}|tex}}|TEX}} {{&=|tex}} 0 {{\\|tex}} {{integral/nicer|oint|{{d|S|part|tex}}||{{vec|E|b|tex}} \sdot {{d|{{vec|x|b|tex}}|tex}}|TEX}} {{&=|tex}} <!-- -->- {{iint|S||{{partial|{{vec|B|b|tex}}|t|TEX}} \sdot {{d|{{vec|S|b|tex}}|tex}}|TEX}} {{\\|tex}} {{integral/nicer|oint|{{d|S|part|tex}}||{{vec|B|b|tex}} \sdot {{d|{{vec|x|b|tex}}|tex}}|TEX}} {{&=|tex}} <!-- -->{{integral/nicer|iint|S||{{(|\mu_0 \, {{vec|J|b|tex}} + \frac{1}{c^2} <!-- -->{{partial|{{vec|E|b|tex}}|t|TEX}}|)|Big|tex}} \sdot {{d|{{vec|S|b|tex}}|tex}}|TEX}} {{align|end|tex}} |$$}}
yields the display style LaTeX
\iint
and \iiint
and \iiiint
The code
: {{repeat|2|{{repeat|10|yadda{{nbsp}}}}{{nl}}}}<!-- -->before {{math|''F'' {{=}} {{integral/nicer|iint|2-ball}} {{d|''F''}},{{sp|quad}}''G'' {{=}} {{integral/nicer|iiint|3-ball}} {{d|''G''}},{{sp|quad}}''H'' {{=}} {{integral/nicer|iiiint|4-ball}} {{d|''H''}} |tex = F = {{integral/nicer|iint|2-ball||tex}} {{d|F|tex}},\quad G = {{integral/nicer|iiint|3-ball||tex}} {{d|G|tex}},\quad H = {{integral/nicer|iiiint|4-ball||tex}} {{d|H|tex}}|&}} after<!-- -->{{repeat|2|{{nl}}{{repeat|10|yadda{{nbsp}}}}}}
yields the text style HTML+CSS
- yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda
before
afterF =
d F, G =∬ 2-ball
d G, H =∭ 3-ball ∫ ∫ ∫
d H∫ 4-ball
yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda
The code
: {{repeat|2|{{repeat|10|yadda{{nbsp}}}}{{nl}}}}<!-- -->before {{math|''F'' {{=}} {{integral/nicer|iint|2-ball|}} {{d|''F''}},{{sp|quad}}''G'' {{=}} {{integral/nicer|iiint|3-ball|}} {{d|''G''}},{{sp|quad}}''H'' {{=}} {{integral/nicer|iiiint|4-ball|}} {{d|''H''}} |tex = F = {{integral/nicer|iint|2-ball||tex}} {{d|F|tex}},\quad G = {{integral/nicer|iiint|3-ball||tex}} {{d|G|tex}},\quad H = {{integral/nicer|iiiint|4-ball||tex}} {{d|H|tex}}|$}} after<!-- -->{{repeat|2|{{nl}}{{repeat|10|yadda{{nbsp}}}}}}
yields the text style LaTeX
- yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda
before after
yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda yadda yadda yadda yadda yadda
The code
: {{math|''F'' {{=}} {{integral/nicer|iint|2-ball||HTM}} {{d|''F''}},{{sp|quad}}''G'' {{=}} {{integral/nicer|iiint|3-ball||HTM}} {{d|''G''}},{{sp|quad}}''H'' {{=}} {{integral/nicer|iiiint|4-ball||HTM}} {{d|''H''}} |tex = F = {{integral/nicer|iint|2-ball||TEX}} {{d|F|tex}},\quad G = {{integral/nicer|iiint|3-ball||TEX}} {{d|G|tex}},\quad H = {{integral/nicer|iiiint|4-ball||TEX}} {{d|H|tex}}|&&}}
yields the display style HTML+CSS
-
F =
d F, G =∬ 2-ball
d G, H =∭ 3-ball ∫ ∫ ∫
d H∫ 4-ball
The code
: {{math|''F'' {{=}} {{integral/nicer|iint|2-ball||HTM}} {{d|''F''}},{{sp|quad}}''G'' {{=}} {{integral/nicer|iiint|3-ball||HTM}} {{d|''G''}},{{sp|quad}}''H'' {{=}} {{integral/nicer|iiiint|4-ball||HTM}} {{d|''H''}} |tex = F = {{integral/nicer|iint|2-ball||TEX}} {{d|F|tex}},\quad G = {{integral/nicer|iiint|3-ball||TEX}} {{d|G|tex}},\quad H = {{integral/nicer|iiiint|4-ball||TEX}} {{d|H|tex}}|$$}}
yields the display style LaTeX
\idotsint
The code
: {{repeat|2|{{repeat|5|yadda{{nbsp}}}}{{nl}}}}before {{math|''H'' {{=}} {{integral/nicer|idotsint|''n''-ball}} {{d|''H''}}|&}} after{{repeat|2|{{nl}}{{repeat|5|yadda{{nbsp}}}}}}
yields the text style HTML+CSS
- yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
before
afterH =
⋯∫
d H∫ n-ball
yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
The code
: {{repeat|2|{{repeat|5|yadda{{nbsp}}}}{{nl}}}}before {{math|''H'' {{=}} {{integral/nicer|idotsint|''n''\text{-ball}||tex}} {{d|''H''|tex}}|$}} after{{repeat|2|{{nl}}{{repeat|5|yadda{{nbsp}}}}}}
yields the text style LaTeX
- yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
before after
yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
The code
: {{math|''H'' {{=}} {{integral/nicer|idotsint|''n''-ball||HTM}} {{d|''H''}}|&&}}
yields the display style HTML+CSS
H =
⋯∫
d H∫ n-ball
The code
: {{math|''H'' {{=}} {{integral/nicer|idotsint|''n''\text{-ball}||TEX}} {{d|''H''|tex}}|$$}}
yields the display style LaTeX
Quotient of integrals
The code
: {{math|<!-- -->{{frac | {{integral/nicer|int|0|infty|''x''{{^|2{{sp|1}}''n''}}{{sp|1}}''e''{{^|{{op|-}}''a''{{sp|1}}''x''{{^|2}}}}{{sp|3}}{{d|''x''}}}}<!-- -->| {{integral/nicer|int|0|infty|''x''{{^|2{{sp|1}}(''n''{{sp|1}}{{op|-}}1)}}{{sp|1}}''e''{{^|{{op|-}}''a''{{sp|1}}''x''{{^|2}}}}{{sp|3}}{{d|''x''}}}}<!-- -->|HTM}} {{=}} {{frac|2{{sp|1}}''n'' {{op|-}} 1|2{{sp|1}}''a''|HTM}} |tex = \frac{ \int_{0}^{\infty} x^{2n} e^{-a x^2} dx }{ \int_{0}^{\infty} x^{2(n-1)} e^{-a x^2} dx } = \frac{2n - 1}{2a} |&&}}
yields the display style HTML+CSS
-
=
x 2 n e − a x 2 d x∫ ∞ 0
x 2 (n − 1) e − a x 2 d x∫ ∞ 0 2 n − 1 2 a
and with the $$
option, yields the display style LaTeX
The code
: {{math|<!-- -->{{frac | {{integral/nicer|oiint|{{sym|partial}}{{sp|1}}{{Gr|Omega}}| |{{vec|E|b}}{{op|sdot}}{{d|{{vec|S|b}}}}}}<!-- -->| {{integral/nicer|iiint|{{Gr|Omega}}| |''{{Gr|rho}}''{{sp|3}}{{d|''V''}}}}<!-- -->|HTM}} {{=}} {{frac|1|''{{Gr|epsilon}}''{{sub|0}}|HTM}} |tex = <!-- -->{{frac | {{integral/nicer|oiint|{{sym|partial|tex}}{{Gr|Omega|tex}}| |{{vec|E|b|tex}}{{op|sdot|tex}}{{d|{{vec|S|b|tex}}|tex}}|tex}}<!-- -->| {{integral/nicer|iiint|{{Gr|Omega|tex}}| |''{{Gr|rho|tex}}''{{sp|3|tex}}{{d|''V''|tex}}|tex}}<!-- -->|TEX}} {{=}} {{frac|1|''{{Gr|epsilon|tex}}''{{sub|0|tex}}|TEX}} |&&}}
yields the display style HTML+CSS
-
=
E ⋅ d S∯ ∂ Ω
ρ d V∭ Ω 1 ϵ0
and with the $$
option, yields the display style LaTeX
Tests
The code
: <math>\int_{0}^{1} x^3 dx</math> and {{math|\int_{0}^{1} x^3 dx|$$}}
yields the display style LaTeX (Not the fault of the {{math}} template: MS Edge chops LaTeX PNG's, whether or not we use the {{math}} template!)
- and
The code
: <math>\Gamma(z) = \int_{0}^{\infty} e^{-t} t^{z-1} dt</math> and {{math|\Gamma(z) {{=}} \int_{0}^{\infty} e^{-t} t^{z-1} dt|$$}}
yields the display style LaTeX (Not the fault of the {{math}} template: MS Edge chops LaTeX PNG's, whether or not we use the {{math}} template!)
- and
Tests for new code
The code
: {{repeat|2|{{repeat|5|yadda{{nbsp}}}}{{nl}}}}before {{math|<!-- text style HTML+CSS (default) --><table class{{=}}"@middle@" cellpadding{{=}}"0" cellspacing{{=}}"0" style{{=}}"display: inline-table; vertical-align: middle; font-size: 1.25em; text-align: left; border: 0; border-collapse: collapse; margin: -1.55ex 0 -1.45ex 0.1em; padding: 0;"><!-- Invisible table for the integral symbol and sub-table for text style limits (as subscript and superscript of the integral symbol) --><tr><!-- --><td><span style{{=}}"vertical-align: 0.6ex; margin: 0 -0.1ex 0 -0.3ex; font-family: 'Lucida Sans Unicode';"><!-- -->''{{#switch: <!--{{{1|int}}}-->iint | iint = ∬ | iiint = ∭ | iiiint = ⨌ | oint = ∮ | varointclockwise = ∲ | ointctrclockwise = ∳ | oiint = ∯ | oiiint = ∰ }}''<!-- --></span></td><!-- --><td><table cellpadding{{=}}"0" cellspacing{{=}}"0" style{{=}}"display: inline-table; border: 0; border-collapse: collapse; margin: -2.5ex 0 -1.0ex 0; padding: 0; padding: 0;"><!-- sub-table for limits of the integral --><tr><td style{{=}}"text-align: left;"><span style{{=}}"vertical-align: 0.8ex; margin-left: 0.25em; padding: 0; font-size: 0.6em; line-height: 0.4em; visibility: {{#if: <!--{{{3|}}}--> |visible|hidden}};"><!-- upper limit as superscript -->{{#replace: {{#replace: {{#replace: {{#if: <!--{{{3|}}}--> |<!--{{{3}}}-->|<!--{{{2|}}}-->''D''<!-- hidden -->}} |@opsp@|{{sp|1}}}} |infty| ∞}}<!-- -->| ∞|<span style{{=}}"font-size: 1.15em;">∞<!-- ∞ --></span>}}<!-- --></span></td></tr><!-- --><tr><td style{{=}}"text-align: left;"><span style{{=}}"vertical-align: 2.0ex; margin: 0 0 -1.5ex -0.1em; padding: 0; font-size: 0.6em; line-height: 0.4em;"><!-- lower limit as subscript -->{{#replace: {{#replace: {{#replace: {{#if: <!--{{{2|}}}-->''D'' |<!--{{{2}}}-->''D''|{{sp|1}}}} |@opsp@|{{sp|1}}}} |infty| ∞}}<!-- -->| ∞|<span style{{=}}"font-size: 1.15em;">∞<!-- ∞ --></span>}}<!-- --></span></td></tr><!-- --></table></td><!-- --></tr><!-- --></table> ''f''{{sp|2}}(''x'', ''y''){{sp|3}}{{d|''x''}}{{sp|3}}{{d|''y''}}|&}} after{{repeat|2|{{nl}}{{repeat|5|yadda{{nbsp}}}}}}
yields the text style HTML+CSS
- yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
before
after
f (x, y) d x d y∬ D
yadda yadda yadda yadda yadda
yadda yadda yadda yadda yadda
See also
- {{integral}} (type argument: int, iint, iiint, iiiint, idotsint, oint, varointclockwise, ointctrclockwise, oiint, oiiint)
- {{int}} (simple integral: {{integral}} with int as type argument)
- {{iint}} (double integral: {{integral}} with iint as type argument)
- {{iiint}} (triple integral: {{integral}} with iiint as type argument)
- {{iiiint}} (quadruple integral: {{integral}} with iiiint as type argument)
- {{idotsint}} (multiple integral: {{integral}} with idotsint as type argument)
- {{oint}} ([closed] path integral: {{integral}} with oint as type argument)
- {{varointclockwise}} ([closed] clockwise path integral: {{integral}} with varointclockwise as type argument)
- {{ointctrclockwise}} ([closed] counterclockwise path integral: {{integral}} with ointctrclockwise as type argument)
- {{oiint}} ([closed] surface integral: {{integral}} with oiint as type argument)
- {{oiiint}} ([closed] hypersurface integral: {{integral}} with oiiint as type argument)
External links