Skabelon:Vec/doc

Fra testwiki
Spring til navigation Spring til søgning

Skabelon:Dokumentationsside This template creates vectors using arrow notation in HTML, as an alternative to boldface.

Parameters

The template has three parameters:

  1. Vector symbol: Insert the character, i.e. A, Ω etc. Default is A; to immediately show the template is in use, and prevent the arrow moving and overlapping text to one side.
  2. Arrow direction: Select one of left, right, or double for the arrows →, ←, or ↔ respectively. The default is right.
  3. Arrow position: Select one of under or over to place the arrow over or under the character symbolizing the vector. The default is over.

The defaults for 2 and 3 are set to match the LaTeX analogue of \vec: A.

Examples

Illustration of all possibilities for italic A:

Default Overarrow Underarrow
Default Skabelon:Vec Skabelon:Vec Skabelon:Vec
Left Skabelon:Vec Skabelon:Vec Skabelon:Vec
Right Skabelon:Vec Skabelon:Vec Skabelon:Vec
Double Skabelon:Vec Skabelon:Vec Skabelon:Vec

with code:

Default Overarrow Underarrow
Default {{vec|''A''}} {{vec|''A''||over}} {{vec|''A''||under}}
Left {{vec|''A''|left}} {{vec|''A''|left|over}} {{vec|''A''|left|under}}
Right {{vec|''A''|right}} {{vec|''A''|right|over}} {{vec|''A''|right|under}}
Double {{vec|''A''|double}} {{vec|''A''|double|over}} {{vec|''A''|double|under}}

Formulae:

Vorticity of a fluid with velocity field Skabelon:Vec:

Skabelon:Vec = Skabelon:Vec × Skabelon:Vec

Tangential velocity in rigid body dynamics:

Skabelon:Vec = Skabelon:Vec × Skabelon:Vec

Rotating reference frame:

Skabelon:Frac = Skabelon:FracSkabelon:Vec × Skabelon:Vec
Skabelon:Sfrac = Skabelon:SfracSkabelon:Vec × Skabelon:Vec

Including Skabelon:Tl

Illustration of all possibilities for italic A:

Default Overarrow Underarrow
Default Skabelon:Math Skabelon:Math Skabelon:Math
Left Skabelon:Math Skabelon:Math Skabelon:Math
Right Skabelon:Math Skabelon:Math Skabelon:Math
Double Skabelon:Math Skabelon:Math Skabelon:Math

with code:

Default Overarrow Underarrow
Default {{math|{{vec|''A''}}}} {{math|{{vec|''A''||over}}}} {{math|{{vec|''A''||under}}}}
Left {{math|{{vec|''A''|left}}}} {{math|{{vec|''A''|left|over}}}} {{math|{{vec|''A''|left|under}}}}
Right {{math|{{vec|''A''|right}}}} {{math|{{vec|''A''|right|over}}}} {{math|{{vec|''A''|right|under}}}}
Double {{math|{{vec|''A''|double}}}} {{math|{{vec|''A''|double|over}}}} {{math|{{vec|''A''|double|under}}}}

Formulae:

Vorticity of a fluid with velocity field Skabelon:Vec:

Skabelon:Math

Tangential velocity in rigid body dynamics:

Skabelon:Math

Rotating reference frame:

Skabelon:Math
Skabelon:Math

Se også

Skabelon:Math templates