1

I'm making some document in portuguese. Everything is working fine, but when I open the PDF and try to copy the characters, those with accent make some mess. What I mean is that I write, for exemple, "ação", it's shows in the PDF "ação", but if I try to copy this word from the PDF then I get "a,c~ao". Below you find my code. How can I solve this? Any help will be appreciated. Thank you!

\documentclass[12pt, a4paper]{report} 
\usepackage[a4paper, left=3cm, right=2.5cm, top=3cm, bottom=2.5cm]{geometry} 
\usepackage[utf8]{inputenc} 
\usepackage[portuguese]{babel}

\begin{document}
Some words in portuguese with accent: ação, está, cabeça, hélice.
\end{document}

UPDATE: The solution is, as one can see in the comments below, adding:

\usepackage[T1]{fontenc}
\usepackage{lmodern}

This way, it is not necessary install cm-super.

Eric
  • 75

1 Answers1

1

\usepackage[T1]{fontenc} changes the font encoding. The default is very limited (128 glyphs) and does not contain accented characters.

Sebastiano
  • 54,118