This site is supported by donations to The OEIS Foundation.
Template:...
From OeisWiki
The following documentation is located at Template:.../doc. [<Edit> Template:.../doc]
[⧼Purge⧽ Template:...]
The {{...}} (dots or ellipsis[1]) typing-aid template returns either the HTML glyph (default), the UTF-16 hex code, the LaTeX code or the name (description) for a given ellipsis.
[⧼Purge⧽ Template:...]
Contents
Usage
- {{...|type|format}}
where type
is among
-
ldots
(baseline horizontal dots) (default); -
cdots
(midline horizontal dots); -
vdots
(vertical dots); -
urdots
(up right diagonal dots) oriddots
(inverse diagonal dots); -
drdots
(down right diagonal dots) orddots
(diagonal dots);
and format
is among (case insensitive)
-
htm
(default); -
hex
; -
tex
; -
name
.
Examples
Code {{...|type}} (see 3 rd column) |
{{...|type|hex}}, &#x{{...|type|hex}}; |
HTML+CSS {{...|type}} in {{math|...|&&}}, {{math|...|&}} |
Code {{...|type|tex}} |
Result (TeX) |
Rendered TeX[2] {{...|type|tex}} in {{math|...|$$}}, {{math|...|$}} |
Code {{...|type|name}} |
Name | ||
---|---|---|---|---|---|---|---|---|---|
Ellipses (plural of ellipsis) | |||||||||
{{...|ldots}} | 2026, … |
|
{{...|ldots|tex}} | \ldots | , | {{...|ldots|n}} | |||
{{...|cdots}} | 22EF, ⋯ |
|
{{...|cdots|tex}} | \cdots | , | {{...|cdots|n}} | |||
{{...|vdots}} | 22EE, ⋮ |
|
{{...|vdots|tex}} | \vdots | , | {{...|vdots|n}} | |||
{{...|urdots}} | 22F0, ⋰ |
|
{{...|urdots|tex}} | {\,}^{{\textstyle \,.}^{{\textstyle \,.}^{\textstyle \,.}}} | , | {{...|urdots|n}} | |||
{{...|iddots}} | 22F0, ⋰ |
|
{{...|iddots|tex}} | {\,}^{{\textstyle \,.}^{{\textstyle \,.}^{\textstyle \,.}}} | , | {{...|iddots|n}} | |||
{{...|drdots}} | 22F1, ⋱ |
|
{{...|drdots|tex}} | \ddots | , | {{...|drdots|n}} | |||
{{...|ddots}} | 22F1, ⋱ |
|
{{...|ddots|tex}} | \ddots | , | {{...|ddots|n}} |
Matrix example
The code (using templates {{math}}, {{matrix}}, {{sub}} and {{=}})
{{indent}}{{math| A{{sub|''m'',''n''}} {{=}} <!-- -->{{matrix| ''a''{{sub|1,1}} && ''a''{{sub|1,2}} && {{...|cdots}} && ''a''{{sub|1,''n''}} \\ ''a''{{sub|2,1}} && ''a''{{sub|2,2}} && {{...|cdots}} && ''a''{{sub|2,''n''}} \\ {{...|vdots}} && {{...|vdots}} && {{...|ddots}} && {{...|vdots}} \\ ''a''{{sub|''m'',1}} && ''a''{{sub|''m'',2}} && {{...|cdots}} && ''a''{{sub|''m'',''n''}} \\ }} |&&}}
yields the HTML+CSS matrix
Am,n =
|
while the code
{{indent}}{{math| {\rm A}_{m,n} {{=}} <!-- -->{{matrix| a_{1,1} && a_{1,2} && {{...|cdots|TeX}} && a_{1,n} \\ a_{2,1} && a_{2,2} && {{...|cdots|TeX}} && a_{2,n} \\ {{...|vdots|TeX}} && {{...|vdots|TeX}} && {{...|ddots|TeX}} && {{...|vdots|TeX}} \\ a_{m,1} && a_{m,2} && {{...|cdots|TeX}} && a_{m,n} \\ ||TeX}} |$$}}
yields the LaTeX (rendered as a PNG image) matrix
Notes
- ↑ Ellipsis—Wikipedia.org.
- ↑
\iddots
(inverse diagonal dots: requires the mathdots package). With the current kludge, the dots don't quite rise fast enough though...