# Template:Oiint

${\displaystyle \oiint }$

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

• 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

Two of Maxwell's equations
{{oiint
| preintegral = $\oint_C \bold{E} \cdot {\rm d} \boldsymbol{\ell} = \frac{\partial }{\partial t}$
| intsubscpt = ${\scriptstyle S}$
| integrand = $\bold{B} \cdot {\rm d}\bold{S}$
}}

${\displaystyle \oint _{C}{\mathbf {E}}\cdot {\rm {d}}{\boldsymbol {\ell }}={\frac {\partial }{\partial t}}}$${\displaystyle \oiint }$${\displaystyle {\scriptstyle S}}$${\displaystyle {\mathbf {B}}\cdot {\rm {d}}{\mathbf {S}}}$

{{oiint
| preintegral = $\oint_C \bold{B} \cdot {\rm d} \boldsymbol{\ell} = \mu_0$
| intsubscpt = ${\scriptstyle S}$
| integrand = $\left ( \bold{J} + \epsilon_0\frac{\partial \bold{E}}{\partial t} \right ) \cdot {\rm d}\bold{S}$
}}

${\displaystyle \oint _{C}{\mathbf {B}}\cdot {\rm {d}}{\boldsymbol {\ell }}=\mu _{0}}$${\displaystyle \oiint }$${\displaystyle {\scriptstyle S}}$${\displaystyle \left({\mathbf {J}}+\epsilon _{0}{\frac {\partial {\mathbf {E}}}{\partial t}}\right)\cdot {\rm {d}}{\mathbf {S}}}$