{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.

learn more… | top users | synonyms

81
votes
2answers
93k 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 ...
35
votes
2answers
10k 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 ...
43
votes
4answers
57k views

How to type special/accented letters in LaTeX?

How to type these special letters from European languages in latex? ä, é, and L'?
13
votes
2answers
2k 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 ...
16
votes
1answer
920 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 ...
28
votes
4answers
1k 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: ...
7
votes
2answers
10k 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?
16
votes
1answer
920 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 ...
24
votes
6answers
2k 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 ...
14
votes
2answers
396 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}}$}, ...
15
votes
3answers
321 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 ...
6
votes
2answers
380 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.
5
votes
5answers
9k 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} ...
10
votes
3answers
2k 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 ...
12
votes
3answers
2k views

How to get accented unicode characters that can be copy-pasted?

The aim is to generate the .pdf with accented characters (the .tex file has mixed macro and unicode input), in a way that the .pdf text can be copy-pasted. An example: \documentclass{article} ...
12
votes
2answers
5k views

Sub tilde in LaTeX

In LaTeX, \tilde{x} puts a ~ on top of the x. How can I put a ~ below the x?
10
votes
2answers
4k 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 ...
5
votes
2answers
1k 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 ...
14
votes
3answers
5k 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 ...
8
votes
1answer
2k 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 ...
13
votes
3answers
755 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} ...
11
votes
2answers
299 views

How to make the character è “work” in PlainTeX?

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, ...
8
votes
1answer
206 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 ...
8
votes
2answers
539 views

How to write properly an accent in a web address?

I'm trying to write a hyperlink for a DjVu document that includes Latin accent, but for some reason, it only displays properly for the PDF one. Specifically, on my list of references (bibliography), I ...
7
votes
1answer
1k 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 ...
7
votes
2answers
906 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}.
6
votes
1answer
723 views

Strange behavior of XITS Math in XeLaTeX for \underset and \underaccent commands

Prompted in part by the question Is there an "underscript" command?, I started wondering if the \underset (from amsmath) and \underaccent (from accents) commands work equally when using XeLaTeX ...
2
votes
1answer
1k views

How to write directly French characters in Emacs and print them in LaTeX?

I am editing LaTeX with Emacs. I would like to write in French. At the moment I have to write special French characters for instance like this: \'e prints é. If I write directly é in Emacs, the ...
2
votes
1answer
256 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: ...
1
vote
1answer
3k views

Accents in TeXworks

I am using TeXworks to write documents, but as I am doing some stuff in spanish, accents are required. When I write áéíóú I get áà c If I do \'a \'e \'i \'o \'u I get the desired result áéíóú ...
6
votes
1answer
940 views

Math mode accents and spacing

I'm using accents to produce a variant of the \in operator but when I place an accent on it, as in \tilde{\in}, I get spacing that is different from \in, see the example and the image below. My ...
9
votes
2answers
7k 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?
11
votes
4answers
1k views

'Nudging' overset characters downwards

I am trying to make a vector-like symbol to use in a paper I'm writing. I am actually able to make almost exactly what I want in Mathematica, in which it looks like this: In TeX I am using ...
10
votes
2answers
179 views

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:
9
votes
3answers
525 views

Are there any downsides to using macros to avoid typing accents?

As a native English speaker, I am not used to many words with accents on them, so I find it somewhat difficult to keep the various accents straight in my head, and moreso to also remember the TeX ...
7
votes
2answers
484 views

Missing glyph in TeXGyreTermes font

For Pinyin (Chinese romanization), I like very much the look of the font TeXGyreTermes-Regular that is installed with my TeX system. However, it seems to be missing a single Pinyin symbol that I ...
6
votes
2answers
2k views

Beamer and graphic accent

I am using the beamer class for my thesis in Italian. Written Italian includes graphic accents, but beamer misunderstand them. This is a MWE of my problem: \documentclass{beamer} ...
2
votes
3answers
772 views

Why does xunicode not provide true backward compatibility?

As it is said in xetex mailing list Xunicode is mostly about backward compatibility, providing sensible general definitions for macros that have been defined in older packages which now ...
12
votes
2answers
279 views

Accent positioning on 'oe' character with feature file in fontspec

There is no accented glyph for the 'oe' character in Linux Libertine. When trying to form this character, the (acute) accent is centred over the 'e' half. I'm trying to get the accent over the centre ...
12
votes
2answers
794 views

Enable searching in a pdflatex-generated document

I'm typesetting a book in French, and I noticed that diacritics broke the search function of Adobe reader. For example, if I write "Numérotation" in my latex document, then Adobe Reader won't find any ...
10
votes
2answers
760 views

ligature with special characters: fī

I am using a lot of special characters such as ā, ī, ū, š, ṣ, ḥ, ḫ and so on. I just spotted that sometimes this causes problems with ligatures for example the fi-ligature, if the dot on the i is a ...
7
votes
3answers
709 views

Appearance issues with \bar{} and \underline{}

The following code \documentclass{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \begin{document} \[ \left[\underline{x},\bar{x}\right] \] \[ \left[\underline{t},\bar{t}\right] \] ...
7
votes
1answer
2k views

Using Cambria Math in XeLaTeX

Take a look at the following images, XeLaTeX typeset formula: Word generated formula: Note specifically the difference of the \hat implementations at g_i and g_i^2 in XeLaTeX. In Word the two ...
7
votes
1answer
423 views

Unable to search word with Romanian characters in output pdf

I'm using Tex Live, under Ubuntu 11.11, and Texmaker to create LaTeX source files. Sometimes I edit these files with Krviewer from Krusader, but I pay attention to use the input encoding latin10 (or ...
6
votes
2answers
483 views

ï & î font encoding

I've one problem in my scrbook, ï and î don't work when I compile my \printbibliography. But the problem come only with these 2 accents… I export my .bib from Papers2 for Mac application, & I ...
6
votes
1answer
191 views

\renewcommand and \newcommand for accented letters

I'm using OT1 font encoding, but I would like to use T1 font encoding for glyphs that don't exist in OT1. To do that, I'm redefining the typical T1 commands so that they automatically choose a T1 ...
6
votes
3answers
993 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 ...
5
votes
3answers
907 views

Unusual custom math accent

I want to introduce a new type of math accent that is basically an overbar, but also has small (scriptscriptsize?) text set to the right of the bar. Basically something like $\bar{A}^{\mathrm{co}}$ ...
4
votes
1answer
162 views

Vertical spacing between character and \hat

I am trying to typeset \hat{V} but it turns out not looking right. The hat is too close to the V so it is difficult to decipher the hat on the V. Is there a way to increase the vertical space between ...
4
votes
2answers
598 views

What's the correct syntax for accents?

I've found that writing "Sáenz": S\'{a}enz S\'aenz S{\'a}enz S{\'{a}}enz Produces the same output. It gets even trickier when you have two accents in a row, such as in "comunicação" (portuguese): ...