{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

12
votes
3answers
278 views

non-invasive kerning/spacing modification: what options are there?

Once in a while, you may want to (1) adjust or create a kerning pair (or, better yet, kerning class) in a font, or (2) adjust a particular glyph's sidebearings. examples of scenario (1) would include ...
9
votes
1answer
213 views

Kerning between V and / in Palatino and Euler

Edit 1 I made the test with real palatino font and Neo-Euler, with the same result (As far as I can see) \documentclass{standalone} \usepackage{fontspec} \setmainfont[] {PalatinoLTStd-Roman.otf} ...
11
votes
2answers
262 views

Should a negative kern be added after a degree symbol if followed by punctuation?

Not sure why I have not noticed this before, but spacing between a degree unit and punctuation seems strange as shown in red. Should a manual \kern be added (as shown in blue)? Code: ...
6
votes
1answer
457 views

Math-mode kerning/spacing of letters

Take the following two equations: \begin{equation} o^{AR}_{i,t} = w^{AR}_i x_t + o^{AR}_{i+1,t-1} \end{equation} \begin{equation} o^{MA}_{i,t} = w^{MA}_i x_t + o^{MA}_{i+1,t-1} ...
2
votes
2answers
278 views

How can I lower an \xrightarrow

I'm referring to a previous post where I asked how to handle lines that are too tall due to stacked mathematical symbols. In particular, the problem occurs in my texts when using \xrightarrow like in ...
16
votes
2answers
293 views

Where/how is kerning data stored in actual font files?

Where in most font files do they store information such as "If character %1 is followed by character %2, decrease the spacing by x points"? Are all the (%1,%2, resulting_kerning) tuples in a central ...
3
votes
0answers
117 views

Adjusting letterspacing in ConTeXt [closed]

I need to adjust the letterspacing of the font I'm using. I'm currently using the font like this: \usemodule[simplefonts] \definefontfeature[default][default][protrusion=quality,expansion=quality] ...
17
votes
1answer
280 views

Is there a method just write `---` to get an em-dash, putting thinspace both before and after it?

Is there a method just write --- to get an em-dash, putting a thinspace both before and after it? The situation about break is similar with the original ---.
10
votes
1answer
122 views

Kerning in \Cref of cleveref

When I use the \Cref command of cleveref package, it doesn't apply the corresponding kerning: Here is a minimal example: \documentclass{scrartcl} \usepackage[thref]{ntheorem} \usepackage{cleveref} ...
10
votes
2answers
277 views

Uneven spacing around a hyphen in sans-serif?

I am used to writing the names of categories in sans-serif. Thus, for the category of R-modules, I have been using $R\textrm{-}\textsf{Mod}$ However, the kerning/spacing this produces has never ...
45
votes
1answer
465 views

Is it always best practice to not include text punctuation in inline math mode?

It has been pointed out on this site, e.g. here by egreg, that text punctuation doesn't belong to the formula in inline math. I've been following this practice for a long time, so I write for all ...
4
votes
3answers
136 views

Macro to be used in a \section command that has no effect in the table of contents

I need a macro that is executed only in the main document (within a section title) and then disappears (for the table of contents). A minimal example where this occurs is this: ...
15
votes
2answers
355 views

How to reduce the space between two slashes when using \url?

This is a follow-up question to Space between two slashes. Bianca Lobo's answer (defining a \twobar command with proper kerning) is nice; however, it doesn't work in the argument of the \url command ...
10
votes
1answer
334 views

Space between the two slashes in “http://” too big

I'm using a lot of links with http:// in my document, but the two slashes are too much separated, I'd like them to be more near each other. How do I do this, in a neat way? I'm using a sans-serif ...
1
vote
0answers
93 views

How to get proper kerning with XeTeX and special characters? [duplicate]

I would love to switch to XeTeX to make use of my professional Adobe fonts that were shipped with Creative Suite 6. I use MikTeX on a Win 8 machine, and TeXniXcenter + XeTeX. However, kerning seems ...
30
votes
0answers
508 views

The Last Obstacle — Measuring sidebearings in LuaLaTeX [duplicate]

I've just realised that this question might be interpreted as a duplicate of Accessing side-bearings in LuaTeX, and therefore eligible to be closed as such. Apologies for the lapse of memory; I'll ...
11
votes
2answers
337 views

To kern double em-dashes

In Virginia Woolf's novels, she used double em-dashes quite often. In Latin Modern, the two dashes closely set together without gap. However, In ebgaramond there is a little gap which is quite ...
3
votes
1answer
358 views

Spacing & sizing with libertine and newtxmath

I'm using the following setup for the Libertine font: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[lining]{libertine} \usepackage[libertine, cmintegrals]{newtxmath} \begin{document} ...
15
votes
2answers
218 views

siunitx not using kerning units correctly ahead of a sentence-ending dot (period, full stop)

If the unit is the final character in a sentence, the sentence-ending dot is not kerned correctly. MWE: \documentclass{article} \usepackage{siunitx} \usepackage{mathpazo} \begin{document} ...
9
votes
1answer
187 views

Alternates for specific characters & kerning

I am trying to change the stylistic set used for italic y in my document. I used Alan Munn's method, explained here: Use stylistic set variations only for certain glyphs. It works properly, except ...
7
votes
2answers
498 views

Problem of different spaces between subscripts and letters in math mode

In math mode, the spaces between subscripts and letters are not always the same, but depending on the preceding letters! See e.g. (different colours indicate different spaces) Is it the feature of ...
1
vote
0answers
240 views

Wrong kerning after \beta on printout [closed]

The following minimal example looks fine on my system: \documentclass[]{report} \pagestyle{empty} \begin{document} \Huge Test $\alpha, \beta, \gamma$ Test \end{document} The PDF looks like this: ...
14
votes
1answer
236 views

Insert negative kern before “Y” in Calabi-Yau

Some pairs of glyphs look more visually appealing when a kern is inserted between the glyphs. For instance, if the word Calabi–Yau is typeset with a font that does not include kerning information for ...
11
votes
2answers
360 views

Bad kerning with dvipng

I am using dvipng to render sans serif documents, and the results are especially bad. At the default resolution (100 dpi IIRC), there are some serious kerning issues. Here, I rendered with two sans ...
2
votes
1answer
234 views

Disable automatic kerning

I want to disable automatic kerning for a few lines in my text as the \textwidth before kerning and after kerning is not the same. And I'm sure there is a simple command to do so, but just can't ...
8
votes
2answers
202 views

Three emdashes bound together

In many bibliography styles repeating authors are indicated with three emdashes, forming a single line. This works well with some fonts, while for others it leaves gaps: ...
8
votes
1answer
1k views

Move a combining character with both \raisebox and \kern

The font I'm using, Linux Libertine O, is not able to properly combine a circumflex (U+0302) with a preceding vowel symbol that has a macron (e.g. U+014D): \documentclass[17pt]{extarticle} ...
9
votes
2answers
1k views

How to adjust the kerning around a forward slash in text

In contrast to \texttt{typewriter} normal text is "connected". When using a forward slash, I get for y/. this: while I would like to get something like that: which can be accomplished by ...
2
votes
2answers
524 views

italic correction in math mode

I use txfonts and \texttt in italics in math mode, but the letters' italic correction is not working: an italic/"TT" letter "d" adjacent to a closing parenthesis touches it. Here is minimal sample ...
13
votes
1answer
2k views

How are amounts of money to be typeset?

Writing a letter to Americans, I have wondered how to properly typeset amounts of money. As far as I know, the $-sign is supposed to precede the number, but I am clueless of the rest. Here are some ...
7
votes
2answers
414 views

How is the LaTeX 2e made?

I wanted to know how is the \LaTeXe symbol () made, I mean, the command definition of superscripts and subscripts on the "L", "A"... letters.
7
votes
1answer
217 views

Using the charter font, F followed by a full stop looks like an E. What should I do?

Here is a screenshot of my document: On the second line, there is an instance of "CNF." which totally looks like "CNE" to me (because the dot takes the place of the serif on the feet of an E). I'm ...
8
votes
1answer
185 views

Wrong positioning of subscripts on bold math letters

I just noticed that for kpfonts and times (and probably other fonts since it does not seem to be font-related), the subscripts on boldface letters like V are (I would say) wrong. Is there an ...
5
votes
2answers
356 views

Fix for CJK punctuation kerning in xetex?

When using xelatex with xeCJK to typeset a document in English with Japanese quotations, I get rather unsightly kerning with Japanese punctuation. In general, punctuation is shifted to the left, so ...
7
votes
2answers
4k views

Problem formatting a subscript in math mode

$\nu_{\rm FWHM}$ prints FWHM too large. But when I try: $\nu_{\mbox{\tiny FWHM}}$ the size is okay but the kerning looks wrong. What is the best way to make a compact little FWHM subscript tag ...
12
votes
3answers
821 views

Redefine apostrophes to prevent bad kerning

The apostrophe in Adobe’s Minion Pro font has a kerning that is much too tight for typesetting French, where sequences of letters like l’a or d’e or j'a are common. One solution I found is to wrap ...
12
votes
1answer
302 views

Is there a way to improve kerning on mathematics?

It seems that some mathematical formulae do not have as good kerning as standard text? Taking a specific example, I would like to change The version on the left is LaTeX produced from ...
8
votes
1answer
349 views

Kerning for arabic digits?

In most fonts, arabic digits have nonproportional width, meaning that 1 and 8 have exactly the same width even if the former has a smaller natural width. This is good for typesetting tables, but in ...
4
votes
1answer
112 views

Open parenthesis followed by j produces “crash” (slight overlap of glyphs)

Using the Termes font in a large dictionary project, the open parenthesis and lower case Roman j glyphs are often in contact, and my proofreader has asked me to fix the problem, which she calls a ...
16
votes
3answers
394 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
525 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 ...
27
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 ...
17
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 ...
11
votes
2answers
3k 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
839 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
676 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
741 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
883 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 ...