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.

Filter by
Sorted by
Tagged with
403 votes
7 answers
699k views

How to write “ä” and other umlauts and accented letters in bibliography?

How to write in bibliography (package natbib) letter "a" with two dots above? Specially, I mean the word Birkhäuser. Is there a general rule or way how to write such umlauts or other accented letters ...
user avatar
  • 6,103
91 votes
5 answers
66k views

Can I get a \widebar without using the mathabx package?

One can use \bar to put a bar over a letter in math mode, but often the bar isn't wide enough. An alternative is \overline, but this isn't an accent, so it doesn't take into account the skew of the ...
user avatar
  • 36.7k
224 votes
7 answers
655k views

How to type special/accented letters in LaTeX?

How to type these special letters from European languages in latex? ä, é, and L'?
user avatar
  • 2,349
73 votes
4 answers
158k views

Really wide hat symbol

Is there any way to get a hat wider than widehat? Why doesn't \widehat{abcdefghijklmnopqrstuvwxyz} really go over all of it?
user avatar
  • 993
21 votes
1 answer
3k views

TeX accents do not seem to work with fontspec and xe/lua/latex

I am using Minion Pro as mainfont and it does not have in its glyph table the character U+1E47 Latin small letter with dot below which I need only once in my document. Rather than change to another ...
user avatar
  • 2,882
17 votes
4 answers
60k views

Trying to use "\~" to generate tilde symbol in math mode

$$ = \sum_{e \in A} w(e) = \sum_{e \in A} w(e)+ \sum_{e \in \{(r,v)| v \in V(G)\}} w(e) = w( \~{A} ) $$ I get the following error message: Error: Please use \mathaccent for accents in math ...
user avatar
  • 173
18 votes
2 answers
4k views

How do I lower the \widetilde accent, i.e., move it closer to the variable?

I sometimes find that the \widetilde accents sits too high above the math letter it is applied to. An example: To me it looks as if the first tilde is sitting just in between the two lines; it is not ...
user avatar
  • 36.7k
32 votes
4 answers
4k views

Why do arguments to nested \tilde or \breve commands reappear when amsmath is used?

On LaTeX-Community.org I've noticed a strange problem with nested \tilde and \breve commands, when amsmath is used. In this code the X appears also in the output of the second and the third formula: ...
user avatar
  • 221k
38 votes
3 answers
58k views

Math mode accents

In my long document I, sadly, have to use several accents to denote different kinds of symbols. Currently, I use primes ($x'$), hat, tilde, and overline. In addition I use two colored symbols (red ...
user avatar
  • 863
44 votes
3 answers
6k views

French accents in \hl from soul package

I'd like to use the \hl command from the soul package in a French text. However, it does not work whenever the part to highlight contains French accents (e.g.: \hl{é}). I could use \'e instead of é (...
user avatar
  • 623
14 votes
1 answer
474 views

soul dropping some accented letters from the end of words

I'm using soul to letterspace headings in a Hungarian document and compiling it with lualatex. For some reason soul drops some of the accented letters at the end of a word, but not all. In the ...
user avatar
  • 3,274
39 votes
8 answers
32k views

How to insert code with accents with listings?

I'm trying to insert source code in LaTeX with using listings, but my code has accents and pdflatex gives me this error: Unicode char \u8:�\expandafter not set up for use with LaTeX. This is a code ...
user avatar
  • 545
35 votes
6 answers
5k views

Bad positioning of math accents for the beamer standard font

With a recent TeX distribution, the easy answer to this question is "load the sansmathaccent package" (which is Ariel's implementation of my answer). Actually, the corrected font should be loaded ...
user avatar
  • 36.7k
21 votes
1 answer
5k views

Automatically change é to \'e – most convenient setup for accented letters?

I assume this is really basic question, I'm new to LaTeX, I read a first step tutorial to get ready to write some documents but I couldn't answer my own question at this time and I really don't know ...
user avatar
  • 772
15 votes
5 answers
25k views

! Paragraph ended before \name was complete

I recently upgraded my texlive packages at home and I cannot compile my document anymore due to the references. I googled for it for several days already and I cannot find anything recent about this ...
user avatar
  • 151
26 votes
5 answers
45k views

How to put a tilde under the symbol in math mode?

It is very easy to put a tilde over the symbol in math mode. Simply type $\tilde{a}$. But how to put a tilde under the symbol in math mode?
user avatar
  • 361
18 votes
2 answers
3k views

How to input accents in PlainTeX with UTF-8 encoding?

I'm using TeX with the plain format. On my keyboard there is the 'è' character (as well as é, ò, à, ù, ì). I'd like to make it work so that, when put è in the input file, TeX transforms it into \`e, ...
user avatar
  • 2,529
13 votes
3 answers
5k views

How can I manually choose the size of a wide accent? (math mode)

I would like to replace the usual \hat in maths with a larger one, but I do not want it to stretch. The size I want is "the smallest \widehat" (as in $\widehat{.}$). Is there a way to put that one ...
user avatar
  • 133
16 votes
3 answers
3k views

Turkish characters to small caps

Small caps (\sc) is not producing dotted I (İ) Here is mwe \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[turkish]{babel} \usepackage{amsmath} ...
user avatar
  • 2,196
19 votes
5 answers
6k views

Multiple diacritics on one character

As linguistics student, I have to put more than one thing on a character every now and then. For example, I need to type ā̆. I thought I could simply do that by typing \={\u{a}}, but then the macron ...
user avatar
  • 545
5 votes
1 answer
667 views

Biblatex + Xelatex does not display accents

Biblatex works fine with pdflatex, but when compiling with Xelatex, suddenly accents disappear. MWE: \documentclass{article} \usepackage[ backend=biber, style=alphabetic, citestyle=authoryear ]{...
user avatar
11 votes
1 answer
6k views

Apéndices (Appendix spanish accent)

Dear friends: there is a problem with appendix and ápendice. I have a scrbook document and I use appendix package, \usepackage[title, titletoc]{appendix} because I like the word "Apéndice" in the ...
user avatar
19 votes
4 answers
22k views

How to make a larger "\dot"

I'm writing up some notes that will be displayed on an overhead projector. The standard time-derivative \dot{x} produces a dot that is hard to see. Does anyone know of a package or have a macro that ...
user avatar
  • 4,122
17 votes
2 answers
34k views

\hat and \widehat look terrible: fixing width and better positioning?

I want to make the use of quantum mechanical operators explicit in my text using \hat{A} or \widehat{A}. The problem is that depending on the symbol under the accent it looks either misplaced or too ...
user avatar
  • 3,012
14 votes
6 answers
10k views

too little space between the bar on the denominator and the horizontal line

Please see below: There is too little space between the horizontal line from \frac and the bar from \bar{h_1}. So, it is a little hard to read. Any alternative way to represent the upper bar? And, ...
user avatar
  • 8,964
9 votes
1 answer
1k views

Sorting Vietnamese utf8 index with make-rules in xindy package

I am using the xindy package to compile the index containing Vietnamese. It works fine except the order within words. The "standard" order is accepted as the following, which is different from the ...
user avatar
11 votes
3 answers
4k views

How can I draw a dot under a symbol in math mode?

I'm trying to find the equivalent to \d (or \textsubdot) for the math mode.
user avatar
  • 1,422
111 votes
4 answers
427k views

\bar vs. \overline - when to use what, semantically?

Following the question "The \bar and \overline commands" which is simply about the lengths of both, I'd like to know when to use \bar and when to use \overline from a semantically viewpoint. I always ...
user avatar
  • 12.6k
42 votes
3 answers
56k views

Is there a way to do an "upside down" \widehat?

I've come across this in a book I'm looking through, but I can't find the code for it. I want it to look exactly like the \widehat and go above text like \widehat does...I just want it to be (...
user avatar
27 votes
2 answers
20k views

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 ...
user avatar
15 votes
4 answers
21k views

Umlauts in math mode

I'm trying to use German umlauts in math mode but get the known error: LaTeX Warning: Command \" invalid in math mode on input line ##. So I could think of two possible solutions: Use \text instead ...
user avatar
  • 805
12 votes
1 answer
993 views

Misplaced Accents in Cyrillic Text

In educational material for the Russian language and linguistic literature the need to put accents on Cyrillic vowels often arises. However when I tried to do this with luaLaTeX the accents where ...
user avatar
25 votes
2 answers
2k views

Why does \widehat behave differently if I insert \hspace{0pt}?

I am getting some inexplicable behaviour from \widehat: \documentclass[12pt,a4paper]{article} \usepackage{amsfonts} \begin{document} \[ \fbox{$\widehat{\mathcal{C}}$}, \fbox{$\widehat{\hspace{0pt}\...
user avatar
  • 1,603
18 votes
3 answers
2k views

Is there a way to get pdflatex to accept Unicode combining accents?

I typeset my work with pdflatex and UTF-8 input files with lots of Unicode characters. Most of them work with a simple \usepackage[utf8]{inputenc} in my preamble, and for the others I simply maintain ...
user avatar
  • 2,911
11 votes
2 answers
1k views

How to place a dot below for example: e?

After I updated my TL2016 (Windows) environment (10 minutes ago) compiling documents containing for example \d{e} or \d e throws an error message. The following MWE should demonstrate this: \...
user avatar
  • 1,109
11 votes
3 answers
2k views

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? ...
user avatar
  • 1,344
8 votes
2 answers
4k views

inverted breve accent in math mode

Is there a math mode accent giving an inverted breve? I have tried \stackrel{frown}{x}, but the alignment and spacing are all wrong when compared to \breve{x}.
user avatar
26 votes
8 answers
89k views

How to use spanish accents?

I'm trying to add spanish accents to my document ( my Thesis ) \documentclass[11pt, spanish]{report} \usepackage[spanish]{babel} \selectlanguage{spanish} \usepackage[utf8]{inputenc} \begin{document} ...
user avatar
  • 725
11 votes
2 answers
5k views

Typesetting pinyin finals

With the package \pinyin, it is possible to write pinyin using commands such as \bu4. This package produces much better tone marks than are provided by \', \v, etc. The package \pinyin includes all ...
user avatar
  • 12.5k
17 votes
2 answers
17k views

Sub tilde in LaTeX

In LaTeX, \tilde{x} puts a ~ on top of the x. How can I put a ~ below the x?
user avatar
  • 2,379
13 votes
1 answer
2k views

Getting (Xe)LaTeX to display accents and characters not included with the font

The font I'm using (Adobe Garamond Premier Pro) does have certain precomposed glyphs with diacritics, so I'm having (Xe)LaTeX add them in. I found this post and used the method described there for ...
user avatar
4 votes
1 answer
378 views

How to mix accents from different fonts?

In TeXBook, exercise 9.6 Knuth asks to type Pal Erdos with needed accents in \tt font. So I've tried the naive {\tt P\'al Erd\H os} and succeed. But Knuth proposes to use the next mixup of fonts: {\...
user avatar
  • 319
15 votes
3 answers
563 views

Parsing strings containing diacritical marks (macros?)

I apologize that this question may seem very much like several other recent ones I have asked (Parsing leading hardspaces, Parsing a \$ as part of an improved \getargs command). They are all related ...
user avatar
9 votes
1 answer
625 views

Fonts with well-behaved stacking diacritics?

My documents (compiled using XeTeX for the most part) make use of the transliteration system adopted by the Brill Encyclopedia of Hebrew Language and Linguistics. I had hoped to use Linux Libertine as ...
user avatar
  • 465
7 votes
2 answers
2k views

Can I move the hat symbol vertically upwards?

I'm using mathpazo to format a document and have just become annoyed that a hat appears to be rendering too close to the letter it's decorating. I'd like to move the hat upwards, but am not sure how ...
user avatar
  • 173
4 votes
2 answers
5k views

Display a breve over several letters

I'm writting with a very dumb question, buy I haven't been able to find anything regarding this topic, nor think of a more general topic to look into. I'm trying to have a \breve which scales ...
user avatar
  • 117
3 votes
1 answer
128 views

Long Compilation Time: Tikz Accents

Throughout my thesis, I have accent several mathematical symbols with "hats" and "checks". My advisor noted that the standard \hat{}, \check{} accents were difficult to read due to ...
user avatar
  • 195
3 votes
3 answers
3k views

url hyperref does not work with French accent characters

I am using pdflatex. The following creates a live link the the first URL ("mousse" with no French accent). When I click on it in the PDF, I am brought to that page. The second URL (containing two ...
user avatar
3 votes
2 answers
478 views

Caron Accent \v{a} doesn't render without \usepackage{xeCJK}

I am encountering an odd problem. I want to create composite characters such as ǎ using the newunicodechar package. However, it only yields a result in combination with the xeCJK package. This code ...
user avatar
  • 327
2 votes
0 answers
75 views

Formatting multiple characters and glyphs/accents within the same word

As an extension to the macros (\FormatChar - \FormatChars - \ColorNthChar - \colorrange) posted in: Apply command on nth character of a word Emphasizing Arabic text characters Apply command on ...
user avatar
  • 733