TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

Is there an easy way to do the dots of an o-umlaut in a different color than the o? I've already tried using the textcolor function in the color package, but I suspect that's the wrong way to go. I know I could just manually rotate and position some colored dots over an o, but I'm hoping someone has already implemented this sort of functionality in a package I just don't know about yet.

share|improve this question
I assume there is some reason you want to do this: it may have a bearing on the answer, so would be handy to know. – Joseph Wright Mar 25 '14 at 20:48
@JosephWright It's a design choice, mostly. I've designed a logo that has that color scheme, and being able to mimic it in typography would be nice. Also, I'm just really curious whether this has been done! – Kyle. Mar 25 '14 at 20:53
up vote 21 down vote accepted

I come bearing cumlauts. If one looks closely, however, a slight size differential in dots is noted. One could remedy that if one were willing to spend the cycles to \scalebox the periods slightly smaller.

UPDATE: The MWE has been updated to highlight both the ability of the macro to work at different font sizes and to better reflect the obvious temperament of the readership.

\"o\"e\"a vs. \cumlaut[yellow]{u} \large\cumlaut[yellow]{u} 

enter image description here

share|improve this answer
"Cumlauts"? Seriously? I mean, there might be children interested in LaTeX! I don't think their parents would approve of your German cumsounds. – Christian Mar 25 '14 at 23:40
@Christian It's a concatenation of "color" and "umlaut"! I thought it was clever, and give it my full endorsement! – Kyle. Mar 26 '14 at 0:25
@Kyle A little cleverness is a dangerous thing... – cfr Mar 26 '14 at 0:55
@cfr I guess that's why \rlap and \llap were never augmented with a "center" lap. Who would want it? – Steven B. Segletes Mar 26 '14 at 0:59
@Kyle I will just close by emphasizing that the macro name is one word, not two. – Steven B. Segletes Mar 26 '14 at 10:09

You can overlap the accented letter and the non-accented one using \rlap:








I re-defined \" to default to red, but it can be easily modified of course. In PDF viewers zoomed-out, the color seems to "leak behind the letter", zoomed-in and printed looks fine.

click to enlarge

share|improve this answer
I wrote a similar answer, but was slower, so it's almost redundant. You do need the hspace thing I did before the rlap though (or something similar), because otherwise unlauts at the beginning of a paragraph doesn't work. – pst Mar 26 '14 at 0:21
@pst Ah yeah, \leavevmode added ;) – yo' Mar 26 '14 at 0:32

One idea is to print a coloured "ö" and then a black "o" on top of it. An advantage with that approach is that you don't have to handtune the position of the dots. They will appear in the right place, even with an italic or cursive font.




\renewcommand\"[1]{\twocolour{\origdiaeresis #1}{#1}}

  `Möbelträgerfüße' is a German word with some umlauts.
  København is Copenhagen.

  How about ``f\twocolour{i}{\i}sh'' (without the ligature in






More accents and more special characters can be added if "needed".

share|improve this answer

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.