Bracket - Biblioteka.sk

Upozornenie: Prezeranie týchto stránok je určené len pre návštevníkov nad 18 rokov!
Zásady ochrany osobných údajov.
Používaním tohto webu súhlasíte s uchovávaním cookies, ktoré slúžia na poskytovanie služieb, nastavenie reklám a analýzu návštevnosti. OK, súhlasím


Panta Rhei Doprava Zadarmo
...
...


A | B | C | D | E | F | G | H | CH | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

Bracket
 ...

Brackets
( ) { } ⟨ ⟩
Brackets (BE)
or
parentheses (AE)
or
round brackets (BE)[1]
Brackets (AE)
or
square brackets (BE)[1]
Braces (BE&AE)
or
curly brackets (BE)[1]
Angle brackets (BE&AE)[1]
or
chevrons [2]

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.[3] 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.[1] "Brackets", without further qualification, are in British English the () marks and in American English the marks.[1][3]

Other minor bracket shapes exist, such as (for example) slash or diagonal brackets used by linguists to enclose phonemes.[4]

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",[5] 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.[3] The number of opening brackets matches the number of closing brackets in such cases.[3]

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

History

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).[6]

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.[7]

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

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

Parentheses or (round) brackets

Parenthesis
( )
Parentheses (AE)
or
brackets (BE)
or
round brackets (BE)[1]
In Unicode
General purpose
(half-width)[10]
  • U+0028 ( LEFT PARENTHESIS (()
  • U+0029 ) RIGHT PARENTHESIS ())
General purpose
(full-width East Asian)[11]
  • U+FF08 FULLWIDTH LEFT PARENTHESIS
  • U+FF09 FULLWIDTH RIGHT PARENTHESIS
Arabic script
(Quranic quotations)[12]
  • 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[19]
  • 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

( 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.[1][4] They are also known as "parens" /pəˈrɛnz/, "circle brackets", or "smooth brackets".

In careful or formal writing, "parentheses" is also used in British English.[citation needed]

Uses of ( )

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 will be used for one or more inner set of parentheses ).

Language

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 parenthesized 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).

Enumerations

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

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 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

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

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

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

Square brackets
In Unicode
General purpose
(half-width)[10]
  • U+005B [ LEFT SQUARE BRACKET ([, [)
  • U+005D ] RIGHT SQUARE BRACKET (], ])
General purpose
(full-width East Asian)[11]
  • 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[15][16][17][18]
  • 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[19]
  • 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

are square brackets in both British and American English, but are also more simply brackets in the latter.[1][3] 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,

my causes is [sic] just.

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, ..., 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 "hates 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: "Policymakers ... 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.

Proofreadingedit

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.
Center Paradise Lost
Move up

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

Lawedit

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 mathematicsedit

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.

Chemistryedit

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 languagesedit

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]

Brackets with quills ⁅ ⁆edit

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

Curly bracketsedit

Curly brackets
{ }
In Unicode
General
(half width)[10]
  • U+007B { LEFT CURLY BRACKET ({, {)
  • U+007D } RIGHT CURLY BRACKET (}, })
General
(full-width East Asian)[11]
  • U+FF5B FULLWIDTH LEFT CURLY BRACKET
  • U+FF5D FULLWIDTH RIGHT CURLY BRACKET
Technical/Mathematical
(half-width)[15][16][17][18]
  • 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 braces in both American and British English, and also curly brackets in the latter.[1][3]

Uses of { }edit

An example of curly brackets used to group sentences together

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

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

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

In this kingdom[57]
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:[58]
2 Gallons = 1 Peck = 764 Cubic Inches, nearly
8 Gallons = 1 Bushel = 281312
3 Bushels = 1 Sack = 489 Cubic Feet, nearly
12 Sacks = 1 Chald. = 5823

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

Musicedit

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

Zdroj:https://en.wikipedia.org?pojem=Bracket
Text je dostupný za podmienok Creative Commons Attribution/Share-Alike License 3.0 Unported; prípadne za ďalších podmienok. Podrobnejšie informácie nájdete na stránke Podmienky použitia.






Text je dostupný za podmienok Creative Commons Attribution/Share-Alike License 3.0 Unported; prípadne za ďalších podmienok.
Podrobnejšie informácie nájdete na stránke Podmienky použitia.

Your browser doesn’t support the object tag.

www.astronomia.sk | www.biologia.sk | www.botanika.sk | www.dejiny.sk | www.economy.sk | www.elektrotechnika.sk | www.estetika.sk | www.farmakologia.sk | www.filozofia.sk | Fyzika | www.futurologia.sk | www.genetika.sk | www.chemia.sk | www.lingvistika.sk | www.politologia.sk | www.psychologia.sk | www.sexuologia.sk | www.sociologia.sk | www.veda.sk I www.zoologia.sk