Brackets are tall punctuation Punctuation marks are symbols which indicate the structure and organization of written language, as well as intonation and pauses to be observed when reading aloud marks used in matched pairs within text, to set apart or interject other text. In the United States ^ b. English is the de facto language of American government and the sole language spoken at home by 80% of Americans age five and older. Spanish is the second most commonly spoken language, "bracket" usually refers specifically to the "square" or "box" type;[1][2] in British usage, it normally refers to a parenthesis mark.
There are several main types of brackets:
- round brackets, open brackets, brackets (UK), or parentheses: ( )
- square brackets, closed brackets, or brackets (US): [ ]
- curly brackets, squiggly brackets, definite brackets, swirly brackets, birdie brackets, Scottish brackets, squirrelly brackets, braces, or gullwings: { }
- angle brackets, triangular brackets, diamond brackets, tuples, or chevrons: ⟨ ⟩
- inequality signs: < >
- corner brackets: ⸤,⸥; 「,」
Contents |
History
The chevron was the earliest type to appear in English.
Desiderius Erasmus Desiderius Erasmus Roterodamus , sometimes known as Desiderius Erasmus of Rotterdam, was a Dutch Renaissance humanist and a Catholic priest and theologian. His scholarly name Desiderius Erasmus Roterodamus comprises the following three elements: the Latin noun desiderium ("longing" or "desire"; the name being a genuine Late coined the term lunula to refer to the rounded parentheses (), recalling the round shape of the moon The Moon is Earth's only natural satellite[nb 4] and is the fifth largest satellite in the Solar System. It is the largest natural satellite in the Solar System relative to the size of its planet, a quarter the diameter of Earth and 1/81 its mass, and is the second densest satellite after Io. It is in synchronous rotation with Earth, always.[3]
Usage
In addition to referring to the class of all types of brackets, the unqualified word bracket is most commonly used to refer to a specific type of bracket. In modern American usage this is usually the square bracket whereas in modern British usage it is usually the parenthesis (round bracket).
In American usage parentheses are usually considered separately from other brackets, and calling them "brackets" at all is unusual even though they serve a similar function. In more formal usage "parenthesis In rhetoric, a parenthesis (plural: parentheses; from the Greek word grammatical connection, and from which it is usually marked off by round or square brackets, dashes, or commas according to the Oxford English Dictionary" 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 In rhetoric, a parenthesis (plural: parentheses; from the Greek word grammatical connection, and from which it is usually marked off by round or square brackets, dashes, or commas according to the Oxford English Dictionary).
Types
Parentheses ( )
Parentheses (singular, parenthesis)—also called simply brackets (UK), or round brackets, curved brackets, oval brackets, or, colloquially, parens—contain material that could be omitted without destroying or altering the meaning of a sentence.
Parentheses may be used in formal writing to add supplementary information, such as "Sen. John McCain (R., Arizona) spoke at length." They can also indicate shorthand for "either singular or plural" for nouns—e.g., "the claim(s)"— or for "either masculine or feminine" in some languages with grammatical gender.[4]
Parenthetical phrases have been used extensively in informal writing and stream of consciousness literature. Of particular note is the southern American author William Faulkner William Faulkner was a Nobel Prize-winning American author. One of the most influential writers of the 20th century, his reputation is based on his novels, novellas and short stories. He was also a published poet and an occasional screenwriter (see Absalom, Absalom! Absalom, Absalom! is a Southern Gothic novel by the American author William Faulkner, first published in 1936. It is a story about three families of the American South, taking place before, during, and after the Civil War, with the focus of the story on the life of Thomas Sutpen and the Quentin section of The Sound and the Fury The Sound and the Fury is a novel written by the American author William Faulkner. It employs a number of narrative styles, including the technique known as stream of consciousness, pioneered by 20th century European novelists such as James Joyce and Virginia Woolf. Published in 1929, The Sound and the Fury was Faulkner's fourth novel, and was not) as well as poet E. E. Cummings Edward Estlin Cummings , popularly known as E. E. Cummings, with the abbreviated form of his name often written by others in lowercase letters as ee cummings (in the style of some of his poems), was an American poet, painter, essayist, author, and playwright. His body of work encompasses approximately 2,900 poems, two autobiographical novels, four. In most writing, overuse of parentheses is usually a sign of a badly structured text. A milder effect may be obtained by using a pair of commas as the delimiter A delimiter is a sequence of one or more characters used to specify the boundary between separate, independent regions in plain text or other data streams. An example of a delimiter is the comma character, which acts as a field delimiter in a sequence of comma-separated values. If the sentence contains commas for other purposes visual confusion may result.
Parentheses have historically been used where the dash is currently used—that is, in order to depict alternatives, such as "parenthesis)(parentheses". Examples of this usage can be seen in editions of Fowler's.
Parentheses may also be nested (with one set (such as this) inside another set). This is not commonly used in formal writing (though sometimes other brackets [especially 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 sentence]).[citation needed]
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 usage the explanatory text in the parentheses is a parenthesis In rhetoric, a parenthesis (plural: parentheses; from the Greek word grammatical connection, and from which it is usually marked off by round or square brackets, dashes, or commas according to the Oxford English Dictionary. (It is most common for the parenthesized text to be within a single sentence but also common for an entire sentence, or even several sentences, of supplemental material to be in parentheses. In this case even the final full stop A full stop or period (American English) (sometimes point or dot) is the punctuation mark commonly placed at the end of sentences would be within the parentheses. Again, the parenthesis implies that the meaning and flow of the text as a whole would be unchanged were the parenthesized sentences removed.)
Parentheses in mathematics Mathematics is the study of quantity, structure, space, and change. Mathematicians seek out patterns, formulate new conjectures, and establish truth by rigorous deduction from appropriately chosen axioms and definitions signify a different precedence In mathematics and computer programming, an expression or string of symbols intended to represent a numerical value must follow commonly accepted and unambiguous rules. For example, the rule for evaluating 2 + 3 * 4 in mathematics and in most computer languages is to do the multiplication first, so the correct answer is 14. Sometimes parentheses, of operators. Normally, 2 + 3 × 4 would be 14, since the multiplication is done before the addition. On the other hand (2 + 3) × 4 is 20, because the parentheses override normal precedence, causing the addition to be done first. They are also used to set apart the arguments In mathematics, statistics, and the mathematical sciences, a parameter is a quantity that serves to relate functions and variables using a common variable (often t) when such a relationship would be difficult to explicate with an equation. In different contexts the term may have special uses in mathematical functions The mathematical concept of a function expresses the intuitive idea that one quantity completely determines another quantity (the value, or the output). A function assigns a unique value to each input of a specified type. The argument and the value may be real numbers, but they can also be elements from any given sets: the domain and the codomain. For example, f(x) is the function f applied to the variable A variable is a symbol that stands for a value that may vary; the term usually occurs in opposition to constant, which is a symbol for a non-varying value, i.e. completely fixed or fixed in the context of use. The concepts of constants and variables are fundamental to all modern mathematics, science, engineering, and computer programming x. In the Cartesian coordinate system A Cartesian coordinate system specifies each point uniquely in a plane by a pair of numerical coordinates, which are the signed distances from the point to two fixed perpendicular directed lines, measured in the same unit of length parentheses are used to denote a set of coordinates; so (4, 7) may represent the point located at 4 on the x-axis and 7 on the y-axis. Parentheses may also represent intervals In mathematics, a interval is a set of real numbers with the property that any number that lies between two numbers in the set is also included in the set. For example, the set of all numbers x satisfying is an interval which contains 0 and 1, as well as all numbers between them. Other examples of intervals are the set of all real numbers , the; (0, 5), for example, is the interval between 0 and 5, not including 0 or 5. Parentheses can also represent multiplication, as in the instance of 2(3) = 6. 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:
A related convention is that when parentheses have two levels of nesting, braces are the outermost pair.
Parentheses may also be used to represent a binomial coefficient In mathematics, the binomial coefficient is the coefficient of the x k term in the polynomial expansion of the binomial power n.
Parentheses are used in computer programming, especially in the C programming language C is a general-purpose computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system and similar languages, to pass parameters In computer programming, a parameter is a special kind of variable, used in a subroutine to refer to one of the pieces of data provided as input to the subroutine.. These pieces of data are called arguments. An ordered list of parameters is usually included in the definition of a subroutine, so that, each time the subroutine is called, its or arguments to functions In computer science, a subroutine or subprogram is a portion of code within a larger program, which performs a specific task and is relatively independent of the remaining code or methods such as in the following example:
printf("hello, world\n");
Square brackets [ ]
Square brackets—also called simply brackets (US)—are mainly used to enclose explanatory or missing material usually added by someone other than the original author, especially in quoted text.[5] Examples include: "I appreciate it [the honor], but I must refuse", and "the future of psionics [see definition] is in doubt". They may also be used to modify quotations. For example, if referring to someone's statement "I hate to do laundry", one could write: She "hate[s] to do laundry".
The bracketed expression "[sic] Sic is a Latin word meaning "thus", "so", "as such", or "in such a manner". It is used when writing quoted material to indicate that an incorrect or unusual spelling, phrase, punctuation or meaning in the quote has been reproduced verbatim from the original and is not a transcription error . It is normally" is used to indicate errors that are "thus in the original"; a bracketed ellipsis Ellipsis is a mark or series of marks that usually indicate an intentional omission of a word in the original text. An ellipsis can also be used to indicate a pause in speech, an unfinished thought, or, at the end of a sentence, a trailing off into silence (aposiopesis) (apostrophe and ellipsis mixed). When placed at the end of a sentence, the [...] is often used to indicate deleted material; bracketed comments indicate when original text has been modified for clarity: "I'd like to thank [several unimportant people] and my parentals [sic] for their love, tolerance [...] and assistance [emphasis added]".[6]
Brackets are used in mathematics Mathematics is the study of quantity, structure, space, and change. Mathematicians seek out patterns, formulate new conjectures, and establish truth by rigorous deduction from appropriately chosen axioms and definitions in a variety of notations, including standard notations for intervals In mathematics, a interval is a set of real numbers with the property that any number that lies between two numbers in the set is also included in the set. For example, the set of all numbers x satisfying is an interval which contains 0 and 1, as well as all numbers between them. Other examples of intervals are the set of all real numbers , the, commutators 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, the floor function In mathematics and computer science, the floor and ceiling functions map a real number to the largest previous or the smallest following integer, respectively. More precisely, floor = ⌊x⌋ is the largest integer not greater than x and ceiling(x) = ⌈x⌉ is the smallest integer not less than x the Lie bracket, the Iverson bracket, and matrices An item in a matrix is called an entry or an element. The example has entries 1, 9, 13, 20, 55, and 4. Entries are often denoted by a variable with two subscripts, as shown on the right. Matrices of the same size can be added and subtracted entrywise and matrices of compatible sizes can be multiplied. These operations have many of the properties.
In translated works, brackets are used to signify the same word or phrase in the original language to avoid ambiguity.[7] For example: He is trained in the way of the open hand [karate].
When nested parentheses are needed, brackets may be used as a substitute for the inner pair of parentheses within the outer pair.[8] When deeper levels of nesting are needed, common conventions are to alternate between parentheses and brackets at each level or to use braces.[citation needed]
A phonetic Phonetics is a branch of linguistics that comprises the study of the sounds of human speech. It is concerned with the physical properties of speech sounds (phones): their physiological production, acoustic properties, auditory perception, and neurophysiological status. Phonology, on the other hand, is concerned with abstract, grammatical transcription may be enclosed within brackets[9], often using the International Phonetic Alphabet The International Phonetic Alphabet [note 1] is a system of phonetic notation based primarily on the Latin alphabet, devised by the International Phonetic Association as a standardized representation of the sounds of spoken language. The IPA is used by foreign language students and teachers, linguists, speech pathologists and therapists, singers,. Note though that phonemic In a language or dialect, a phoneme is the smallest segmental unit of sound employed to form meaningful contrasts between utterances, rather than phonetic, transcriptions typically use paired slashes The slash is a sign, "/", used as punctuation mark and for various other purposes. It is often called a forward slash and many other alternative names rather than brackets.
Brackets can also be used in chemistry Chemistry is the science of matter and the changes it undergoes. The science of matter is also addressed by physics, but while physics takes a more general and fundamental approach, chemistry is more specialized, being concerned with the composition, behavior, structure, and properties of matter, as well as the changes it undergoes during chemical to represent the concentration In chemistry, concentration is the measure of how much of a given substance there is mixed with another substance. This can apply to any sort of chemical mixture, but most frequently the concept is limited to homogeneous solutions, where it refers to the amount of solute in the solvent of a chemical substance In chemistry, a chemical substance is a material with a specific chemical composition or to denote a complex ion In chemistry, a coordination complex or metal complex, is a structure consisting of a central atom or ion , bonded to a surrounding array of molecules or anions (ligands, complexing agents). The atom within a ligand that is directly bonded to the central atom or ion is called the donor atom. Polydentate (multiple bonded) ligands can form a chelate.
Brackets can be used in computer programming Computer programming is the process of writing, testing, debugging/troubleshooting, and maintaining the source code of computer programs. This source code is written in a programming language. The code may be a modification of an existing source or something completely new. The purpose of programming is to create a program that exhibits a certain to access array In computer science, an array type is a data type that is meant to describe a collection of elements , each selected by one or more indices that can be computed at run time by the program. Such a collection is usually called an array variable, array value, or simply array. By analogy with the mathematical concepts of vector and matrix, an array elements, especially in C C is a general-purpose computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system-like languages. They are used in programming manuals to denote missing or optional parameters.
Brackets are also used for delimiting IPv6 addresses in URL In computing, a Uniform Resource Locator is a Uniform Resource Identifier (URI) that specifies where an identified resource is available and the mechanism for retrieving it. In popular usage and in many technical documents and verbal discussions it is often incorrectly used as a synonym for URI,. The best-known example of a URL is the ". Sample URL In computing, a Uniform Resource Locator is a Uniform Resource Identifier (URI) that specifies where an identified resource is available and the mechanism for retrieving it. In popular usage and in many technical documents and verbal discussions it is often incorrectly used as a synonym for URI,. The best-known example of a URL is the " should look like:
ldap The Lightweight Directory Access Protocol, or LDAP , is an application protocol for querying and modifying data using directory services running over TCP/IP://[2001:db8:3c4d:15::abcd:ef12]
http The Hypertext Transfer Protocol is an Application Layer protocol for distributed, collaborative, hypermedia information systems://[2001:db8:3c4d:15::abcd:ef12]:8080
Brackets (called move-left symbols or move right symbols) are added to the sides of text in proofreading Proofreading traditionally is the reading of a galley proof of text or art to detect and correct production errors. Computerization has required proofreaders to increasingly adopt skill-sets general to desktop publishing to indicate changes in indentation:
| Move left | [To Fate I sue, of other means bereft, the only refuge for the wretched left. |
|---|---|
| Center | ]Paradise Lost[ |
| Move up |
Brackets are used to denote parts of the text that need to be checked when preparing drafts prior to finalizing a document. 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 Case law is the reported decisions of selected appellate and other courts which make new interpretations of the law and, therefore, can be cited as precedents in a process known as stare decisis. These interpretations are distinguished from statutory law which are the statutes and codes enacted by legislative bodies; regulatory law which are decisions.
The html entities HTML has been in use since 1991, but HTML 4.0 (December 1997) was the first standardized version where international characters were given reasonably complete treatment. When an HTML document includes special characters outside the range of seven-bit ASCII two goals are worth considering: the information's integrity, and universal browser display for the brackets are [ and ]
From the top: brackets, braces, parentheses, angle brackets/chevrons, and (in red) inequality signsCurly brackets { }
Curly brackets—also called braces (US), flower brackets (India) and also informally called birdie brackets, chicken feet or chicken lips—are sometimes used in prose to indicate a series of equal choices: "Select your animal {goat, sheep, cow, horse} and follow me". They are used in specialized ways in poetry and music (to mark repeats or joined lines). The musical terms for this mark joining staves are accolade and "brace", and connect two or more lines of music that are played simultaneously.[10] In mathematics Mathematics is the study of quantity, structure, space, and change. Mathematicians seek out patterns, formulate new conjectures, and establish truth by rigorous deduction from appropriately chosen axioms and definitions they delimit sets. In many programming languages, they enclose groups of statements. Such languages (C being one of the best-known examples) are therefore called curly bracket languages. Some people use a brace to signify movement in a particular direction.
Presumably due to the similarity of the words brace and bracket (although they do not share an etymology), many people mistakenly treat brace as a synonym for bracket. Therefore, when it is necessary to avoid any possibility of confusion, such as in computer programming, it may be best to use the term curly bracket rather than brace. However, general usage in North American English favours the latter form.[citation needed] Indian programmers often use the name "flower bracket".[11]
Braces are often used in internet communities and through instant messaging to indicate hugging.[12]
Angle brackets or chevrons ⟨ ⟩
Chevrons (⟨ ⟩[13]; Unicode U+27E8 and U+27E9; and others, see below) are often used to enclose highlighted material. Some dictionaries use chevrons to enclose short excerpts illustrating the usage of words.
In computing, the less-than (<) and greater-then (>) symbols are regularly used in place of angled brackets and, as such, these symbols are often referred to as angled brackets.
In physical sciences, chevrons are used to denote an average over time or another continuous parameter. For example,
The inner product of two vectors is commonly written as , but the notation (a, b) is also used.
Chevrons (see tuples) are used in set theory to denote ordered pairs; otherwise the order is arbitrary.
In linguistics, chevrons indicate orthography, as in "The English word /kæt/ is spelled ⟨cat⟩." In epigraphy, they may be used for mechanical transliterations of a text into the Latin alphabet.
In textual criticism, and hence in many editions of poorly transmitted works, chevrons denote sections of the text which are illegible or otherwise lost; the editor will often insert his own reconstruction where possible within them.
Chevrons are infrequently used to denote dialogue that is thought instead of spoken, such as:
- ⟨ What a beautiful flower! ⟩
The mathematical or logical symbols for greater-than (>) and less-than (<) are inequality operators, and are not punctuation marks when so used. Nevertheless, since true chevrons are not available on a typical computer keyboard, the "less than" and "greater than" symbols are often used instead. These are often loosely referred to as chevrons when used in this way. For example, the symbols < and > are often used to set apart URLs in text, such as "I found it on Example.com <http://www.example.com/>". It may also often be found to indicate an e-mail address, such as "This photo is copyrighted by John Smith <john@smith.com>", and is the computer-readable form for such in message headers as specified by RFC 2822. Furthermore, right-angle brackets are used in nested Usenet quoting and various e-mail formats, and as such are standard quotation mark glyphs.
Single and double pairs of comparison operators (<<, >>) (meaning much smaller than and much greater than) are sometimes used instead of guillemets («, ») (used as quotation marks in many languages) when the proper glyphs are not available.
In comic books, 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. Of course, since no foreign language is actually written, this is only notionally translated.[citation needed]
Chevron-like symbols are part of standard Chinese, and Korean punctuation, where they generally enclose the titles of books: ︿ and ﹀ or ︽ and ︾ for traditional vertical printing, and 〈 and 〉 or 《 and 》 for horizontal printing.
Angle and half brackets ⸤⸥, 「」
In Chinese punctuation, angle brackets are used as quotation marks. Half brackets are used in English to mark added text, such as in translations: "Bill saw ⸤her⸥".
Computing
Encoding
- Opening and closing parentheses correspond to ASCII and Unicode characters 40 and 41, or U+0028 and U+0029, respectively.
- For brackets corresponding values are 91 and 93, or U+005B and U+005D.
- For braces, 123 and 125, or U+007B and U+007D. Braces first became part of a character set with the 8-bit code of the IBM 7030 Stretch [14].
- True chevrons are available in Unicode at code points U+27E8 and U+27E9 (for mathematical use) and or U+3008 and U+3009 (for East Asian languages). A third set of chevrons are encoded at U+2329 and U+232A, but officially "discouraged for mathematical use"[15] 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. They are found in both Unicode and ASCII at code points 60 and 62, or U+003C and U+003E.
These various bracket characters are frequently used in many computer languages as operators or for other syntax markup. The more common uses follow.
Uses of "(" and ")"
- are often used to define the syntactic structure of expressions, overriding operator precedence:
a*(b+c)has subexpressionsaandb+c, whereasa*b+chas subexpressionsa*bandc - contain the parameters or arguments to functions, or may denote the invocation of a function or function-like construct:
substring($val,10,1) - in Lisp, they open and close s-expressions and therefore function applications:
(cons a b) - in Fortran-family and COBOL languages, they are also used for array references
- in the Perl programming language through Perl 5, they are used to define lists, static array-like structures; this idiom is extended to their use as containers of subroutine (function) arguments
- in the Perl 6 programming language, they define captures, a structure that defers contextual interpretation. This usage extends to ordinary parentheses as well. They are also used to indicate arguments to function calls and to declare signatures of formal parameters or other variables.
- in Python they are used to disambiguate tuple (immutable ordered lists) literals, which are usually formed by commas, in places where parentheses and commas would otherwise be a part of a function call.
- in Tcl they are used to enclose the name of an element of an associative array variable
- in ruby they can be used to group code fragments. eg. @a = (@b = @c.nil?)
Uses of "[" and "]"
- refer to elements of an array or associative array, and sometimes to define the number of elements in an array:
queue[3] - may be used to define a literal anonymous array or list:
[5, 10, 15] - in most regular expression syntaxes brackets denote a character class: a set of possible characters to choose from
- in Tcl, they enclose a sub-script to be evaluated and the result substituted
- in some of Microsoft's .NET (CLI) languages, most notably C# and C++, they are used to denote metadata attributes.
- in x86 assembly implementations such as FASM, they are used to distinguish pointers from their data.
Uses of "{" and "}"
- are used in some programming languages to define the beginning and ending of blocks of code or data. Languages which use this convention are said to belong to the curly bracket family of programming languages
- are used to represent certain type definitions or literal data values, such as a composite structure or associative array
- in mathematics they enclose elements of a set and denote a set
- in Curl they are used to delimit expressions and statements (similar to Lisp's use of parenthesis).
- in Pascal they define the beginning and ending of comments
- in most regular expression syntaxes, they are used as quantifiers, matching n repetitions of the previous group
- in Perl they are also used to refer to elements of an associative array
- in PHP they are used to determine structures.
- In Adobe Actionscript they are used to denote structures of argument outcomes and functions
- in Tcl they enclose a string to be substituted without any internal substitutions being performed
- in Python and Ruby they are used for dictionaries (a mutable set of key: value pairs, separated by commas) and for sets.
- in LaTeX they group parts sharing the same local format or wrap parameters
Uses of "<" and ">"
In computing, the less-than and greater-than symbols are regularly used with a bracket-like function since almost all keyboards lack buttons for actual angled brackets. In this context, the less-than and greater-than symbols are often referred to as angled brackets, diamond brackets, chevrons and so on.
These symbols are used in pairs as if they are brackets,
- in SGML (and its applications and variants such as HTML and XML), used to enclose code tags:
<div> - in C++, C#, and Java they delimit generic arguments
- when writing text that contains e-mail addresses or URIs they delimit the canonical address part from any surrounding textual content, especially when ambiguities may otherwise arise
- in Perl through Perl 5 they are used to read a line from an input source
- in Perl 6 they combine quoting and associative array lookup
- in ABAP they denote field symbols – placeholders or symbolic names for other fields, which can point to any data object.
When not used in pairs to delimit text (not acting as brackets),
- the less-than and greater-than signs (possibly in combination with other punctuation marks) are common relational operators; in some languages the pair together as
<>denotes an inequality comparison - when doubled as
<<or>>they may represent bit shift operators, or in C++ also as stream input/output operators - are operators for indicating the redirection of input/output in various command shells. In this context, they are often referred to as hoinkies (singular hoinky) in order to "avoid confusion with other bracket-type operators".[16]
- are used to indicate an action or status (e.g. <Waves> or <Offline>), particularly in online, real-time text-based discussions (instant messaging, bulletin boards, etc). (Here, asterisks can also be used to signify an action.)
Layout styles
Main article: Indent styleIn normal writing (prose) an opening bracket is rarely left hanging at the end of a line of text nor is a closing bracket permitted to start one. However, in computer code this is often done intentionally to aid readability. For example, a bracketed list of items separated by semicolons may be written with the brackets on separate lines, and the items, followed by the semicolon, each on one line.
A common error in programming is mismatching braces; accordingly, many IDEs have braces matching to highlight matching pairs.
Mathematics
Main article: Bracket (mathematics)In addition to the use of parentheses to specify the order of operations, both parentheses and brackets are used to denote an interval, also referred to as a half-open range. The notation [a, c) is used to indicate an interval from a to c that is inclusive of a but exclusive of c. That is, [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 (with any finite number of 9s), but 12.0 is not included. In Europe, the notation [5,12[ is also used for this. The endpoint adjoining the bracket is known as closed, while the endpoint adjoining the parenthesis is known as open. If both types of brackets are the same, the entire interval may be referred to as closed or open as appropriate. Whenever +∞ or −∞ is used as an endpoint, it is normally considered open and adjoined to a parenthesis. See Interval (mathematics) for a more complete treatment.
In quantum mechanics, chevrons are also used as part of Dirac's formalism, bra-ket notation, to note vectors from the dual spaces of the Bra (<A|) and the Ket (|B>). Mathematicians will also commonly write <a,b> for the inner product of two vectors. In statistical mechanics, Chevrons denote ensemble or time average. Chevrons are used in group theory to write group presentations, and to denote the subgroup generated by a collection of elements.
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 ab − ba. Furthermore, in ring theory, braces denote the anticommutator where {a,b} is defined as ab + ba. The bracket is also used to denote the Lie derivative, or more generally the Lie bracket in any Lie algebra.
Various notations, like the vinculum have a similar effect to brackets in specifying order of operations, or otherwise grouping several characters together for a common purpose.
In the Z formal specification language, braces define a set and chevrons define a sequence.
Accounting
Traditionally in accounting, negative amounts are placed in parentheses.[17]
Law
Brackets are used 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].
When quoted material is in any way altered, the alterations are enclosed in brackets within the quotation. For example: Plaintiff asserts his cause is just, stating, "[m]y causes is [sic] just." While in the original quoted sentence the word "my" was capitalized, it has been modified in the quotation and the change signalled with brackets. Similarly, where the quotation contained a grammatical error, the quoting author signalled that the error was in the original with "[sic]" (Latin for "thus"). (California Style Manual, section 4:59 (4th ed.))
Sports
Tournament brackets, the diagrammatic representation of the series of games played during a tournament usually leading to a single winner, are so named for their resemblance to brackets or braces.
Typing
In roleplaying, and writing, brackets are used for out-of-speech sentences (otherwise known as OOC, out-of-character). Example:
(What's your name?)
Also in roleplaying, it is sometimes preferred to use double parenthesis for OOC, or sometimes brackets, depending on personal preference.[citation needed]
See also
References
- ^ "Bracket", American Heritage Dictionary" at Yahoo Education site
- ^ Free Online Dictionary of Computing
- ^ Truss, Lynne. Eats, Shoots & Leaves, 2003. p. 161. ISBN 1-59240-087-6.
- ^ Slash (punctuation)#Gender-neutrality in Spanish and Portuguese
- ^ The Chicago Manual of Style, 15th ed., The University of Chicago Press, 2003, §6.104
- ^ The Columbia Guide to Standard American English
- ^ The Chicago Manual of Style, 15th ed., The University of Chicago Press, 2003, §6.105
- ^ The Chicago Manual of Style, 15th ed., The University of Chicago Press, 2003, §6.102 and §6.106
- ^ The Chicago Manual of Style, 15th ed., The University of Chicago Press, 2003, §6.107
- ^ decodeunicode.org > U+007B LEFT CURLY BRACKET Retrieved on May 3, 2009
- ^ K R Venugopal, Rajkumar Buyya, T Ravishankar. Mastering C++, 1999. p. 34. ISBN 0-07-463454-2.
- ^ Messenger Emoticons See Left hug and Right hug
- ^ Some fonts don't display these characters correctly. Please refer to the image on the right instead.
- ^ Bob, Bemer. "The Great Curly Brace Trace Chase". http://www.bobbemer.com/BRACES.HTM. Retrieved 2009-09-05
- ^ http://www.unicode.org/charts/PDF/U2300.pdf
- ^ Bryant, Randal E.; O'Hallaron, David. Computer Systems: A Programmer's Perspective, 2003. p. 794. ISBN 0-13-034074-X.
- ^ IBM Information Management Software for z/OS Solutions Information Center
Bibliography
- Lennard, John (1991). But I Digress: The Exploitation of Parentheses in English Printed Verse. Oxford: Clarendon Press. ISBN 0-19-811247-5.
- Turnbull; et al. (1964). The Graphics of Communication. New York: Holt. 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.
Categories: Punctuation | Mathematical notation | Typography
|
Towanda Daily Review
HERSHEY - Out of the four NTL wrestlers going for consolation medals Saturday, three of them came away with wins. ...
Modern Art Notes
Mon, 22 Mar 2010 12:51:46 GM
Here are the updated . brackets. in MAN's The Greatest Living American Abstract Painter Tourney-ish. The top half is on the left, the bottom half is on the right. Click to expand. We'll vote through the second round -- the round of 16 ...
Q. I want to get brackets to fix my teeth. My problem is that one of the upper front teeth is sticking out from the others, and two other in the upper area are behind the rest of the "line". How long does it take to fix these problems? And what do you think is better, considering the looks issue too, porcelain or metallic?
Asked by luis.chiro - Wed Oct 15 19:19:03 2008 - - 1 Answers - 0 Comments
A. The length of treatment really varies from person to person, but fixed orthodontic work usually takes at least 12-18 months. Orthodontists are usually quite cagey about saying how long you'll have braces for, as they know it can change later down the line. As for what type of brackets to get, metal ones are usually best as they are the most efficient. Porcelain looks better, but can take longer due to greater friction, and some types are susceptible to staining too. It's up to you though, as you can decide what you prefer. All the best!
Answered by mental dental - Wed Oct 15 19:29:16 2008


