# Accent Mark on Capital C

I am writing to a professor named is Branko Curgus. The C in Curgus has an acute accent on it, as you can see on his webpage here

I can get tex to put the proper accent on certain letter like E, but when I switch it to a C it disappears. I am using the package [utf8]{inputenc}.

To be clear, this one works

Dr. Branko \'Eurgus

But this one makes the C disappear altogether

Dr. Branko \'Curgus

Also, I am using letter document class. This is where/how it appears in my script

\begin{letter} {Dr. Branko \'Curgus\ Department of Mathematics\ Western Washington University\ Somewhere, Somewhere \ }

Photos of code and output:

• Why not Dr. Branko Ćurgus with his name taken from the site? – Przemysław Scherwentke Jul 24 '16 at 22:11
• @PrzemysławScherwentke Well, I just tried that and it just put a question mark where the C was... – Prince M Jul 24 '16 at 22:13
• Load \fontspec and compile with xelatex or lualatex. – Bernard Jul 24 '16 at 22:15
• @PrinceM Can you show a minimal example? The body of the letter is of course unimportant. Any version of LaTeX should produce Ć when the input is \'C – egreg Jul 24 '16 at 22:20
• Edit, it appears to work when I type it in with E without copy and pasting but still disappears for C? @egreg – Prince M Jul 24 '16 at 22:28

We could delete this question, but perhaps I'll turn it into a bit of a lesson both on how to ask better questions, and more importantly, how to learn to diagnose problems that will inevitably arise when you use a system like TeX. Please don't take this answer as criticism but rather as hopefully helpful information for the future.

One of the most important things you can do to diagnose a problem is to create a Minimal Working Example which shows the problem that you asking about. We have plenty of information on how to do that on the Meta site. Once you've done that you should put that code (not a screenshot of your editor) in your question. This allows people to see what you are (or aren't) doing very quickly, and greatly improves you chances of getting a quick answer.

Now, the most minimal document that you could have created would have been the following:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\begin{document}
\'Cerda
\end{document}


But this document doesn't show the problem, so in effect it is too minimal. But had you created it, you would have seen immediately that you can in fact produce the character you were looking for.

So this leads quite quickly to the source of the problem in your actual document. Since there is a package loaded for a font, and you are having problems with the font, we can add that package to your document:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{gfsdidot}
\begin{document}
\'Cerda
\end{document}


Now we see the source of the problem. Of course by doing this, you wouldn't have needed to ask the question. :-) (Or perhaps you could have asked a question about why the two documents behave differently.)

• the GFSDidot font simply doesn't contain the Ć glyph is not really the answer, as latex should be able to construct a composite letter, like it does for \'M, \'q or even \'*, which all don't exist as glyphs in the font. The problem is that GFS Didot doesn't undeclare the glyphs that it doesn't contain. So I would say it's not really suited for non-Greek text (try \'A or \A`). – Robert Jul 25 '16 at 3:24