Difference between revisions of "Template:Ldelim/doc"
imported>Maschen |
imported>Vanisaac m (→External links: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{documentation subpage}} | ||
:''"Template:Leftdelimiter" and "Template:Leftdelimiter/doc" redirect to here.'' | :''"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 {{tl|rdelim}}, compatible with {{tl|math}}, as an alternative to LaTeX. Up to 5 lines are possible. The name "ldelim" is a shorthand for "left-handed delimiter". | This is for producing tall left-handed delimiters for multiline expressions (usually mathematical) in HTML, together with {{tl|rdelim}}, compatible with {{tl|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 {{tl|delimiter-es}}'''. | |
==Syntax== | ==Syntax== | ||
| − | |||
The template has the code: | The template has the code: | ||
| Line 26: | Line 26: | ||
Without the superscript and subscript parameters, the <code>< sup ></code> or <code>< sub ></code> tags alone will not position the superscripts or subscripts correctly. | Without the superscript and subscript parameters, the <code>< sup ></code> or <code>< sub ></code> tags alone will not position the superscripts or subscripts correctly. | ||
| − | |||
| − | |||
===No [[:template:math]]=== | ===No [[:template:math]]=== | ||
| − | |||
;[[Lorentz factor]] | ;[[Lorentz factor]] | ||
| Line 37: | Line 34: | ||
;[[Absolute value]] of a fraction: | ;[[Absolute value]] of a fraction: | ||
| − | :{{ldelim|vert|3}}{{sfrac|''a'' + {{frac|1|2}}|''b''}} + ''c''{{rdelim|vert|3}} | + | :{{ldelim|vert|3}}{{sfrac|''a'' + {{frac|1|2}}|''b''}} + ''c''{{rdelim|vert|3}} |
;[[Norm]] of a vector with scalar fractions: | ;[[Norm]] of a vector with scalar fractions: | ||
| − | + | {{ldelim|doublevert|4}}{{ldelim|round|4}}{{sfrac|{{sfrac|''p''|2}} + 1|{{sfrac|''a''|3}} + ''b''}}{{rdelim|round|4}}'''A''' + {{ldelim|round|4}}{{sfrac|{{sfrac|''q''|2}} − 1|''a'' + {{sfrac|''b''|3}}}}{{rdelim|round|4}}'''B'''{{rdelim|doublevert|4}} | |
;A [[Representation theory of the Lorentz group|representation of the Lorentz group]] | ;A [[Representation theory of the Lorentz group|representation of the Lorentz group]] | ||
| − | + | {{ldelim|round|2}}{{sfrac|1|2}}, 0{{rdelim|round|2}} ⊕ {{ldelim|round|2}}0, {{sfrac|1|2}}{{rdelim|round|2}} | |
;[[Ampère's circuital law]] with Maxwell's correction | ;[[Ampère's circuital law]] with Maxwell's correction | ||
| Line 52: | Line 49: | ||
===[[:template:math]]=== | ===[[:template:math]]=== | ||
| − | |||
;[[Lorentz factor]] | ;[[Lorentz factor]] | ||
| Line 59: | Line 55: | ||
;[[Absolute value]] of a fraction: | ;[[Absolute value]] of a fraction: | ||
| − | :{{math|{{ldelim|vert|3}}{{sfrac|''a'' + {{frac|1|2}}|''b''}} + ''c''{{rdelim|vert|3}} | + | :{{math|{{ldelim|vert|3}}{{sfrac|''a'' + {{frac|1|2}}|''b''}} + ''c''{{rdelim|vert|3}}}} |
;[[Norm]] of a vector with scalar fractions: | ;[[Norm]] of a vector with scalar fractions: | ||
| − | + | {{math|{{ldelim|doublevert|4}}{{ldelim|round|4}}{{sfrac|{{sfrac|''p''|2}} + 1|{{sfrac|''a''|3}} + ''b''}}{{rdelim|round|4}}'''A''' + {{ldelim|round|4}}{{sfrac|{{sfrac|''q''|2}} − 1|''a'' + {{sfrac|''b''|3}}}}{{rdelim|round|4}}'''B'''{{rdelim|doublevert|4}}}} | |
;A [[Representation theory of the Lorentz group|representation of the Lorentz group]] | ;A [[Representation theory of the Lorentz group|representation of the Lorentz group]] | ||
| − | :{{math|{{ldelim|round|2}}{{sfrac|1|2}}, 0{{rdelim|round|2}} ⊕ {{ldelim|round|2}}0, {{sfrac|1|2}}{{rdelim|round|2}} | + | :{{math|{{ldelim|round|2}}{{sfrac|1|2}}, 0{{rdelim|round|2}} ⊕ {{ldelim|round|2}}0, {{sfrac|1|2}}{{rdelim|round|2}}}} |
;[[Ampère's circuital law]] with Maxwell's correction | ;[[Ampère's circuital law]] with Maxwell's correction | ||
| Line 73: | Line 69: | ||
:{{math|{{intmath|oint|∂''S''}} '''B''' ∙ ''d'''''x''' {{=}} {{intmath|iint|''S''}} {{ldelim|round|2}}''μ''<sub>0</sub>'''J''' + {{sfrac|1|''c''<sup>2</sup>}}{{sfrac|∂'''E'''|∂''t''}}{{rdelim|round|2}} ∙ ''d'''''S'''}} | :{{math|{{intmath|oint|∂''S''}} '''B''' ∙ ''d'''''x''' {{=}} {{intmath|iint|''S''}} {{ldelim|round|2}}''μ''<sub>0</sub>'''J''' + {{sfrac|1|''c''<sup>2</sup>}}{{sfrac|∂'''E'''|∂''t''}}{{rdelim|round|2}} ∙ ''d'''''S'''}} | ||
| − | == | + | ==See also== |
| + | *[[Wikipedia:«math»]] | ||
| + | {{Math templates|notation}} | ||
| + | ==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''] | ||
| + | <includeonly>{{Sandbox other|| | ||
[[Category:Mathematical formatting templates]] | [[Category:Mathematical formatting templates]] | ||
| + | }}</includeonly> | ||
Latest revision as of 23:42, 25 April 2020
| 40px | This is a documentation subpage for Template:Ldelim. It contains usage information, categories and other content that is not part of the original template page. |
- "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