Difference between revisions of "Template:Intmath/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Tentacles
m (tweak)
imported>Tentacles
m (tweak)
Line 2: Line 2:
 
| iint | iiint | iiiint | oint| varointclockwise  | ointctrclockwise | oiint  
 
| iint | iiint | iiiint | oint| varointclockwise  | ointctrclockwise | oiint  
 
| oiiint = <span style{{=}}"display: inline-block; position: relative; line-height: 0.715em; height: 0.715em; <!--
 
| oiiint = <span style{{=}}"display: inline-block; position: relative; line-height: 0.715em; height: 0.715em; <!--
-->margin: {{#ifeq: {{{4|}}} |tiny|-0.5|-1.0}}em 0 {{#ifeq: {{{4|}}} |tiny|0.6|0}}em 0<!-- trbl -->; <!--
+
-->margin: {{#ifeq: {{{4|}}} |tiny|-0.5|-1.0}}em 0 {{#ifeq: {{{4|}}} |tiny|0.75|0}}em 0<!-- trbl -->; <!--
 
-->padding: {{#ifeq: {{{4|}}} |tiny|0.2|0}}em 0 {{#ifeq: {{{4|}}} |tiny|0.6|0}}em 0<!-- trbl -->; font-size: {{#ifeq: {{{4|}}} |tiny|0.6|1.0}}em; {{#ifeq: {{{4|}}} |tiny|vertical-align: 0.3em;}}"><!--
 
-->padding: {{#ifeq: {{{4|}}} |tiny|0.2|0}}em 0 {{#ifeq: {{{4|}}} |tiny|0.6|0}}em 0<!-- trbl -->; font-size: {{#ifeq: {{{4|}}} |tiny|0.6|1.0}}em; {{#ifeq: {{{4|}}} |tiny|vertical-align: 0.3em;}}"><!--
 
--><span style{{=}}"vertical-align: -0.075em; font-style: italic; font-size: 1.4em; line-height: 0.715em; height: 0.715em; margin-top: -1.0em; padding-top: 0; margin-right: -0.15em;"><!--
 
--><span style{{=}}"vertical-align: -0.075em; font-style: italic; font-size: 1.4em; line-height: 0.715em; height: 0.715em; margin-top: -1.0em; padding-top: 0; margin-right: -0.15em;"><!--

Revision as of 23:26, 11 April 2016

50px Template documentation[view] [edit] [history] [purge]

This template generates integral symbols using unicode, for inline {{math}} formulae as an alternative to LaTeX generated in <math>.

Parameters

The template has three parameters, applicable one by one:

  1. Integral sign: Choose one of: These match the LaTeX definitions exactly: please do not modify them for something more "convenient", thank you.
  2. Subscript: Enter the subscript (symbol or short expression), for the lower limit or denoting an n-dimensional space or the (n − 1)- dimensional boundary.
  3. Superscript: Enter the superscript (symbol or short expression) for the upper limit.

NB:

  • Applying font-style: italic; or font-style: oblique; to the integral symbol has no effect in Firefox, it remains upright. E.g.
    <span style="font-style: italic;">∫</span> yields ;
    <span style="font-style: oblique;">∫</span> yields .
  • This template already includes {{su}}.

Examples

No {{math}}

Gamma function

Γ(z) =
0
ettz − 1dt
Γ(''z'') = {{intmath|int|0|∞}} ''e''<sup>−''t''</sup>''t''<sup>''z'' − 1</sup>''dt''

Line integral


C
F(x) ∙ dx = −
C
F(x) ∙ dx
{{intmath|varointclockwise|''C''}} ''F''('''x''') ∙ ''d'''''x''' = −{{intmath|ointctrclockwise|''C''}} ''F''('''x''') ∙ ''d'''''x'''

Maxwell's equations


V
EdS = Template:Sfrac
V
ρ dV

V
BdS = 0

S
Edx = −
S
Template:SfracdS

S
Bdx =
S
(μ0J + Template:SfracTemplate:Sfrac) ∙ dS
{{intmath|oiint|∂''V''}} '''E''' ∙ ''d'''''S''' = {{sfrac|1|''ε''<sub>0</sub>}}{{intmath|iiint|''V''}} ''ρ'' ''dV''
{{intmath|oiint|∂''V''}} '''B''' ∙ ''d'''''S''' = 0
{{intmath|oint|∂''S''}} '''E''' ∙ ''d'''''x''' = −{{intmath|iint|''S''}} {{sfrac|∂'''B'''|∂''t''}} ∙ ''d'''''S'''
{{intmath|oint|∂''S''}} '''B''' ∙ ''d'''''x''' = {{intmath|iint|''S''}} (''μ''<sub>0</sub>'''J''' + {{sfrac|1|''c''<sup>2</sup>}}{{sfrac|∂'''E'''|∂''t''}}) ∙ ''d'''''S'''

{{math}}

Gamma function

Γ(z) =
0
ettz − 1dt
{{math|Γ(''z'') {{=}} {{intmath|int|0|∞}} ''e''<sup>−''t''</sup>''t''<sup>''z'' − 1</sup>''dt''}}

Line integral


C
F(x) ∙ dx = −
C
F(x) ∙ dx
{{math|{{intmath|varointclockwise|''C''}} ''F''('''x''') ∙ ''d'''''x''' {{=}} −{{intmath|ointctrclockwise|''C''}} ''F''('''x''') ∙ ''d'''''x'''}}

Maxwell's equations


V
EdS = Template:Sfrac
V
ρ dV

V
BdS = 0

S
Edx = −
S
Template:SfracdS

S
Bdx =
S
(μ0J + Template:SfracTemplate:Sfrac) ∙ dS
{{math|{{intmath|oiint|∂''V''}} '''E''' ∙ ''d'''''S''' {{=}} {{sfrac|1|''ε''<sub>0</sub>}}{{intmath|iiint|''V''}} ''ρ'' ''dV''}}
{{math|{{intmath|oiint|∂''V''}} '''B''' ∙ ''d'''''S''' {{=}} 0}}
{{math|{{intmath|oint|∂''S''}} '''E''' ∙ ''d'''''x''' {{=}} −{{intmath|iint|''S''}} {{sfrac|∂'''B'''|∂''t''}} ∙ ''d'''''S'''}}
{{math|{{intmath|oint|∂''S''}} '''B''' ∙ ''d'''''x''' {{=}} {{intmath|iint|''S''}} (''μ''<sub>0</sub>'''J''' + {{sfrac|1|''c''<sup>2</sup>}}{{sfrac|∂'''E'''|∂''t''}}) ∙ ''d'''''S'''}}

See also