This site is supported by donations to The OEIS Foundation.

Template:Curly bracket/glyph

From OeisWiki
Jump to: navigation, search

The {{curly bracket/glyph}} template ({{brace/glyph}} for short) gives the HTML glyphs needed by the {{curly bracket}} template ({{brace}} for short).

Glyphs needed to make vertical curly brackets (braces) in HTML+CSS:

  • curly brackets, or braces: { and },


  • Left curly bracket upper hook: U+23A7 ⎧
  • Left curly bracket middle piece: U+23A8 ⎨
  • Left curly bracket lower hook: U+23A9 ⎩


  • Right curly bracket upper hook: U+23AB ⎫
  • Right curly bracket middle piece: U+23AC ⎬
  • Right curly bracket lower hook: U+23AD ⎭


  • Curly bracket extension: U+23AA ⎪


  • Upper left or lower right curly bracket section: U+23B0 ⎰
  • Upper right or lower left curly bracket section: U+23B1 ⎱

Glyphs needed to make horizontal curly brackets (braces) in HTML+CSS:

  • Top curly bracket U+23DE ⏞ (not supported)
<span style="{{transform-rotate|90}}">{</span> yields a top curly bracket   {
  • Bottom curly bracket U+23DF ⏟ (not supported)
<span style="{{transform-rotate|90}}">}</span> yields a bottom curly bracket   }

To get horizontal curly brackets, we just have to build a left or right vertical curly bracket (of any size) with {{brace}} and wrap a left brace (a right brace) into

<span style="{{transform-rotate|90}}"> ... </span>

to get an overbrace (an underbrace) of same size.

Usage

{{brace/glyph|part}}

where part is from

  • l: whole left brace {
  • r: whole right brace }


  • ul: upper left
  • ml: middle left
  • ll: lower left
  • ur: upper right
  • mr: middle right
  • lr: lower right


  • ve: vertical extension


  • /: rising half brace
  • \: falling half brace

See also