Kerning in LaTeX

Primary tabs

5 posts / 0 new
Offline
Joined: 6 Feb 2009 - 5:09pm
Kerning in LaTeX

Is it possible to change the kerning between a certain letter pair?

(E.g. decreasing the space between ſ and z, latinizing the ß-ligature.)

Offline
Joined: 8 May 2004 - 11:00am
0

A\\kern-.2emB (or whatever value you'd like)

Offline
Joined: 6 Feb 2009 - 5:09pm
0

Thanks, but what I want is for this to happen automatically every time the pair occurs, without having to repeat the \kern command.

Offline
Joined: 8 May 2004 - 11:00am
0

You have to edit the font metrics file in that case.

Offline
Joined: 6 Jun 2008 - 1:09pm
0

I wouldn't recommand changing the font metrics because it would make your tex code less portable. You can define a simple command like:

\def\fz{\symbol{383}\kern-0.14emz}

I suggest using \f instead because command names are restricted to basic ASCII. Using \symbol{383} also makes the command usable in different encodings or language.

Hope this help