This site is supported by donations to The OEIS Foundation.
Template:Acute/doc
From OeisWiki
The {{acute}} or {{´}} (acute accent) diacritics template returns the UTF-16 HTML [hexadecimal] numeric character entity for a precomposed character with an acute 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, Y, a, e, i, o, u, y}: 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 |
---|---|---|---|
{{acute|A}}, ''{{acute|A}}'' |
Á, Á | {{math|{{acute|A|tex}}|$}} |
|
{{acute|a}}, ''{{acute|a}}'' |
á, á | {{math|{{acute|a|tex}}|$}} |
|
{{acute|E}}, ''{{acute|E}}'' |
É, É | {{math|{{acute|E|tex}}|$}} |
|
{{acute|e}}, ''{{acute|e}}'' |
é, é | {{math|{{acute|e|tex}}|$}} |
|
{{acute|I}}, ''{{acute|I}}'' |
Í, Í | {{math|{{acute|I|tex}}|$}} |
|
{{acute|i}}, ''{{acute|i}}'' |
í, í | {{math|{{acute|i|tex}}|$}} |
|
{{acute|O}}, ''{{acute|O}}'' |
Ó, Ó | {{math|{{acute|O|tex}}|$}} |
|
{{acute|o}}, ''{{acute|o}}'' |
ó, ó | {{math|{{acute|o|tex}}|$}} |
|
{{acute|U}}, ''{{acute|U}}'' |
Ú, Ú | {{math|{{acute|U|tex}}|$}} |
|
{{acute|u}}, ''{{acute|u}}'' |
ú, ú | {{math|{{acute|u|tex}}|$}} |
|
{{acute|Y}}, ''{{acute|Y}}'' |
Ý, Ý | {{math|{{acute|Y|tex}}|$}} |
|
{{acute|y}}, ''{{acute|y}}'' |
ý, ý | {{math|{{acute|y|tex}}|$}} |
Combining characters
Cyrillic letters
Cyrillic letter (without circumflex) |
HTML code |
HTML result |
---|---|---|
а | {{acute|a}} | а́ |
е | {{acute|е}} | е́ |
и | {{acute|и}} | и́ |
о | {{acute|о}} | о́ |
у | {{acute|у}} | у́ |
Examples of improper usage
HTML code |
HTML result |
HTML code |
HTML result |
---|---|---|---|
{{´|B}} | B́ | {{´|b}} | b́ |
{{´|W}} | Ẃ | {{´|w}} | ẃ |
{{´|X}} | X́ | {{´|x}} | x́ |
{{´|Z}} | Ź | {{´|z}} | ź |
{{´|4}} | 4́ | {{´|7}} | 7́ |
{{´|?}} | ?́ | {{´|!}} | !́ |
Notes
See also