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

Hi, I have a need to produce something thats shown in the above example however I want to use unicode text. I tried putting the unicode text in \text{} but it did not do the trick. Using \text{} worked well in mathematics. Thanks for your help

PS: I got this from "Comprehensive Latex Symbols list page 70" I could not come up with good title for question

share|improve this question
I've marked your inline code with backticks `. – Hendrik Vogt Jan 14 '11 at 20:50
Sorry for this, \text{} works just fine, I forgot to load the Unicode package. You can delete this post if you like. – Aku Jan 14 '11 at 20:50
up vote 4 down vote accepted

If your unicode text is just Latin (European) characters, then you need to add packages to allow both your source code to be UTF-8 encoded (usepackage[utf8]{inputenc}) and your output (usepackage[T1]{fontenc}).

If what you mean by unicode text is something in a non-Latin script, then you should be using XeLaTeX.

The \text command is part of the amsmath package, so you need to load that too.

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.