Grave accent


The grave accent is a diacritical mark used to varying degrees in English, French, Dutch, Italian, and
many other western European languages. It is also used in other languages using the Latin alphabet, such as Mohawk and Yoruba, and with non-Latin writing systems such as the Greek and Cyrillic alphabets and the Bopomofo or Zhuyin Fuhao semi-syllabary. It has no single meaning, but can indicate pitch, stress, or other features.

Uses

Pitch

The grave accent first appeared in the polytonic orthography of Ancient Greek to mark a lower pitch than the high pitch of the acute accent. In modern practice, it replaces an acute accent in the last syllable of a word when that word is followed immediately by another word. The grave and circumflex have been replaced with an acute accent in the modern monotonic orthography.
The accent mark was called, the feminine form of the adjective , meaning "heavy" or "low in pitch". This was calqued into Latin as, which then became the English word grave.

Stress

The grave accent marks the stressed vowels of words in Maltese, Catalan, and Italian.
A general rule in Italian is that words that end with stressed -a, -i or -u must be marked with a grave accent. Words that end with stressed -e or -o may bear either an acute accent or a grave accent, depending on whether the final e or o sound is closed or open, respectively. Some examples of words with a final grave accent are città, così, più, Mosè, and portò. Typists who use a keyboard without accented characters and are unfamiliar with input methods for typing accented letters sometimes use a separate grave accent or even an apostrophe instead of the proper accent character. This is nonstandard but is especially common when typing capital letters: *E` or *E’ instead of È. Other mistakes arise from the misunderstanding of truncated and elided words: the phrase un po’, which is the truncated version of un poco, may be mistakenly spelled as *un pò. Italian has word pairs where one has an accent marked and the other not, with different pronunciation and meaning—such as pero and però, and Papa and papà ; the last example is also valid for Catalan.
In Bulgarian, the grave accent sometimes appears on the vowels а, о, у, е, и, and ъ to mark stress. It most commonly appears in books for children or foreigners, and dictionaries—or to distinguish between near-homophones: па̀ра and пара̀, въ̀лна and вълна̀.
In Macedonian the stress mark is orthographically required to distinguish homographs and is put mostly on the vowels е and и. Then, it forces the stress on the accented word-syllable instead of having a different syllable in the stress group getting accented. In turn, it changes the pronunciation and the whole meaning of the group.
Ukrainian, Rusyn, Belarusian, and Russian used a similar system until the first half of the 20th century. Now the main stress is preferably marked with an acute, and the role of the grave is limited to marking secondary stress in compound words.
In Croatian, Serbian, and Slovene, the stressed syllable can be short or long and have a rising or falling tone. They use four different stress marks on the letters a, e, i, o, r, and u: à è ì ò r̀ ù. The system is identical both in Latin and Cyrillic scripts. Unicode forgot to encode R-grave when encoding the letters with stress marks.
In modern Church Slavonic, there are three stress marks, which formerly represented different types of pitch accent. There is no longer any phonetic distinction between them, only an orthographical one. The grave is typically used when the stressed vowel is the last letter of a multiletter word.
In Ligurian, the grave accent marks the accented short vowel of a word in à, è, ì and ù. For ò, it indicates the short sound of, but 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: è ; ò , in several Romance languages:
In several languages, the grave accent distinguishes both homophones and words that otherwise would be homographs:
In Welsh, the accent denotes a short vowel sound in a word that would otherwise be pronounced with a long vowel sound: mẁg "mug" versus mwg "smoke".
In Scottish Gaelic, it denotes a long vowel, such as cùis , compared with cuir . 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 it is no longer allowed according to the new orthographical conventions.

Tone

In some tonal languages such as Vietnamese, and Mandarin Chinese, the grave accent indicates a falling tone. The alternative to the grave accent in Mandarin is the numeral 4 after the syllable: pà = pa4.
In African languages and in International Phonetic Alphabet, the grave accent often indicates a low tone: Nobiin jàkkàr, Yoruba àgbọ̀n, Hausa màcè.
The grave accent represents the low tone in Kanien'kéha or Mohawk.

Other uses

In Emilian-Romagnol, a grave accent placed over e or o denotes both length and openness. In Emilian è and ò represent and, while in Romagnol they represent and.
In Portuguese, the grave accent indicates the contraction of two consecutive vowels in adjacent words. For example, instead of a aquela hora, one says and writes àquela hora.
In Hawaiian, the grave accent is not placed over another character but is sometimes encountered as a typographically easier substitute for the ʻokina: Hawai`i instead of Hawaiʻi.

English

The grave accent, though rare in English words, sometimes appears in poetry and song lyrics to indicate that a usually-silent vowel is pronounced to fit the rhythm or meter. Most often, it is applied to a word that ends with -ed. For instance, the word looked is usually pronounced as a single syllable, with the e silent; when written as lookèd, the e is pronounced: look-ed). In this capacity, it can also distinguish certain pairs of identically spelled words like the past tense of learn, learned, from the adjective learnèd .
A grave accent can also occur in a foreign term which has not been anglicised: for example, , pièce de résistance or crème brûlée. It also may occur in an English name, often as an affectation, as for example in the case of Albert Ketèlbey.

As surrogate of apostrophe or (opening) single quote

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.
Additionally ASCII grave accent character was often used as surrogate of opening single quote, together with ASCII typewriter apostrophe used as closing single quote; double quotes were sometimes substituted by two consecutive grave accents and two consecutive typewriter apostrophes. Although Unicode now provides separate characters for single and double quotes, such style is sometimes used even nowadays; examples are: output generated by some of UNIX console programs, rendering of man pages within some environments, technical documentation written long ago or written in old-school manner. However, as time goes on, such style is used less and less, and even institutions that traditionally were using that style are now abandoning it.

Technical notes

The Unicode standard makes dozens of letters with a grave accent available as precomposed characters. The older ISO-8859-1 character encoding only includes the letters à, è, ì, ò, ù, and their respective capital forms. In the much older, limited 7-bit ASCII character set, the grave accent is encoded as character 96. 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 is a key by itself. Due to the character's presence in ASCII this is primarily used to actually type that character, though some layouts may use it 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 key. On a Czech QWERTZ keyboard, the equivalent keystroke is usually mapped to.
On a Mac, to get a character such as à, the user can type and then the vowel. For example, to make à, the user can type and then, and to make À, the user can type and then. In iOS and most Android keyboards, 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 and then tap or slide to. Mac versions of OS X Mountain Lion 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 followed by, then the vowel. The compose key on modern keyboards is usually mapped to a key or.

Games

In many PC-based computer games in the US and UK, the key is used to open the console so the user can execute script commands via its CLI. This is true for games such as Battlefield 3, Half-Life, ', Quake, Half-Life 2, Blockland, ', Unreal, Counter-Strike, Crysis, ', ', ', ', Fallout 3, Fallout 4, RuneScape, and others based on the Quake engine or Source engine.

Use in programming

Programmers use the grave accent symbol as a separate character for a number of tasks. In this role, it is known as a backquote, or backtick.
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, using $ as the symbol representing a terminal prompt, the code line:
$ echo It is now `date`
is equivalent, after command substitution, to the command:
$ echo It is now
which then, on execution, produces the output:
It is now
It is sometimes used in source code comments to indicate code, e.g.,
/* Use the `printf` function. */
This is also the format the Markdown formatter uses to indicate code. Some variations of Markdown support "fenced code blocks" that span multiple lines of code, starting with three backticks in a row.
Various programming and scripting languages use the backquote character:
; Bash shell and Z shell : The `...` syntax is referred to as command substitution. It replaces a command with its output.
The use of backticks for command substitution is now largely deprecated in favor of the notation $, so that one of the examples above would be re-written:
$ echo It is now $
The latter syntax allows easier multiple nesting than with backquotes such as, for example:
$ cd $
; 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 surrounds 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 makes it an infix operator.
;JavaScript :ECMAScript 6 standard introduced a "backtick" character which indicated a string or template literal. Its application include : string interpolation, embedded expressions, and multi-line strings. In the following example name and pet variable's values get substituted into the string enclosed by grave accent characters:
const name = "Mary", pet = "lamb"; //
let temp = `$ has a little $!`;
console.log;
// => "Mary has a little lamb!";

; Lisp macro systems : The backquote character introduces a quoted expression in which comma-substitution may occur. It is identical to the plain quote, except that symbols prefixed with a comma are replaced with those symbols' values as variables. This is roughly analogous to the Bourne shell's variable interpolation with $ inside double quotes.
; m4 : A backquote together with an apostrophe quotes strings.
; MySQL : A backquote in queries is a delimiter for column, table, and database identifiers.
; OCaml : The backquote indicates polymorphic variants.
; Pico : The backquote indicates comments in the programming language.
; Python : Prior to version 3.0, backticks were 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 also appear extensively in the reStructuredText plain text markup language.
; PowerShell : The backquote is used as the escape character. For example, a newline character is denoted `n. Most common programming languages use a backslash as the escape character, but because Windows allows the backslash as a path separator, it is impractical for PowerShell to use backslash for a different purpose. Two backticks produce the ` character itself. For example, the nullable boolean of.NET is specified in PowerShell as Nullable``1[System.Boolean.
; [TeX
: The backtick character represents curly opening quotes. For example, ` is rendered as single opening curly quote and `` is a double curly opening quote. It also supplies the numeric ASCII value of an ASCII character wherever a number is expected.
; Tom : The backquote creates a new term or to calls 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.
; Unlambda : The backquote character denotes function application.
; Verilog HDL : The backquote is used at the beginning of compiler's directives.