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

I am using LaTeX in a portuguese document, with special characters such as tilde or cedilla. I have a sample document with the following content:




é canção


My editor (TeXworks) is configured to use UTF8, and the resultant PDF shows the right result, as seen on the following image:

Generated PDF

My problem is: when I copy the text from the PDF I get weird characters, and not the text that is exhibited. How to overcome this?


share|improve this question
up vote 6 down vote accepted

You could use T1 font encoding with support for special characters:

share|improve this answer
Thank you, it solved the problem!!! – Weslei Feb 23 '11 at 16:02
This isn't working for me: I have \usepackage[T1]{fontenc} \usepackage{lmodern} both specified, but I still can't copy say, $\gamma$ out of the resulting PDF. – Canageek Sep 28 '11 at 18:09
@Canageek: $\gamma$ is not text, it's a math symbol of a math font. However,you could try the same if you use the Unicode text gamma γ. – Stefan Kottwitz Sep 28 '11 at 19:30
@StefanKottwitz Crud, that removes the ease of inserting greek characters from LaTeX as I have to go find a source for them then. – Canageek Sep 28 '11 at 20:28
@Canageek: get just one Greek alphabet, such as here, or use a Greek keyboard. If you really mean math font letters, I suggest you post a new question instead of a comment. – Stefan Kottwitz Sep 28 '11 at 20:44

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.