This site is supported by donations to The OEIS Foundation.

Template:Underset

From OeisWiki
(Redirected from Template:Under)
Jump to: navigation, search

The {{underset}} ({{under}}) OEIS Wiki formatting and function template is used to format text as an underscript.

Usage

{{under|underscript|base text}}

or

{{under|underscript|base text|relative size}}

or

{{under|underscript|base text|format}}

or

{{under|underscript|base text|format|relative size}}

where

  • the first parameter is the underscript;
  • the second parameter is the base text;
  • the [optional] third parameter (relative size) is the relative size of the superscript (default 75%, yields standard script size superscript) expressed either
  • as a percentage (e.g. 75%), or
  • in ex units (e.g. 1.5ex);

Note: the size parameter is currently ignored with TeX.

  • the [optional] last (third or fourth) parameter (format), case insensitive, is either
  • htm (default), or
  • tex.

Examples

The code

: before {{under|underscript|base text}} after

yields the text style HTML+CSS

before after

Math examples

The code

before {{math|{{under|''n''{{sp|1}}{{-)|to}}{{sp|1}}{{sym|infty}}|lim}}|&}} after

yields the text style HTML+CSS

before 
after

The code

before {{math|{{under|''n''{{-)|to|tex}}{{sym|infty|tex}}|{\rm lim}|tex}}|$}} after

yields the text style LaTeX

before after

The code

{{indent}}{{math|{{under|''n''{{sp|1}}{{-)|to}}{{sp|1}}{{sym|infty}}|lim}}|&&}}

yields the display style HTML+CSS

     

The code

{{indent}}{{math|{{under|''n''{{-)|to|tex}}{{sym|infty|tex}}|{\rm lim}|tex}}|$$}}

yields the display style LaTeX

     

See also