Template:Oiint/doc
Appearance
![]() | This is a documentation subpage for Template:Oiint. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used to include the double closed integral, usually in a mathematical formula. It overcomes a limitation of the TeX rendering which cannot display this symbol without clumsy workarounds.
Arguments
[edit]- preintegral the text or formula immediately before the integral
- intsubscpt the subscript below the integral
- integrand the text or formula immediately after the formula
All parameters are optional.
Examples
[edit]- Two of Maxwell's equations, e.g. the Maxwell–Faraday equation and Ampère's circuital law (with Maxwell's addition).
{{block indent|{{oiint
| preintegral = <math>\oint_C \mathbf{E} \cdot {\rm d} \boldsymbol{\ell} = \frac{\partial }{\partial t} </math>
| intsubscpt = <math>{\scriptstyle S}</math>
| integrand = <math>\mathbf{B} \cdot {\rm d}\mathbf{S}</math>
}}}}
![\oiint](http://upload.wikimedia.org/wikipedia/commons/thumb/8/86/OiintLaTeX.svg/25px-OiintLaTeX.svg.png)
{{block indent|{{oiint
| preintegral = <math>\oint_C \mathbf{B} \cdot {\rm d} \boldsymbol{\ell} = \mu_0 </math>
| intsubscpt = <math>{\scriptstyle S}</math>
| integrand = <math>\left ( \mathbf{J} + \epsilon_0\frac{\partial \mathbf{E}}{\partial t} \right )\! \cdot {\rm d}\mathbf{S}</math>
}}}}
![\oiint](http://upload.wikimedia.org/wikipedia/commons/thumb/8/86/OiintLaTeX.svg/25px-OiintLaTeX.svg.png)
Technical details
[edit]The \oiint command is not part of AMS-LaTeX, and thus not part of the math support that MediaWiki provides. It is available as a unicode character U+222F ∯ SURFACE INTEGRAL but font support for this character can be lacking. For this reason, the template provides an image variant of the character.
See also
[edit]- {{Oiiint}} (to implement triple closed integrals)
- {{Intorient}} (to implement oriented boundary integrals over a 2-surface and 3-surface)