Questions tagged [accents]

{accents} is about diacritics, i.e., ancillary glyphs added to a letter, or basic glyph. Some diacritical marks, such as the acute ( ´ ) and grave ( ` ), are often called accents. Diacritical marks may appear above, below, or within a letter, or between two letters.

is about diacritics, i.e., ancillary glyphs added to a letter, or basic glyph. Some diacritical marks, such as the acute ( ´ ) and grave ( ` ), are often called accents. Diacritical marks may appear above, below, or within a letter, or between two letters.

Text mode

Plain TeX makes it possible to typeset the most commonly used accents:

  • \` (grave accent): à

  • \' (acute accent): á

  • \^ (circumflex or “hat”): â

  • \" (umlaut or dieresis): ä

  • \~ (tilde or “squiggle”): ã

  • \= (macron or “bar”): ā

  • \. (dot accent): ȧ

  • \u (breve accent): ă

  • \v (háček or “check”): ǎ

  • \H (long Hungarian umlaut): ő

  • \t (tie-after accent): a͡

  • \c (cedilla): ş

  • \d (dot-under accent): ạ

  • \b (bar-under accent): ο̩

  • \k (ogonek): ą

The Unicode character encoding UTF8 includes several special characters and characters with accents. The following code specifies that the encoding of the LaTeX document source file is UTF8. As font encoding is specified T1, because it supports the encoding of extended character sets in fonts:

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

Of course, the encoding in the text editor needs to be set to utf8, as well.

Math mode

The following commands may be used only in math mode to produce accents;

  • \hat{o} (circumflex): enter image description here
  • \widehat{oo} (wide version of \hat over several letters): enter image description here
  • \check{o} (vee or check): enter image description here
  • \tilde{o} (tilde) enter image description here
  • \widetilde{oo} (wide tilde) enter image description here
  • \acute{o} (acute accent): enter image description here
  • \grave{o} (grave accent): enter image description here
  • \dot{o} (dot over the letter): enter image description here
  • \ddot{o} (two dots over the letter): enter image description here
  • \breve{o} (breve): enter image description here
  • \bar{o} (macron): enter image description here
  • \vec{o} (vector (arrow) over the letter): enter image description here
788 questions
29
votes
2 answers

How to write accents in LaTeX?

I need to cite the journal "Sankhyā: The Indian Journal of Statistics" in a paper. I would like to draw the ā character properly (i.e., I'd prefer, if possible, to avoid using some hack, such as \bar or \overline). Question: How do I properly write…
Rebecca J. Stones
  • 1,439
  • 2
  • 11
  • 22
25
votes
3 answers

How to write an i-breve (an i with a breve accent, but without the dot)

If I try something like \u{i}, I get both the breve and the dot. How can I get it without the dot?
21
votes
3 answers

Which is the better way to do accents in LaTeX?

When you need to use accents in LaTeX like when you need to write the word "Cálculo", that means calculus in Portuguese, you can do in follow ways: write c\'alculo use the package \usepackage[utf8]{inputenc}, and just write "cálculo" I was just…
19
votes
3 answers

Diacritics above dotted i (i with tittle)

It is taught that, in order to place an accent mark on top of the letter "i", one should use \i to remove the tittle (the dot) first. (That the dot may need to be removed is of course a matter of convention. To indicate vowel length in Latin, people…
16
votes
1 answer

How do I make \hat{i} pretty?

I'm looking for a way to make the hat in \hat{i} replace the dot. I can't find anything on Google, and am seemingly too dumb to figure it out myself.
mueslo
  • 263
16
votes
5 answers

Making a LaTeX version of a textual logotype

I want to create a macro that typesets the text "julia" with two slanted dots above the "ia" at the end, so it looks like this: _ _ _(_)_ (_) | (_) (_) _ _ _| |_ __ _ | | | | | | |/ _` | | | |_| | | | (_| | …
Tomas Aschan
  • 15,528
12
votes
2 answers

Shortcuts for multiply accented characters

I am a preparing a book in a native American language that requires multiply accented characters. Entering these by, e.g., \'{\b{a}} is painful and makes the source code difficult to read, especially for triply accented characters. What I'd like…
12
votes
2 answers

how to draw a little crown above a math symbol

I'd like to have a command \crown that would draw a little crown above a symbol, e.g. $\crown x$ should show an $x$ with a little crown over it. I know I can use the accents package to declare any symbol as an accent, but how do I create a…
JPi
  • 13,595
12
votes
3 answers

What else do I need to produce two dots above o?

In tex file: Toks\"{o}z It produces
yanfyon
  • 291
11
votes
3 answers

Poor man's double acute accent

I want to typeset the double acute accent (also known as Hungarian umlaut, usually typeset with \H{}) in a font that does not have it. Is there an easy way to "fake" it with two single accents? Minimial…
Boris Bukh
  • 1,374
11
votes
2 answers

Overline containing text or other symbols

Is it possible to create an overline with a gap containing a symbol in the middle in math mode? What I would like to achieve is something like this:
JPW
  • 721
10
votes
4 answers

Producing isolated accents

Is it possible to produce isolated accents, with no letters under it? I'm looking for these characters in specific: ` ~ ^ ´ ˆ ˜ ¨
Falassion
  • 285
10
votes
1 answer

How can I typeset this accented, dotless i?

See the rough sketch above. I am able to typeset the accented i shown in the middle (for which I used the \v macro) and, obviously, the plain and simple i shown on the left also. However, I can't figure out how to typeset the one shown on the…
Karthik C
  • 379
9
votes
1 answer

Accents over Bars in LaTeX

Neither combination of the following two elements renders a felicitous result: \={\'o} ~ \'{\=o}. In the first case the bar comes over the accent; in the second the accent appears right before the barred letter. How can I make a grave or acute…
Eric
  • 193
8
votes
2 answers

Creating your own diacritics

How does one create one's own diacritics? To give a concrete example, I want to be able to typeset something that looks like ä but has three dots above the letter. I'm looking for an answer that looks comparably nice to existing diacritics, if…
Mohan
  • 15,906
1
2 3 4 5 6