This site is supported by donations to The OEIS Foundation.

Template:Partial

From OeisWiki
Jump to: navigation, search
The {{partial}} mathematical formatting template typesets an HTML+CSS or a LaTeX formatted partial derivative expression. Higher order partial derivatives are supported, as long as a single variable is considered (mixed partial derivatives are not yet supported).

Usage

{{partial|function|variable|format}}

or

{{partial|function|variable|order|format}}

where format is from

  • htm: text style HTML+CSS (default);
  • HTM: display style HTML+CSS;
  • tex: text style LaTeX;
  • TEX: display style LaTeX.

Examples

Examples of partial differentials

The code

before {{math|{{sym|partial}}{{vec|E|b}}|&}} after

yields the text style HTML+CSS

before 
E
after

The code

before {{math|{{sym|partial|tex}}{{vec|E|b|tex}}|$}} after

yields the text style LaTeX

before after

The code

before {{math|{{sym|partial}}{{vec|E|b}}|&&}} after

yields the display style HTML+CSS

E

The code

{{math|{{sym|partial|tex}}{{vec|E|b|tex}}|$$}}

yields the display style LaTeX

Examples of partial derivatives

The code

before {{math|{{partial|{{vec|E|b}}|''t''}}|&}} after

yields the text style HTML+CSS

before 
E
t
after

The code

before {{math|{{partial|{{vec|E|b|tex}}|''t''|tex}}|$}} after

yields the text style LaTeX

before after

The code

before {{math|{{partial|{{vec|E|b}}|''t''|HTM}}|&&}} after

yields the display style HTML+CSS

E
t

The code

{{math|{{partial|{{vec|E|b|tex}}|''t''|TEX}}|$$}}

yields the display style LaTeX

Examples of higher order partial derivatives

The code

before {{math|{{partial|{{vec|E|b}}|''t''|2}}, {{partial|{{vec|E|b}}|''t''|3}}|&}} after

yields the text style HTML+CSS

before 
 2E
t 2
,
 3E
t 3
after

The code

before {{math|{{partial|{{vec|E|b|tex}}|''t''|2|tex}}, {{partial|{{vec|E|b|tex}}|''t''|3|tex}}|$}} after

yields the text style LaTeX

before after

The code

before {{math|{{partial|{{vec|E|b}}|''t''|2|HTM}}, {{partial|{{vec|E|b}}|''t''|3|HTM}}|&&}} after

yields the display style HTML+CSS

 2E
t 2
,
 3E
t 3

The code

{{math|{{partial|{{vec|E|b|tex}}|''t''|2|TEX}}, {{partial|{{vec|E|b|tex}}|''t''|3|TEX}}|$$}}

yields the display style LaTeX

See also