• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Langle

  • Template
  • Talk
  • Language
  • Watch
  • Edit

⟨

Template documentation[view] [edit] [history] [purge]

This is the left-handed angular bracket used for writing averages or bra–ket notation, with other applications primarily in mathematics and physics, for use when inline html rendering is desired rather than TeX rendering.

This is used in the {{braket}} template. When creating bra or ket vectors, or inner products, use {{Braket}} to save the trouble of typing | (for the pipe symbol), {{langle}}, or {{rangle}} every time.

Examples

edit
Bras

The superposition of states can be written ⟨p| + ⟨q| + ⟨χ| + ⟨ψ|, which is inline with the text.

Another superposition of states: ⟨P| + ⟨Q| + ⟨Φ| + ⟨Ψ|, again inline.

The superposition of states can be written {{langle}}p| + {{langle}}q| + {{langle}}χ| + {{langle}}ψ|, which is inline with the text.

Another superposition of states: {{langle}}P| + {{langle}}Q| + {{langle}}Φ| + {{langle}}Ψ|, again inline.
Tables (also hidden boxes)

Due to the vertical bar | used in template coding, the html code | must be used when bra–ket notation is used in tables, else some parts will not show up because of code interference.

The correct way:

Left bracket alone Bra
⟨Φ + ⟨Ψ ⟨Φ| + ⟨Ψ|

and the wrong way:

Left bracket alone Bra
⟨Φ + ⟨Ψ + ⟨Ψ|
The correct way: 

{| class="wikitable"
! Left bracket alone 
! Bra 
|-
| {{langle}}Φ + {{langle}}Ψ
| {{langle}}Φ| + {{langle}}Ψ|
|}

and the wrong way:

{| class="wikitable"
! Left bracket alone 
! Bra 
|-
| {{langle}}Φ + {{langle}}Ψ
| {{langle}}Φ| + {{langle}}Ψ|
|}
In conjunction with {{rangle}}

One sum of inner products is ⟨p|q⟩ + ⟨χ|ψ⟩, a real number.

A sum of average values could be ⟨P|E|Q⟩ + ⟨Φ|p|Ψ⟩, another real number.

One sum of inner products is {{langle}}p|q{{rangle}} + {{langle}}χ|ψ{{rangle}}, a real number.

A sum of average values could be {{langle}}P|''E''|Q{{rangle}} + {{langle}}Φ|''p''|Ψ{{rangle}}, another real number.

The average of a quantity q may be written ⟨q⟩. The root mean square is then √⟨q2⟩, i.e. square every value, then average, then take the root.

The average of a quantity ''q'' may be written {{langle}}''q''{{rangle}}. The root mean square is 
then √{{langle}}''q''<sup>2</sup>{{rangle}}, i.e. square every value, then average, then take the root.

See also

edit
  • v
  • t
  • e
Math templates
  • Functions
  • Numeral systems
Functions
  • elementary arithmetic
  • precision
  • val (value formatting)
  • percentage
Numeral systems
  • {{#invoke:BaseConvert|XtoY}}
  • binary
  • decimal2Base
  • hex2dec
  • hexadecimal
  • octal
  • quaternary
  • rn
  • roman
  • ternary
  • vigesimal
Conversions
convert many units (see: list)
cvt abbreviated {{convert}}
convinfobox {{convert}} for infoboxes
bbl to t barrels of oil to tonnes
long ton long hundredweights, quarters and pounds to kilograms;
long tons and hundredweights to pounds and metric tons
miles-chains miles and chains to kilometres linking "chains"
decdeg degrees, minutes, and seconds to decimal degrees
deg2dms decimal degrees to degrees, minutes, and seconds
deg2hms decimal degrees to hour angle (in hours, minutes, and seconds)
hms2deg hour angle (in hours, minutes, and seconds) to decimal degrees
inflation calculate inflation of Consumer Price Index-related prices
pop density population density in an area
track gauge railway track gauges
Notation and formatting
bigmath bigger font to match TeX \displaystyle (standalone formulas only) math short text-based formulas
mathcal [mathematical] calligraphic font; alternative to LaTeX \mathcal{...} tombstone symbol indicating the end of a proof
mvar individual italicized maths variables in normal text val measurement values, uncertainties and units
  • overline
  • underline
a line set above/below a sequence of characters vec various overarrows, underarrows, etc.
abs absolute values (paired vertical lines)
  • langle
  • rangle
  • angbr
  • angular brackets
  • bra-ket
  • braket
  • bra
  • ket
  • bra–ket notation
  • ldelim
  • rdelim
  • multiline delimiters (2–5 lines inclusive)
    ceil, floor calculations :mw:Help:#expr; formatting indicators ⌈3.14⌉, ⌊3.14⌋ (no calculation performed) pars parentheses that can be resized (∑)
    fraction slant fractions 3⁄5 (not for maths/science articles; use standing or upright fractions {{sfrac}} instead) sfrac "standing" or upright fractions ⁠3/5⁠ (use in maths/science articles instead of{{fraction}})
    intmath integral symbols
  • sub
  • sup
  • su
  • subscripts and superscripts
  • overset
  • underset
  • arbitrary characters/diacritics set above/below one another    
    tmath Wrap TeX in <math> tags
  • Boxes
  • Tags
  • Notices
  • BoxesTags
    • arithmetic operations
    • calculus
    • Infobox mathematical function
    • functions
    • metricate
    • undue precision
    • units attention
    • Category
    • Module:Math
    The above documentation is transcluded from Template:Langle/doc. (edit | history)
    Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
    Add categories to the /doc subpage. Subpages of this template.
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Langle&oldid=716176747"
    Last edited on 20 April 2016, at 10:59

    Languages

      • Dansk
      • Føroyskt
      • Galego
      • 한국어
      • 日本語
      • Slovenščina
      • တႆး
      • తెలుగు
      • 中文
      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 20 April 2016, at 10:59 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop