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

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

Compiling problem when using accents in university name etc.

Postby templateuser » Mon Mar 30, 2015 1:18 pm

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.

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


I tried:

  1. \usepackage[utf8]{inputenc}
  2. \usepackage[T1]{fontenc}
  3. \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

Tags:

Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests