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 can highlight a bit of text (i.e., make the background yellow) using the soul package like this:

\hl{a bit of text}

I figured I could also use italics like this:

\hl{\emph{a bit of text}}

... but it doesn't seem to work --- the text is still "normal". What am I missing?

share|improve this question

closed as too localized by egreg, mafp, Xavier, doncherry, Werner May 14 '13 at 16:48

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I get italic text for the second example. Can you make a minimal working example (MWE)? (Non working, in your case.) – egreg May 14 '13 at 15:53
@egreg: Sorry, it was an embarrassing mistake, which I've easily detected when I trying to build the minimal example. Thank you. – Filipe Correia May 14 '13 at 16:05
No need to be embarrassed! ;-) Preparing a MWE often points out a mistake that can go unobserved in a bigger document. – egreg May 14 '13 at 16:08