Fonts & Character SetsProblem with Cedilla

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
nortada
Posts: 5
Joined: Thu Apr 07, 2011 4:30 pm

Problem with Cedilla

Post by nortada »

Hello,

I'm writing a Msc. thesis in english, but where the cover and some sections will be in portuguese. I'm also using a Latex template, with its own document class, and that is a big mess, with settings spread on many different files. I'm working on linux Texlive with Emacs-Auctex as editor.

I have a problem that I cannot solve, although I tried almost everything I could think of. I can't get the character 'ç', while I can obtain all the other accented characters in portuguese.

My document is using:
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[portuguese,english]{babel}
\renewcommand{\rmdefault}{phv}

Does anyone have some hint on what might be the problem, or at least what I should be looking for?

Thanks in advance

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

Problem with Cedilla

Post by shadgrind »

In Emacs you could use the "C-x 8" compose character key sequence:
C-x 8 , c
That's Ctrl-x, followed by an 8, followed by a comma, followed by a c.

Alternatively, in any editor you could use \c{c}:

Code: Select all

My name is Fran\c{c}ois.
System: TeX Live 2012, Fedora 18 x86_64, GNU Emacs 24.2
nortada
Posts: 5
Joined: Thu Apr 07, 2011 4:30 pm

Re: Problem with Cedilla

Post by nortada »

I have find what was the problem...

I had redefined the command '\c{}', for something I wasn't even using any more (at the time I didn't know that \c was for the cedilla). And since I was writing directly 'ç' instead of '\c' there was no error in output log.

Sorry for the hassle. You can ignore this post.
Post Reply