Fonts & Character Sets ⇒ German characters and GFS Didot
German characters and GFS Didot
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 ...
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
German characters and GFS Didot
Very interesting. The example below results for me in German characters without any accents.
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
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}
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: German characters and GFS Didot
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.
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.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
German characters and GFS Didot
Since I'm not a Mac user, I'm not sure about this. But you can try another option for the inputenc package.
You should read that in the package manual in order to check whether that is correct.
Code: Select all
\usepackage[applemac]{inputenc}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: German characters and GFS Didot
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?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: German characters and GFS Didot
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.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10