HOME

TheInfoList



OR:

A bracket is either of two tall fore- or back-facing
punctuation Punctuation (or sometimes interpunction) is the use of spacing, conventional signs (called punctuation marks), and certain typographical devices as aids to the understanding and correct reading of written text, whether read silently or aloud. An ...
marks commonly used to isolate a segment of text or data from its surroundings. Typically deployed in symmetric pairs, an individual bracket may be identified as a 'left' or 'right' bracket or, alternatively, an "opening bracket" or "closing bracket", respectively, depending on the directionality of the context. Specific forms of the mark include parentheses (also called "rounded brackets"), square brackets, curly brackets (also called 'braces'), and angle brackets (also called 'chevrons'), as well as various less common pairs of symbols. As well as signifying the overall class of punctuation, the word "bracket" is commonly used to refer to a specific form of bracket, which varies from region to region. In most English-speaking countries, an unqualified word "bracket" refers to the parenthesis (round bracket); in the United States, the square bracket. Various forms of brackets are used in mathematics, with specific mathematical meanings, often for denoting specific
mathematical functions In mathematics, a function from a set to a set assigns to each element of exactly one element of .; the words map, mapping, transformation, correspondence, and operator are often used synonymously. The set is called the domain of the functi ...
and
subformula In mathematical logic, propositional logic and predicate logic, a well-formed formula, abbreviated WFF or wff, often simply formula, is a finite sequence of symbols from a given alphabet that is part of a formal language. A formal language can be ...
s.


History

Angle brackets ("
Chevrons Chevron (often relating to V-shaped patterns) may refer to: Science and technology * Chevron (aerospace), sawtooth patterns on some jet engines * Chevron (anatomy), a bone * '' Eulithis testata'', a moth * Chevron (geology), a fold in rock l ...
") ⟨ ⟩ were the earliest type of bracket to appear in written English.
Desiderius Erasmus Roterodamus Desiderius Erasmus Roterodamus (; ; English: Erasmus of Rotterdam or Erasmus;''Erasmus'' was his baptismal name, given after St. Erasmus of Formiae. ''Desiderius'' was an adopted additional name, which he used from 1496. The ''Roterodamus'' w ...
coined the term to refer to the rounded
parentheses 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. Typically deployed in symmetric pairs, an individual bracket may be identified as a 'left' or 'r ...
() recalling the shape of the crescent moon ( la, luna). Most typewriters only had the left and right parenthesis (and quotation marks). 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 The IBM 7030, also known as Stretch, was IBM's first transistorized supercomputer. It was the fastest computer in the world from 1961 until the first CDC 6600 became operational in 1964."Designed by Seymour Cray, the CDC 6600 was almost three t ...
. In 1961,
ASCII ASCII ( ), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Because ...
contained parenthesis, square, and curly brackets, and also less-than and greater-than signs that could be used as angle brackets.


Typography

In English, typographers mostly prefer not to set brackets in
italics In typography, italic type is a cursive font based on a stylised form of calligraphic handwriting. Owing to the influence from calligraphy, italics normally slant slightly to the right. Italics are a way to emphasise key points in a printed ...
, even when the enclosed text is italic. However, in other languages like German, if brackets enclose text in italics, they are usually also set in italics.


Parentheses

Parentheses (singular, parenthesis ) are also called "brackets" (UK, Ireland, Canada, West Indies, New Zealand, South Africa and Australia), "parens" , "round brackets", "circle brackets" or "smooth brackets".


Uses of ( )

Parentheses contain adjunctive material that serves to clarify (in the manner of a gloss) or is aside from the main point. A milder effect may be obtained by using a pair of commas as the delimiter, though if the sentence contains commas for other purposes, visual confusion may result. That issue is fixed by using a pair of
dash The dash is a punctuation mark consisting of a long horizontal line. It is similar in appearance to the hyphen but is longer and sometimes higher from the baseline. The most common versions are the endash , generally longer than the hyphen ...
es instead, to bracket the parenthetical. In American usage, parentheses are usually considered separate from other brackets, and calling them "brackets" is unusual. 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 Gender-neutral language or gender-inclusive language is language that avoids bias towards a particular sex or gender. In English, this includes use of nouns that are not gender-specific to refer to roles or professions, formation of phrases in a c ...
, especially in languages with
grammatical gender In linguistics, grammatical gender system is a specific form of noun class system, where nouns are assigned with gender categories that are often not related to their real-world qualities. In languages with grammatical gender, most or all noun ...
, 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 William Cuthbert Faulkner (; September 25, 1897 – July 6, 1962) was an American writer known for his novels and short stories set in the fictional Yoknapatawpha County, based on Lafayette County, Mississippi, where Faulkner spent most o ...
(see ''
Absalom, Absalom! ''Absalom, Absalom!'' is a novel by the American author William Faulkner, first published in 1936. Taking place before, during, and after the American Civil War, it is a story about three families of the American South, with a focus on the life o ...
'' and the Quentin section of ''The Sound and the Fury'') as well as poet E. E. Cummings. Parentheses have historically been used where the
dash The dash is a punctuation mark consisting of a long horizontal line. It is similar in appearance to the hyphen but is longer and sometimes higher from the baseline. The most common versions are the endash , generally longer than the hyphen ...
is currently used in alternatives, such as "parenthesis)(parentheses". Examples of this usage can be seen in editions of ''
Fowler's ''A Dictionary of Modern English Usage'' (1926), by Henry Watson Fowler (1858–1933), is a style guide to British English usage, pronunciation, and writing. Covering topics such as plurals and literary technique, distinctions among like word ...
''. 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 specially square bracketswill be used for one or more inner set of parentheses n other words, secondary phrases can be found within the main parenthetical sentence. Any punctuation inside parentheses or other brackets is independent of the rest of the text: "Mrs Pennyfarthing (What? Yes, that was her name!) was my landlady." In this use, the explanatory text in the parentheses is a parenthesis. Parenthesized text is usually short and within a single sentence. Where several sentences of supplemental material are used in parentheses the final full stop would be within the parentheses, or simply omitted. Again, the parenthesis implies that the meaning and flow of the text is supplemental to the rest of the text and the whole would be unchanged were the parenthesized sentences removed. In more formal usage, " parenthesis" may refer to the entire bracketed text, not just to the punctuation marks used (so all the text in this set of round brackets may be said to be "a parenthesis", "a parenthetical", or "a parenthetical phrase"). In
linguistics Linguistics is the science, scientific study of human language. It is called a scientific study because it entails a comprehensive, systematic, objective, and precise analysis of all aspects of language, particularly its nature and structure ...
, parentheses are used for indistinguishableIPA ''Handbook'' p. 175 or unidentified utterances. They are also seen for silent articulation (mouthing),IPA ''Handbook'' p. 191 where the expected phonetic transcription is derived from lip-reading, and with periods to indicate silent pauses, for example or .


Enumerations

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


Accounting

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


Parentheses in mathematics

Parentheses are used in
mathematical notation Mathematical notation consists of using symbols for representing operations, unspecified numbers, relations and any other mathematical objects, and assembling them into expressions and formulas. Mathematical notation is widely used in mathem ...
to indicate grouping, often inducing a different order of operations. For example: in the usual order of algebraic operations, equals 14, since the multiplication is done before the addition. However, 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: : \times (3 + 2)2 = 400. A related convention is that when parentheses have two levels of nesting, curly brackets (braces) are the outermost pair. Following this convention, when more than three levels of nesting are needed, often a cycle of parentheses, square brackets, and curly brackets will continue. This helps to distinguish between one such level and the next. Various notations, like the vinculum, have a similar effect in specifying order of operations, or otherwise grouping several characters together for a common purpose. Parentheses are also be used for many other purposes in mathematics. Two common uses are for function arguments and tuples. They are used to set apart the arguments in mathematical
function Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-oriente ...
s. For example, is the function applied to the variable . In coordinate systems parentheses are used to denote a
tuple In mathematics, a tuple is a finite ordered list (sequence) of elements. An -tuple is a sequence (or ordered list) of elements, where is a non-negative integer. There is only one 0-tuple, referred to as ''the empty tuple''. An -tuple is defi ...
of coordinates; so in the Cartesian coordinate system may represent the point located at 4 on the ''x''-axis and 7 on the ''y''-axis.


Parentheses in programming languages

Parentheses are included in the syntaxes of many
programming language A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
s. 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 diagram Syntax diagrams (or railroad diagrams) are a way to represent a context-free grammar. They represent a graphical alternative to Backus–Naur form, EBNF, Augmented Backus–Naur form, and other text-based grammars as metalanguages. Early books usi ...
s they are used for grouping, such as in
extended Backus–Naur form In computer science, extended Backus–Naur form (EBNF) is a family of metasyntax notations, any of which can be used to express a context-free grammar. EBNF is used to make a formal description of a formal language such as a computer programm ...
. In Mathematica and the Wolfram language, parentheses are used to indicate grouping for example, with pure anonymous functions.


Taxonomy

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 Genus ( plural genera ) is a taxonomic rank used in the biological classification of living and fossil organisms as well as viruses. In the hierarchy of biological classification, genus comes above species and below family. In binomial nomenclat ...
and the specific epithet. For instance, ''Polyphylla'' (''Xerasiobia'') ''alba'' is a way to cite the species ''Polyphylla alba'' while also mentioning that it's in the subgenus ''Xerasiobia''. 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''. Parentheses are similarly used to cite a subgenus with the name of a
prokaryotic A prokaryote () is a single-celled organism that lacks a nucleus and other membrane-bound organelles. The word ''prokaryote'' comes from the Greek πρό (, 'before') and κάρυον (, 'nut' or 'kernel').Campbell, N. "Biology:Concepts & Connec ...
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''. In some contexts, it is typical to cite the author's name alongside the taxon. In these contexts, parentheses mean that the author placed that species in a different genus from the one in that combination. The
International Code of Zoological Nomenclature The International Code of Zoological Nomenclature (ICZN) is a widely accepted convention in zoology that rules the formal scientific naming of organisms treated as animals. It is also informally known as the ICZN Code, for its publisher, the ...
gives the example of '' Hymenolepis diminuta'' to indicate that
Karl Rudolphi Karl Asmund Rudolphi (14 July 1771 – 29 November 1832) was a Swedish-born German naturalist, who is credited with being the "father of helminthology". Life Rudolphi was born in Stockholm to German parents. He was awarded his PhD in 1793 an ...
did not consider this species to be in the genus '' Hymenolepis'' when he first described the species. The author citation in zoology also allows the possibility of citing whoever transferred the species to the new genus, as in, ''Methiolopsis geniculata'' . Parentheses are similarly used for new combinations of prokaryotes as well; the ICNP provides the example: '' Microbacterium oxydans'' to indicate that Chatelain and Second first described the species in a different genus, namely ''
Brevibacterium ''Brevibacterium'' is a genus of bacteria of the order Micrococcales. They are Gram-positive soil Soil, also commonly referred to as earth or dirt, is a mixture of organic matter, minerals, gases, liquids, and organisms that together ...
'', but in 1999 Schumann ''et al.'' transferred it to its present genus. Author citations in botany also use parentheses in this way where the author (or abbreviation thereof) of the basionym is in parentheses followed by the author (or abbreviation thereof) of whoever created that particular combination; the International Code of Nomenclature for algae, fungi, and plants provides the example ''Helianthemum aegyptiacum'' to indicate that
Carl Linnaeus Carl Linnaeus (; 23 May 1707 – 10 January 1778), also known after his Nobility#Ennoblement, ennoblement in 1761 as Carl von Linné#Blunt, Blunt (2004), p. 171. (), was a Swedish botanist, zoologist, taxonomist, and physician who formalise ...
first described this species in a different genus, in this case ''
Cistus ''Cistus'' (from the Greek ''kistos'') is a genus of flowering plants in the rockrose family Cistaceae, containing about 20 species (Ellul ''et al.'' 2002). They are perennial shrubs found on dry or rocky soils throughout the Mediterranean region ...
'', but then
Philip Miller Philip Miller FRS (1691 – 18 December 1771) was an English botanist and gardener of Scottish descent. Miller was chief gardener at the Chelsea Physic Garden for nearly 50 years from 1722, and wrote the highly popular ''The Gardeners Dicti ...
transferred it to the genus ''
Helianthemum ''Helianthemum'' , known as rock rose, sunrose, rushrose, or frostweed,' ...
''.


Chemistry and physics

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 Calcium nitrate, also called ''Norgessalpeter'' (Norwegian salpeter), is an inorganic compound with the formula Ca(NO3)2(H2O)x. The anhydrous compound, which is rarely encountered, absorbs moisture from the air to give the tetrahydrate. Both anhyd ...
). They can be used in various fields as notation to indicate the amount of
uncertainty Uncertainty refers to epistemic situations involving imperfect or unknown information. It applies to predictions of future events, to physical measurements that are already made, or to the unknown. Uncertainty arises in partially observable ...
in a numerical quantity. For example: : 1234.56789(11) is equivalent to: : e.g. the value of the
Boltzmann constant The Boltzmann constant ( or ) is the proportionality factor that relates the average relative kinetic energy of particles in a gas with the thermodynamic temperature of the gas. It occurs in the definitions of the kelvin and the gas constant, ...
could be quoted as J⋅K−1 .


Square brackets

Square brackets
and or AND may refer to: Logic, grammar, and computing * Conjunction (grammar), connecting two words, phrases, or clauses * Logical conjunction in mathematical logic, notated as "∧", "⋅", "&", or simple juxtaposition * Bitwise AND, a boole ...
are also called simply "brackets" (US), as well as "crotchets", "closed brackets", or "hard brackets". Tournament brackets, the diagrammatic representation of the series of games played during a sports tournament usually leading to a single winner, are so named for their resemblance to brackets or braces.


Uses of /h2>

Square brackets are often used to insert explanatory material or to mark where a ord orpassage was omitted from an original material by someone other than the original author, or to mark modifications in quotations. In transcribed interviews, sounds, responses and reactions that are not words but that can be described are set off in square brackets — "... aughs...". 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 An annotation is extra information associated with a particular point in a document or other piece of information. It can be a note that includes a comment or explanation. Annotations are sometimes presented in the margin of book pages. For anno ...
. For example: ''The Plaintiff asserted his cause is just, stating,'' In the original quoted sentence, the word "my" was capitalized: 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 The ellipsis (, also known informally as dot dot dot) is a series of dots that indicates an intentional omission of a word, sentence, or whole section from a text without altering its original meaning. The plural is ellipses. The term origin ...
, .. is often used to indicate omitted material: "I'd like to thank everal unimportant peoplefor their tolerance .. Bracketed comments inserted into a quote indicate where the original has been modified for clarity: "I appreciate it he honor but I must refuse", and "the future of psionics ee definitionis in doubt". Or one can quote the original statement "I hate to do laundry" with a (sometimes grammatical) modification inserted: He "hate 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: " licymakers ..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. 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". In translated works, brackets are used to signify the same word or phrase in the original language to avoid ambiguity. For example: ''He is trained in the way of the open hand [karate].'' Style guide, Style and usage guides originating in the News media#History, 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." However, this guidance has little relevance outside of the technological constraints of the industry and era. In linguistics,
phonetic transcription Phonetic transcription (also known as phonetic script or phonetic notation) is the visual representation of speech sounds (or ''phones'') by means of symbols. The most common type of phonetic transcription uses a phonetic alphabet, such as the I ...
s are generally enclosed within square brackets, often using the International Phonetic Alphabet#Brackets and transcription delimiters, whereas
phonemic In phonology and linguistics, a phoneme () is a unit of sound that can distinguish one word from another in a particular language. For example, in most dialects of English, with the notable exception of the West Midlands and the north-west ...
transcriptions typically use paired slashes. Pipes (, , ) are often used to indicate a
morphophonemic Morphophonology (also morphophonemics or morphonology) is the branch of linguistics that studies the interaction between morphological and phonological or phonetic processes. Its chief focus is the sound changes that take place in morphemes (mi ...
rather than phonemic representation. Other conventions are double slashes (// //), double pipes (, , , , ) and curly brackets (). In
lexicography Lexicography is the study of lexicons, and is divided into two separate academic disciplines. It is the art of compiling dictionaries. * Practical lexicography is the art or craft of compiling, writing and editing dictionaries. * Theoreti ...
, square brackets usually surround the section of a dictionary entry which contains the
etymology Etymology ()The New Oxford Dictionary of English (1998) – p. 633 "Etymology /ˌɛtɪˈmɒlədʒi/ the study of the class in words and the way their meanings have changed throughout time". is the study of the history of the Phonological chan ...
of the word the entry defines.


Proofreading

Brackets (called ''move-left symbols'' or ''move right symbols'') are added to the sides of text in proofreading to indicate changes in indentation: Square brackets are used to denote parts of the text that need to be checked when preparing drafts prior to finalizing a document.


Law

Square brackets are used in some countries in the citation of law reports to identify parallel citations to non-official reporters. For example: In some other countries (such as
England and Wales England and Wales () is one of the three legal jurisdictions of the United Kingdom. It covers the constituent countries England and Wales and was formed by the Laws in Wales Acts 1535 and 1542. The substantive law of the jurisdiction is Eng ...
), 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: 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: 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

Brackets are used in mathematics in a variety of notations, including standard notations for commutators, the
floor function In mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least int ...
, the
Lie bracket In mathematics, a Lie algebra (pronounced ) is a vector space \mathfrak g together with an operation called the Lie bracket, an alternating bilinear map \mathfrak g \times \mathfrak g \rightarrow \mathfrak g, that satisfies the Jacobi identi ...
, equivalence classes, the Iverson bracket, and
matrices Matrix most commonly refers to: * ''The Matrix'' (franchise), an American media franchise ** ''The Matrix'', a 1999 science-fiction action film ** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchis ...
. Square brackets may be used exclusively or in combination with parentheses to represent intervals. For example, represents the set of real numbers from 0 to 5 inclusive. Both parentheses and brackets are used to denote a ''half-open'' interval; 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 is also used. The endpoint adjoining the square bracket is known as ''closed'', whereas the endpoint adjoining the parenthesis is known as ''open''. In
group theory In abstract algebra, group theory studies the algebraic structures known as group (mathematics), groups. The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ...
and
ring theory In algebra, ring theory is the study of rings—algebraic structures in which addition and multiplication are defined and have similar properties to those operations defined for the integers. Ring theory studies the structure of rings, their r ...
, brackets denote the commutator. In group theory, the commutator is commonly defined as . In ring theory, the commutator is defined as .


Chemistry

Square brackets can also be used in chemistry to represent the
concentration In chemistry, concentration is the abundance of a constituent divided by the total volume of a mixture. Several types of mathematical description can be distinguished: '' mass concentration'', ''molar concentration'', '' number concentration'', ...
of a
chemical substance A chemical substance is a form of matter having constant chemical composition and characteristic properties. Some references add that chemical substance cannot be separated into its constituent elements by physical separation methods, i.e., w ...
in solution and to denote charge a Lewis structure of an ion (particularly distributed charge in a
complex ion A coordination complex consists of a central atom or ion, which is usually metallic and is called the ''coordination centre'', and a surrounding array of bound molecules or ions, that are in turn known as ''ligands'' or complexing agents. Many ...
), repeating chemical units (particularly in polymers) and transition state structures, among other uses.


Square brackets in programming languages

Brackets are used in many computer
programming language A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language. The description of a programming ...
s, primarily for
array An array is a systematic arrangement of similar objects, usually in rows and columns. Things called an array include: {{TOC right Music * In twelve-tone and serial composition, the presentation of simultaneous twelve-tone sets such that the ...
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 diagram Syntax diagrams (or railroad diagrams) are a way to represent a context-free grammar. They represent a graphical alternative to Backus–Naur form, EBNF, Augmented Backus–Naur form, and other text-based grammars as metalanguages. Early books usi ...
s they are used for optional portions, such as in
extended Backus–Naur form In computer science, extended Backus–Naur form (EBNF) is a family of metasyntax notations, any of which can be used to express a context-free grammar. EBNF is used to make a formal description of a formal language such as a computer programm ...
.


Curly brackets

Curly brackets are also known as "curly braces" or simply "braces" (UK and US), "definite brackets", "swirly brackets", "birdie brackets", "French brackets", "Scottish brackets", "squirrelly brackets", "gullwings", "seagulls", "squiggly brackets", "twirly brackets", "Tuborg brackets" (DK), "accolades" (NL), "pointy brackets", "fancy brackets", "M Braces", "moustache brackets", "squiggly parentheses", or "flower brackets" (India).


Uses of

Curly brackets are rarely used in prose and have no widely accepted use in
formal writing A literary language is the form (register) of a language used in written literature, which can be either a nonstandard dialect or a standardized variety of the language. Literary language sometimes is noticeably different from the spoken lang ...
, but may be used to mark words or sentences that should be taken as a group, to avoid confusion when other types of brackets are already in use, or for a special purpose specific to the publication (such as in a dictionary). More commonly, they are used to indicate a group of lines that should be taken together, such as in when referring to several lines of poetry that should be repeated. As an extension to the
International Phonetic Alphabet The International Phonetic Alphabet (IPA) is an alphabetic system of phonetic notation based primarily on the Latin script. It was devised by the International Phonetic Association in the late 19th century as a standardized representation ...
(IPA), braces are used for prosodic notation.


Music

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


Curly brackets in programming languages

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. They are also used to define structures and
enumerated type In computer programming, an enumerated type (also called enumeration, enum, or factor in the R programming language, and a categorical variable in statistics) is a data type consisting of a set of named values called ''elements'', ''members'', '' ...
in these languages. In
syntax diagram Syntax diagrams (or railroad diagrams) are a way to represent a context-free grammar. They represent a graphical alternative to Backus–Naur form, EBNF, Augmented Backus–Naur form, and other text-based grammars as metalanguages. Early books usi ...
s they are used for repetition, such as in
extended Backus–Naur form In computer science, extended Backus–Naur form (EBNF) is a family of metasyntax notations, any of which can be used to express a context-free grammar. EBNF is used to make a formal description of a formal language such as a computer programm ...
. In the Z
formal specification In computer science, formal specifications are mathematically based techniques whose purpose are to help with the implementation of systems and software. They are used to describe a system, to analyze its behavior, and to aid in its design by verif ...
language, braces define a set.


Curly brackets in mathematics

In mathematics they delimit sets and are often also used to denote the Poisson bracket between two quantities. In
ring theory In algebra, ring theory is the study of rings—algebraic structures in which addition and multiplication are defined and have similar properties to those operations defined for the integers. Ring theory studies the structure of rings, their r ...
, braces denote the
anticommutator In mathematics, the commutator gives an indication of the extent to which a certain binary operation fails to be commutative. There are different definitions used in group theory and ring theory. Group theory The commutator of two elements, ...
where is defined as .


Angle brackets

"Angle brackets" ⟨ and ⟩ are also called "chevrons", "pointy brackets", "triangular brackets", "diamond brackets", "tuples", "
guillemets Guillemets (, also , , ) are a pair of punctuation marks in the form of sideways double chevrons, and , used as quotation marks in a number of languages. In some of these languages "single" guillemets, and , are used for a quotation inside an ...
", "left and right carets", "broken brackets", or "brokets". The ASCII less-than and greater-than characters are often used for angle brackets. In most cases only those characters are accepted by computer programs, the Unicode angle brackets are not recognized (for instance in HTML tags). The characters for "single"
guillemet Guillemets (, also , , ) are a pair of punctuation marks in the form of sideways double chevrons, and , used as quotation marks in a number of languages. In some of these languages "single" guillemets, and , are used for a quotation inside a ...
s are also often used, and sometimes normal guillemets when nested angle brackets are needed.


Shape

Angle brackets are larger than less-than and
greater-than sign The greater-than sign is a mathematical symbol that denotes an inequality between two values. The widely adopted form of two equal-length strokes connecting in an acute angle at the right, , has been found in documents dated as far back as the ...
s, which in turn are larger than
guillemet Guillemets (, also , , ) are a pair of punctuation marks in the form of sideways double chevrons, and , used as quotation marks in a number of languages. In some of these languages "single" guillemets, and , are used for a quotation inside a ...
s.


Uses of ⟨ ⟩

Angle brackets are infrequently used to denote words that are thought instead of spoken, such as: : In
textual criticism Textual criticism is a branch of textual scholarship, philology, and of literary criticism that is concerned with the identification of textual variants, or different versions, of either manuscripts or of printed books. Such texts may range in da ...
, 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. In
comic book A comic book, also called comicbook, comic magazine or (in the United Kingdom and Ireland) simply comic, is a publication that consists of comics art in the form of sequential juxtaposed panels that represent individual scenes. Panels are of ...
s, chevrons are often used to mark dialogue that has been translated notionally from another language; in other words, if a character is speaking another language, instead of writing in the other language and providing a translation, one writes the translated text within chevrons. Since no foreign language is actually written, this is only ''notionally'' translated. In
linguistics Linguistics is the science, scientific study of human language. It is called a scientific study because it entails a comprehensive, systematic, objective, and precise analysis of all aspects of language, particularly its nature and structure ...
, angle brackets identify
grapheme In linguistics, a grapheme is the smallest functional unit of a writing system. The word ''grapheme'' is derived and the suffix ''-eme'' by analogy with ''phoneme'' and other names of emic units. The study of graphemes is called '' graphemi ...
s (, letters of an alphabet) or
orthography An orthography is a set of conventions for writing a language, including norms of spelling, hyphenation, capitalization, word breaks, emphasis, and punctuation. Most transnational languages in the modern period have a writing system, and ...
, as in "The English word is spelled ." In epigraphy, they may be used for mechanical transliterations of a text into the Latin script. In East Asian punctuation, angle brackets are used as quotation marks. Chevron-like symbols are part of standard Chinese,
Japanese Japanese may refer to: * Something from or related to Japan, an island country in East Asia * Japanese language, spoken mainly in Japan * Japanese people, the ethnic group that identifies with Japan through ancestry or culture ** Japanese diaspor ...
and
Korean Korean may refer to: People and culture * Koreans, ethnic group originating in the Korean Peninsula * Korean cuisine * Korean culture * Korean language **Korean alphabet, known as Hangul or Chosŏn'gŭl **Korean dialects and the Jeju language ** ...
punctuation, where they generally enclose the titles of books: ︿ and ﹀ or ︽ and ︾ for traditional vertical printing, and 〈 and 〉 or 《 and 》 for horizontal printing.


Angle brackets in mathematics

Angle brackets (or 'chevrons') are used in
group theory In abstract algebra, group theory studies the algebraic structures known as group (mathematics), groups. The concept of a group is central to abstract algebra: other well-known algebraic structures, such as ring (mathematics), rings, field ...
to write
group presentation In mathematics, a presentation is one method of specifying a group. A presentation of a group ''G'' comprises a set ''S'' of generators—so that every element of the group can be written as a product of powers of some of these generators—and ...
s, and to denote the subgroup generated by a collection of elements. In
set theory Set theory is the branch of mathematical logic that studies sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory, as a branch of mathematics, is mostly conce ...
, chevrons or parentheses are used to denote ordered pairs and other
tuple In mathematics, a tuple is a finite ordered list (sequence) of elements. An -tuple is a sequence (or ordered list) of elements, where is a non-negative integer. There is only one 0-tuple, referred to as ''the empty tuple''. An -tuple is defi ...
s, whereas curly brackets are used for unordered sets.


Physics and mechanics

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: :\left\langle V(t)^2 \right\rangle = \lim_ \frac\int_^ V(t)^2\,t. In mathematical physics, especially
quantum mechanics Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles. It is the foundation of all quantum physics including quantum chemistr ...
, it is common to write the
inner product In mathematics, an inner product space (or, rarely, a Hausdorff pre-Hilbert space) is a real vector space or a complex vector space with an operation called an inner product. The inner product of two vectors in the space is a scalar, often ...
between elements as , as a short version of , or , where is an operator. This is known as ''Dirac notation'' or '' bra–ket notation'', to note vectors from the dual spaces of the Bra . But there are other notations used. In continuum mechanics, chevrons may be used as Macaulay brackets.


Angle brackets in programming languages

In
C++ C++ (pronounced "C plus plus") is a high-level general-purpose programming language created by Danish computer scientist Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significan ...
chevrons (actually less-than and greater-than) are used to surround arguments to templates. In the Z
formal specification In computer science, formal specifications are mathematically based techniques whose purpose are to help with the implementation of systems and software. They are used to describe a system, to analyze its behavior, and to aid in its design by verif ...
language chevrons define a sequence. In
HTML The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaSc ...
, chevrons (actually 'greater than' and 'less than' symbols) are used to bracket meta text. For example 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 . 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.


Other brackets


Lenticular brackets【】

Some
East Asia East Asia is the eastern region of Asia, which is defined in both Geography, geographical and culture, ethno-cultural terms. The modern State (polity), states of East Asia include China, Japan, Mongolia, North Korea, South Korea, and Taiwan. ...
n languages use lenticular brackets , a combination of square brackets and round brackets called (''fāngtóu kuòhào'') in Chinese and (''sumitsuki'') in
Japanese Japanese may refer to: * Something from or related to Japan, an island country in East Asia * Japanese language, spoken mainly in Japan * Japanese people, the ethnic group that identifies with Japan through ancestry or culture ** Japanese diaspor ...
. They are used in titles and headings in both Chinese and Japanese. In Japanese, they are most frequently seen in dictionaries for quoting Chinese characters and Sino-Japanese loanwords.


Floor ⌊ ⌋ and ceiling ⌈ ⌉ corner brackets

The floor corner brackets and , the ceiling corner brackets and (U+2308, U+2309) are used to denote the integer
floor and ceiling functions In mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least int ...
.


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

The Quine corners and have at least two uses in
mathematical logic Mathematical logic is the study of formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research in mathematical logic commonly addresses the mathematical properties of formal ...
: either as quasi-quotation, a generalization of quotation marks, or to denote the Gödel number of the enclosed
expression Expression may refer to: Linguistics * Expression (linguistics), a word, phrase, or sentence * Fixed expression, a form of words with a specific meaning * Idiom, a type of fixed expression * Metaphorical expression, a particular word, phrase, o ...
. 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. For example,
Callimachus Callimachus (; ) was an ancient Greek poet, scholar and librarian who was active in Alexandria during the 3rd century BC. A representative of Ancient Greek literature of the Hellenistic period, he wrote over 800 literary works in a wide varie ...
''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.


Double brackets ⟦ ⟧

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. 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 mathematics and computer science, the floor function is the function that takes as input a real number , and gives as output the greatest integer less than or equal to , denoted or . Similarly, the ceiling function maps to the least int ...
. In papyrology, following the Leiden Conventions, they are used to enclose text that has been deleted in antiquity.


Brackets with quills ⁅ ⁆

Known as "spike parentheses" ( sv, piggparenteser), and are used in Swedish
bilingual dictionaries A bilingual dictionary or translation dictionary is a specialized dictionary used to translate words or phrases from one language to another. Bilingual dictionaries can be ''unidirectional'', meaning that they list the meanings of words of one l ...
to enclose supplemental constructions.Examples may be found under the corresponding entry at :sv:Parentes.


Unicode

Representations of various kinds of brackets in
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology standard for the consistent encoding, representation, and handling of text expressed in most of the world's writing systems. The standard, wh ...
and
HTML The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaSc ...
are given below. &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 i
XML Entity Definitions for Characters
This is fullwidth version of U+2033 DOUBLE PRIME. In vertical texts, U+301F LOW DOUBLE PRIME QUOTATION MARK is preferred.
The angle brackets or chevrons at U+27E8 and U+27E9 are for mathematical use and Western languages, whereas U+3008 and U+3009 are for East Asian languages. The chevrons 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, because they are canonically equivalent to the CJK code points U+300x and thus likely to render as double-width symbols. The ''less-than'' and ''greater-than'' symbols are often used as replacements for chevrons.


See also

* Bracket (mathematics) * International variation in quotation marks *
Emoticon An emoticon (, , rarely , ), short for "emotion icon", also known simply as an emote, is a pictorial representation of a facial expression using characters—usually punctuation marks, numbers, and letters—to express a person's feelings, ...
*
Japanese typographic symbols This article lists Japanese typographic symbols that are not included in kana or kanji groupings. The usages of these symbols are unique and specific. Repetition marks Brackets and quotation marks Phonetic marks Punctuation marks Other ...
* Order of operations * Triple parentheses *
Arrowhead An arrowhead or point is the usually sharpened and hardened tip of an arrow, which contributes a majority of the projectile mass and is responsible for impacting and penetrating a target, as well as to fulfill some special purposes such as sign ...
(combining and standalone characters similar to angle brackets or less-than and greater-than characters)


References


Bibliography

* * States that what are depicted as brackets above are called braces and braces are called brackets. This was the terminology in US printing prior to computers.


External links

* * {{navbox punctuation Punctuation Mathematical notation