Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Letter case

From Wikipedia, the free encyclopedia
(Redirected fromLower-case)
Uppercase or lowercase
"Lowercase", "Uppercase", and "Capital Letters" redirect here. For the musical style, seeLowercase (music). For the magazine, seeUppercase (magazine). For the song, seeCapital Letters (song).
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Letter case" – news ·newspapers ·books ·scholar ·JSTOR
(December 2023) (Learn how and when to remove this message)
The lower-case "a" and upper-case "A" are the two case variants of the first letter in theEnglish alphabet.

Letter case is the distinction between the letters that are in largeruppercase orcapitals (more formallymajuscule) and smallerlowercase (more formallyminuscule) in the written representation of certain languages. Thewriting systems that distinguish between the upper- and lowercase have two parallel sets of letters: each in the majuscule set has a counterpart in the minuscule set. Some counterpart letters have the same shape, and differ only in size (e.g.⟨C, c⟩⟨S, s⟩⟨O, o⟩ ), but for others the shapes are different (e.g.,⟨A, a⟩⟨G, g⟩⟨F, f⟩). The two case variants are alternative representations of the same letter: they have the same name andpronunciation and are typically treated identically when sorting inalphabetical order.

Letter case is generally applied in a mixed-case fashion, with both upper and lowercase letters appearing in a given piece of text for legibility. The choice of case is often denoted by thegrammar of a language or by the conventions of a particular discipline. Inorthography, the uppercase is reserved for special purposes, such as the first letter of asentence or of aproper noun (called capitalisation, or capitalised words), which makes lowercase more common in regular text.

In some contexts, it is conventional to use one case only. For example,engineering design drawings are typically labelled entirely in uppercase letters, which are easier to distinguish individually than the lowercase when space restrictions require very small lettering. Inmathematics, on the other hand, uppercase and lowercase letters denote generally differentmathematical objects, which may be related when the two cases of the same letter are used; for example,x may denote an element of asetX.

Terminology

[edit]
Divided upper and lower type cases with cast metalsorts
Layout for type cases

The termsupper case andlower case may be written as two consecutive words, connected with a hyphen (upper-case andlower-case – particularly if theypre-modify another noun),[1] or as a single word (uppercase andlowercase). These terms originated from the common layouts of the shallowdrawers calledtype cases used to hold themovable type forletterpress printing. Traditionally, the capital letters were stored in a separate shallow tray or "case" that was located above the case that held the small letters.[2][3][4]

Majuscule

[edit]

Majuscule (/ˈmæəskjuːl/, less commonly/məˈʌskjuːl/), forpalaeographers, is technically any script whose letters have very few or very shortascenders and descenders, or none at all (for example, the majuscule scripts used in theCodex Vaticanus Graecus 1209, or theBook of Kells). By virtue of their visual impact, this made the term majuscule an apt descriptor for what much later came to be more commonly referred to as uppercase letters.

Minuscule

[edit]
"Minuscule" redirects here. For other uses, seeMinuscule (disambiguation).

Minuscule refers to lower-case letters. The word is often spelledminiscule, by association with the unrelated wordminiature and the prefixmini-. That has traditionally been regarded as a spelling mistake (sinceminuscule is derived from the wordminus[5]), but is now so common that somedictionaries tend to accept it as a non-standard or variant spelling.[6]Miniscule is still less likely, however, to be used in reference to lower-case letters.

Typographical considerations

[edit]

Theglyphs of lowercase letters can resemble smaller forms of the uppercase glyphs restricted to the baseband (e.g. "C/c" and "S/s", cf.small caps) or can look hardly related (e.g. "D/d" and "G/g"). Here is a comparison of the upper and lower case variants of each letter included in theEnglish alphabet (the exact representation will vary according to thetypeface andfont used):

UppercaseABCDEFGHIJKLMNOPQRSTUVWXYZ
Lowercaseabcdefghijklmnopqrstuvwxyz

(Some lowercase letters have variations e.g. a/ɑ.)

Typographically, the basic difference between the majuscules and minuscules is not that the majuscules are big and minuscules small, but that the majuscules generally are of uniform height (although, depending on the typeface, there may be some exceptions, particularly withQ and sometimesJ having a descending element; also, variousdiacritics can add to the normal height of a letter).

Ascenders (as in "h") and descenders (as in "p") make the height of lower-case letters vary.

There is more variation in the height of the minuscules, as some of them have parts higher (ascenders) or lower (descenders) than the typical size. Normally,b, d, f, h, k, l, t[note 1] are the letters with ascenders, andg, j, p, q, y are the ones with descenders. In addition, withold-style numerals still used by some traditional or classical fonts,6 and8 make up the ascender set, and3, 4, 5, 7, and9 the descender set.

Bicameral script

[edit]
This sectionpossibly containsoriginal research. Pleaseimprove it byverifying the claims made and addinginline citations. Statements consisting only of original research should be removed.(April 2015) (Learn how and when to remove this message)
Handwritten Cyrillic script
Adyghe Latin alphabet, used between 1927 and 1938, was based on Latin script, but did not have capital letters, being unicameral (small caps include ᴀ, ʙ, ᴣ, ʀ,, ᴘ, and.

A minority of writing systems use two separate cases. Such writing systems are calledbicameral scripts. These scripts include theLatin,Cyrillic,Greek,Coptic,Armenian,Glagolitic,Adlam,Warang Citi,Old Hungarian,Garay,Zaghawa,Osage,Vithkuqi, andDeseret scripts. Languages written in these scripts use letter cases as an aid to clarity. TheGeorgian alphabet has several variants, and there were attempts to use them as different cases, but the modern writtenGeorgian language does not distinguish case.[8]

All other writing systems make no distinction between majuscules and minuscules – a system called unicameral script orunicase. This includes mostsyllabic and other non-alphabetic scripts.

In scripts with a case distinction, lowercase is generally used for the majority of text; capitals are used for capitalisation andemphasis whenboldface is not available.Acronyms (and particularly initialisms) are often written inall-caps, depending onvarious factors.

Capitalisation

[edit]
Main article:Capitalisation

Capitalisation is thewriting of aword with its firstletter in uppercase and the remaining letters in lowercase. Capitalisation rules vary bylanguage and are often quite complex, but in most modern languages that have capitalisation, the first word of everysentence is capitalised, as are allproper nouns.[citation needed]

Capitalisation in English, in terms of the general orthographic rules independent of context (e.g. title vs. heading vs. text), is universally standardised forformal writing. Capital letters are used as the first letter of a sentence, a proper noun, or aproper adjective. Thenames of the days of the week and the names of the months are also capitalised, as are the first-personpronoun "I"[9] and thevocative particle "O". There are a few pairs of words of different meanings whoseonly difference is capitalisation of the first letter.Honorifics and personaltitles showing rank or prestige are capitalised when used together with the name of the person (for example, "Mr. Smith", "Bishop Gorman", "Professor Moore") or as a direct address, but normally not when used alone and in a more general sense.[10][11] It can also be seen as customary to capitalise any word – in some contexts even a pronoun[12] – referring to thedeity of amonotheistic religion.

Other words normally start with a lower-case letter. There are, however, situations where further capitalisation may be used to give added emphasis, for example in headings and publication titles (see below). In some traditional forms of poetry, capitalisation has conventionally been used as a marker to indicate the beginning of aline of verse independent of any grammatical feature. In political writing, parody and satire, the unexpected emphasis afforded by otherwise ill-advised capitalisation is often used to great stylistic effect, such as in the case of George Orwell'sBig Brother.

Other languages vary in their use of capitals. For example, inGerman all nouns are capitalised (this was previously common in English as well, mainly in the 17th and 18th centuries), while inRomance and most other European languages the names of the days of the week, the names of the months, and adjectives of nationality, religion, and so on normally begin with a lower-case letter.[13] On the other hand, in some languages it is customary to capitaliseformal polite pronouns, for exampleDe,Dem (Danish),Sie,Ihnen (German), andVd orUd (short forusted inSpanish).

Informal communication, such astexting,instant messaging or a handwrittensticky note, may not bother to follow the conventions concerning capitalisation, but that is because its users usually do not expect it to be formal.[9]

Exceptional letters and digraphs

[edit]
  • The German letter "ß" formerly existed only in lower case. The orthographical capitalisation does not concern "ß", which generally does not occur at the beginning of a word, and in the all-caps style it has traditionally been replaced by thedigraph "SS". Since June 2017, however,capital ẞ is accepted as an alternative in the all-caps style.[14]
  • The Greek upper-case letter "Σ" has two different lower-case forms: "ς" in word-final position and "σ" elsewhere. In a similar manner, the Latin upper-case letter "S" used to have two different lower-case forms: "s" in word-final position and " ſ" elsewhere. The latter form, called thelong s, fell out of general use before the middle of the 19th century, except for the countries that continued to useblackletter typefaces such asFraktur. When blackletter type fell out of general use in the mid-20th century, even those countries dropped the long s.[citation needed]
  • The treatment of the Greekiota subscript with upper-case letters is complicated.
  • Unlike most languages that use Latin-script and link the dotless upper-case "I" with the dotted lower-case "i",Turkish,Tatar (includingCrimean Tatar) as well assome forms of Azeri have both adotted anddotless I, each in both upper and lower case. Each of the two pairs ("İ/i" and "I/ı") represents a distinctivephoneme.
  • In some languages, specific digraphs may be regarded as single letters, and inDutch, the digraph "IJ/ij" is even capitalised with both components written in uppercase (for example, "IJsland" rather than "Ijsland").[15] In other languages, such asWelsh andHungarian, various digraphs are regarded as single letters for collation purposes, but the second component of the digraph will still be written in lower case even if the first component is capitalised. Similarly, inSouth Slavic languages whose orthography is coordinated between the Cyrillic and Latin scripts, the Latin digraphs "Lj/lj", "Nj/nj" and "Dž/dž" are each regarded as a single letter (like their Cyrillic equivalents "Љ/љ", "Њ/њ" and "Џ/џ", respectively), but only in all-caps style should both components be in upper case (e.g. Ljiljan–LJILJAN, Njonja–NJONJA, Džidža–DŽIDŽA).[citation needed]Unicode designates asingle character for each case variant (i.e., upper case, title case and lower case) of the three digraphs.[16]
  • Some English surnames such as fforbes are traditionally spelt with a digraph instead of a capital letter (at least for ff).
  • In theHawaiian orthography, theʻokina is aphonemic symbol that visually resembles a left singlequotation mark. Representing theglottal stop, the ʻokina can be characterised as either a letter[17] or adiacritic.[18] As a unicase letter, the ʻokina is unaffected by capitalisation; it is the following letter that is capitalised instead. According to theUnicode standard, the ʻokina is formally encoded asU+02BB ʻMODIFIER LETTER TURNED COMMA,[19] but it is not uncommon to substitute this with a similarpunctuation character, such as the left single quotation mark or anapostrophe.[20]

Related features

[edit]

Similar orthographic and graphostylistic conventions are used for emphasis or following language-specific or other rules, including:

  • Font effects such asitalic type oroblique type,boldface, and choice ofserif vs.sans-serif.
  • Inmathematical notation lower-case and upper-case letters have generally different meanings, and other meanings can be implied by the use of othertypefaces, such asboldface,fraktur,script typeface, andblackboard bold.
  • Some letters of theArabic andHebrew alphabets and somejamo of the Koreanhangul have different forms depending on placement within a word, but these rules are strict and the different forms cannot be used for emphasis.
    • In the Arabic and Arabic-based alphabets, letters in a word are connected, except for several that cannot connect to the following letter. Letters may have distinct forms depending on whether they are initial (connected only to the following letter), medial (connected to both neighboring letters), final (connected only to the preceding letter), or isolated (connected to neither a preceding nor a following letter).
    • In the Hebrew alphabet, five letters have a distinct form (seeFinal form) that is used when they are word-final.
  • InGeorgian, some authors use isolated letters from the ancientAsomtavruli alphabet within a text otherwise written in the modernMkhedruli in a fashion that is reminiscent of the usage of upper-case letters in the Latin, Greek, and Cyrillic alphabets.
  • In theJapanese writing system, an author has the option of switching betweenkanji,hiragana,katakana, andrōmaji. In particular, every hiragana character has an equivalent katakana character, and vice versa. Romanised Japanese sometimes uses lowercase letters to represent words that would be written in hiragana, and uppercase letters to represent words that would be written in katakana. Some kana characters are written in smaller type when they modify or combine with the preceding sign (yōon) or the following sign (sokuon).

Stylistic or specialised usage

[edit]
Globe icon.
The examples and perspective in this sectiondeal primarily withthe English-speaking world and do not represent aworldwide view of the subject. You mayimprove this section, discuss the issue on thetalk page, or create a new section, as appropriate.(September 2013) (Learn how and when to remove this message)
Alternating all-caps and headline styles at the start of aNew York Times report published in November 1919. (The event reported isArthur Eddington'stest ofEinstein'stheory of general relativity.)

In English, a variety of case styles are used in various circumstances:

Sentence case
"The quick brown fox jumps over the lazy dog"
A mixed-case style in which the first word of the sentence is capitalised, as well as proper nouns and other words as required by a more specific rule. This is generally equivalent to the baseline universal standard of formal English orthography.
Incomputer programming, the initial capital is easier to automate than the other rules. For example, on English-languageWikipedia, the first character inpage titles is capitalised by default. Because the other rules are more complex,substrings forconcatenation into sentences are commonly written in "mid-sentence case", applying all the rules of sentence case except the initial capital.
Title case (capital case, headline style)
"The Quick Brown Fox Jumps over the Lazy Dog"
A mixed-case style with all words capitalised, except for certain subsets (particularlyarticles and shortprepositions andconjunctions) defined by rules that are not universally standardised. The standardisation is only at the level of house styles and individualstyle manuals.(See further explanation below at§ Headings and publication titles.)
Start case (First letter of each word capitalized)
"The Quick Brown Fox Jumps Over The Lazy Dog"
Start case,initial caps orproper case is a simplified variant of title case. Intext processing, start case usually involves the capitalisation of all words irrespective of theirpart of speech.
All caps (all uppercase)
"THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG"
A unicase style with capital letters only. This can be used in headings and special situations, such as for typographical emphasis in text made on a typewriter. With the advent of theInternet, the all-caps style is more often used for emphasis; however, it is considered poornetiquette by some to type in all capitals, and said to be tantamount to shouting.[21] Long spans of Latin-alphabet text in all upper-case are more difficult to read because of the absence of theascenders anddescenders found in lower-case letters, which aids recognition and legibility. In some cultures it is common to write family names in all caps to distinguish them from the given names, especially in identity documents such as passports. Certain musicians—such asMarina andFinneas, who are both known mononymously, and some bands such asHaim andKiss—have their names stylised in all caps. Additionally, it is common for bands with vowelless names (a process colourfully known as "disemvoweling") to use all caps, with prominent examples includingSTRFKR,MSTRKRFT,PWR BTTM,SBTRKT,JPNSGRLS (now known as Hotel Mira),BLK JKS,MNDR, andDWNTWN.
Small caps
"The quick brown fox jumps over the lazy dog"
Similar in form to capital letters but roughly the size of a lower-case "x", small caps can be used instead of lower-case letters and combined with regular caps in a mixed-case fashion. This is a feature of certain fonts, such asCopperplate Gothic. According to various typographical traditions, the height of small caps can be equal to or slightly larger than thex-height of the typeface (the smaller variant is sometimes calledpetite caps and may also be mixed with the larger variant).[22] Small caps can be used for acronyms, names, mathematical entities, computer commands in printed text, business or personal printed stationery letterheads, and other situations where a given phrase needs to be distinguished from the main text.
All lowercase
"the quick brown fox jumps over the lazy dog"
A unicase style with no capital letters. This is sometimes used for artistic effect, such as in poetry. Also commonly seen in computer languages, and in informal electronic communications such asSMS language andinstant messaging (avoiding theshift key, to type more quickly). Examples in music are relatively common. For example, several ofTaylor Swift's albums, includingreputation,folklore, andevermore, were all stylised in lowercase. Bands such asWeezer andSilverchair were also stylised in lowercase for multiple albums during their respective careers, with the former consistently using lowercase in their logo since theirfirst studio album.Billie Eilish's debut studio album—When We All Fall Asleep, Where Do We Go?—has all of its tracks stylised in lowercase. Some people, such as authorbell hooks, write their names in all lowercase. Fully lowercase stylisation has been linked to the "disavowal of hierarchy", and on the Internet, frequently serves as "shorthand for authenticity and vulnerability".[23]
A comparison of various case styles (from most to least capitals used)
Case styleExampleDescription
All-caps THE  VITAMINS  ARE  IN  MY  FRESH  CALIFORNIA  RAISINS All letters uppercase
Start caseTheVitaminsAreInMyFreshCaliforniaRaisinsAll words capitalised regardless offunction
Title caseTheVitaminsAreinMyFreshCaliforniaRaisinsThe first word and all other words capitalised except forarticles and shortprepositions andconjunctions
German, and Bavarian-style sentence caseTheVitaminsareinmyfreshCaliforniaRaisinsThe first word and allnouns capitalised
Sentence caseThevitaminsareinmyfreshCaliforniaraisinsThe first word,proper nouns and some specified words capitalised
Mid-sentence casethevitaminsareinmyfreshCaliforniaraisinsAs above but excepting special treatment of the first word
All-lowercasethevitaminsareinmyfreshcaliforniaraisinsAll letters lowercase (unconventional in English prose)

Headings and publication titles

[edit]

In English-language publications, various conventions are used for the capitalisation of words inpublication titles andheadlines, including chapter and section headings. The rules differ substantially between individual house styles.

The convention followed by many Britishpublishers (including scientific publishers likeNature andNew Scientist, magazines likeThe Economist, and newspapers likeThe Guardian andThe Times) and many U.S. newspapers is sentence-style capitalisation in headlines, i.e. capitalisation follows the same rules that apply for sentences. This convention is usually calledsentence case. It may also be applied to publication titles, especially in bibliographic references and library catalogues. An example of a global publisher whose English-language house style prescribes sentence-case titles and headings is theInternational Organization for Standardization (ISO).[citation needed]

For publication titles it is, however, a common typographic practice among both British[24] and U.S. publishers to capitalise significant words (and in the United States, this is often applied to headings, too). This family of typographic conventions is usually calledtitle case. For example, R. M. Ritter'sOxford Manual of Style (2002) suggests capitalising "the first word and all nouns, pronouns, adjectives, verbs and adverbs, but generally not articles, conjunctions and short prepositions".[25] This is an old form ofemphasis, similar to the more modern practice of using a larger or boldface font for titles. The rules which prescribe which words to capitalise are not based on any grammatically inherent correct–incorrect distinction and are not universally standardised; they differ between style guides, although most style guides tend to follow a few strong conventions, as follows:

  • Most styles capitalise all words except for shortclosed-class words (certainparts of speech, namely, articles, prepositions, and conjunctions); but the first word (always) and last word (in many styles) are also capitalised, regardless of their part of speech. Many styles capitalise longer prepositions such as "between" and "throughout", but not shorter ones such as "for" and "with".[26] Typically, a preposition is considered short if it has up to three or four letters.
  • A few styles capitalise all words in title case (the so-calledstart case), which has the advantage of being easy to implement and hard to get "wrong" (that is, "not edited to style"). Because of this rule's simplicity, softwarecase-folding routines can handle 95% or more of the editing, especially if they are programmed for desired exceptions (such as "FBI" rather than "Fbi").
  • As for whether hyphenated words are capitalised not only at the beginning but also after the hyphen, there is no universal standard; variation occursin the wild and among house styles (e.g., "The Letter-Case Rule in My Book"; "Short-term Follow-up Care for Burns"). Traditional copyediting makes a distinction betweentemporary compounds (such as manynonce [novel instance]compound modifiers), in which every part of the hyphenated word is capitalised (e.g. "How This Particular Author Chose to Style HisAutumn-Apple-Picking Heading"), andpermanent compounds, which are terms that, although compound and hyphenated, are so well established that dictionaries enter them asheadwords (e.g., "Short-term Follow-up Care for Burns").

Title case is widely used in many English-language publications, especially in the United States. However, its conventions are sometimes not followed strictly – especially in informal writing.

In creative typography, such as music record covers and other artistic material, all styles are commonly encountered, including all-lowercase letters and special case styles, such asstudly caps (see below). For example, in thewordmarks of video games it is not uncommon to use stylised upper-case letters at the beginning and end of a title, with the intermediate letters in small caps or lower case (e.g.,ArcaniA,ArmA, andDmC).

Multi-word proper nouns

[edit]

Single-wordproper nouns are capitalised in formal written English, unless the name is intentionally stylised to break this rule (such ase e cummings,bell hooks,eden ahbez, anddanah boyd).

Multi-word proper nouns include names of organisations, publications, and people. Often the rules for "title case" (described in the previous section) are applied to these names, so that non-initial articles, conjunctions, and short prepositions are lowercase, and all other words are uppercase. For example, the short preposition "of" and the article "the" are lowercase in "Steering Committee of the Finance Department". Usually only capitalised words are used to form anacronym variant of the name, though there is some variation in this.

Withpersonal names, this practice can vary (sometimes all words are capitalised, regardless of length or function), but is not limited to English names. Examples include the English namesTamar of Georgia andCatherine the Great, "van" and "der" inDutch names, "von" and "zu" inGerman, "de", "los", and "y" inSpanish names, "de" or "d'" inFrench names, and "ibn" inArabic names.

Some surname prefixes also affect the capitalisation of the following internal letter or word, for example "Mac" inCeltic names and "Al" in Arabic names.

Unit symbols and prefixes in the metric system

[edit]
Of the sevenSI base-unit symbols, "A" (ampere forelectric current) and "K" (kelvin fortemperature), both named after people, are always written in upper case, whereas "s" (second fortime), "m" (metre forlength), "kg" (kilogram formass), "cd" (candela forluminous intensity), and "mol" (mole foramount of substance) are written in lower case.

In theInternational System of Units (SI), a letter usually has different meanings in upper and lower case when used as a unit symbol. Generally, unit symbols are written in lower case, but if the name of the unit is derived from a proper noun, the first letter of the symbol is capitalised. Nevertheless, thename of the unit, if spelled out, is always considered a common noun and written accordingly in lower case.[27] For example:

For the purpose of clarity, the symbol forlitre can optionally be written in upper case even though the name is not derived from a proper noun.[27] For example, "one litre" may be written as:

  • 1 l, the original form, for typefaces in which "digit one"⟨1⟩, "lower-case ell"⟨l⟩, and "upper-case i"⟨I⟩ look different.
  • 1 L, an alternative form, for typefaces in which these characters are difficult to distinguish, or the typeface the reader will be using is unknown. A "script l" in various typefaces (e.g.: 1 l) has traditionally been used in some countries to prevent confusion; however, the separateUnicode character which represents this,U+2113 SCRIPT SMALL L, is deprecated by theSI.[28] Another solution sometimes seen inWeb typography is to use a serif font for "lower-case ell" in otherwise sans-serif material (1 l).

The letter case of a prefix symbol is determined independently of the unit symbol to which it is attached. Lower case is used for all submultiple prefix symbols and the small multiple prefix symbols up to "k" (forkilo, meaning 103 = 1000 multiplier), whereas upper case is used for larger multipliers:[27]

  • 1 mW,milliwatt, a small measure ofpower ("m" formilli, meaning 10−3 = 1/1000 multiplier).
  • 1 MW, megawatt, a large measure of power ("M" formega, meaning 106 = 1 000 000 multiplier).
  • 1 mS,millisiemens, a small measure of electric conductance.
  • 1 MS, megasiemens, a large measure of electric conductance.
  • 1 mm, millimetre, a small measure oflength.
  • 1 Mm, megametre, a large measure of length.

Use within programming languages

[edit]
See also:Naming convention (programming) § Multiple-word identifiers

Some case styles are not used in standard English, but are common incomputer programming, productbranding, or other specialised fields.

The usage derives from how programming languages areparsed, programmatically. They generally separate their syntactic tokens by simplewhitespace, includingspace characters,tabs, andnewlines. When the tokens, such as function and variable names start to multiply in complexsoftware development, and there is still a need to keep thesource code human-readable,Naming conventions make this possible. So for example, a function dealing with matrix multiplication might formally be called:

  • SGEMM(*), with the asterisk standing in for an equally inscrutable list of 13 parameters (inBLAS),
  • MultiplyMatrixByMatrix(Matrix x, Matrix y), in some hypothetical higher levelmanifestly typed language, broadly following the syntax ofC++ orJava,
  • multiply-matrix-by-matrix(x, y) in something derived fromLISP, or perhaps
  • (multiply (x y)) in theCLOS, or some newer derivative language supportingtype inference andmultiple dispatch.

In each case, the capitalisation or lack thereof supports a different function. In the first,FORTRAN compatibility requires case-insensitive naming and short function names. The second supports easily discernible function and argument names and types, within the context of an imperative, strongly typed language. The third supports the macro facilities of LISP, and its tendency to view programs and data minimalistically, and as interchangeable. The fourth idiom needs much lesssyntactic sugar overall, because much of the semantics are implied, but because of its brevity and so lack of the need for capitalization or multipart words at all, might also make the code too abstract andoverloaded for the common programmer to understand.

Understandably then, such coding conventions arehighly subjective, and can lead to rather opinionated debate, such as in the case ofeditor wars, or those aboutindent style. Capitalisation is no exception.

Camel case

[edit]
Main article:Camel case

"theQuickBrownFoxJumpsOverTheLazyDog" or "TheQuickBrownFoxJumpsOverTheLazyDog"

Spaces andpunctuation are removed and the first letter of each word is capitalised. If this includes the first letter of the first word (CamelCase, "PowerPoint", "TheQuick...", etc.), the case is sometimes calledupper camel case (or, illustratively,CamelCase),Pascal case in reference to thePascal programming language[29] orbumpy case.

When the first letter of the first word is lowercase ("iPod", "eBay", "theQuickBrownFox..."), the case is usually known aslower camel case ordromedary case (illustratively:dromedaryCase). This format has become popular in the branding ofinformation technology products and services, with an initial "i" meaning "Internet" or "intelligent",[citation needed] as iniPod, or an initial "e" meaning "electronic", as inemail (electronic mail) ore-commerce (electronic commerce).

Snake case

[edit]

"the_quick_brown_fox_jumps_over_the_lazy_dog"

Punctuation is removed and spaces are replaced by singleunderscores. Normally the letters share the same case (e.g. "UPPER_CASE_EMBEDDED_UNDERSCORE" or "lower_case_embedded_underscore") but the case can be mixed, as inOCaml variant constructors (e.g. "Upper_then_lowercase").[30] The style may also be calledpothole case, especially inPython programming, in which this convention is often used for naming variables. Illustratively, it may be renderedsnake_case,pothole_case, etc.. When all-upper-case, it may be referred to asscreaming snake case (orSCREAMING_SNAKE_CASE) orhazard case.[31]

Kebab case

[edit]

"the-quick-brown-fox-jumps-over-the-lazy-dog"

Similar to snake case, above, excepthyphens rather than underscores are used to replace spaces. It is also known asspinal case,param case,Lisp case in reference to theLisp programming language, ordash case (or illustratively askebab-case, looking similar to the skewer that sticks through akebab). If every word is capitalised, the style is known astrain case (TRAIN-CASE).[32]

InCSS, all property names and most keyword values are primarily formatted in kebab case.

Middot case

[edit]

"the·quick·brown·fox·jumps·over·the·lazy·dog"

Similar to kebab case, above, except it usesinterpunct rather than underscores to replace spaces. It’s use is possible in many programming languages supporting Unicode identifiers, as unlike the hyphen it generally doesn’t conflict with a reserved use for denoting an operator, albeit exceptions such asJulia exist.[33] Its lack of visibility in most standard keyboard layouts certainly contribute to its infrequent employ, though most modern input facility allow to reach it rather easily.[34]

Studly caps

[edit]

"tHeqUicKBrOWnFoXJUmpsoVeRThElAzydOG"

Studly caps are an arbitrary mixing of the cases with nosemantic orsyntactic significance to the use of the capitals. Sometimes onlyvowels are upper case, at other times upper and lower case are alternated, but often it is simply random. The name comes from the sarcastic or ironic implication that it was used in an attempt by the writer to convey their owncoolness (studliness).[citation needed] It is also used to mock the violation of standard English case conventions by marketers in the naming of computer software packages, even when there is no technical requirement to do so – e.g.,Sun Microsystems' naming of a windowing systemNeWS. Illustrative naming of the style is, naturally, random:stUdlY cAps,StUdLy CaPs, etc..

Case folding and case conversion

[edit]

In thecharacter sets developed forcomputing, each upper- and lower-case letter is encoded as a separate character. In order to enable case folding and case conversion, thesoftware needs to link together the two characters representing the case variants of a letter. (Some old character-encoding systems, such as theBaudot code, are restricted to one set of letters, usually represented by the upper-case variants.)

Case-insensitive operations can be said to fold case, from the idea of folding the character code table so that upper- and lower-case letters coincide. The conversion of letter case in astring is common practice in computer applications, for instance to make case-insensitive comparisons. Many high-level programming languages provide simple methods for case conversion, at least for theASCII character set.

Whether or not the case variants are treated as equivalent to each other varies depending on the computer system and context. For example, userpasswords are generally case sensitive in order to allow more diversity and make them more difficult to break. In contrast, case is often ignored inkeyword searches in order to ignore insignificant variations in keyword capitalisation both in queries and queried material.

Unicode case folding and script identification

[edit]

Unicode defines case folding through the three case-mapping properties of eachcharacter: upper case, lower case, and title case (in this context, "title case" relates toligatures anddigraphs encoded as mixed-casesingle characters, in which the first component is in upper case and the second component in lower case).[35] These properties relate all characters in scripts with differing cases to the other case variants of the character.

As briefly discussed inUnicode Technical Note #26,[36] "In terms of implementation issues, any attempt at a unification of Latin, Greek, and Cyrillic would wreak havoc [and] make casing operations an unholy mess, in effect making all casing operations context sensitive […]". In other words, while the shapes of letters likeA,B,E,H,K,M,O,P,T,X,Y and so on are shared between the Latin, Greek, and Cyrillic alphabets (and small differences in their canonical forms may be considered to be of a merelytypographical nature), it would still be problematic for a multilingualcharacter set or afont to provide only asinglecode point for, say, uppercase letterB, as this would make it quite difficult for a wordprocessor to change that single uppercase letter to one of the three different choices for the lower-case letter, the Latinb (U+0062), Greekβ (U+03B2) or Cyrillicв (U+0432). Therefore, the corresponding Latin, Greek and Cyrillic upper-case letters (U+0042, U+0392 and U+0412, respectively) are also encoded as separate characters, despite their appearance being identical. Without letter case, a "unified European alphabet" – such asABБCГDΔΕЄЗFΦGHIИJ...Z, with an appropriate subset for each language – is feasible; but considering letter case, it becomes very clear that these alphabets are rather distinct sets of symbols.

Methods in word processing

[edit]

Most modernword processors provide automated case conversion with a simple click or keystroke. For example, in Microsoft Office Word, there is a dialog box for toggling the selected text through UPPERCASE, then lowercase, then Title Case (actually start caps; exception words must be lowercased individually). The keystroke⇧ Shift+F3 does the same.

Methods in programming

[edit]

In some forms ofBASIC there are two methods for case conversion:

UpperA$=UCASE$("a")LowerA$=LCASE$("A")

C andC++, as well as any C-like language that conforms to itsstandard library, provide these functions in the filectype.h:

charupperA=toupper('a');charlowerA=tolower('A');

Case conversion is different with differentcharacter sets. InASCII orEBCDIC, case can be converted in the following way, in C:

inttoupper(intc){returnislower(c)?c'a'+'A':c;}inttolower(intc){returnisupper(c)?c'A'+'a':c;}

This only works because the letters of upper and lower cases are spaced out equally. In ASCII they are consecutive, whereas with EBCDIC they are not; nonetheless the upper-case letters are arranged in the same pattern and with the same gaps as are the lower-case letters, so the technique still works.

Some computer programming languages offer facilities for converting text to a form in which all words are capitalised.Visual Basic calls this "proper case";Python calls it "title case". This differs from usualtitle casing conventions, such as the English convention in which minor words are not capitalised.

History

[edit]
See also:Initial
Latin majuscule inscription on theArch of Titus (82 CE)
Papyrus fragment with old Roman cursive script from the reign ofClaudius (41–54 CE)
Example of Greek minuscule textCodex Ebnerianus (c. 1100 CE)
Combined case with capital letters above small letters
Late 19th-century mixed cases
Demonstrating the use of acomposing stick in front of divided upper and lower type cases at theInternational Printing Museum in Carson, California, United States, North America

Originallyalphabets were written entirely in majuscule letters, spaced between well-defined upper and lower bounds. When written quickly with apen, these tended to turn into rounder and much simpler forms. It is from these that the first minuscule hands developed, thehalf-uncials and cursive minuscule, which no longer stayed bound between a pair of lines.[37] These in turn formed the foundations for theCarolingian minuscule script, developed byAlcuin for use in the court ofCharlemagne, which quickly spread across Europe. The advantage of the minuscule over majuscule was improved, faster readability.[citation needed]

InLatin,papyri fromHerculaneum dating before 79 CE (when it was destroyed) have been found that have been written in oldRoman cursive, where the early forms of minuscule letters "d", "h" and "r", for example, can already be recognised. According to papyrologistKnut Kleve, "The theory, then, that the lower-case letters have been developed from the fifth centuryuncials and the ninth century Carolingian minuscules seems to be wrong."[38] Both majuscule and minuscule letters existed, but the difference between the two variants was initially stylistic rather than orthographic and the writing system was still basically unicameral: a given handwritten document could use either one style or the other but these were not mixed. European languages, except forAncient Greek and Latin, did not make the case distinction before about 1300.[citation needed]

The timeline of writing in Western Europe can be divided into four eras:[citation needed]

  • Greek majuscule (9th–3rd century BCE) in contrast to the Greekuncial script (3rd century BCE – 12th century CE) and the laterGreek minuscule
  • Roman majuscule (7th century BCE – 4th century CE) in contrast to the Roman uncial (4th–8th century CE),Roman half uncial, and minuscule
  • Carolingian majuscule (4th–8th century CE) in contrast to theCarolingian minuscule (around 780 – 12th century)
  • Gothic majuscule (13th and 14th century), in contrast to the early Gothic (end of 11th to 13th century), Gothic (14th century), and late Gothic (16t  century) minuscules.

Traditionally, certain letters were rendered differently according to a set of rules. In particular, those letters that began sentences or nouns were made larger and often written in a distinct script. There was no fixed capitalisation system until the early 18th century. TheEnglish language eventually dropped the rule for nouns, while the German language keeps it.

Similar developments have taken place in other alphabets. The lower-case script for theGreek alphabet has its origins in the 7th century and acquired its quadrilinear form (that is, characterised by ascenders and descenders)[39] in the 8th century. Over time, uncial letter forms were increasingly mixed into the script. The earliest dated Greek lower-case text is theUspenski Gospels (MS 461) in the year 835.[40] The modern practice of capitalising the first letter of every sentence seems to be imported (and is rarely used when printing Ancient Greek materials even today).[citation needed]

Simplified relationship between various scripts leading to the development of modern lower case of standard Latin alphabet and that of the modern variantsFraktur (used in Germanyuntil 1940s) andGaelic (used in Ireland). Several scripts coexisted such ashalf-uncial anduncial, which derive fromRoman cursive andGreek uncial, andVisigothic,Merovingian (Luxeuil variant here) andBeneventan. TheCarolingian script was the basis forblackletter andhumanist minuscule. What is commonly called "Gothic writing" is technically called blackletter (heretextualis quadrata) and is completely unrelated to Visigothic script. The letter j is i with aflourish, u and v are the same letter in early scripts and were used depending on their position in insular half-uncial and caroline minuscule and later scripts, w is a ligature of vv, in insular therunewynn is used as a w (three other runes in use were thethorn (þ), ʻféʼ (ᚠ) as an abbreviation for cattle/goods and maðr (ᛘ) for man). The letters y and z were very rarely used, in particular þ was written identically to y so y was dotted to avoid confusion, the dot was adopted for i only after late-caroline (protogothic), in beneventan script themacron abbreviation featured a dot above. Lost variants such asr rotunda, ligatures andscribal abbreviation marks are omitted;long s is shown when no terminal s (the only variant used today) is preserved from a given script.Humanist script was the basis for Venetiantypes which changed little until today, such asTimes New Roman (a serifed typeface).

Type cases

[edit]

The individual type blocks used in handtypesetting are stored in shallow wooden or metal drawers known as "type cases". Each is subdivided into a number of compartments ("boxes") for the storage of different individual letters.[citation needed]

TheOxford Universal Dictionary on Historical Advanced Proportional Principles (reprinted 1952) indicates thatcase in this sense (referring to the box or frame used by a compositor in the printing trade) was first used in English in 1588. Originally one large case was used for each typeface, then "divided cases", pairs of cases for majuscules and minuscules, were introduced in the region of today's Belgium by 1563, England by 1588, and France before 1723.

The termsupper andlower case originate from this division. By convention, when the two cases were taken out of the storage rack and placed on a rack on thecompositor's desk, the case containing the capitals and small capitals stood at a steeper angle at the back of the desk, with the case for the small letters, punctuation, and spaces being more easily reached at a shallower angle below it to the front of the desk, hence upper and lower case.[41]

Though pairs of cases were used in English-speaking countries and many European countries in the seventeenth century, in Germany and Scandinavia the single case continued in use.[41]

Various patterns of cases are available, often with the compartments for lower-case letters varying in size according to the frequency of use of letters, so that the commonest letters are grouped together in larger boxes at the centre of the case.[41] The compositor takes the letter blocks from the compartments and places them in acomposing stick, working from left to right and placing the letters upside down with the nick to the top, then sets the assembled type in agalley.[41]

See also

[edit]

Notes

[edit]
  1. ^InRoman Antiqua or other vertical fonts, the defunctlong s (ſ) would have been an ascender; however, in italics, it would have been one of only two letters in theEnglish alphabet (and most otherLatin-script alphabets) with both an ascender and a descender, the other beingf.[7]

References

[edit]
  1. ^"The School's Manual of Style". Johns Hopkins, Bloomberg School of Public Health. Retrieved9 November 2018.
  2. ^Hansard, Thomas Curson (1825).Typographia, an Historical Sketch of the Origin and Progress of the Art of Printing. pp. 408, 4806. Retrieved12 August 2015.
  3. ^Marc Drogin (1980).Medieval Calligraphy: Its History and Technique. Courier Corporation. p. 37.ISBN 9780486261423.
  4. ^Sacramento History Museum.Ever wonder where upper case and lower case comes from?.
  5. ^Charlton T. Lewis (1890)."Minusculus".An Elementary Latin Dictionary. New York, Cincinnati, and Chicago: American Book Company.
  6. ^The American Heritage Dictionary of the English Language (4th ed.). Boston and New York: Houghton Mifflin. 2000.ISBN 978-0-395-82517-4.
  7. ^Nesbitt, Alexander (1957).The History and Technique of Lettering (1st ed.). New York City: Dover Publications.ISBN 0-486-20427-8.
  8. ^Březina, David (2012),Challenges in multilingual type design, p. 14 – via University of Reading Department of Typography and Design
  9. ^abDennis Oliver."Using Capital Letters (#1)".Dave's ESL Cafe. Retrieved19 February 2017.
  10. ^Nancy Edmonds Hanson (25 August 2008)."AP Style: Courtesy and Professional Titles".Minnesota State University. Archived fromthe original on 1 December 2016. Retrieved19 February 2017.
  11. ^"Capitalizing Titles of People".English Plus. 1997–2006. Retrieved19 February 2017.
  12. ^"Capitalization".The Chicago Manual of Style Online. Retrieved19 February 2017.
  13. ^"Citing Sources: Capitalization and Personal Names in Foreign Languages".Waidner-Spahr Library. Dickinson. Retrieved30 March 2017.
  14. ^Cf.Güthert, Kerstin (2017),PRESSEMITTEILUNG 29.6.2017 Amtliches Regelwerk der deutschen Rechtschreibung aktualisiert(PDF),Council for German Orthography, p. 1, retrieved2017-06-29.
  15. ^"Ijsland / IJsland". Taalunie. Retrieved9 March 2014.
  16. ^"Latin Extended-B"(PDF). Unicode. U+01C4, U+01C5, U+01C6, U+01C7, U+01C8, U+01C9, U+01CA, U+01CB, U+01CC. Retrieved5 February 2017.
  17. ^"Why I Spell it Hawai'i and not Hawaii, and Why You Should, Too".Blond Voyage. Retrieved6 August 2017.
  18. ^"Hawaiian Language Online".The University of Hawai‘i. Retrieved6 August 2017.
  19. ^"Spacing Modifier Letters"(PDF). Unicode. U+02BB. Retrieved6 August 2017.
  20. ^"'Ōlelo Hawai'i on the WWW: A.K.A., How To Give Good 'Okina".KeolaDonaghy.com. Archived fromthe original on 6 August 2017. Retrieved6 August 2017.
  21. ^RFC 1855 "Netiquette Guidelines"
  22. ^"Registered features – definitions and implementations".OpenType Layout tag registry. Microsoft. Tag:'pcap', Tag: 'smcp'. Retrieved24 March 2017.
  23. ^Grady, Kitty (August 28, 2020)."The Rise of the 'Lowercase Girl'".Vice.Archived from the original on December 2, 2024. RetrievedDecember 2, 2024.
  24. ^"The Guardian and Observer Style Guide".TheGuardian.com. Retrieved10 June 2014.
  25. ^R. M. Ritter, ed. (2002).Oxford Manual of Style.Oxford University Press.
  26. ^Currin Berdine."What to Capitalize in a Title".AdminSecret. Retrieved23 February 2014.
  27. ^abcBureau International des Poids et Mesures (2006)."The International System of Units"(PDF). Organisation Intergouvernementale de la Convention du Mètre. pp. 121,130–131. Retrieved12 January 2014.
  28. ^"Letterlike symbols".Charts (Beta).Unicode Consortium. Retrieved28 July 2017.
  29. ^"History around Pascal Casing and Camel Casing". 3 February 2004.
  30. ^"Caml programming guidelines".caml.inria.fr. Retrieved2017-03-31.
  31. ^"Ruby Style Guide".GitHub. Retrieved11 November 2013.
  32. ^"Programming naming conventions".Pluralsight. 15 January 2023. 11. Train case. Retrieved16 November 2024.
  33. ^"Variables · The Julia Language".docs.julialang.org. Retrieved2025-03-28.
  34. ^"What is the meaning of an interpunct (·) in C?".Stack Overflow. Retrieved2025-03-28.
  35. ^"Character Properties, Case Mappings & Names FAQ". Unicode. Retrieved19 February 2017.
  36. ^"Unicode Technical Note #26: On the Encoding of Latin, Greek, Cyrillic, and Han". Retrieved23 April 2007.
  37. ^David Harris (2003).The Calligrapher's Bible. Hauppauge, NY: Barron's.ISBN 0-7641-5615-2.
  38. ^Knut Kleve (1994). "The Latin Papyri in Herculaneum".Proceedings of the 20th International Congress of Papyrologists, Copenhagen, 23–29 August 1992. Copenhagen: Museum Tusculanum Press.
  39. ^"Roman Writing Systems – Medieval Manuscripts". Retrieved2019-07-03.
  40. ^The earliest known biblical manuscript is a palimpsest of Isajah in Syriac, written in 459/460.Bruce M. Metzger &Bart D. Ehrman,The Text of the New Testament (Oxford University Press: 2005), p. 92.
  41. ^abcdDavid Bolton (1997)."Type Cases". The Alembic Press. Archived fromthe original on 16 July 2007. Retrieved23 April 2007.

Further reading

[edit]
Look upcapital letter,lowercase,minuscule, orAppendix:Capital letter in Wiktionary, the free dictionary.
Wikimedia Commons has media related toCapital letters.

External links

[edit]
  1. Upper Lower Case Online Converter is a tool for converting text among upper-, lower-, proper and sentence case formats.


Page
Paragraph
Character
Typeface anatomy
Capitalization
Visual distinction
Horizontal aspects
Vertical aspects
Typeface
classifications
Roman type
Blackletter type
Gaelic type
Specialist
Punctuation (List)
Typesetting
Typographic units
Digital typography
Typography in other
writing systems
Related articles
Related template
Retrieved from "https://en.wikipedia.org/w/index.php?title=Letter_case&oldid=1283007529"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp