Hubbry Logo
BracketBracketMain
Open search
Bracket
Community hub
Bracket
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Bracket
Bracket
from Wikipedia

Brackets
() []
brackets (BrE) square brackets (BrE)
round brackets (BrE) brackets (AmE)
parentheses (AmE)
{}
braces angle brackets
curly braces chevrons
curly brackets (BrE)

A bracket is either of two tall fore- or back-facing punctuation marks commonly used to isolate a segment of text or data from its surroundings.[1] They come in four main pairs of shapes, as given in the box to the right, which also gives their names, that vary between British and American English.[2] "Brackets", without further qualification, are in British English the (...) marks and in American English the [...] marks.[2][1]

Other symbols are repurposed as brackets in specialist contexts, such as those used by linguists.[3]

Brackets are typically deployed in symmetric pairs, and an individual bracket may be identified as a "left" or "right" bracket or, alternatively, an "opening bracket" or "closing bracket",[4] respectively, depending on the directionality of the context.

In casual writing and in technical fields such as computing or linguistic analysis of grammar, brackets nest, with segments of bracketed material containing embedded within them other further bracketed sub-segments.[1] The number of opening brackets matches the number of closing brackets in such cases.[1]

Various forms of brackets are used in mathematics, with specific mathematical meanings, often for denoting specific mathematical functions and subformulas.

History

[edit]

Angle brackets or chevrons ⟨ ⟩ were the earliest type of bracket to appear in written English. Erasmus coined the term lunula to refer to the round brackets or parentheses ( ) recalling the shape of the crescent moon (Latin: luna).[5]

Most typewriters only had the left and right parentheses. Square brackets appeared with some teleprinters.

Braces (curly brackets) first became part of a character set with the 8-bit code of the IBM 7030 Stretch.[6]

In 1961, ASCII contained parentheses, square, and curly brackets, and also less-than and greater-than signs that could be used as angle brackets.

Typography

[edit]

In English, typographers mostly prefer not to set brackets in italics, even when the enclosed text is italic.[7] However, in other languages like German, if brackets enclose text in italics, they are usually also set in italics.[8]

Parentheses or round brackets

[edit]
Parenthesis
( )
  • parentheses (AE)
  • brackets (BE)
  • round brackets (BE)[2]
In Unicode
General purpose (half-width):[9]
  • U+0028 ( LEFT PARENTHESIS (()
  • U+0029 ) RIGHT PARENTHESIS ())
General purpose (full-width East Asian):[10]
  • U+FF08 FULLWIDTH LEFT PARENTHESIS
  • U+FF09 FULLWIDTH RIGHT PARENTHESIS
Arabic script
(Quranic quotations)[11]
  • U+FD3E ORNATE LEFT PARENTHESIS
  • U+FD3F ﴿ ORNATE RIGHT PARENTHESIS
  • U+2E28 LEFT DOUBLE PARENTHESIS
  • U+2E29 RIGHT DOUBLE PARENTHESIS
  • U+207D SUPERSCRIPT LEFT PARENTHESIS
  • U+207E SUPERSCRIPT RIGHT PARENTHESIS
  • U+208D SUBSCRIPT LEFT PARENTHESIS
  • U+208E SUBSCRIPT RIGHT PARENTHESIS
  • U+239B LEFT PARENTHESIS UPPER HOOK
  • U+239C LEFT PARENTHESIS EXTENSION
  • U+239D LEFT PARENTHESIS LOWER HOOK
  • U+239E RIGHT PARENTHESIS UPPER HOOK
  • U+239F RIGHT PARENTHESIS EXTENSION
  • U+23A0 RIGHT PARENTHESIS LOWER HOOK
  • U+23DC TOP PARENTHESIS (⏜)
  • U+23DD BOTTOM PARENTHESIS (⏝)
  • U+27EE MATHEMATICAL LEFT FLATTENED PARENTHESIS
  • U+27EF MATHEMATICAL RIGHT FLATTENED PARENTHESIS
  • U+2983 LEFT WHITE CURLY BRACKET
  • U+2984 RIGHT WHITE CURLY BRACKET
  • U+2985 LEFT WHITE PARENTHESIS (⦅)
  • U+2986 RIGHT WHITE PARENTHESIS (⦆)
Phonetic punctuation[18]
  • U+2E59 TOP HALF LEFT PARENTHESIS
  • U+2E5A TOP HALF RIGHT PARENTHESIS
  • U+2E5B BOTTOM HALF LEFT PARENTHESIS
  • U+2E5C BOTTOM HALF RIGHT PARENTHESIS
  • U+2768 MEDIUM LEFT PARENTHESIS ORNAMENT
  • U+2769 MEDIUM RIGHT PARENTHESIS ORNAMENT
  • U+276A MEDIUM FLATTENED LEFT PARENTHESIS ORNAMENT
  • U+276B MEDIUM FLATTENED RIGHT PARENTHESIS ORNAMENT

The marks ( and ) are parentheses /pəˈrɛnθɪsz/ (singular parenthesis /pəˈrɛnθɪsɪs/) in American English, and either round brackets or simply brackets in British English.[2][3]

In formal writing, "parentheses" is also used in British English.[20]

Uses of ( )

[edit]

Parentheses contain adjunctive material that serves to clarify (in the manner of a gloss) or is aside from the main point.[21]

A comma before or after the material can also be used, though if the sentence contains commas for other purposes, visual confusion may result. A dash before and after the material is also sometimes used.

Parentheses may be used in formal writing to add supplementary information, such as "Senator John McCain (R - Arizona) spoke at length". They can also indicate shorthand for "either singular or plural" for nouns, e.g. "the claim(s)". It can also be used for gender-neutral language, especially in languages with grammatical gender, e.g. "(s)he agreed with his/her physician" (the slash in the second instance, as one alternative is replacing the other, not adding to it).

Parenthetical phrases have been used extensively in informal writing and stream of consciousness literature. Examples include the southern American author William Faulkner (see Absalom, Absalom! and the Quentin section of The Sound and the Fury) as well as poet E. E. Cummings.

Parentheses have historically been used where the em dash is currently used in alternatives, such as "parenthesis)(parentheses". Examples of this usage can be seen in editions of Fowler's Dictionary of Modern English Usage.

Parentheses may be nested (generally with one set (such as this) inside another set). This is not commonly used in formal writing (though sometimes other brackets [especially square brackets] will be used for one or more inner set of parentheses [in other words, secondary {or even tertiary} phrases can be found within the main parenthetical sentence]).

Language

[edit]

A parenthesis in rhetoric and linguistics refers to the entire bracketed text, not just to the enclosing marks used (so all the text in this set of round brackets may be described as "a parenthesis").[22] Taking as an example the sentence "Mrs. Pennyfarthing (What? Yes, that was her name!) was my landlady.", the explanatory phrase between the parentheses is itself called a parenthesis. Again, the parenthesis implies that the meaning and flow of the bracketed phrase is supplemental to the rest of the text and the whole would be unchanged were the parenthesised sentences removed. The term refers to the syntax rather than the enclosure method: the same clause in the form "Mrs. Pennyfarthing – What? Yes, that was her name! – was my landlady" is also a parenthesis.[23] (In non-specialist usage, the term "parenthetical phrase" is more widely understood.[24])

In phonetics, parentheses are used for indistinguishable[25] or unidentified utterances. They are also seen for silent articulation (mouthing),[26] where the expected phonetic transcription is derived from lip-reading, and with periods to indicate silent pauses, for example (...) or (2 sec).

In some languages, such as the Nicodemus orthography for Coeur d’Alene, parentheses are used as phonemic symbols instead of punctuation.

Enumerations

[edit]

An unpaired right parenthesis is often used as part of a label in an ordered list, such as this one:

a) educational testing,
b) technical writing and diagrams,
c) market research, and
d) elections.

Accounting

[edit]

Traditionally in accounting, contra amounts are placed in parentheses. A debit balance account in a series of credit balances will have parentheses and vice versa.

Parentheses in mathematics

[edit]

Parentheses are used in mathematical notation to indicate grouping, often inducing a different order of operations. For example: in the usual order of algebraic operations, 4 × 3 + 2 equals 14, since the multiplication is done before the addition. However, 4 × (3 + 2) equals 20, because the parentheses override normal precedence, causing the addition to be done first. Some authors follow the convention in mathematical equations that, when parentheses have one level of nesting, the inner pair are parentheses and the outer pair are square brackets. Example:

Parentheses in programming languages

[edit]

Parentheses are included in the syntaxes of many programming languages. Typically needed to denote an argument; to tell the compiler what data type the method/function needs to look for first in order to initialise. In some cases, such as in LISP, parentheses are a fundamental construct of the language. They are also often used for scoping functions and operators and for arrays. In syntax diagrams they are used for grouping, such as in extended Backus–Naur form.

In Mathematica and the Wolfram language, parentheses are used to indicate grouping – for example, with pure anonymous functions.

Taxonomy

[edit]

If it is desired to include the subgenus when giving the scientific name of an animal species or subspecies, the subgenus's name is provided in parentheses between the genus name and the specific epithet.[27] For instance, Polyphylla (Xerasiobia) alba is a way to cite the species Polyphylla alba while also mentioning that it is in the subgenus Xerasiobia.[28] There is also a convention of citing a subgenus by enclosing it in parentheses after its genus, e.g., Polyphylla (Xerasiobia) is a way to refer to the subgenus Xerasiobia within the genus Polyphylla.[29] Parentheses are similarly used to cite a subgenus with the name of a prokaryotic species, although the International Code of Nomenclature of Prokaryotes (ICNP) requires the use of the abbreviation "subgen". as well, e.g., Acetobacter (subgen. Gluconoacetobacter) liquefaciens.[30]

Chemistry

[edit]

Parentheses are used in chemistry to denote a repeated substructure within a molecule, e.g. HC(CH3)3 (isobutane) or, similarly, to indicate the stoichiometry of ionic compounds with such substructures: e.g. Ca(NO3)2 (calcium nitrate).

This is a notation that was pioneered by Berzelius, who wanted chemical formulae to more resemble algebraic notation, with brackets enclosing groups that could be multiplied (e.g. in 3(AlO2 + 2SO3) the 3 multiplies everything within the parentheses).[31][32]

In chemical nomenclature, parentheses are used to distinguish structural features and multipliers for clarity, for example in the polymer poly(methyl methacrylate).[33]

Square brackets

[edit]
Square brackets
[ ]
In Unicode
General purpose
(half-width)[9]
  • U+005B [ LEFT SQUARE BRACKET ([, [)
  • U+005D ] RIGHT SQUARE BRACKET (], ])
General purpose
(full-width East Asian)[10]
  • U+FF3B FULLWIDTH LEFT SQUARE BRACKET
  • U+FF3D FULLWIDTH RIGHT SQUARE BRACKET
  • U+2045 LEFT SQUARE BRACKET WITH QUILL
  • U+2046 RIGHT SQUARE BRACKET WITH QUILL
Technical/Mathematical[14][15][16][17]
  • U+23A1 LEFT SQUARE BRACKET UPPER CORNER
  • U+23A2 LEFT SQUARE BRACKET EXTENSION
  • U+23A3 LEFT SQUARE BRACKET LOWER CORNER
  • U+23A4 RIGHT SQUARE BRACKET UPPER CORNER
  • U+23A5 RIGHT SQUARE BRACKET EXTENSION
  • U+23A6 RIGHT SQUARE BRACKET LOWER CORNER
  • U+23B4 TOP SQUARE BRACKET (⎴, ⎴)
  • U+23B5 BOTTOM SQUARE BRACKET (⎵, ⎵)
  • U+23B6 BOTTOM SQUARE BRACKET OVER TOP SQUARE BRACKET (⎶)
  • U+27E6 MATHEMATICAL LEFT WHITE SQUARE BRACKET (⟦, ⟦)
  • U+27E7 MATHEMATICAL RIGHT WHITE SQUARE BRACKET (⟧, ⟧)
  • U+298B LEFT SQUARE BRACKET WITH UNDERBAR (⦋)
  • U+298C RIGHT SQUARE BRACKET WITH UNDERBAR (⦌)
  • U+298D LEFT SQUARE BRACKET WITH TICK IN TOP CORNER (⦍)
  • U+2990 RIGHT SQUARE BRACKET WITH TICK IN TOP CORNER (⦐)
  • U+298E RIGHT SQUARE BRACKET WITH TICK IN BOTTOM CORNER (⦎)
  • U+298F LEFT SQUARE BRACKET WITH TICK IN BOTTOM CORNER (⦏)
Phonetic punctuation[18]
  • U+2E55 LEFT SQUARE BRACKET WITH STROKE
  • U+2E56 RIGHT SQUARE BRACKET WITH STROKE
  • U+2E57 LEFT SQUARE BRACKET WITH DOUBLE STROKE
  • U+2E58 RIGHT SQUARE BRACKET WITH DOUBLE STROKE
Quotation
(East-Asian texts)[34]
  • U+301A LEFT WHITE SQUARE BRACKET
  • U+301B RIGHT WHITE SQUARE BRACKET

[ and ] are square brackets in both British and American English, but are also more simply brackets in the latter.[2][1] An older name for these brackets is "crotchets".[35]

Uses of [ ]

[edit]

Square brackets are often used to insert explanatory material or to mark where a [word or] passage was omitted from an original material by someone other than the original author, or to mark modifications in quotations.[36] In transcribed interviews, sounds, responses and reactions that are not words but that can be described are set off in square brackets — "... [laughs] ...".

When quoted material is in any way altered, the alterations are enclosed in square brackets within the quotation to show that the quotation is not exactly as given, or to add an annotation.[37] For example: The Plaintiff asserted his cause is just, stating,

[m]y causes is [sic] just.

In the original quoted sentence, the word "my" was capitalised: it has been modified in the quotation given and the change signalled with brackets. Similarly, where the quotation contained a grammatical error (is/are), the quoting author signalled that the error was in the original with "[sic]" (Latin for 'thus').

A bracketed ellipsis, [...], is often used to indicate omitted material: "I'd like to thank [several unimportant people] for their tolerance [...]"[38] Bracketed comments inserted into a quote indicate where the original has been modified for clarity: "I appreciate it [the honor], but I must refuse", and "the future of psionics [see definition] is in doubt". Or one can quote the original statement "I hate to do laundry" with a (sometimes grammatical) modification inserted: He "hate[s] to do laundry".

Additionally, a small letter can be replaced by a capital one, when the beginning of the original printed text is being quoted in another piece of text or when the original text has been omitted for succinctness— for example, when referring to a verbose original: "To the extent that policymakers and elite opinion in general have made use of economic analysis at all, they have, as the saying goes, done so the way a drunkard uses a lamppost: for support, not illumination", can be quoted succinctly as: "[P]olicymakers [...] have made use of economic analysis [...] the way a drunkard uses a lamppost: for support, not illumination." When nested parentheses are needed, brackets are sometimes used as a substitute for the inner pair of parentheses within the outer pair.[39] When deeper levels of nesting are needed, convention is to alternate between parentheses and brackets at each level.

Alternatively, empty square brackets can also indicate omitted material, usually single letter only. The original, "Reading is also a process and it also changes you." can be rewritten in a quote as: It has been suggested that reading can "also change[] you".[40]

In translated works, brackets are used to signify the same word or phrase in the original language to avoid ambiguity.[41] For example: He is trained in the way of the open hand [karate].

Style and usage guides originating in the news industry of the twentieth century, such as the AP Stylebook, recommend against the use of square brackets because "They cannot be transmitted over news wires."[42] However, this guidance has little relevance outside of the technological constraints of the industry and era.

In linguistics, phonetic transcriptions are generally enclosed within square brackets,[43] whereas phonemic transcriptions typically use paired slashes, according to International Phonetic Alphabet rules. Pipes (| |) are often used to indicate a morphophonemic rather than phonemic representation. Other conventions are double slashes (⫽ ⫽), double pipes (‖ ‖) and curly brackets ({ }).

In lexicography, square brackets usually surround the section of a dictionary entry which contains the etymology of the word the entry defines.

Proofreading

[edit]

Brackets (called move-left symbols or move right symbols) are added to the sides of text in proofreading to indicate changes in indentation:

Move left [To Fate I sue, of other means bereft, the only refuge for the wretched left.
Centre ]Paradise Lost[
Move up

Square brackets are used to denote parts of the text that need to be checked when preparing drafts prior to finalising a document.

Law

[edit]

Square brackets are used in some countries in the citation of law reports to identify parallel citations to non-official reporters. For example:

Chronicle Pub. Co. v Superior Court (1998) 54 Cal.2d 548, [7 Cal.Rptr. 109]

In some other countries (such as England and Wales), square brackets are used to indicate that the year is part of the citation and parentheses are used to indicate the year the judgment was given. For example:

National Coal Board v England [1954] AC 403

This case is in the 1954 volume of the Appeal Cases reports, although the decision may have been given in 1953 or earlier. Compare with:

(1954) 98 Sol Jo 176

This citation reports a decision from 1954, in volume 98 of the Solicitors Journal which may be published in 1955 or later.

They often denote points that have not yet been agreed to in legal drafts and the year in which a report was made for certain case law decisions.

Square brackets in mathematics

[edit]

Brackets are used in mathematics in a variety of notations, including standard notations for commutators, the floor function, the Lie bracket, equivalence classes, the Iverson bracket, and matrices.

Square brackets may be used exclusively or in combination with parentheses to represent intervals as interval notation.[44] For example, [0,5] represents the set of real numbers from 0 to 5 inclusive. Both parentheses and brackets are used to denote a half-open interval; [5, 12) would be the set of all real numbers between 5 and 12, including 5 but not 12. The numbers may come as close as they like to 12, including 11.999 and so forth, but 12.0 is not included. In some European countries, the notation [5, 12[ is also used.[45][46] The endpoint adjoining the square bracket is known as closed, whereas the endpoint adjoining the parenthesis is known as open.[44]

In group theory and ring theory, brackets denote the commutator. In group theory, the commutator [g, h] is commonly defined as g −1h −1gh. In ring theory, the commutator [a, b] is defined as abba.

Chemistry

[edit]

Square brackets can also be used in chemistry to represent the concentration of a chemical substance in solution and to denote charge a Lewis structure of an ion (particularly distributed charge in a complex ion), repeating chemical units (particularly in polymers) and transition state structures, among other uses.

Square brackets in programming languages

[edit]

Brackets are used in many computer programming languages, primarily for array indexing. But they are also used to denote general tuples, sets and other structures, just as in mathematics. There may be several other uses as well, depending on the language at hand. In syntax diagrams they are used for optional portions, such as in extended Backus–Naur form.

Double brackets ⟦ ⟧

[edit]

Double brackets (or white square brackets or Scott brackets), ⟦ ⟧, are used to indicate the semantic evaluation function in formal semantics for natural language and denotational semantics for programming languages.[47][48] In the Wolfram Language, double brackets, either as iterated single brackets ([[) or ligatures (〚) are used for list indexing.[49]

The brackets stand for a function that maps a linguistic expression to its "denotation" or semantic value. In mathematics, double brackets may also be used to denote intervals of integers or, less often, the floor function. In papyrology, following the Leiden Conventions, they are used to enclose text that has been deleted in antiquity.[50]

Lenticular brackets【】

[edit]

Some East Asian languages use lenticular brackets , a combination of square brackets and round brackets called 方頭括號 (fāngtóu kuòhào) in Chinese and 隅付き括弧 (sumitsuki kakko) in Japanese. They are used in titles and headings in both Chinese[51] and Japanese. On the Internet, they are used to emphasise a text. In Japanese, they are most frequently seen in dictionaries for quoting Chinese characters and Sino-Japanese loanwords.

Floor ⌊ ⌋ and ceiling ⌈ ⌉ corner brackets

[edit]
Floor and ceiling
ceiling floor
In Unicode
Floor and ceiling functions[14]
  • U+2308 LEFT CEILING (⌈, ⌈)
  • U+2309 RIGHT CEILING (⌉, ⌉)
  • U+230A LEFT FLOOR (⌊, ⌊)
  • U+230B RIGHT FLOOR (⌋, ⌋)

The floor corner brackets and , the ceiling corner brackets and (U+2308, U+2309) are used to denote the integer floor and ceiling functions.

Quine corners ⌜⌝ and half brackets ⸤ ⸥ or ⸢ ⸣

[edit]

The Quine corners and have at least two uses in mathematical logic: either as quasi-quotation, a generalisation of quotation marks, or to denote the Gödel number of the enclosed expression.

Half brackets are used in English to mark added text, such as in translations: "Bill saw ⸤her⸥".

In editions of papyrological texts, half brackets, ⸤ and ⸥ or ⸢ and ⸣, enclose text which is lacking in the papyrus due to damage, but can be restored by virtue of another source, such as an ancient quotation of the text transmitted by the papyrus.[52] For example, Callimachus Iambus 1.2 reads: ἐκ τῶν ὅκου βοῦν κολλύ⸤βου π⸥ιπρήσκουσιν. A hole in the papyrus has obliterated βου π, but these letters are supplied by an ancient commentary on the poem. Second intermittent sources can be between ⸢ and ⸣. Quine corners are sometimes used instead of half brackets.[14]

Brackets with quills ⁅ ⁆

[edit]

Known as "spike parentheses" (Swedish: piggparenteser), and are used in Swedish bilingual dictionaries to enclose supplemental constructions.[53]

Curly brackets

[edit]
Curly brackets
{ }
In Unicode
General
(half width)[9]
  • U+007B { LEFT CURLY BRACKET ({, {)
  • U+007D } RIGHT CURLY BRACKET (}, })
General
(full-width East Asian)[10]
  • U+FF5B FULLWIDTH LEFT CURLY BRACKET
  • U+FF5D FULLWIDTH RIGHT CURLY BRACKET
Technical/Mathematical
(half-width)[14][15][16][17]
  • U+23A7 LEFT CURLY BRACKET UPPER HOOK
  • U+23A8 LEFT CURLY BRACKET MIDDLE PIECE
  • U+23A9 LEFT CURLY BRACKET LOWER HOOK
  • U+23AB RIGHT CURLY BRACKET UPPER HOOK
  • U+23AC RIGHT CURLY BRACKET MIDDLE PIECE
  • U+23AD RIGHT CURLY BRACKET LOWER HOOK
  • U+23AA CURLY BRACKET EXTENSION
  • U+23B0 UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION (⎰, ⎰)
  • U+23B1 UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION (⎱, ⎱)
  • U+23DE TOP CURLY BRACKET (⏞)
  • U+23DF BOTTOM CURLY BRACKET (⏟)
  • U+2774 MEDIUM LEFT CURLY BRACKET ORNAMENT
  • U+2775 MEDIUM RIGHT CURLY BRACKET ORNAMENT

{ and } are curly brackets or braces in both American and British English.[2][1]

Uses of { }

[edit]
An example of curly brackets used to group sentences together

Curly brackets are used by text editors to mark editorial insertions[54] or interpolations.[55]

Braces used to be used to connect multiple lines of poetry, such as triplets in a poem of rhyming couplets,[56] although this usage had gone out of fashion by the 19th century.[57][58]

Another older use in prose was to eliminate duplication in lists and tables.[58] Two examples here from Charles Hutton's 19th century table of weights and measures in his A Course of Mathematics:

In this kingdom[59]
The standard of ...

Length is a Yard.
Surface is a Square Yard, the 14840 of an Acre.
⎰ Solidity is a Cubic Yard.
⎱ Capacity is a Gallon.
Weight is a Pound.
Imperial measure of CAPACITY for coals, culm, lime, fish, potatoes, fruit,– and other goods commonly sold by heaped measure:[60]
2 Gallons = 1 Peck = 764 Cubic Inches, nearly
8 Gallons = 1 Bushel = 2813+12
3 Bushels = 1 Sack = 4+89 Cubic Feet, nearly
12 Sacks = 1 Chald. = 58+23

As an extension to the International Phonetic Alphabet (IPA), braces are used for prosodic notation.

Music

[edit]

In music, they are known as "accolades" or "braces", and connect two or more lines (staves) of music that are played simultaneously.[61]

Chemistry

[edit]

The use of braces in chemistry is an old notation that has long since been superseded by subscripted numbers.[31] The chemical formula for water, H2O, was represented as .[31]

Curly brackets in programming languages

[edit]

In many programming languages, curly brackets enclose groups of statements and create a local scope. Such languages (C, C#, C++ and many others) are therefore called curly bracket languages.[62] They are also used to define structures and enumerated type in these languages.

In various Unix shells, they enclose a group of strings that are used in a process known as brace expansion, where each successive string in the group is interpolated at that point in the command line to generate the command-line's final form.[63] The mechanism originated in the C shell and the string generation mechanism is a simple interpolation that can occur anywhere in a command line and takes no account of existing filenames.[64]

In syntax diagrams they are used for repetition, such as in extended Backus–Naur form.

In the Z formal specification language, braces define a set.

Curly brackets in mathematics

[edit]

In mathematics they delimit sets, in what is called set notation.[65] Braces enclose either a literal list of set elements, or a rule that defines the set elements.[65] For example:

  • S = {a, b} defines a set S containing a and b.[65]
  • S = {x | x > 0} defines a set S containing elements (implied to be numbers) x0, x1, and so on where every xn satisfies the rule that it is greater than zero.[65]

They are often also used to denote the Poisson bracket between two quantities.

In ring theory, braces denote the anticommutator where {a, b} is defined as ab + ba.

Angle brackets

[edit]
Angle brackets
⟨ ⟩ ⟪ ⟫ < >
Angle brackets (BE&AE)[2] Angle brackets (BE&AE)[2] less-than and greater-than
In Unicode
Less/greater than
(half width)[9]
  • U+003C < LESS-THAN SIGN (&lt;, &LT;)
  • U+003E > GREATER-THAN SIGN (&gt;, &GT;)
Less/greater than
(full-width East Asian)[10]
  • U+FF1C FULLWIDTH LESS-THAN SIGN
  • U+FF1E FULLWIDTH GREATER-THAN SIGN
Technical/Mathematical
(half-width)[14][15][16][17]
  • U+2329 LEFT-POINTING ANGLE BRACKET[a]
  • U+232A RIGHT-POINTING ANGLE BRACKET[a]
  • U+27E8 MATHEMATICAL LEFT ANGLE BRACKET (&lang;, &langle;, &LeftAngleBracket;)[a]
  • U+27E9 MATHEMATICAL RIGHT ANGLE BRACKET (&rang;, &rangle;, &RightAngleBracket;)[a]
  • U+27EA MATHEMATICAL LEFT DOUBLE ANGLE BRACKET (&Lang;)
  • U+27EB MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET (&Rang;)
  • U+2991 LEFT ANGLE BRACKET WITH DOT (&langd;)
  • U+2992 RIGHT ANGLE BRACKET WITH DOT (&rangd;)
  • U+29FC LEFT-POINTING CURVED ANGLE BRACKET
  • U+29FD RIGHT-POINTING CURVED ANGLE BRACKET
Quotation
(fullwidth East-Asian texts)[34]
  • U+3008 LEFT ANGLE BRACKET
  • U+3009 RIGHT ANGLE BRACKET
  • U+300A LEFT DOUBLE ANGLE BRACKET
  • U+300B RIGHT DOUBLE ANGLE BRACKET
  • U+276C MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT
  • U+276D MEDIUM RIGHT-POINTING ANGLE BRACKET ORNAMENT
  • U+2770 HEAVY LEFT-POINTING ANGLE BRACKET ORNAMENT
  • U+2771 HEAVY RIGHT-POINTING ANGLE BRACKET ORNAMENT
  • U+276E HEAVY LEFT-POINTING ANGLE QUOTATION MARK ORNAMENT
  • U+276F HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMENT

The symbols and are angle brackets in both American and British English.[2][1] In (largely archaic) computer slang, they were sometimes known as "brokets".[66]

The ASCII characters less-than sign and greater-than sign < and > are widely substituted for angle brackets. In many cases, only these substituted characters are accepted by computer programs, and the Unicode angle brackets are not recognised (for instance, in HTML tags). The characters for "single" guillemets ( and ) (single european style quote marks) are also occasionally used to indicate angle brackets, and normal guillemets (« and ») (double european style quote marks) used when 'nested' (ie, double) angle brackets are needed.

The angle brackets U+27E8 MATHEMATICAL LEFT ANGLE BRACKET and U+27E9 MATHEMATICAL RIGHT ANGLE BRACKET are for mathematical use and Western languages, whereas U+3008 LEFT ANGLE BRACKET and U+3009 RIGHT ANGLE BRACKET are double width forms for East Asian languages. The angle bracket symbols at U+2329 and U+232A are deprecated in favour of the U+3008 and U+3009 East Asian angle brackets. Unicode discourages their use for mathematics and in Western texts,[14] because they are canonically equivalent to the CJK code points U+300n and thus likely to render as double-width symbols.

(The word chevron is sometimes used for 'angle bracket', but chevrons are normally oriented horizontally rather than vertically.)

  1. ^ a b c d &lang; and &rang; were tied to the deprecated symbols U+2329 and U+232A in HTML4 and MathML2, but are being migrated to U+27E8 and U+27E9 for HTML5 and MathML3, as defined in XML Entity Definitions for Characters (Archived 27 January 2013 at the Wayback Machine).

Shape

[edit]

Angle brackets are larger than 'less-than' and 'greater-than' signs, which in turn are larger than guillemets.

Angle brackets, less-than/greater-than signs and single guillemets in fonts Cambria, DejaVu Serif, Andron Mega Corpus, Andika and Everson Mono

Uses of ⟨ ⟩

[edit]

Angle brackets are infrequently used to denote words that are thought instead of spoken, such as:

⟨What an unusual flower!⟩

In textual criticism, and hence in many editions of pre-modern works, chevrons denote sections of the text which are illegible or otherwise lost; the editor will often insert their own reconstruction where possible within them.[67]

In linguistics, angle brackets identify graphemes (e.g., letters of an alphabet) or orthography, as in "The English word /kæt/ is spelled ⟨cat⟩."[68][69][67] (See IPA Brackets and transcription delimiters.)

In epigraphy, they may be used for mechanical transliterations of a text into the Latin script.[69]

In East Asian punctuation, angle brackets are used as quotation marks. Angle bracket symbols are part of standard Chinese, Japanese, Korean punctuation, where they generally enclose the titles of books, as: 〈 ︙ 〉 or 《 ︙ 》 for traditional vertical printing — written in vertical lines — and as 〈 ... 〉 or 《 ... 》 for horizontal printing — in horizontal.

Angle brackets in mathematics

[edit]

Angle brackets (or 'chevrons') are used in group theory to write group presentations, and to denote the subgroup generated by a collection of elements. In set theory, chevrons or parentheses are used to denote ordered pairs[70] and other tuples, whereas curly brackets are used for unordered sets.

Physics and mechanics

[edit]

In physical sciences and statistical mechanics, angle brackets are used to denote an average (expected value) over time or over another continuous parameter. For example:

In mathematical physics, especially quantum mechanics, it is common to write the inner product between elements as a|b, as a short version of a|·|b, or a|Ô|b, where Ô is an operator. This is known as Dirac notation or bra–ket notation, to note vectors from the dual spaces of the Bra A| and the Ket |B. But there are other notations used.

In continuum mechanics, chevrons may be used as Macaulay brackets.

Angle brackets in programming languages

[edit]

In C++ angle brackets (actually less-than and greater-than) are used to surround arguments to templates. They are also used to surround the names of header files; this usage was inherited from and is also found in C.

In the Z formal specification language, angle brackets define a sequence.

In HTML, angle brackets (actually 'greater than' and 'less than' symbols) are used to bracket meta text. For example <b> denotes that the following text should be displayed as bold. Pairs of meta text tags are required – much as brackets themselves are usually in pairs. The end of the bold text segment would be indicated by </b>. This use is sometimes extended as an informal mechanism for communicating mood or tone in digital formats such as messaging, for example adding "<sighs>" at the end of a sentence.

Unicode

[edit]

Representations of various kinds of brackets in Unicode and their respective HTML entities, that are not in the infoboxes in preceding sections, are given below.

Unicode and HTML encodings for various bracket characters
Uses Unicode/HTML Sample
Quine corners[14] U+231C TOP LEFT CORNER (&ulcorn;, &ulcorner;) quasi-quotation
editorial notation
U+231D TOP RIGHT CORNER (&urcorn;, &urcorner;)
U+231E BOTTOM LEFT CORNER (&dlcorn;, &llcorner;) editorial notation
U+231F BOTTOM RIGHT CORNER (&drcorn;, &lrcorner;)
Brackets with quill U+2046 RIGHT SQUARE BRACKET WITH QUILL ⁅...⁆
U+2045 LEFT SQUARE BRACKET WITH QUILL
Fullwidth parentheses[10] U+FF5F FULLWIDTH LEFT WHITE PARENTHESIS ⦅...⦆
U+FF60 FULLWIDTH RIGHT WHITE PARENTHESIS
Technical/mathematical
(specialised)[14][15][16][17]
U+23B8 LEFT VERTICAL BOX LINE ⎸boxed text⎹
U+23B9 RIGHT VERTICAL BOX LINE
U+23E0 TOP TORTOISE SHELL BRACKET


tortoise shell brackets

U+23E1 BOTTOM TORTOISE SHELL BRACKET
U+27C5 LEFT S-SHAPED BAG DELIMITER ⟅...⟆
U+27C6 RIGHT S-SHAPED BAG DELIMITER
U+27D3 LOWER RIGHT CORNER WITH DOT ⟓pullback...pushout⟔
U+27D4 UPPER LEFT CORNER WITH DOT
U+27E6 MATHEMATICAL LEFT WHITE SQUARE BRACKET ⟦...⟧
U+27E7 MATHEMATICAL RIGHT WHITE SQUARE BRACKET
U+27EC MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET (&loang;) ⟬white tortoise shell brackets⟭
U+27ED MATHEMATICAL RIGHT WHITE TORTOISE SHELL BRACKET (&roang;)
U+2987 Z NOTATION LEFT IMAGE BRACKET RS
U+2988 Z NOTATION RIGHT IMAGE BRACKET
U+2989 Z NOTATION LEFT BINDING BRACKET x:Z
U+298A Z NOTATION RIGHT BINDING BRACKET
U+2993 LEFT ARC LESS-THAN BRACKET (&lparlt;) inequality sign brackets⦔
U+2994 RIGHT ARC GREATER-THAN BRACKET (&rpargt;)
U+2995 DOUBLE LEFT ARC GREATER-THAN BRACKET (&gtlPar;) ⦕inequality sign brackets⦖
U+2996 DOUBLE RIGHT ARC LESS-THAN BRACKET (&ltrPar;)
U+2997 LEFT BLACK TORTOISE SHELL BRACKET ⦗black tortoise shell brackets⦘
U+2998 RIGHT BLACK TORTOISE SHELL BRACKET
U+29D8 LEFT WIGGLY FENCE ⧘...⧙
U+29D9 RIGHT WIGGLY FENCE
U+29DA LEFT DOUBLE WIGGLY FENCE ⧚...⧛
U+29DB RIGHT DOUBLE WIGGLY FENCE
U+301A LEFT WHITE SQUARE BRACKET 〚...〛
U+301B RIGHT WHITE SQUARE BRACKET
Half brackets[13] U+2E22 TOP LEFT HALF BRACKET editorial notation
U+2E23 TOP RIGHT HALF BRACKET
U+2E24 BOTTOM LEFT HALF BRACKET editorial notation
U+2E25 BOTTOM RIGHT HALF BRACKET
Compatibility variants for CNS 11643[71] U+FE59 SMALL LEFT PARENTHESIS ﹙...﹚
U+FE5A SMALL RIGHT PARENTHESIS
U+FE5B SMALL LEFT CURLY BRACKET ﹛...﹜
U+FE5C SMALL RIGHT CURLY BRACKET
U+FE5D SMALL LEFT TORTOISE SHELL BRACKET ﹝...﹞
U+FE5E SMALL RIGHT TORTOISE SHELL BRACKET
Dingbats[19] U+2772 LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT (&lbbrk;) ❲light tortoise shell bracket ornament❳
U+2773 LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT (&rbbrk;)
N'Ko[13] U+2E1C LEFT LOW PARAPHRASE BRACKET ⸜ߒߞߏ⸝
U+2E1D RIGHT LOW PARAPHRASE BRACKET
Ogham[72] U+169B OGHAM FEATHER MARK ᚛ᚑᚌᚐᚋ᚜
U+169C OGHAM REVERSED FEATHER MARK
Old Hungarian U+2E42 DOUBLE LOW-REVERSED-9 QUOTATION MARK
Tibetan[73] U+0F3A TIBETAN MARK GUG RTAGS GYON ༺དབུ་ཅན་༻
U+0F3B TIBETAN MARK GUG RTAGS GYAS
U+0F3C TIBETAN MARK ANG KHANG GYON ༼༡༢༣༽
U+0F3D TIBETAN MARK ANG KHANG GYAS
New Testament editorial marks[13] U+2E02 LEFT SUBSTITUTION BRACKET ⸂...⸃
U+2E03 RIGHT SUBSTITUTION BRACKET
U+2E04 LEFT DOTTED SUBSTITUTION BRACKET ⸄...⸅
U+2E05 RIGHT DOTTED SUBSTITUTION BRACKET
U+2E09 LEFT TRANSPOSITION BRACKET ⸉...⸊
U+2E0A RIGHT TRANSPOSITION BRACKET
U+2E0C LEFT RAISED OMISSION BRACKET ⸌...⸍
U+2E0D RIGHT RAISED OMISSION BRACKET
Medieval studies[12][13] U+2E26 LEFT SIDEWAYS U BRACKET ⸦crux⸧
U+2E27 RIGHT SIDEWAYS U BRACKET
Indicate ellipsis in certain conventions for

Japanese transliteration[13]

U+2E55 LEFT SQUARE BRACKET WITH STROKE ⹕optional ellipsis⹖
U+2E56 RIGHT SQUARE BRACKET WITH STROKE
U+2E57 LEFT SQUARE BRACKET WITH DOUBLE STROKE ⹗obligatory ellipsis⹘
U+2E58 RIGHT SQUARE BRACKET WITH DOUBLE STROKE
Quotation
(East-Asian texts)[34]
U+3014 LEFT TORTOISE SHELL BRACKET 〔...〕
U+3015 RIGHT TORTOISE SHELL BRACKET
U+3016 LEFT WHITE LENTICULAR BRACKET 〖...〗
U+3017 RIGHT WHITE LENTICULAR BRACKET
U+3018 LEFT WHITE TORTOISE SHELL BRACKET 〘...〙
U+3019 RIGHT WHITE TORTOISE SHELL BRACKET
U+301D REVERSED DOUBLE PRIME QUOTATION MARK 〝...〞
U+301E DOUBLE PRIME QUOTATION MARK[a]
Quotation
(halfwidth East-Asian texts)[14][10]
U+FF62 HALFWIDTH LEFT CORNER BRACKET 「カタカナ」
U+FF63 HALFWIDTH RIGHT CORNER BRACKET
Quotation
(fullwidth East-Asian texts)[34]
U+300C LEFT CORNER BRACKET 「表題」
U+300D RIGHT CORNER BRACKET
U+300E LEFT WHITE CORNER BRACKET 『表題』
U+300F RIGHT WHITE CORNER BRACKET
U+3010 LEFT BLACK LENTICULAR BRACKET 【表題】
U+3011 RIGHT BLACK LENTICULAR BRACKET
Vertical bracket presentation forms[74][75][b] U+FE17 PRESENTATION FORM FOR VERTICAL LEFT WHITE LENTICULAR BRACKET ︗︙︙︘
U+FE18 PRESENTATION FORM FOR VERTICAL RIGHT WHITE LENTICULAR BRACKET[c]
U+FE35 PRESENTATION FORM FOR VERTICAL LEFT PARENTHESIS ︵︙︙︶
U+FE36 PRESENTATION FORM FOR VERTICAL RIGHT PARENTHESIS
U+FE37 PRESENTATION FORM FOR VERTICAL LEFT CURLY BRACKET ︷︙︙︸
U+FE38 PRESENTATION FORM FOR VERTICAL RIGHT CURLY BRACKET
U+FE39 PRESENTATION FORM FOR VERTICAL LEFT TORTOISE SHELL BRACKET ︹︙︙︺
U+FE3A PRESENTATION FORM FOR VERTICAL RIGHT TORTOISE SHELL BRACKET
U+FE3B PRESENTATION FORM FOR VERTICAL LEFT BLACK LENTICULAR BRACKET ︻︙︙︼
U+FE3C PRESENTATION FORM FOR VERTICAL RIGHT BLACK LENTICULAR BRACKET
U+FE3D PRESENTATION FORM FOR VERTICAL LEFT DOUBLE ANGLE BRACKET ︽︙︙︾
U+FE3E PRESENTATION FORM FOR VERTICAL RIGHT DOUBLE ANGLE BRACKET
U+FE3F ︿ PRESENTATION FORM FOR VERTICAL LEFT ANGLE BRACKET ︿︙︙﹀
U+FE40 PRESENTATION FORM FOR VERTICAL RIGHT ANGLE BRACKET
U+FE41 PRESENTATION FORM FOR VERTICAL LEFT CORNER BRACKET ﹁︙︙﹂
U+FE42 PRESENTATION FORM FOR VERTICAL RIGHT CORNER BRACKET
U+FE43 PRESENTATION FORM FOR VERTICAL LEFT WHITE CORNER BRACKET ﹃︙︙﹄
U+FE44 PRESENTATION FORM FOR VERTICAL RIGHT WHITE CORNER BRACKET
U+FE47 PRESENTATION FORM FOR VERTICAL LEFT SQUARE BRACKET ﹇︙︙﹈
U+FE48 PRESENTATION FORM FOR VERTICAL RIGHT SQUARE BRACKET
  1. ^ This is fullwidth version of U+2033 DOUBLE PRIME. In vertical texts, U+301F LOW DOUBLE PRIME QUOTATION MARK is preferred.
  2. ^ These characters are not used in typical documents. Instead the respective horizontal characters are used and the character that is rendered depends on the writing direction.
  3. ^ The original name of this character is "Presentation Form For Vertical Right White Lenticular Brakcet [sic]". Since Unicode character names cannot be changed, this character has the corrected name as an alias.

See also

[edit]

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
A bracket is a punctuation mark, typically used in pairs, to enclose or set off segments of text, , or symbols for purposes such as grouping, clarification, or indicating supplementary in writing, , and . The term encompasses several distinct types, each with specific conventions in different contexts. The primary types of brackets include round brackets (also called parentheses, shaped as ( )), square brackets ([ ]), curly brackets (or braces, { }), and angle brackets (or chevrons, < >). In standard English writing, round brackets enclose nonessential asides or additional details that do not alter the main sentence's meaning, while square brackets are reserved for editorial insertions, such as clarifications within quotations or notations to indicate errors in quoted material. Curly brackets often appear in technical or stylistic contexts, like denoting sets in or alternatives in dictionaries, and angle brackets are commonly used for denoting vectors in or XML/ tags in . In , brackets play a crucial role in denoting the —solved from innermost to outermost—and in specialized notations, such as square brackets for the floor function (the greatest less than or equal to a number) or curly brackets for sets of elements. For example, in an expression like 2 \times (3 + {{grok:render&&&type=render_inline_citation&&&citation_id=4&&&citation_type=wikipedia}}), the brackets ensure precise evaluation by prioritizing the enclosed operations. In and programming, brackets facilitate code structure and handling: square brackets index or lists (e.g., array[0] in languages like Python or ), curly brackets define blocks of or objects (e.g., in C++ functions or ), and angle brackets specify type parameters in generics (e.g., <T> in ). These uses highlight brackets' versatility across disciplines, evolving from typographic conventions in early printing to essential symbols in modern digital notation.

Overview

Definition and Classification

Brackets are paired punctuation marks used to enclose additional or non-essential information within a sentence, to group elements together, or to denote specific notations in fields such as text, mathematics, and programming. These delimiters typically consist of an opening mark and a corresponding closing mark, allowing the enclosed content to be set apart without altering the core meaning of the surrounding text if removed. In writing, they facilitate clarity by isolating asides, explanations, or references, while in technical contexts, they serve to organize expressions or data. The primary classification of brackets is based on their shape and conventional usage, dividing them into four main types: round brackets, also known as parentheses ( ), which are the most common for general parenthetical insertions; square brackets [ ], often employed for editorial clarifications within quotations; curly brackets, or braces { }, typically used in mathematical sets or programming; and angle brackets < >, which appear in linguistic or computational notations. Other specialized forms, such as floor brackets ⌊ ⌋, are used in to denote the greatest integer function but are not considered standard brackets. The term "bracket" derives from the Old French word braguette, a diminutive of brague meaning "codpiece" or knee-length breeches, originating from Gaulish braca possibly via Germanic roots like Old English broc. By the 16th century, it had evolved in English to refer to an architectural support projecting from a wall, resembling the shape of modern brackets, and by 1750, this sense extended to typography for the paired marks due to their supportive, enclosing appearance. Brackets are distinct from similar symbols like , which primarily indicate direct speech, titles, or emphasis rather than non-essential enclosures, and dashes, which are unpaired linear marks used for interruptions or abrupt shifts in thought instead of symmetric grouping. This differentiation ensures brackets maintain their role as precise delimiters without overlapping functions in standard usage.

Role in Punctuation and Notation

Brackets serve primary roles in and notation by grouping elements to clarify structure, inserting asides for additional explanation, denoting alternatives such as translations, and indicating revisions like changes in or emphasis within quoted material. For instance, in contexts, brackets insert clarifications within quotations, such as "She [Lucy] never called back," ensuring the reader understands ambiguous references without altering the original text. These functions extend to denoting alternatives, as in providing translations like "je ne sais pas [I don’t know]," or marking revisions, such as "[T]his study has been widely cited" to adjust initial . In complex sentences and expressions, brackets play a crucial role in disambiguating meaning, particularly in legal texts where precision prevents misinterpretation of statutes or contracts, and in formulas where they resolve operator precedence. For example, in formal legal writing, brackets can clarify scope in ambiguous phrasing, such as inserting identifiers or corrections to avoid disputes over intent. Similarly, in mathematical and logical notation, brackets group terms to eliminate ambiguity in hierarchical operations, as seen in expressions requiring layered enclosures to specify evaluation order. Unlike commas, which separate clauses but struggle with deep nesting, or , which enclose direct speech without easy embedding, brackets excel in their ability to nest multiple levels for hierarchical clarity. This nesting capability allows for structured asides within asides, such as in "The policy covers (vehicles [including cars and trucks] but excluding (bicycles [except in urban areas]))" to organize conditional details without confusion. Various types of brackets—, curly, and —support these roles across notations, enabling precise in diverse contexts.

History

Ancient and Medieval Origins

The concept of parenthesis as a rhetorical device for inserting explanatory asides originated in ancient Greek literature, where it was used to denote digressions or clarifications within speeches and texts, predating visual punctuation marks. In Hellenistic scholarship around the 3rd century BCE, Aristophanes of Byzantium introduced the first systematic punctuation system using dots at varying heights to indicate pauses in continuous script, facilitating the reading of classical works; this system laid groundwork for marking insertions similar to later brackets. By the 2nd century BCE, scholia—marginal annotations on Greek and Roman texts such as Homer's Iliad—employed symbols like the diple (a double oblique line, ›), often paired or repeated to delineate the start and end of comments, glosses, or quoted passages, serving a bracket-like function for supplementary material. In 's Elements (circa 300 BCE), the original Greek text lacked , relying on verbal connectors and layout for grouping axioms and propositions in ; however, subsequent s from the Roman and early medieval periods incorporated interpuncts and marginal symbols to clarify logical structures, reflecting evolving scribal practices for mathematical notation. During the medieval period, Byzantine s of liturgical texts, such as lectionaries from the 9th century onward, utilized elevated points, queries (ἐρωτηματικός), and curved marks resembling early parentheses to denote chants, rubrics, or glosses, enhancing rhythmic delivery in ecclesiastical readings. These conventions drew partial influence from Semitic scripts: in Hebrew s since the 9th century, biblical quotations were marked by paired points (: :) above the text, while symbols like the inverted (a curved, bracket-like enclosing verses) indicated transpositions or special sections in Masoretic codices. Similarly, medieval scripts employed paired dots or oblique lines for dividing verses and marking citations in Qur'anic and scholarly works, contributing to cross-cultural exchanges in traditions.

Development in Printing and Modern Typography

The invention of the movable-type by around 1450 facilitated the widespread production of books and the gradual standardization of punctuation marks, including brackets. Round parentheses first appeared in printed legal and scholarly texts around 1500, often used to denote glosses, insertions, or parenthetical explanations, enhancing in complex documents such as editions. In the early , the scholar Desiderius Erasmus referred to these round brackets as lunulae (little moons) due to their shape and promoted their use in his editions of classical texts. Printers like Nicolas Jenson in further popularized round parentheses by the late , integrating them into roman typefaces for broader use in printed works. During the 16th to 18th centuries, typographers refined bracket designs to achieve greater clarity and visual balance within evolving type systems. Pierre Simon Fournier, a prominent French type designer, contributed to these advancements through his comprehensive type catalogs and punch-cutting techniques. These efforts standardized bracket shapes, reducing variability seen in earlier hand-set types and ensuring consistency across European presses. By the 18th century, large curly braces (accolades) were commonly employed in scholarly encyclopedias, such as Diderot and d'Alembert's (1751–1780), to structure hierarchical content like tree diagrams. In the 19th and 20th centuries, national typographic styles introduced variations in bracket forms, reflecting linguistic and cultural preferences. In , guillemets (« »)—angular variants of brackets—evolved into standard by the late 19th century, replacing earlier rounded forms to prevent ink smearing in printing and improve legibility in dense prose. Other regions, such as and , developed distinct conventions, with angle brackets used for citations or omissions, while American and British styles favored straighter, more geometric square brackets in editorial contexts. These divergences were documented in typographic manuals and influenced the design of metal type families like and Didot. The advent of digital typography in the post-1980s era transformed bracket usage through vector-based fonts and encoding standards, enabling precise scaling and multi-script support. The release of 1.0 in 1991 incorporated essential bracket characters (such as U+0028 for left parenthesis and U+005B for left square bracket) into its Basic Latin block, promoting uniform rendering across computing platforms and eliminating discrepancies from code pages. This supported the proliferation of brackets in digital documents, from word processors to web typography, while type designers like those behind the STIX font project extended variations for mathematical and multilingual needs.

Typography

Design Variations Across Scripts

Bracket designs exhibit significant aesthetic and structural variations across different linguistic scripts, influenced by the characteristics of the script and the typeface family. In Latin script typefaces, round brackets (parentheses) in serif fonts, such as those in Times New Roman, typically feature softly curved forms with symmetric contrast distribution and a subtle swelling toward the center, though they may appear disproportionately wide and light relative to surrounding letters. In contrast, sans-serif typefaces like Helvetica present more geometric interpretations, with straighter, less organic curves that prioritize uniformity and minimalism, aligning with the overall clean lines of the font family. Square brackets in Latin scripts often suffer from excessive darkness in modern fonts, requiring careful adjustment to integrate seamlessly with text flow. Non-Latin scripts introduce further adaptations shaped by cultural and orthographic needs. In Cyrillic scripts, angle brackets (⟨ ⟩) serve specific functions like denoting omissions in quotations, with designs that echo the script's broader letterforms, often incorporating fuller, more robust curves to harmonize with the heavier strokes typical of Slavic typefaces. East Asian scripts, particularly Japanese, employ distinctive forms such as lenticular brackets (【 】), which adopt a rounded, lens-shaped profile for enclosing titles or emphasis, contrasting with the simpler arcs of Latin parentheses; these are optimized for both horizontal and vertical writing modes, rotating seamlessly to maintain visual balance. Corner brackets (「 」) in Japanese further emphasize angularity at the edges, providing a structured, book-like enclosure that reflects the script's emphasis on precise alignment in dense text layouts. Proportional scaling ensures brackets align with the typeface's metrics, matching the weight and height of adjacent characters while adhering to rules that account for optical illusions, such as tighter spacing around ascenders and to prevent uneven visual . In display typefaces, brackets may be rendered thinner and taller than in text variants, enhancing at larger sizes without overwhelming the composition. Historically, bracket designs have evolved from the irregular, hand-drawn lunulae and irregular curves in medieval manuscripts, where shapes varied by scribe and medium, to the standardized, low-contrast forms of printing that appeared thinner than body text. The transition to metal in the introduced composite constructions for complex braces, while 20th-century digital fonts shifted to precise vector-based outlines, enabling consistent curvature and scalability across resolutions, as seen in reconstructions like Premier Pro. This progression reflects broader typographic advancements, from artisanal inconsistencies to algorithmic precision in contemporary design.

Spacing and Stylistic Conventions

In English typography, round brackets (parentheses) are placed without spaces immediately inside the opening or closing marks, as in (text), with a space preceding the opening mark when it follows a word and normal spacing after the closing mark depending on the sentence structure. This convention ensures tight integration with the enclosed text, avoiding visual separation that could disrupt readability. Square brackets follow the same spacing rule in English, with no internal spaces, such as [example]. In French typography, parentheses and brackets also adhere to no-space-inside conventions, but require a before the opening mark and after the closing mark, exemplified by « ( texte ) » or « [ exemple ] », differing from the language's broader use of thin spaces before marks like colons, semicolons, exclamation points, and question marks. These guidelines promote consistency across scripts, aligning with variations in bracket design such as curved forms in Latin alphabets. Brackets must always appear in matched pairs, with opening and closing symbols corresponding precisely to maintain structural clarity; nesting follows a hierarchical order, typically using round brackets for the outer pair and square brackets for inner content to distinguish levels, as in (outer [inner]). This pairing prevents ambiguity in complex sentences and is a standard in formal writing. In , the contents of brackets adopt the formatting of the surrounding text, such as italics for emphasized phrases within italicized passages, while the brackets themselves remain in unless set in italics to harmonize with enclosed italic material and avoid typographic clashes like overlapping . When adding emphasis to quoted material, square brackets indicate alterations, e.g., [emphasis added]. Regional differences in punctuation affect bracket usage indirectly; for instance, both American and British English employ round brackets for in-text citations like (Smith 2020), but American style places associated punctuation inside closing quotation marks more consistently, while British style often positions it outside, influencing citation placement within quoted text.

Round Brackets (Parentheses)

Uses in Language and Writing

Round brackets, also known as parentheses, are commonly employed in English writing to enclose asides, additional explanations, or clarifying details that are not essential to the main sentence structure. This usage allows writers to insert supplementary information without disrupting the primary flow of the text, such as providing context or elaboration. For instance, a sentence might read: "The conference (held annually in Chicago) attracts global experts." Similarly, parentheses are used to include translations of foreign terms or phrases directly within the text, ensuring accessibility for readers unfamiliar with the original language, as in: "The term 'amigo' (friend) is widely used in Spanish-speaking cultures." In academic, scientific, and formal writing, round brackets are standard for in-text citations in styles such as APA and MLA, providing author-date or numbered references without interrupting the narrative flow. For example, a sentence might include "(Smith, 2020)" to credit a source, allowing readers to consult the full reference . In enumerations and s embedded within , round brackets facilitate clear numbering or lettering of items, particularly when the sequence is incidental to the narrative. This convention helps organize subpoints without resorting to full vertical lists, for example: "The report outlined key recommendations: (1) improve ; (2) enhance training programs; and (3) monitor outcomes regularly." Such formatting is standard in professional and to maintain readability. In financial and accounting contexts, parentheses denote negative values or losses, a practice that originated from traditional conventions to visually distinguish debits or deficits without using minus signs. For example, a might show a net loss as ($5,000), signaling the amount as subtracted from the total. This method is widely adopted in to convey clarity and consistency, especially in electronic formats where red ink is no longer feasible. Within quoted material, round brackets may appear as part of the original author's text to insert asides or parenthetical remarks, reflecting the writer's intent in or . However, to distinguish editorial additions by subsequent editors or transcribers from the author's original , square brackets are preferred for insertions into quotes, ensuring transparency in scholarly or journalistic reproductions. For example, an author's original quote might include "(as I recall)" in round brackets, while an editor's clarification would use [sic] in square brackets. This differentiation upholds the integrity of the source material in editorial practices.

Uses in Mathematics and Logic

In mathematics, round brackets, also known as parentheses, are primarily used to group terms within expressions to enforce a specific order of operations, overriding the standard precedence rules such as PEMDAS (Parentheses, Exponents, Multiplication and Division, Addition and Subtraction). This grouping ensures that operations within the brackets are performed first, clarifying ambiguity in otherwise linear notations. For instance, the expression (a+b)×c(a + b) \times c evaluates to a×c+b×ca \times c + b \times c, whereas a+(b×c)a + (b \times c) yields a+b×ca + b \times c, demonstrating how parentheses dictate the result and prevent misinterpretation in algebraic manipulations. Parentheses also denote open intervals on the real number line, representing sets of numbers strictly between two endpoints without including them. The notation (a,b)(a, b) signifies all real numbers xx such that a<x<ba < x < b, contrasting with closed intervals [a,b][a, b] that include the endpoints. This convention is standard in calculus and analysis for describing domains, ranges, and continuity properties, as seen in the open interval (0,1)(0, 1), which excludes 0 and 1. In formal logic, particularly propositional logic, parentheses group atomic propositions and connectives to specify the scope and order of operations, avoiding ambiguity in compound statements. For example, (PQ)R(P \land Q) \to R indicates that the conjunction of PP and QQ implies RR, whereas P(QR)P \land (Q \to R) has a different truth table due to altered grouping. This nesting is essential for parsing complex formulas, following precedence rules where negation precedes conjunction and disjunction, but parentheses override such hierarchies for precision. Round brackets must be distinguished from other mathematical delimiters, such as vertical bars x|x| used for absolute value, which denote a function computing distance from zero rather than mere grouping. Unlike parentheses, absolute value bars do not always behave as grouping symbols in order of operations and can alter the expression's evaluation, requiring careful differentiation in contexts like inequalities or norms.

Uses in Programming and Computing

In programming languages, round brackets, or parentheses, serve as essential syntactic delimiters for structuring code, a convention largely standardized by the ALGOL 60 report published in 1960. This influential language defined parentheses to enclose actual parameters in function designators and to group expressions for precedence, influencing subsequent languages like C, Pascal, and Python. For instance, in ALGOL 60, a function call such as sin(a - b) uses parentheses to delimit the argument, ensuring unambiguous evaluation. A primary use of parentheses is in function calls and argument passing, where they enclose the list of arguments supplied to a procedure or function. In Python, for example, invoking the built-in print function requires parentheses around its arguments, as in print("hello"), which executes the function and outputs the string. Similarly, in C, function prototypes and calls mandate parentheses to separate parameters, such as int add(int a, int b), promoting clear separation of function headers from bodies. This syntax traces back to 's parameter lists, like (actual parameter list), which separated arguments with commas for modularity in procedure calls. Parentheses also define conditions in control flow structures, particularly in conditional statements. In C-like languages, the if statement requires parentheses around the Boolean expression, as in if (x > 0) { ... }, to evaluate the condition before executing the associated block. established this pattern with syntax like if ([Boolean expression](/page/Boolean_expression)) then statement, ensuring the condition is isolated for parsing. While Python allows optional parentheses in if statements for readability, such as if x > 0:, the convention persists from ALGOL's influence to maintain consistency with expression grouping. In languages like and Python, parentheses denote tuple-like structures for grouping ordered collections of values. Lisp's S-expressions use parentheses to represent lists or pairs, such as (A B) for an , forming the basis of its homoiconic syntax where code and data share the same structure. Python extends this for immutable tuples, defining them with parentheses like t = (1, 2, 3), which support unpacking and use in functions without altering the grouped elements. This parallels their role in for grouping but adapts it to computational syntax for data encapsulation.

Square Brackets

Uses in Editing and Proofreading

Square brackets play a crucial role in and by indicating editorial interventions in quoted or reproduced text, distinguishing them from the original author's words. They are primarily used to insert clarifications, corrections, or annotations that were not present in the source material, ensuring transparency about any alterations. For instance, when quoting text with an obvious error, editors may insert [sic]—Latin for "thus"—immediately after the mistake to signal that the inaccuracy appears exactly as in the original, preventing readers from assuming it is an editorial oversight. This practice, rooted in scholarly and journalistic conventions, maintains the integrity of the source while providing necessary context. In proofreading, square brackets denote proposed changes or additions to the manuscript, such as replacing a word with a suggested alternative enclosed in brackets, like [revised term], to highlight modifications without altering the original layout during review. They also facilitate the addition of explanatory notes, such as [see footnote 5] or translations like [French: explication], which guide readers or future editors without disrupting the flow of the primary text. According to , square brackets are employed for substitutions within quotations, such as changing a verb tense (e.g., "approached" to [approach]) or silently correcting minor typos in brackets like (cost), offering a less intrusive alternative to [sic] for obvious errors. The Oxford University Style Guide similarly recommends square brackets for enclosing editorial comments, corrections, or references added by a subsequent editor, emphasizing their role in scholarly reproductions. Unlike round brackets (parentheses), which typically enclose the author's own asides or supplementary information, square brackets explicitly mark non-original content introduced by an editor or proofreader, preserving the distinction between primary and secondary material in edited works. This convention is standard in major style guides, including the Australian Government Style Manual, which advises using square brackets for insertions in quoted material, such as paraphrased elements or added words, to indicate editorial responsibility. By employing square brackets judiciously, editors avoid misleading readers about the authenticity of the text while enhancing clarity and accuracy in publications.

Uses in Law and Documentation

In legal documents and , square brackets are commonly employed to denote amendments, particularly for indicating deletions or repeals from existing text. For instance, in the drafting of bills, proposed for deletion is often enclosed in square brackets, such as [stricken language], to clearly mark changes without altering the original wording's visibility during review processes. Similarly, notations like [Repealed] may appear within square brackets to signal the prospective removal of a provision, as seen in revised statutes where editorial amendments highlight such updates. Inserted text in amendments is sometimes shown in square brackets to distinguish additions, akin to practices in general but adapted for statutory precision. Square brackets also facilitate citations and references in , including and statutes. In case citations, they enclose the year when the law report series is organized chronologically rather than by volume, ensuring accurate identification of the source, as in R v Smith EWCA Crim 123. For footnotes in judicial opinions and legal analyses, bracketed numbers like or may denote references to supporting authorities, providing a compact inline method distinct from superscript numbering in some styles. In statutory references, such as those in the United States Code, square brackets can highlight cross-references or editorial notes, for example, 18 U.S.C. [§ 1001] in contexts emphasizing specific sections amid amendments. In international treaties and diplomatic documents, square brackets have been used since the early to indicate optional or unresolved clauses during negotiation drafts. In documents, text within square brackets signifies provisions not yet agreed upon, allowing states to debate alternatives before final adoption, as in early drafts of conventions where disputed language remained bracketed until consensus. This practice, evident in works like the Commission's Guide to Practice on Reservations to Treaties, ensures transparency in multilateral treaty formation by isolating tentative elements.

Uses in Mathematics, Chemistry, and Programming

In mathematics, square brackets are commonly employed to denote vectors and matrices in linear algebra and related fields. For instance, a column vector can be represented as [x,y,z][x, y, z]^\top, where the transpose symbol indicates the vertical orientation, and matrices are often enclosed in double square brackets, such as [1234]\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} or compactly as [[1,2],[3,4]][[1,2],[3,4]]. This notation facilitates clear representation of multi-dimensional arrays and transformations in computational and theoretical contexts. Another significant application in is the , which evaluates a logical PP to 1 if PP is true and 0 otherwise, denoted [P][P]. Introduced by , this convention simplifies summations and indicator functions in combinatorial and probabilistic expressions, such as k=1n[k even]\sum_{k=1}^n [k \text{ even}], which counts even integers up to nn. It promotes concise formulations in and algorithm analysis. In chemistry, square brackets denote the molar concentration of species, particularly ions, as in [\ceCl][ \ce{Cl-} ] for the chloride ion concentration in solution. This standard convention is used in equilibrium expressions, rate laws, and solubility products, where [\ceA][ \ce{A} ] represents moles of A per liter, enabling precise quantification of reaction dynamics and solution properties. In programming, square brackets define array-like structures and enable indexing in many languages. For example, in Python, lists are created with square brackets, such as my_list = [1, 2, 3], and elements are accessed via zero-based indexing like my_list[0], which retrieves the first item. This syntax supports data manipulation in scripts, supporting efficient handling of sequences in algorithms and .

Curly Brackets (Braces)

Uses in Music Notation

In music notation, curly brackets, commonly referred to as braces, serve to visually group multiple staves that represent parts performed by a single or instrument, such as the right-hand and left-hand staves for , , or organ. This grouping indicates that the music on those connected staves is to be played simultaneously, facilitating clear reading of polyphonic textures in keyboard or multi-voice works. For instance, in scores, the brace links the treble clef staff above with the bass clef staff below to form the grand staff, encompassing a wide pitch range suitable for the instrument's capabilities. The brace is distinct from other notation elements like barlines, which are straight vertical lines marking measure divisions within individual staves, or straight brackets, which group staves for separate performers in ensemble scores such as orchestras. In organ notation, braces specifically connect staves for the manuals (hands) and pedals, emphasizing the instrument's independent lines while differentiating from simpler brackets used for sectional groupings like woodwinds. This convention ensures that performers quickly identify which staves belong to one part, avoiding confusion in complex scores. Historically, the brace emerged in the 17th century alongside the development of practices in keyboard music, where it helped organize the continuo part's multiple lines for or organ accompaniment. By the , composers like Johann Sebastian Bach standardized its use in works such as his Well-Tempered Clavier and organ compositions, employing braces to unite staves for hands and pedals in a cohesive visual system that supported intricate and improvisation over the bass line. In modern music software, tools like Finale and Sibelius automatically generate curly braces when users group staves for single-instrument parts, such as piano duets or vocal ensembles with , and allow extension to multi-instrument sections like a conductor's piano reduction of orchestral parts. These programs enable customization of brace shape and extent, maintaining the symbol's traditional role while adapting to digital engraving needs.

Uses in Mathematics and Set Theory

In mathematics, curly brackets (braces) are primarily used in to denote unordered collections of distinct elements, known as sets. This notation allows for the concise representation of mathematical objects without implying order or repetition among members. For instance, the set consisting of the first three positive integers is written as {1, 2, 3}, indicating an unordered collection where each element is unique. The use of curly brackets for this purpose was introduced by in his foundational 1895 paper "Beiträge zur Begründung der transfiniten Mengenlehre," which established the rigorous framework for transfinite and influenced modern profoundly. Cantor's innovation enabled the formal treatment of infinite sets, such as the set of all real numbers between 0 and 1, denoted {x \mid 0 \leq x < 1, x \in \mathbb{R}}, though the basic roster form like {1, 2, 3} remains fundamental for finite sets. Beyond sets, curly brackets serve to define piecewise functions, where a large left-pointing brace groups multiple expressions valid over distinct domains, providing a compact way to specify functions with conditional behavior. This is particularly useful in analysis and applied mathematics for describing functions like the absolute value or step functions. A representative example is the piecewise definition of the absolute value function: x={xif x0xif x<0|x| = \begin{cases} x & \text{if } x \geq 0 \\ -x & \text{if } x < 0 \end{cases} This notation emphasizes the partitioning of the domain and is widely adopted in textbooks and research for its clarity in expressing discontinuous or conditional mappings. In number theory, curly brackets denote the fractional part of a real number xx, defined as {x}=xx\{x\} = x - \lfloor x \rfloor, where x\lfloor x \rfloor is the greatest integer less than or equal to xx. This yields a value in the interval [0,1)[0, 1), capturing the non-integer remainder essential for studying uniform distribution, Diophantine approximation, and modular arithmetic. For example, if x=3.75x = 3.75, then {x}=0.75\{x\} = 0.75. The notation appears prominently in classic works on analytic number theory, facilitating proofs involving periodic functions and discrepancies in sequences.

Uses in Programming Languages

In programming languages, curly braces (also known as braces) serve primarily to delimit code blocks, which encapsulate groups of statements executed within control structures such as functions, loops, and conditional statements, thereby defining scope and structure. This syntax enables structured programming by clearly separating logical units of code, allowing for nested blocks and local variable declarations that are visible only within their enclosing braces. The C programming language, developed in the early 1970s, employs curly braces to form compound statements or blocks, as in { statements; }, which are essential for the bodies of functions, if-else constructs, and loops like for or while. For instance, in a function definition, the opening brace { initiates the block containing executable statements, while the closing brace } terminates it, with variables declared inside limited to that scope. This convention was inherited by many descendant languages, including and Go. Java, introduced in 1995, follows a similar pattern, using braces to enclose the contents of classes, methods, and control structures, with style guidelines recommending braces even for single statements to enhance clarity and prevent errors from omitted delimiters. The adoption of curly braces for block delimitation traces back to BCPL (Basic Combined Programming Language), designed by Martin Richards in 1966 and first implemented in 1967, which pioneered this approach to replace keyword-based delimiters like begin/end in earlier languages such as ALGOL, promoting more concise structured programming. Due to hardware constraints on early terminals, BCPL often represented braces as (and( and ), but the conceptual use of paired delimiters for sections influenced subsequent languages like B and C. Beyond code blocks, curly braces denote objects in data serialization formats like JSON (JavaScript Object Notation), where they enclose unordered collections of name-value pairs, such as { "key": "value" }, facilitating structured data exchange in web applications and APIs. Not all languages rely on braces; Python, for example, defines blocks through consistent indentation levels using spaces (typically four per level), eschewing explicit delimiters to enforce readable, whitespace-sensitive code structure and reduce visual clutter from symbols. This indentation-based approach, while differing from brace usage, achieves similar scoping effects and has been praised for improving code maintainability in collaborative environments.

Angle Brackets (Chevrons)

Physical and Geometric Description

Angle brackets, also known as chevrons and denoted as ⟨ ⟩, are punctuation marks consisting of two symmetrical, arrow-like symbols that point toward each other, forming a pair that encloses content. These symbols derive from the ancient Greek diple (⟩), an arrow-shaped marginal mark invented in the second century B.C. by Aristarchus of Samothrace, the librarian at the Library of Alexandria, to highlight repeated lines in Homeric poetry or draw attention to notable textual elements. Over time, the diple and similar marks influenced variants like guillemets in typography, while modern single angle brackets ⟨ ⟩, retaining a linear, V-shaped form, are primarily used paired in mathematical and linguistic notation. In Unicode, mathematical angle brackets are encoded as U+27E8 (⟨) and U+27E9 (⟩), distinct from the inequality symbols < and >. Geometrically, angle brackets exhibit bilateral , with each half comprising two straight lines meeting at an acute vertex, creating a chevron profile that converges inward. In typographic fonts, this design promotes by mimicking directional cues, such as arrows, while maintaining compactness within text lines; the precise angle can vary slightly across typefaces to harmonize with overall stroke weights and serifs, but the core V-form remains consistent for optical clarity. The term "chevron" originates from the late 14th-century Old French word chevron, meaning "rafter," derived from Vulgar Latin *capriōn-, related to Latin caper (goat), evoking the inverted V-shape of roof beams or rafters in architecture. In the 17th century, this name extended to French military insignia, where chevrons denoted rank through V-shaped sleeve stripes, influencing their adoption into broader symbolic usage. By the 16th century, these forms were adapted into European typography, particularly in French printing, where they transitioned from marginal annotations to structured punctuation, marking a shift from handwritten marginalia to printed enclosure symbols. A key variant of angle brackets is the double form, known as guillemets (« »), which consists of two closely spaced chevrons side by side, creating a bolder, paired effect. The name guillemet is a diminutive of the French name Guillaume, after the 16th-century printer Guillaume Le Bé (1525–1598), though he did not invent them. One of the earliest known uses dates to in a printed by Josse Badius, as an innovation to denote quotations by doubling the single chevron for emphasis and nesting capability in nested text structures. Unlike single angle brackets, which maintain a slender, mathematical profile, guillemets feature a wider span and are oriented outward (« ») in French and inward (› ‹) in other languages like German, adapting the geometric essence to regional typographic conventions while preserving the directional symmetry.

Uses in Mathematics and Physics

In mathematics, angle brackets denote the inner product of two vectors uu and vv in an inner product space, expressed as u,v\langle u, v \rangle, which generalizes the dot product for Euclidean spaces and yields a scalar measuring their correlation or projection. This notation emphasizes the bilinear, symmetric form that induces a geometry on the space, including orthogonality when u,v=0\langle u, v \rangle = 0. In physics, angle brackets play a pivotal role in through Dirac notation, where a vector is represented as ψ\langle \psi | and a ket as ψ| \psi \rangle, with the inner product ψϕ\langle \psi | \phi \rangle capturing the overlap between states. This formalism, introduced by in 1939, abstracts quantum states from specific representations like wave functions, facilitating calculations in Hilbert spaces. The expectation value of an corresponding to operator AA in state ψ| \psi \rangle is given by A=ψAψ\langle A \rangle = \langle \psi | A | \psi \rangle, representing the outcome over many trials. This traces to the inner product's role in probability amplitudes, where normalization requires ψψ=1\langle \psi | \psi \rangle = 1. Angle brackets thus denote the inner product itself, distinct from the norm v=v,v\| v \| = \sqrt{\langle v, v \rangle}
Add your contribution
Related Hubs
User Avatar
No comments yet.