Difference between revisions of "Template:Ldelim/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Funandtrvl
(nvbx)
Line 1: Line 1:
 +
{{documentation subpage}}
 
:''"Template:Leftdelimiter" and "Template:Leftdelimiter/doc" redirect to here.''
 
:''"Template:Leftdelimiter" and "Template:Leftdelimiter/doc" redirect to here.''
  
Line 6: Line 7:
  
 
==Syntax==
 
==Syntax==
 
 
The template has the code:
 
The template has the code:
  
Line 28: Line 28:
  
 
===No [[:template:math]]===
 
===No [[:template:math]]===
 
 
;[[Lorentz factor]]
 
;[[Lorentz factor]]
  
Line 50: Line 49:
  
 
===[[:template:math]]===
 
===[[:template:math]]===
 
 
;[[Lorentz factor]]
 
;[[Lorentz factor]]
  
Line 72: Line 70:
  
 
==See also==
 
==See also==
 
 
*[[Wikipedia:«math»]]
 
*[[Wikipedia:«math»]]
 +
{{Math templates |notation}}
  
==External sites==
+
==External links==
 
 
 
*[http://www.utf8icons.com/search?q=RIGHT+SQUARE+BRACKET+EXTENSION ''utf-8 icons'']
 
*[http://www.utf8icons.com/search?q=RIGHT+SQUARE+BRACKET+EXTENSION ''utf-8 icons'']
 
*[http://graphemica.com/%E2%8E%9F ''Graphemica'']
 
*[http://graphemica.com/%E2%8E%9F ''Graphemica'']

Revision as of 22:12, 17 April 2014

"Template:Leftdelimiter" and "Template:Leftdelimiter/doc" redirect to here.

This is for producing tall left-handed delimiters for multiline expressions (usually mathematical) in HTML, together with {{rdelim}}, compatible with {{math}}, as an alternative to LaTeX. Up to 5 lines are possible. The name "ldelim" is a shorthand for "left-handed delimiter".

This template uses {{delimiter-es}}, and is used in {{dsqbracket}} and {{drndbracket}}.

Syntax

The template has the code:

{{ldelim|a|b|sup=|sub=}}

containing two parameters:

  • the first parameter a is
    • square for square brackets [ ],
    • round for round brackets ( ),
    • vert for vertical bars | |,
    • doublevert for double vertical bars || ||,
  • the second parameter b is the number of lines for the expression, and equals one of the values 2, 3, 4, 5.

and two optional parameters:

  • sup for superscripts outside of the delimiter,
  • sub for subscripts outside of the delimiter.

Without the superscript and subscript parameters, the < sup > or < sub > tags alone will not position the superscripts or subscripts correctly.

No template:math

Lorentz factor
γ(v) =    Template:SfracTemplate:Rdelim
Absolute value of a fraction
   Template:Sfrac + cTemplate:Rdelim
Norm of a vector with scalar fractions

        Template:SfracTemplate:RdelimA +     Template:SfracTemplate:RdelimBTemplate:Rdelim

A representation of the Lorentz group

  Template:Sfrac, 0Template:Rdelim  0, Template:SfracTemplate:Rdelim

Ampère's circuital law with Maxwell's correction

S
Bdx =
S
  μ0J + Template:SfracTemplate:SfracTemplate:RdelimdS

template:math

Lorentz factor
γ(v) =    Template:SfracTemplate:Rdelim
Absolute value of a fraction
   Template:Sfrac + cTemplate:Rdelim
Norm of a vector with scalar fractions

        Template:SfracTemplate:RdelimA +     Template:SfracTemplate:RdelimBTemplate:Rdelim

A representation of the Lorentz group
  Template:Sfrac, 0Template:Rdelim  0, Template:SfracTemplate:Rdelim
Ampère's circuital law with Maxwell's correction

S
Bdx =
S
  μ0J + Template:SfracTemplate:SfracTemplate:RdelimdS

See also

External links