TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In plain TeX, \ddot{a} places the double-dot accent correctly above the letter a. However, if I (attempt to) switch from the default (Computer Modern) fonts to ec-lmr10 (I believe that this is Latin Modern?), the double dot accent ends up in the middle of a.

Running pdftex on the code below gives me two correct "double-dotted a", two correct "vectored a", then two wrong "double-dotted a" and two correct "vectored a", so the problem depends on the accent.

$\vec{a} \mathaccent"017E{a}$
\font\tenrm = ec-lmr10 at 10pt\relax
\textfont0 = \tenrm
$\vec{a} \mathaccent"017E{a}$

Two questions: What is causing the diffference? (Some fontdimen parameter, perhaps?) And what am I doing wrong, how could I fix that?

share|improve this question
up vote 5 down vote accepted

The font ec-lmr10 is T1-encoded, not OT1. So at position "7F it hasn't the dieresis.

With \mathaccent"7004 you get the right accent.

share|improve this answer
Ah, thanks, I feel dumb now :). – Bruno Le Floch Aug 17 '11 at 23:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.