Fonts & Character SetsGerman characters and GFS Didot

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
malvi237
Posts: 9
Joined: Tue Feb 23, 2010 1:12 pm

German characters and GFS Didot

Post by malvi237 »

I would like to use GFS Didot as font for my thesis, however I have a strange problem with the german characters. While \"{u} and \"{o} are typeset as ü and ö as they should, \"{a} comes out as a with the two dots below instead above the character. When I change to Palatino everything is typeset perfectly ...

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

German characters and GFS Didot

Post by localghost »

Very interesting. The example below results for me in German characters without any accents.

Code: Select all

\listfiles
\documentclass[10pt,a4paper,ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{gfsdidot}

\begin{document}
  Falsches Üben von Xylophonmusik quält jeden größeren Zwerg.
\end{document}
The file list reveals that gfsdidot loads the pxfonts package. Moreover it seems that this font is better for use with Greek.


Best regards
Thorsten
malvi237
Posts: 9
Joined: Tue Feb 23, 2010 1:12 pm

Re: German characters and GFS Didot

Post by malvi237 »

I tried your code in a new file and it doesn't work as well.
I get the following result : Falsches en von Xylophonmusik qu jeden grren Zwerg and these error messages:

./Untitled.tex:8: Package inputenc Error: Keyboard character used is undefined
(inputenc) in inputencoding `utf8'.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.8 ...ches Üben von Xylophonmusik quält jeden grö
ßeren Zwerg.
?
./Untitled.tex:8: Package inputenc Error: Unicode char \u8:ße not set up for us
e with LaTeX.
See the inputenc package documentation for explanation.

When inputenc is removed I get the following result: Falsches ben von Xylophonmusik quält jeden gröeren Zwerg.

It's really weird. I am using TexShop for Mac for typesetting. Maybe its the programm.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

German characters and GFS Didot

Post by localghost »

Since I'm not a Mac user, I'm not sure about this. But you can try another option for the inputenc package.

Code: Select all

\usepackage[applemac]{inputenc}
You should read that in the package manual in order to check whether that is correct.
malvi237
Posts: 9
Joined: Tue Feb 23, 2010 1:12 pm

Re: German characters and GFS Didot

Post by malvi237 »

I'm afraid this is a bug. I read the inputenc documentation and tried several encodings the problem is always the same. Therefore another question, as I have the characters in the abstract only, is there a possibility to use different fonts for abstract and the rest of the text?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: German characters and GFS Didot

Post by localghost »

As I already mentioned, this font is made for writing in Greek thus might not support other special characters. But you can always ask the maintainer for help. I suggest to use another font package. One of those listed in the font catalog should please you.
Post Reply