Theses, Books, Title pagesCompiling problem when using accents in university name etc.

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Compiling problem when using accents in university name etc.

Post by templateuser »

Hi,

I am writing my thesis in physics in Portugal. I need to use all kind of accents such as ~, ^, ´, `, ...

I have red the discussions about accents in french language but it did not solve my problem.

***

-> If i do what is said in this thread: http://www.latextemplates.com/forum/dis ... ch-letters

The text in the acknowledgements appears with accents.

***
MY PROBLEM:
When I edit the thesis.cls file and input the document variables such as the university name, in my case:

Faculdade de Ciências da Universidade de Lisboa

And the department:

Departamento de Física

I compile it in the cmd line with latex main.tex and i get the following error (below) and when i view the .pdf in the title page the special characters are just ommited.

Code: Select all

(/usr/local/texlive/2014/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))(./main.out) (./main.out)
! Package inputenc Error: Unicode char \u8:?nc not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
... 
l.68 \textsc{\LARGE \univname}
              \\[1.5cm] % University name
?

I tried:

Code: Select all

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[portuguese]{babel}
In the .cls file, in the main.tex in the beginning and after the \title{\ttitle}

Both give me the same problem.

lailaw

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply