Difference between revisions of "Template:Ldelim"
imported>Maschen (reinstate sorry...) |
imported>WOSlinker (fix sub) |
||
| Line 1: | Line 1: | ||
| − | {{Delimiter-es| <sup>{{{sup|}}}</sup>| | <sub>{{{sub|}}}|{{{2|}}}}}{{#switch:{{{1|round}}} | + | {{Delimiter-es| <sup>{{{sup|}}}</sup>| | <sub>{{{sub|}}}</sub>|{{{2|}}}}}{{#switch:{{{1|round}}} |
|round={{Delimiter-es|⎛|⎜|⎝|{{{2|}}}}} | |round={{Delimiter-es|⎛|⎜|⎝|{{{2|}}}}} | ||
|vert={{Delimiter-es|│|│|│|{{{2|}}}}} | |vert={{Delimiter-es|│|│|│|{{{2|}}}}} | ||
|doublevert={{Delimiter-es|║|║|║|{{{2|}}}}} | |doublevert={{Delimiter-es|║|║|║|{{{2|}}}}} | ||
|square={{Delimiter-es|⎡|⎢|⎣|{{{2|}}}}}}}<noinclude>{{doc}}</noinclude><!---ADD CATEGORIES TO THE \doc PAGE - NOT HERE - THANKS ---> | |square={{Delimiter-es|⎡|⎢|⎣|{{{2|}}}}}}}<noinclude>{{doc}}</noinclude><!---ADD CATEGORIES TO THE \doc PAGE - NOT HERE - THANKS ---> | ||
Latest revision as of 22:19, 26 February 2018
- "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}}.
Syntax
The template has the code:
{{ldelim|a|b|sup=|sub=}}
containing two parameters:
- the first parameter
ais- square for square brackets [ ],
- round for round brackets ( ),
- vert for vertical bars | |,
- doublevert for double vertical bars || ||,
- the second parameter
bis 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
- Absolute value of a fraction
- Norm of a vector with scalar fractions
Template:SfracTemplate:RdelimA + Template:SfracTemplate:RdelimBTemplate:Rdelim
Template:Sfrac, 0Template:Rdelim ⊕ 0, Template:SfracTemplate:Rdelim
- Ampère's circuital law with Maxwell's correction
- ∮
∂S B ∙ dx = ∬
S μ0J + Template:SfracTemplate:SfracTemplate:Rdelim ∙ dS
template:math
- Absolute value of a fraction
- Norm of a vector with scalar fractions
Template:SfracTemplate:RdelimA + Template:SfracTemplate:RdelimBTemplate:Rdelim
- Ampère's circuital law with Maxwell's correction
- ∮
∂S B ∙ dx = ∬
S μ0J + Template:SfracTemplate:SfracTemplate:Rdelim ∙ dS
See also
External links
| The above documentation is transcluded from Template:Ldelim/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |