{kerning} is the process of adjusting the spacing between characters in a proportional font, usually to achieve a visually pleasing result.

learn more… | top users | synonyms

16
votes
3answers
408 views

German-style quotation marks too close to italics letters and mathpazo font package

When I type an text in italic with the Palladio font the German quotation marks are (far) too close to the letters. The problem does not occur with English quotation marks. Is there any solution or ...
12
votes
2answers
569 views

Vain question about cdot kerning

I'm writing my first "real" paper in Latex, and one of my major pieces of notation involves item-wise multiplying the Nx1 vector \widehat{w} to the Nx1 vector \widehat{S}, and I've been using cdot to ...
29
votes
2answers
1k views

Is there a way to automatically change kerning between commas/full stops and footnote marks?

This question led to a new package: fnpct Following up on my question on the kerning of footnote marks after punctuation marks, I'd like to know if there is a way to achieve the kerning of ...
19
votes
2answers
4k views

How to properly typeset footnotes/superscripts after punctuation marks?

I find the spacing of footnote marks after punctuation marks quite unsatisfactory, especially with sans serif fonts and compared to the spacing after letters. Example follows: I came up with a ...
12
votes
2answers
4k views

How to use \widthof as parameter to \kern

I sometimes encounter a problem when I attempt to use \widthof from the calc package, and don't know why. In the past I have just worked around it using a two step process of defining a \newdimen{} ...
15
votes
1answer
908 views

How to fix kerning of comma/colon after quotes?

How to fix kerning of comma/colon after quotes? Hello, I’m a relative newbie in latex and am trying to reduce the space between closing quotes and colon/comma, but by a general way in the preamble, ...
6
votes
1answer
693 views

Letterspacing titles with LuaLaTeX

I'm using LuaLaTeX to write my thesis and I've been learning about typography thanks to Robert Bringhurst's "The elements of typographic style". Problem is I can't replicate the letterspacing used in ...
8
votes
2answers
793 views

Does latin modern sans serif have a weird kerning, or is there a problem on my side?

I don't know whether it's my brain, or my pdf reader, or a missing font on my system. I know I'm asking for Latin Modern, Sans Serif because it's for a presentation, and the result looks weird: I ...
10
votes
2answers
930 views

Kerning issue with Adobe Garamond Pro: XeTeX or font file to blame ?

I have run into a strange kerning issue, limited to the German letter pair Wä, when using the Adobe Garamond Pro font with XeTeX. The document looks great except for that particular pair. But see for ...
9
votes
1answer
1k views

Basic kerning with XeTeX

Trying to use custom fonts with LyX, so I started using XeTeX. Unfortunately, It seems kerning only works with certain OpenType fonts (Linux Libertine) but not for others (Doulos SIL or Charis SIL). ...
37
votes
2answers
1k views

Improved kerning in fractions?

Question How can I apply selective kerning within the numerator and denominator of an inline fraction? Specifically, I'd like to: Tighten kerning after the numerator if it ends in 7 Loosen kerning ...
18
votes
1answer
605 views

Problem with kerning using LuaLaTeX

I am having a problem with kerning while using LuaLaTeX. In my example, the pair “AT” does not render well. This is clear by comparing LuaLaTeX output with XeLaTeX's, which from the same code renders ...
3
votes
1answer
694 views

Unsightly spacing with Calligra font (Christmas card)

I'm writing my Christmas cards again with LaTeX. Last year I used a commercial font with XeTeX. For this year I was thinking about using Calligra as font, but for some reason the output is not nice ...
9
votes
1answer
749 views

Why \leaders and \mkern works strangely in different font size?

I can hardly determine a good title for this question, I'm sorry. Minimal test code: \documentclass{minimal} \usepackage{lipsum} \begin{document} foo {\fontsize{18}{18}\leaders\hbox{$\mkern ...
4
votes
5answers
598 views

How do I disregard automatic spacing between characters in math mode?

I realize this is a bit of an odd request. I'd like to typeset some characters in math mode (such as 1 \land \lnot 2 \lor 3), and have them appear equally spaced, rather than with automatic spacing. ...
4
votes
2answers
695 views

Italic/slanted math font and kerning

I'd like to write a macro for typesetting slanted letters in bold for highlighting vectors. I've used this implemenation: \newcommand\vect[1]{\text{\bfseries\sffamily\slshape#1\/}} But I've run ...
4
votes
2answers
832 views

Spacing too large with exponents and big Oh

What's the correct way to typeset the following to get the normal spacing you would expect were you to, for example, write the terms out by hand. \documentclass[a4paper,11pt]{article} ...
24
votes
4answers
1k views

Kerning between bold and non-bold text

I'd like to write a word in bold followed by a comma and a non-bold word, like this: \textbf{why}, blah If I just write why, TeX inserts a kern to shift the comma a little closer to the "y". But ...
6
votes
2answers
801 views

Capital letter expanded letter space kerning

I am using the following code \usepackage{microtype,textcase} \textls*[110]{\textbf{\MakeUppercase{Specialties}}} I would like to achieve even letter spacing. Unfortunately, the kerning of the ...
6
votes
1answer
776 views

LaTeX fonts with proper kerning for characters with diacritics

Could you please recommend me fonts working with LaTeX that I can use to typeset text in e.g. Central European languages, with proper kerning? I am experiencing problems especially with pairs like ...
9
votes
1answer
1k views

The kerning option of microtype

I wonder what the kerning option of the microtype package does? In the manual it says that kerning=true will give additional kerning. But how? Is this something that has to be specified in addition to ...
7
votes
2answers
785 views

Make apostrophe closer to letter

I am using the lettrine package to typeset capitals. When there is an apostrophe with a capital L, the spaces look quite ugly. I would like to achieve something like the following: I've already set ...
1
vote
1answer
629 views

Overlaying two symbols

I use LyX, so a lot of the working is hidden from me. I want to overlay the symbols \star and \bigcircle. How do I do this? I know it can be done, ad there is the \not, which works like that
2
votes
1answer
193 views

Colorization and kerning problem with inline lists

The problem is as follows: I need to set an inline list with colored lowercase letters surrounded by black brackets. This is not so hard to achieve, but the problem is that kerning is lost in the ...
4
votes
2answers
657 views

How can I adjust the fine positioning of stackrel?

I use stackrel to define a custom stacked relation symbol: \def\qMapsfrom{\stackrel{?}{\Mapsfrom}} However, the question mark is not centered properly and has too much distance from the \Mapsfrom. ...
7
votes
1answer
496 views

Fix math mode kerning of “C”

I am trying to set a sequence of atom packing symbols. I want to use math mode italics for this, as I think that their width fits this purpose. The problem is that the C has a bad kerning for this. ...
5
votes
2answers
212 views

Charclass/Interchartokes for Umlauts and „“

How can I define a charclass for umlauts, german quotes „“ (and other special characters which are not A–Z/a–z)? I’d like to use this for extra kerning in some cases. \documentclass{minimal} ...
7
votes
1answer
387 views

Kerning between 'V' and '.'

The canonical font used in LaTeX does not seem to implement any special kerning between letters and dots, possibly resulting in too much space (say, for the combinations "V." or "T.") in my opinion. ...
3
votes
1answer
640 views

Zapf Chancery and placing a k next to a g

So, I was playing with fonts and found one really nice. It's just that I ran into trouble trying to write the word Background (quite a common word, eh?) using it. The k and the g extend into each ...
26
votes
2answers
2k views

Is there a way to adjust kerning for a specific character combination?

Is it possible to tell (La)TeX to adjust the kerning of a specific character combination? For example, suppose I want !! to be typeset as !\kern 1.2pt!, just like ff is automatically turned into a ...
12
votes
1answer
7k views

Using listing for displaying Matlab code

I'm trying to display matlab code in a LaTeX document and the comments are typeset with an ugly space between letters: \documentclass{article} \usepackage{listings} \lstset{language=Matlab} ...
79
votes
6answers
9k views

Prettiest way to typeset “C++” (cplusplus)?

Writing "C++" in plain text results in an ugly setting, as the '+' signs are too big and too spaced: I've seen around the web several marcos for typesetting the "C++" symbol, ranging from mild ...
26
votes
2answers
2k views

An example of changing kerning of a font in LuaLaTeX

LuaLaTeX, through the luaotfload package, is able to dynamically add and modify features and properties of a font. This is performed by using the FeatureFile option in fontspec when loading a font; ...
14
votes
1answer
3k views

Margin kerning in Xe(La)TeX for TeXlive 2010: how to enable?

I'm using the pre-release testing version of TeXlive 2010. From what I understand from the TeXlive Guide, a new feature is that support for magin kerning has been added to XeTeX. From what I can ...