Fonts & Character Setspsgreek and sans serif font

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
gertschi
Posts: 1
Joined: Wed Jan 06, 2010 11:25 pm

psgreek and sans serif font

Post by gertschi »

Hello,
I've installed the psgreek font in MiKTeX 2.8 since I need to write a few greek words. Everything works fine as long as I don't change the default font. However, I have to use a sans serif font as default in my document. I'm changing the font with:

Code: Select all

\renewcommand{\familydefault}{\sfdefault}
As soon as I add that line the greek font looks ugly in the resulting PDF file (I can see the pixels). You can use the following example to reproduce the problem:

Code: Select all

\documentclass[paper=A4, fontsize=11pt]{scrbook}

\usepackage[latin1]{inputenc}
\usepackage[polutonikogreek, english]{betababel}

\usepackage{lmodern}
\usepackage{psgreek}

\renewcommand{\familydefault}{\sfdefault}

\begin{document}
Some greek words: \bcode{krupto/s2} and \bcode{gra/fein}
\end{document}
Do you know a solution for this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: psgreek and sans serif font

Post by frabjous »

Why do you need the psgreek package? Your document works fine for me if I just comment out the \usepackage{psgreek} line.
Post Reply