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

My question is closely related to Glyph substitution: alternate capital Q in URW-Garamond? (LaTeX, Mac OS X) but I am using XeLateX. It looks like there is a hidden mechanism that I do not understand. I had a look at all the glyphs of the font using dp4FontViewer 2.0 and I could not find the Q with the very long swash. Instead, the two Qs shown on the right side of the image below are accessible. Q with code 0051 is used when it is isolated in the main text. It'd be nice if it could replace the one with the long swash which takes place in words with more than a single letter (a single Q then).

enter image description here

share|improve this question
I think it is a ligature. So you need some characters after Q to trigger that. – percusse May 30 '12 at 10:06
and do you know a way to not trigger that? – pluton May 30 '12 at 13:12
I've asked in the chat so probably one of our wizards would step in. – percusse May 30 '12 at 13:26
Thank you. And also, I can see the other ligatures of the font in the table of glyphs but not this one, which looks strange to me. – pluton May 30 '12 at 13:29
It's probably not a ligature but a context-dependent alternate glyph. Search for "CharacterVariant" in the fontspec documentation. You can also try if Q\/ue helps but that's more of an experiment, not a solution. – Christian May 30 '12 at 15:05
up vote 4 down vote accepted

Your question (XeLaTeX) has been accidentally answered by Tobi at Glyph substitution: alternate capital Q in URW-Garamond? (LaTeX, Mac OS X).

You can use fontspec to switch off the contextual alternates (code by Tobi):


\setmainfont{Garamond Premier Pro}

Quad Qed

Quad Qed


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.