This site is supported by donations to The OEIS Foundation.

Template:Big/doc

From OeisWiki
Jump to: navigation, search

This documentation subpage contains instructions, categories, or other information for Template:Big. [<Edit> Template:Big]

[⧼Purge⧽ Template:Big/doc]

alt = This template is under construction...
This template is under construction.            

Please do not use this unfinished and/or still unreliable template.            


The {{big}} mathematical formatting template should be used in mathematical formulas to typeset HTML+CSS or LaTeX enlarged delimiters (parentheses, [square] brackets, double [square] brackets, [angle] brackets, double [angle] brackets, braces, double braces, vertical line, double vertical line, ceiling delimiters, floor delimiters, corner delimiters).

Usage

{{big|delimiter}}

or

{{big|delimiter|format}}

or

{{big|delimiter|size}}

or

{{big|delimiter|size|format}}

where

  • delimiter: (open or close) delimiter, e.g.
  • parentheses, i.e. ( or ),
  • [square] brackets, i.e. [ or ],
  • double [square] brackets, i.e. and ,
  • [angle] brackets, i.e. {{sym|langle}} or {{sym|rangle}} (to get or ),
  • braces, i.e. { or },
  • vertical line, i.e. {{!}} (to get |),
  • double vertical line, i.e. {{!!}} (to get ||),
  • ceiling delimiters, i.e. {{sym|lceil}} and {{sym|rceil}} (to get ⌈ and ⌉),
  • floor delimiters, i.e. {{sym|lfloor}} and {{sym|rfloor}} (to get ⌊ and ⌋),
  • [upper] corner delimiters, i.e. &#x231c; and &#x231d; (to get and ), and
  • [lower] corner delimiters, i.e. &#x231e; and &#x231f; (to get and );
  • size: 0, 1 or big, 2 or Big, 3 or bigg, 4 or Bigg (default 1, i.e. big);
  • format: either htm (default) or tex.

Note: big, Big, bigg, and Bigg correspond to the LaTeX commands \big, \Big, \bigg, and \Bigg.

Note: MATHEMATICAL LEFT ANGLE BRACKET U+27E8 (&#x27E8; yields ⟨ ) and MATHEMATICAL RIGHT ANGLE BRACKET U+27E9 (&#x27E9; yields ⟩ ). The HTML entities &lang; 〈 and &rang; 〉 denote other characters, U+2329 (&#x2329; yields 〈 ) and U+232A (&#x232A; yields 〉 ).

{{sym|langle|hex}} and {{sym|rangle|hex}} yield: 27E8 and 27E9 (OK)

Tests

The code

: <span style="font-size: 1.0em;">( )</span><!--
--><span style="font-size: 1.25em; vertical-align: -0.045em;">( )</span><!--
--><span style="font-size: 2.0em; vertical-align: -0.125em;">( )</span><!--
--><span style="font-size: 2.5em; vertical-align: -0.15em;">( )</span><!--
--><span style="font-size: 3.0em; vertical-align: -0.175em;">( )</span>

yields

( )( )( )( )( )

The code

: <span style="font-size: 1.0em;">( )</span><!--
--><span style="font-size: 1.25em; vertical-align: -0.045em;">( )</span><!--
--><span style="font-size: 2.0em; font-weight: lighter; vertical-align: -0.125em;">( )</span><!--
--><span style="font-size: 2.5em; font-weight: lighter; vertical-align: -0.15em;">( )</span><!--
--><span style="font-size: 3.0em; font-weight: lighter; vertical-align: -0.175em;">( )</span>

yields

( )( )( )( )( )

Examples

Parentheses

The code

{{indent}}{{math|
{{big|(|4}}{{big|(|3}}{{big|(|2}}{{big|(|1}}{{big|(|0}}''a'' + ''b''{{big|)|0}}{{big|)|1}}{{big|)|2}}{{big|)|3}}{{big|)|4}}
{{big|(|Bigg}}{{big|(|bigg}}{{big|(|Big}}{{big|(|big}}{{big|(|0}}''a'' + ''b''{{big|)|0}}{{big|)|big}}{{big|)|Big}}{{big|)|bigg}}{{big|)|Bigg}}
|&&}}

yields the display style HTML+CSS

     
(((((a + b))))) (((((a + b)))))

The code

{{indent}}{{math|
{{big|(|4|tex}}{{big|(|3|tex}}{{big|(|2|tex}}{{big|(|1|tex}}{{big|(|0|tex}}''a'' + ''b''{{big|)|0|tex}}{{big|)|1|tex}}{{big|)|2|tex}}{{big|)|3|tex}}{{big|)|4|tex}}
{{big|(|Bigg|tex}}{{big|(|bigg|tex}}{{big|(|Big|tex}}{{big|(|big|tex}}{{big|(|0|tex}}''a'' + ''b''{{big|)|0|tex}}{{big|)|bigv}}{{big|)|Big|tex}}{{big|)|bigg|tex}}{{big|)|Bigg|tex}}
|$$}}

yields the display style LaTeX

     

[Square] brackets

The code

{{indent}}{{math|
{{big|[|4}}{{big|[|3}}{{big|[|2}}{{big|[|1}}{{big|[|0}}''a'' + ''b''{{big|]|0}}{{big|]|1}}{{big|]|2}}{{big|]|3}}{{big|]|4}}
{{big|[|Bigg}}{{big|[|bigg}}{{big|[|Big}}{{big|[|big}}{{big|[|0}}''a'' + ''b''{{big|]|0}}{{big|]|big}}{{big|]|Big}}{{big|]|bigg}}{{big|]|Bigg}}
|&&}}

yields the display style HTML+CSS

     
[[[[[a + b]]]]] [[[[[a + b]]]]]

The code

{{indent}}{{math|
{{big|[|4|tex}}{{big|[|3|tex}}{{big|[|2|tex}}{{big|[|1|tex}}{{big|[|0|tex}}''a'' + ''b''{{big|]|0|tex}}{{big|]|1|tex}}{{big|]|2|tex}}{{big|]|3|tex}}{{big|]|4|tex}}
{{big|[|Bigg|tex}}{{big|[|bigg|tex}}{{big|[|Big|tex}}{{big|[|big|tex}}{{big|[|0|tex}}''a'' + ''b''{{big|]|0|tex}}{{big|]|big|tex}}{{big|]|Big|tex}}{{big|]|bigg|tex}}{{big|]|Bigg|tex}}
|$$}}

yields the display style LaTeX

     

Double [square] brackets

The code

{{indent}}{{math|
{{big|⟦|4}}{{big|⟦|3}}{{big|⟦|2}}{{big|⟦|1}}{{big|⟦|0}}''a'' + ''b''{{big|⟧|0}}{{big|⟧|1}}{{big|⟧|2}}{{big|⟧|3}}{{big|⟧|4}}
{{big|⟦|Bigg}}{{big|⟦|bigg}}{{big|⟦|Big}}{{big|⟦|big}}{{big|⟦|0}}''a'' + ''b''{{big|⟧|0}}{{big|⟧|big}}{{big|⟧|Big}}{{big|⟧|bigg}}{{big|⟧|Bigg}}
|&&}}

yields the display style HTML+CSS

     
a + b a + b

Braces

The code

{{indent}}{{math|
{{big|{|4}}{{big|{|3}}{{big|{|2}}{{big|{|1}}{{big|{|0}}''a'' + ''b''{{big|}|0}}{{big|}|1}}{{big|}|2}}{{big|}|3}}{{big|}|4}}
{{big|{|Bigg}}{{big|{|bigg}}{{big|{|Big}}{{big|{|big}}{{big|{|0}}''a'' + ''b''{{big|}|0}}{{big|}|big}}{{big|}|Big}}{{big|}|bigg}}{{big|}|Bigg}}
|&&}}

yields the display style HTML+CSS

     
{{{{{a + b}}}}} {{{{{a + b}}}}}

The code

{{indent}}{{math|
{{big|\{|4|tex}}{{big|\{|3|tex}}{{big|\{|2|tex}}{{big|\{|1|tex}}{{big|\{|0|tex}}''a'' + ''b''{{big|\}|0|tex}}{{big|\}|1|tex}}{{big|\}|2|tex}}{{big|\}|3|tex}}{{big|\}|4|tex}}
{{big|\{|Bigg|tex}}{{big|\{|bigg|tex}}{{big|\{|Big|tex}}{{big|\{|big|tex}}{{big|\{|0|tex}}''a'' + ''b''{{big|\}|0|tex}}{{big|\}|big|tex}}{{big|\}|Big|tex}}{{big|\}|bigg|tex}}{{big|\}|Bigg|tex}}
|$$}}

yields the display style LaTeX

     

[Angle] brackets

The code

{{indent}}{{math|
{{big|⟨|4}}{{big|⟨|3}}{{big|⟨|2}}{{big|⟨|1}}{{big|⟨|0}}''a'' + ''b''{{big|⟩|0}}{{big|⟩|1}}{{big|⟩|2}}{{big|⟩|3}}{{big|⟩|4}}
{{big|⟨|Bigg}}{{big|⟨|bigg}}{{big|⟨|Big}}{{big|⟨|big}}{{big|⟨|0}}''a'' + ''b''{{big|⟩|0}}{{big|⟩|big}}{{big|⟩|Big}}{{big|⟩|bigg}}{{big|⟩|Bigg}}
|&&}}

yields the display style HTML+CSS

     
a + b a + b

Ceiling delimiters

The code

{{indent}}{{math|
{{big|⌈|4}}{{big|⌈|3}}{{big|⌈|2}}{{big|⌈|1}}{{big|⌈|0}}''a'' + ''b''{{big|⌉|0}}{{big|⌉|1}}{{big|⌉|2}}{{big|⌉|3}}{{big|⌉|4}}
{{big|⌈|Bigg}}{{big|⌈|bigg}}{{big|⌈|Big}}{{big|⌈|big}}{{big|⌈|0}}''a'' + ''b''{{big|⌉|0}}{{big|⌉|big}}{{big|⌉|Big}}{{big|⌉|bigg}}{{big|⌉|Bigg}}
|&&}}

yields the display style HTML+CSS

     
a + b a + b

The code

{{indent}}{{math|
{{big|\lceil|4|tex}}{{big|\lceil|3|tex}}{{big|\lceil|2|tex}}{{big|\lceil|1|tex}}{{big|\lceil|0|tex}}''a'' + ''b''{{big|\rceil|0|tex}}{{big|\rceil|1|tex}}{{big|\rceil|2|tex}}{{big|\rceil|3|tex}}{{big|\rceil|4|tex}}
{{big|\lceil|Bigg|tex}}{{big|\lceil|bigg|tex}}{{big|\lceil|Big|tex}}{{big|\lceil|big|tex}}{{big|\lceil|0|tex}}''a'' + ''b''{{big|\rceil|0|tex}}{{big|\rceil|big|tex}}{{big|\rceil|Big|tex}}{{big|\rceil|bigg|tex}}{{big|\rceil|Bigg|tex}}
|$$}}

yields the display style LaTeX

     

Floor delimiters

The code

{{indent}}{{math|
{{big|⌊|4}}{{big|⌊|3}}{{big|⌊|2}}{{big|⌊|1}}{{big|⌊|0}}''a'' + ''b''{{big|⌋|0}}{{big|⌋|1}}{{big|⌋|2}}{{big|⌋|3}}{{big|⌋|4}}
{{big|⌊|Bigg}}{{big|⌊|bigg}}{{big|⌊|Big}}{{big|⌊|big}}{{big|⌊|0}}''a'' + ''b''{{big|⌋|0}}{{big|⌋|big}}{{big|⌋|Big}}{{big|⌋|bigg}}{{big|⌋|Bigg}}
|&&}}

yields the display style HTML+CSS

     
a + b a + b

The code

{{indent}}{{math|
{{big|\lfloor|4|tex}}{{big|\lfloor|3|tex}}{{big|\lfloor|2|tex}}{{big|\lfloor|1|tex}}{{big|\lfloor|0|tex}}''a'' + ''b''{{big|\rfloor|0|tex}}{{big|\rfloor|1|tex}}{{big|\rfloor|2|tex}}{{big|\rfloor|3|tex}}{{big|\rfloor|4|tex}}
{{big|\lfloor|Bigg|tex}}{{big|\lfloor|bigg|tex}}{{big|\lfloor|Big|tex}}{{big|\lfloor|big|tex}}{{big|\lfloor|0|tex}}''a'' + ''b''{{big|\rfloor|0|tex}}{{big|\rfloor|big|tex}}{{big|\rfloor|Big|tex}}{{big|\rfloor|bigg|tex}}{{big|\rfloor|Bigg|tex}}
|$$}}

yields the display style LaTeX

     

[Upper] corner delimiters

The code

{{indent}}{{math|
{{big|⌜|4}}{{big|⌜|3}}{{big|⌜|2}}{{big|⌜|1}}{{big|⌜|0}}''a'' + ''b''{{big|⌝|0}}{{big|⌝|1}}{{big|⌝|2}}{{big|⌝|3}}{{big|⌝|4}}
{{big|⌜|Bigg}}{{big|⌜|bigg}}{{big|⌜|Big}}{{big|⌜|big}}{{big|⌜|0}}''a'' + ''b''{{big|⌝|0}}{{big|⌝|big}}{{big|⌝|Big}}{{big|⌝|bigg}}{{big|⌝|Bigg}}
|&&}}

yields the display style HTML+CSS

     
a + b a + b

[Lower] corner delimiters

The code

{{indent}}{{math|
{{big|⌞|4}}{{big|⌞|3}}{{big|⌞|2}}{{big|⌞|1}}{{big|⌞|0}}''a'' + ''b''{{big|⌟|0}}{{big|⌟|1}}{{big|⌟|2}}{{big|⌟|3}}{{big|⌟|4}}
{{big|⌞|Bigg}}{{big|⌞|bigg}}{{big|⌞|Big}}{{big|⌞|big}}{{big|⌞|0}}''a'' + ''b''{{big|⌟|0}}{{big|⌟|big}}{{big|⌟|Big}}{{big|⌟|bigg}}{{big|⌟|Bigg}}
|&&}}

yields the display style HTML+CSS

     
a + b a + b

Examples

The code

: A132995 {{math|''a''{{sp|1}}(''n'') {{=}} gcd{{sp|1}}<!--
-->{{big|(}}{{sp|1}}{{sum|''k''{{=}}1|''n''| ''p''{{sp|1}}(''k''{{sp|1}})}}, {{prod|{{sp|1}}''j''{{=}}1|''n''| ''p''{{sp|1}}({{sp|5}}''j''{{sp|1}})}}{{big|)}}|&}}, <!--
-->where {{math|''p''{{sp|1}}(''k''{{sp|1}})|&}} is the {{math|''k''|&}}-th prime.

yields the text style HTML+CSS

A132995
a (n) = gcd (
n

k  = 1
p (k )
,
n

j  = 1
p (  j )
)
, where 
p (k )
is the 
k
-th prime.

The code

: A132995 {{math||tex = a(n) = \operatorname{gcd} \! {{big|(|tex}} \sum_{k=1}^{n} p(k), \prod_{j=1}^{n} p(j) {{big|)|tex}}|$}}, <!--
-->where {{math||tex = p(k)|$}} is the {{math||tex = k|$}}-th prime.

yields the text style LaTeX

A132995, where is the-th prime.

The code

{{indent}}{{math|{{big|{{sym|lfloor}}|3}}{{frac|''m''|''n''}}{{big|{{sym|rfloor}}|3}}|&&}}

yields the display style HTML+CSS (OK, it really needs more work...)

     
m
n