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

I Like to add an informal footnote to my document, containing web addresses. Some of the text is to be de-emphasized using gray text.

How do I do that for a line or a word in XeLaTeX?

share|improve this question
up vote 4 down vote accepted

You can just use regular xcolor and hyperref methods for colouring elements. Here's an example:

% !TEX TS-program = XeLaTeX

This is some text and \deemph{this is some deemphasized text}.

This is a grey link: \href{http://tex.stackexchange.com}{TeX Stack Exchange}

output of code

share|improve this answer
Thanks, works best. For my needs, using \code{gray} and \code{lightgray} is sufficient, though. – polemon Apr 14 '12 at 20:50

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.