Grave accent
` | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Grave accent | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
The grave accent ( ` ) (/ˈɡreɪv/ or UK /ˈɡrɑːv/)[1] is a diacritical mark used in many written languages, including Breton, Catalan, Corsican, Dutch, French, Greek (until 1982; see polytonic orthography), Haitian Creole, Italian, Mohawk, Norwegian, Occitan, Portuguese, Ligurian, Scottish Gaelic, Vietnamese, Welsh, Romansh and Yoruba.
Uses
Greek
The grave accent was first used in the polytonic orthography of Ancient Greek to mark a lower pitch than the high pitch of the acute accent. In modern practice, it is used to replace an acute accent in the last syllable of a word when the word is followed immediately by another word in the sentence. The grave and circumflex have been replaced with an acute accent in the modern monotonic orthography.
Stress
The grave accent marks the stressed vowels of words in Maltese, Catalan and Italian.
A general rule in Italian is that words ending with stressed -a, -i, -o, or -u must be marked with a grave accent. Words ending with stressed -e may bear either an acute accent or a grave accent, depending on whether the final e sound is closed or open, respectively. Some examples of words with a final grave accent are: città ("city"), morì ("[he/she] died"), virtù ("virtue"), Mosè ("Moses"), and portò ("[he/she/it] brought/carried"). A typist using a keyboard without accented characters who is unfamiliar with input methods for typing accented letters will sometimes use a separate backtick or even an apostrophe instead of the proper accent, though this is nonstandard. This is especially common when typing capital letters, thus E` or E’ instead of È ("[he/she/it] is"). Other mistakes arise from the misunderstanding of truncated and elided words: for example, the phrase un po’ ("a little"), which is the truncated version of un poco, is infrequently spelled as un pò. In Italian there are many pairs of words, one with an accent marked and the other not, with different pronunciation and meaning, such as pero ("pear tree") and però ("but"), and Papa ("Pope") and papà ("dad"); the last example is also valid for Catalan.
In Bulgarian, the grave accent is sometimes, although not very often, used on the vowels а, о, у, е, и and ъ to mark stress. It is most commonly used in books for children or foreigners and in dictionaries, or to distinguish between near-homophones: па̀ра ("steam/vapour") and пара̀ ("cent/penny, money"), въ̀лна ("wool") and вълна̀ ("wave"). In a few cases (mostly on the vowels е and и), the stress mark is orthographically required to distinguish words which are Homographs (see Disambiguation). In these cases it forces the stress on the accented word-syllable, instead of having a different syllable in the stress group get accented. In turn, this changes the pronunciation and the whole meaning of the group.
In Ukrainian, Rusyn, Belarusian and Russian, a similar system was in use until the first half of the 20th century. Now the main stress is preferably marked with an acute, and the role of grave is limited to marking secondary stress in compound words (in dictionaries and linguistic literature).
In the descendants of Serbo-Croatian and in Slovene, the stressed syllable can be short or long, as well as having rising or falling tone. To show this, these languages use (in dictionaries, orthography, and grammar books, for example) four different stress marks (grave, acute, double grave and circumflex). The system is identical both in Latin and Cyrillic scripts.
In modern Church Slavonic, there are three stress marks (acute, grave and circumflex). There is no phonetical distinction between them, only the orthographical one. Grave is typically used when the stressed vowel is the last letter of a multi-letter word.
In Ligurian, the grave accent marks the accented short vowel of a word in à (sound [a]), è (sound [ɛ]), ì (sound [i]) and ù (sound [y]). In the case of ò, it is used for the short sound of [O], but it may not be the stressed vowel of the word.
Height
The grave accent marks the height or openness of the vowels e and o, indicating that they are pronounced open: è [ɛ] (as opposed to é [e]); ò [ɔ] (as opposed to ó [o]), in several Romance languages:
- Catalan uses the accent on three letters (a, e, and o).
- French uses the accent on three letters (a, e, and u), but only with e does it serve to indicate a pronunciation change. For example, the accent mark in lève [lεv], indicates that it is not pronounced as a schwa, like in lever [ləve].
- Italian
- Occitan
- Ligurian, which also uses the grave accent to distinguish the sound [o], written ò, from the sound [u], written ó.
Disambiguation
The grave accent is used in several languages to distinguish homophones, or words that otherwise would be homographs:
- In Bulgarian it distinguishes the conjunction и ("and") from the short-form feminine possessive pronoun ѝ.
- Catalan, where it distinguishes, for example, ma ("my") from mà ("hand").
- French. The grave accent on the letters a and u has no effect on pronunciation and only serves to distinguish homonyms that are otherwise spelled the same. It distinguishes the preposition à ("to/belonging to/towards") from the verb a (the third-person singular present tense of avoir), as well as the adverb là ("there") and the feminine definite article la; it is also used in the words déjà ("already"), deçà (preceded by en or au and meaning "closer than" or "inferior to (a given value)"), the phrase çà et là ("hither and thither"; without the accents, it would literally mean "it and the") and its functional synonym deçà, delà. It is used on the letter u only to distinguish où ("where") and ou ("or"). È is rarely used to distinguish homonyms, except in dès/des ("since/some"), ès/es ("in/(thou) art"), and lès/les ("near/the").
- Italian, where it distinguishes, for example, the conjunction e ("and") from the verb è ("he/she/it is"), the feminine article la from the adverb là ("there"), or the conjunction se ("if") from the reflexive pronoun sé ("itself"). The first two examples involve two homographs, while the last involves two homophones.
- In Norwegian (both Bokmål and Nynorsk), the grave accent is used to separate words which would otherwise be identical, for instance og (and) and òg (too). Popular usage, possibly because Norwegian rarely uses diacritics, often leads to a grave accent being used in place of an acute accent.
- Romansh, where it distinguishes (in the "Rumantsch Grischun" standard) e ("and") from the verb form è ("he/she/it is") and en ("in") from èn ("they are"). The grave also marks distinctions of stress (gia "already" vs. gìa "violin") and of vowel quality (letg "bed" vs. lètg "marriage").
Length
In Welsh, the accent is used to denote a short vowel sound in a word which would otherwise be pronounced with a long vowel sound, for example mẁg [mʊɡ] "mug" versus mwg [muːɡ] "smoke".
In Scottish Gaelic, it denotes a long vowel. The use of acute accents to denote the rarer close long vowels, leaving the grave accents for the open long ones, is seen in older texts, but is no longer allowed according to the new orthographical conventions.
Tone
In some tonal languages such as Vietnamese and Mandarin Chinese (when written in Hanyu Pinyin or Zhuyin Fuhao), the grave accent is used to indicate a falling tone. The alternative to the grave accent in Mandarin is the numeral 4 after the syllable: pà = pa4.
In African languages, the grave accent is often used to indicate a low tone, e.g. Nobiin jàkkàr ("fish-hook"), Yoruba àgbọ̀n ("chin"), Hausa màcè ("woman").
The grave accent is used to represent the low tone in Kanien'kéha or Mohawk.
Other uses
In Portuguese, the grave accent indicates the contraction of two consecutive vowels in adjacent words (crasis). For example, instead of a aquela hora ("at that hour"), one says and writes àquela hora.
In Hawaiian, the grave accent (alone, not placed over another character) is sometimes encountered as a typographically easier substitute for the ʻokina, e.g. Hawai`i instead of Hawaiʻi.
English
The grave accent, although not commonly applied to any English words, is sometimes used in poetry and song lyrics to indicate that a vowel usually silent is to be pronounced, in order to fit the rhythm or meter. Most often, it is applied to a word ending with -ed. For instance, the word looked is usually pronounced /ˈlʊkt/ as a single syllable, with the e silent; when written as lookèd, the e is pronounced: /ˈlʊkᵻd/ look-ed). It can also be used in this capacity to distinguish certain pairs of identically spelled words like the past tense of learn, learned /ˈlɜːrnd/, from the adjective learnèd /ˈlɜːrnᵻd/ (for example, "a very learnèd man").
Accents, sometimes combined with italics, are often applied to foreign terms that are uncommonly used in or have not been fully assimilated into English: for example, vis-à-vis, résumé, pièce de résistance and crème brûlée.
The layout of some European PC keyboards combined with problematic keyboard driver semantics causes many users to use a grave accent or an acute accent instead of an apostrophe when typing in English (e.g. typing John`s or John´s instead of John's).[2]
Technical notes
additional diacritic | character | Unicode | HTML |
---|---|---|---|
Latin | |||
— | À à | U+00C0 U+00E0 | À à |
È è | U+00C8 U+00E8 | È è | |
Ì ì | U+00CC U+00EC | Ì ì | |
Ò ò | U+00D2 U+00F2 | Ò ò | |
Ù ù | U+00D9 U+00F9 | Ù ù | |
Ǹ ǹ | U+01F8 U+01F9 | Ǹ ǹ | |
Ẁ ẁ | U+1E80 U+1E81 | Ẁ ẁ | |
Ỳ ỳ | U+1EF2 U+1EF3 | Ỳ ỳ | |
diaeresis | Ǜ ǜ | U+01DB U+01DC | Ǜ ǜ |
double grave |
Ȁ ȁ | U+0200 U+0201 | Ȁ ȁ |
Ȅ ȅ | U+0204 U+0205 | Ȅ ȅ | |
Ȉ ȉ | U+0208 U+0209 | Ȉ ȉ | |
Ȍ ȍ | U+020C U+020D | Ȍ ȍ | |
Ȑ ȑ | U+0210 U+0211 | Ȑ ȑ | |
Ȕ ȕ | U+0214 U+0215 | Ȕ ȕ | |
macron | Ḕ ḕ | U+1E14 U+1E15 | Ḕ ḕ |
Ṑ ṑ | U+1E50 U+1E51 | Ṑ ṑ | |
circumflex | Ầ ầ | U+1EA6 U+1EA7 | Ầ ầ |
Ề ề | U+1EC0 U+1EC1 | Ề ề | |
Ồ ồ | U+1ED2 U+1ED3 | Ồ ồ | |
breve | Ằ ằ | U+1EB0 U+1EB1 | Ằ ằ |
horn | Ờ ờ | U+1EDC U+1EDD | Ờ ờ |
Ừ ừ | U+1EEA U+1EEB | Ừ ừ | |
Cyrillic | |||
— | Ѐ ѐ | U+0400 U+0450 | Ѐ ѐ |
Ѝ ѝ | U+040D U+045D | Ѝ ѝ | |
Ѷ ѷ | U+0476 U+0477 | Ѷ ѷ | |
Greek (varia) | |||
— | ` | U+1FEF | ` |
Ὰ ὰ | U+1FBA U+1F70 | Ὰ ὰ | |
Ὲ ὲ | U+1FC8 U+1F72 | Ὲ ὲ | |
Ὴ ὴ | U+1FCA U+1F74 | Ὴ ὴ | |
Ὶ ὶ | U+1FDA U+1F76 | Ὶ ὶ | |
Ὸ ὸ | U+1FF8 U+1F78 | Ὸ ὸ | |
Ὺ ὺ | U+1FEA U+1F7A | Ὺ ὺ | |
Ὼ ὼ | U+1FFA U+1F7C | Ὼ ὼ | |
smooth breathing |
῍ | U+1FCD | ῍ |
Ἂ ἂ | U+1F0A U+1F02 | Ἂ ἂ | |
Ἒ ἒ | U+1F1A U+1F12 | Ἒ ἒ | |
Ἢ ἢ | U+1F2A U+1F22 | Ἢ ἢ | |
Ἲ ἲ | U+1F3A U+1F32 | Ἲ ἲ | |
Ὂ ὂ | U+1F4A U+1F42 | Ὂ ὂ | |
— ὒ | — U+1F52 | — ὒ | |
Ὢ ὢ | U+1F6A U+1F62 | Ὢ ὢ | |
rough breathing |
῝ | U+1FDD | ῝ |
Ἃ ἃ | U+1F0B U+1F03 | Ἃ ἃ | |
Ἓ ἓ | U+1F1B U+1F13 | Ἓ ἓ | |
Ἣ ἣ | U+1F2B U+1F23 | Ἣ ἣ | |
Ἳ ἳ | U+1F3B U+1F33 | Ἳ ἳ | |
Ὃ ὃ | U+1F4B U+1F43 | Ὃ ὃ | |
Ὓ ὓ | U+1F5B U+1F53 | Ὓ ὓ | |
Ὣ ὣ | U+1F6B U+1F63 | Ὣ ὣ | |
iota subscript |
— ᾲ | — U+1FB2 | — ᾲ |
— ῂ | — U+1FC2 | — ῂ | |
— ῲ | — U+1FF2 | — ῲ | |
smooth breathing, iota subscript |
ᾊ ᾂ | U+1F8A U+1F82 | ᾊ ᾂ |
ᾚ ᾒ | U+1F9A U+1F92 | ᾚ ᾒ | |
ᾪ ᾢ | U+1FAA U+1FA2 | ᾪ ᾢ | |
rough breathing, iota subscript |
ᾋ ᾃ | U+1F8B U+1F83 | ᾋ ᾃ |
ᾛ ᾓ | U+1F9B U+1F93 | ᾛ ᾓ | |
ᾫ ᾣ | U+1FAB U+1FA3 | ᾫ ᾣ | |
diaeresis | ῭ | U+1FED | ῭ |
— ῒ | — U+1FD2 | — ῒ | |
— ῢ | — U+1FE2 | — ῢ |
The Unicode standard allows for dozens of letters with a grave accent to be available, as a combining character. The older ISO-8859-1 character encoding only includes the letters à, è, ì, ò, ù, and their respective capital forms. In the much older, limited 7- or 8-bit ASCII character set, the grave accent is encoded as character 96 (hex 60). Outside the US, character 96 is often replaced by accented letters. In the French ISO 646 standard, the character at this position is µ. Many older UK computers, such as the ZX Spectrum and BBC Micro, have the £ symbol as character 96, though the British ISO 646 variant ultimately placed this symbol at position 35 instead.
On many computer keyboards, the grave accent occupies a key by itself, and is meant to be combined with vowels as a multi-key combination or as a dead key to modify the following letter. On a US and UK QWERTY keyboard, the ` key is placed in the top left corner to the left of the 1 key. On a Czech QWERTZ keyboard, the equivalent keystroke is usually mapped to Alt Gr+ý.
On a Mac, to get a character such as à
, the user can type ⌥ Option+` and then the vowel. For example, to make à
, the user can type ⌥ Option+` and then a, and to make À
, the user can type ⌥ Option+` and then ⇧ Shift+a. In iOS (used on the iPhone, iPad, and iPod), combined characters with the grave accent are accessed by holding a finger on the vowel, which opens a menu for accents. For example, to make à
, the user can tap and hold a and then tap or slide to à. Mac versions of OS X Mountain Lion (10.8) or newer share similar functionality to iOS; by pressing and holding a vowel key to open an accent menu, the user may click on the grave accented character or type the corresponding number key displayed.
On a system running the X Window System, to get a character such as à
, the user should press Compose followed by `, then the vowel. The compose key on modern keyboards is usually mapped to a ⊞ Win key or ⇧ Shift+Alt Gr.[3]
Use in programming
Programmers have used the grave accent symbol as a separate character (i.e., not combined with any letter) for a number of tasks. In this role, it is known as a backquote or backtick.
When using TeX to typeset text, the backtick character is used as a syntax to represent curly opening quotes. For example, `
is rendered as single opening curly quote (‘) and ``
is a double curly opening quote (“). It is also used for supplying the numeric ASCII value of an ASCII character wherever a number is expected.
Many of the Unix shells and the programming languages Perl, PHP, and Ruby use pairs of this character to indicate command substitution, that is, substitution of the standard output from one command into a line of text defining another command. For example, the code line:
echo It is now `date`
might result, after command substitution, in the command:
echo It is now Wed Feb 3 05:27:25 GMT 2016
which then on execution produces the output:
It is now Wed Feb 3 05:27:25 GMT 2016
It is sometimes used in source code comments to indicate code, e.g.
/* Use the `printf()` function. */
This is also the format used by the Markdown formatter to indicate code.[4] Some variations of Markdown support "fenced code blocks" that span multiple lines of code, starting (and ending) with three backticks in a row (```
).[5]
In many PC-based computer games in the US and UK, the ` key is used to open the console window, allowing the user to execute script commands via a CLI.
A backquote character is also used in various programming and scripting languages, as follows:
- Bash shell and Z shell
- The `…` syntax is used to replace a command with the output of that command.[6][7]
- BBC BASIC
- The backquote character is valid at the beginning of or within a variable, structure, procedure or function name.
- D and Go
- The backquote is used to surround a raw string literal.
- F#
- Surrounding an identifier with double backquotes allows the use of identifiers that would not otherwise be allowed, such as keywords, or identifiers containing punctuation or spaces.
- Haskell
- Surrounding a function name by backquotes allows it to be used as an infix operator.
- Lisp macro systems
- The backquote character (called quasiquote in Scheme) introduces a quoted expression in which comma-substitution may occur. It is identical to the plain quote, except that symbols prefixed with a comma will be replaced with those symbols' values as variables. This is roughly analogous to the Bash shell's variable interpolation with
$
inside double quotes.
- m4
- A backquote is used together with an apostrophe to quote strings (to suppress or defer macro expansion).
- MySQL
- A backquote is used in queries as a delimiter for column, table and database identifiers.
- OCaml
- The backquote is used to indicate polymorphic variants.
- Pico
- The backquote is used to indicate comments in the programming language.
- Python
- Prior to version 3.0, backticks were used as a synonym for the
repr()
function, which converts its argument to a string suitable for a programmer to view. However, this feature was removed in Python 3.0. Backticks are also used extensively in the reStructuredText plain text markup language (implemented in the Python docutils package).
- Windows PowerShell
- Uses the backquote as the escape character. For example, a newline character is denoted
`n
. Most commonly used programming languages use a backslash as the escape character (e.g.\n
) but because Windows allows the backslash as a path separator, it would have been impractical for PowerShell to use backslash for a different purpose. To get the`
character itself, two backticks are used. For example, the nullable boolean of .NET is specified in PowerShell as[Nullable``1[System.Boolean]]
.
- Tom
- The backquote is used to create a new term or to call an existing term.
- Scala
- An identifier may also be formed by an arbitrary string between backquotes. The identifier then is composed of all characters excluding the backquotes themselves.[8]
- Unlambda
- The backquote character denotes function application.
- JavaScript (ES6)
- The backquote is used to denote the start and end of a template string. The applications of a template string include but are not limited to: string interpolation, embedded expressions, and multi-line strings.
See also
References
- ↑ Oxford Dictionaries
- ↑ Kuhn, Markus (7 May 2001). "Apostrophe and acute accent confusion". Computer Laboratory, University of Cambridge. Retrieved 4 June 2012.
- ↑ "Compose Key". Ubuntu Community Documentation. Retrieved 2010-10-29.
- ↑ http://daringfireball.net/projects/markdown/syntax#code
- ↑ https://help.github.com/articles/github-flavored-markdown#fenced-code-blocks
- ↑ http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_04.html
- ↑ An Introduction to the Z Shell – Command/Process Substitution
- ↑ Odersky, Martin (2011-05-24), The Scala Language Specification Version 2.9
External links
- The dictionary definition of à at Wiktionary
- The dictionary definition of è at Wiktionary
- Diacritics Project – All you need to design a font with correct accents
- ASCII and Unicode quotation marks – "Please do not use the ASCII grave accent as a left quotation mark"
- Keyboard Help – Learn how to create world language accent marks and other diacriticals on a computer