[OS X TeX] Change default font to Helvetica w/ KOMA

Ralph Pöllath lists at poellath.org
Sun Apr 18 20:11:19 CEST 2004


Hi,

>> I'm writing a german article using the KOMA-Script packages, and after
>> changing the default font to Helvetica, I noticed the umlauts are no
>> longer placed centered above the characters, but seem to be a tick off
>> to the left. Here's an example:
>>
>> \documentclass{scrartcl}
>> \usepackage[latin1]{inputenc}
>> \usepackage{ngerman}
>> \renewcommand{\familydefault}{phv}
>> \begin{document}
>> ä ö ü Ä Ö Ü
>> \end{document}
>>
>> I guess that this just isn't the proper way to do this. Unfortunately,
>> I don't have access to any of the standard LaTeX books, so I'd
>> appreciate it if somebody could point me in the right direction.
>
> How about
>
> \usepackage{helvet}
> \usepackage[T1]{fontenc}
>
> I am not sure if you really need the T1 font encoding when using the 
> helvet package. For the classic CM fonts, T1 encoding is needed to 
> ensure correct hyphenation by using the EC fonts (which contain 
> accented characters). Your problem might have a similar cause.

Thanks, \usepackage[T1]{fontenc} fixed the problem.

Cheers,
-Ralph.

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the macostex-archives mailing list