This site is supported by donations to The OEIS Foundation.
Template:Grave/doc
From OeisWiki
The {{grave}} or {{`}} (grave accent) diacritics template returns the UTF-16 HTML [hexadecimal] numeric character entity for a precomposed character with a grave accent diacritic. (As a fallback, it returns a combining character for any Latin or Cyrillic character.)
With the tex option, the template returns the LaTeX code for the acute accent character.
Contents
Note: This is for XHTML5 future proofing, where named character entities should not be used, except the following four
Named entity Glyph & & < < > > " "
Numeric character entities or glyphs (except the four above glyphs, which have a special meaning in HTML) should be used instead.[1]
Usage
HTML
- {{`|alphabetic character}}
or
- {{`|alphabetic character|htm}}
where character
is either from
- {A, E, I, O, U, a, e, i, o, u}: to get a precomposed character;
- any other character from the Latin alphabet: to get a combining character (where an almost perfect accented character is created);
- or any character from the Cyrillic alphabet: to get a combining character (where an almost perfect accented character is created).
LaTeX
- {{`|any Latin or Cyrillic character|tex}}
Examples
The code
- {{`}}
yields
- ̀
The code
-
{{math|{{`||tex}}|$}}
yields
Precomposed characters
HTML code |
HTML result |
LaTeX code |
LaTeX result |
---|---|---|---|
{{grave|A}}, ''{{grave|A}}'' |
À, À | {{math|{{grave|A|tex}}|$}} |
|
{{grave|a}}, ''{{grave|a}}'' |
à, à | {{math|{{grave|a|tex}}|$}} |
|
{{grave|E}}, ''{{grave|E}}'' |
È, È | {{math|{{grave|E|tex}}|$}} |
|
{{grave|e}}, ''{{grave|e}}'' |
è, è | {{math|{{grave|e|tex}}|$}} |
|
{{grave|I}}, ''{{grave|I}}'' |
Ì, Ì | {{math|{{grave|I|tex}}|$}} |
|
{{grave|i}}, ''{{grave|i}}'' |
ì, ì | {{math|{{grave|i|tex}}|$}} |
|
{{grave|O}}, ''{{grave|O}}'' |
Ò, Ò | {{math|{{grave|O|tex}}|$}} |
|
{{grave|o}}, ''{{grave|o}}'' |
ò, ò | {{math|{{grave|o|tex}}|$}} |
|
{{grave|U}}, ''{{grave|U}}'' |
Ù, Ù | {{math|{{grave|U|tex}}|$}} |
|
{{grave|u}}, ''{{grave|u}}'' |
ù, ù | {{math|{{grave|u|tex}}|$}} |
Combining characters
Cyrillic letters
Cyrillic letter (without grave) |
HTML code |
HTML result |
---|---|---|
а | {{grave|a}} | а̀ |
е | {{grave|е}} | ѐ |
и | {{grave|и}} | ѝ |
о | {{grave|о}} | о̀ |
у | {{grave|у}} | у̀ |
Examples of improper usage
HTML code |
HTML result |
HTML code |
HTML result |
---|---|---|---|
{{`|B}} | B̀ | {{`|b}} | b̀ |
{{`|W}} | Ẁ | {{`|w}} | ẁ |
{{`|X}} | X̀ | {{`|x}} | x̀ |
{{`|Z}} | Z̀ | {{`|z}} | z̀ |
{{`|4}} | 4̀ | {{`|7}} | 7̀ |
{{`|?}} | ?̀ | {{`|!}} | !̀ |
Notes
See also