This site is supported by donations to The OEIS Foundation.

Template:...

From OeisWiki
Jump to: navigation, search
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.

Usage

{{...|type|format}}

where type is among

  • ldots (baseline horizontal dots) (default);
  • cdots (midline horizontal dots);
  • vdots (vertical dots);
  • urdots (up right diagonal dots) or iddots (inverse diagonal dots);
  • drdots (down right diagonal dots) or ddots (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, …
ab
, 
ab
{{...|ldots|tex}} \ldots , {{...|ldots|n}}
{{...|cdots}} 22EF, ⋯
ab
, 
ab
{{...|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 =
a1,1   a1,2     a1,n
a2,1   a2,2     a2,n
     
am,1   am,2     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

  1. EllipsisWikipedia.org.
  2. \iddots (inverse diagonal dots: requires the mathdots package). With the current kludge, the dots don't quite rise fast enough though...