{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

5
votes
1answer
227 views

Can one kern math font euler.otf using lualatex and fontspec?

I am at it again... :) Using the http://github.com/khaledhosny/euler-otf/blob/master/euler.otf font, can one kern distance between T and P with Lualatex? Clearly, my attempt does not work... Could ...
6
votes
1answer
224 views

\LaTeX logo too compressed with microtype and defined \SetExtraKerning

I have, perhaps, a slightly odd problem. I have used microtype to define some special spacing rules. This is the relevant bit of the preamble (and I will have hopefully not forgotten anything --- if I ...
1
vote
0answers
299 views

After updating to MacTeX 2013, font size and kerning of Monotype Corsiva are strange

I knew I probably shouldn't have upgraded, being not very experienced, I always have to wade through strange errors. However, this is really weird. Here's my example: %!TEX TS-program = lualatex ...
22
votes
2answers
432 views

Tests for checking kerning and sidebearings

To test the kerning and sidebearings of digital fonts, Bringhurst suggests the following methods: To check the sidebearings typeset consecutive pairs of letters and check the symmetry. For the ...
9
votes
2answers
337 views

Cannot “kern back” after applying kerning

Usually when I apply kerning to a pair of characters, I undo the kerning by adding the negative of the kerning afterwards, i.e. {x}\kern1em\{y}\kern-1em (cf. Move a combining character with both ...
7
votes
3answers
178 views

What is going on with kerning when comparing math italics to italics?

Consider this example: \documentclass{article} \begin{document} \begin{tabular}{ll} Math & $AUC$ \\ Italics & \textit{AUC} \\ \end{tabular} \end{document} In ...
9
votes
3answers
395 views

Fixing fonts with LuaTeX feature files

Bringhurst urges us in Chapter 10 of The Elements of Typographic Style: Version 4.0 to fix the font files if needed. See below a summary of the chapter using the section titles. Bringhurst suggests ...
10
votes
2answers
141 views

Correct kerning of hyperlinks in math mode

I use hyperlinks in math mode to if a reader does not read my thesis sequentially and finds a very arcane symbol somewhere, he may just click it and go to where it is defined. However, adding links ...
2
votes
1answer
112 views

Can Microtype Change the Kerning Between a Dot or Comma and a Footnotemark?

Relatet to this question: Is it possible to change the kerning between a punctuation mark and a footnotemark with microtype (or any other kerning-method)? (I know of package fnpct, but I would rather ...
7
votes
1answer
387 views

Optical Kerning with microtype

I am dissapointed with microtypes kerning. This MWE: \documentclass[ngerman,10pt]{article} \usepackage[ngerman]{babel} \usepackage{lmodern} \usepackage[T1]{fontenc} ...
8
votes
2answers
146 views

Letter with ' (and correct spacing)

I am struggling with a problem I can't even name properly: I'm writing an article about an object A as well as its slightly different variant A'. I am wondering what character/symbol and/or spacing ...
2
votes
0answers
230 views

XeLaTeX Bad/Inconsistent Kerning [closed]

I'm running xubuntu 12.04.3 LTS with tex-full 2013 package. The kerning is terrible. For example, I have fonts-linuxlibertine 5.3.0 installed, latest and greatest; when I compile using XeLaTeX, both ...
8
votes
1answer
293 views

charter and siunitx: either the kerning is bad, or the micro doesn't follow the surrounding text shape. What can I do?

I'm using Charter (with the mathdesign package) for my main text font. As mathdesign isn't doing a good job at kerning (see "NOP." and "DEF." in MWE), I'm additionally loading the charter package as ...
12
votes
2answers
442 views

Kerning of subscripts

I have a large document that's full of subscripted variables that represent points and vectors. I want to typeset the points and vectors upright and bold. I'm using Unicode Math with Latin Modern, and ...
6
votes
1answer
117 views

Turning off TeXnical enhancements

I want to create a table for comparing TeX's typography with that of (approximated) other document solutions. I'd like to turn off all TeXnical enhancements for a single column of text—no ligatures, ...
6
votes
3answers
215 views

Typographic issues in definitions of newcommands

Sir, I have small issues with two newcommand I have this definition that I do not like: \def\DDbar {\ensuremath{\kern -0.1em \stackrel{\kern 0.1em ...
1
vote
1answer
136 views

How count a space betwen glyph (without glue)

How do I count width of glyph, and the space between glyphs? I have: font word How to get all information about the space between glyph. "Test." in font "Times New Roman". I need get: width "T" ...
7
votes
1answer
309 views

Small Caps Kerning for “Va” in Linux Libtertine (XeTeX)

Has anyone else noticed this kerning error in Linux Libertine small caps...? What are the (1) permanent solution & (2) quick local fix? Pretty important initial combo. Here's the code: %!TEX ...
7
votes
2answers
194 views

Find optimal kerning for space between inline math and text

When I write something like $\mathrm{C}^*$-algebra for a C*-algebra, the space between * and - is too large. How do I change this? Are there general criteria on how much such space should be ...
3
votes
1answer
606 views

Cyrillic ttf/otf font with kerning support?

I'm looking for a cyrillic ttf/otf font with kerning support. Here's a sample XeLaTeX document: \documentclass{article} \usepackage{fontspec} % enagles loading of OpenType fonts ...
9
votes
3answers
253 views

Latin's scansion : length of vowels

I am a total enthusiastic beginner in LaTeX and my work in latin studies requires some twisty signs to mark the length of the vowels. I would love to find a way to have the length display on the same ...
1
vote
1answer
189 views

modifying vector arrow definition plain tex for esvect package

what does \kern, \mkern, \traitfill, \m@th, \mathpalette & what does attaching a @ symbol after \def mean? for example \def\vectfill@{whatever} or \def\traitfill@#1#2#3#4
3
votes
1answer
216 views

Define kerning in lualatex

I am trying to define a kerning between V and /. (see question) My approach is the following, but I don't see any differences between using the feature file and not using it. ...
9
votes
1answer
238 views

How to change kerning around ( glyph with lualatex?

Inspired by An example of changing kerning of a font in LuaLaTeX I decided to try to change the kerning for some letter combinations together with parentheses which have been bothering me in my ...
12
votes
3answers
334 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
237 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
357 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
593 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
356 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
350 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
132 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
301 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
126 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
304 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 ...
46
votes
1answer
484 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
140 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
380 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
374 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
98 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
509 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
420 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
385 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
236 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
207 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
645 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
271 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
253 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
408 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
275 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
217 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: ...