Template:Ldelim
外观
此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
- "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
[编辑]- γ(v) = 1/1 − v/c
- Absolute value of a fraction
- a + 1⁄2/b + c
- Norm of a vector with scalar fractions
p/2 + 1/a/3 + bA + q/2 − 1/a + b/3B
1/2, 0 ⊕ 0, 1/2
- Ampère's circuital law with Maxwell's correction
- ∮
∂S B ∙ dx = ∬
S μ0J + 1/c2∂E/∂t ∙ dS
- γ(v) = 1/1 − v/c
- Absolute value of a fraction
- a + 1⁄2/b + c
- Norm of a vector with scalar fractions
p/2 + 1/a/3 + bA + q/2 − 1/a + b/3B
- 1/2, 0 ⊕ 0, 1/2
- Ampère's circuital law with Maxwell's correction
- ∮
∂S B ∙ dx = ∬
S μ0J + 1/c2∂E/∂t ∙ dS