1

i would like to know how can i put labels and names of sections and chapters using accents. I get errors when i try

\chapter{Conclusión}
como se menciona en \ref{algo}.
\section{Other seccion name with áccent}
\label{algo}
  • 1
    Do accents work properly anywhere else? And yes, you really should provide a complete (preferably small) example: see the question on minimal working examples on meta. – SamB Dec 25 '10 at 18:44
  • Using xelatex instead of latex/pdflatex (and making sure your input is saved as Unicode UTF-8) makes a lot of these character-encoding problems go away. – Mohan Dec 11 '12 at 12:40
5

we need a complete example with an error description ... This works:

\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\begin{document}

\chapter{Conclusión}
como se menciona en \ref{algo}.
\section{Other seccion name with áccent}\label{algo}

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.