{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
2answers
149 views

XeTeX kerning with \newunicodechar

Am using Adobe Garamond Pro and need the two characters ʾ and ʿ that do not exist in that font. I have solved this by rotating ˘ 90 degrees either direction and making these new unicode characters ...
3
votes
1answer
79 views

Take the kerning of a font to make it the kerning of another one

The charter font from mathdesign has poor kerning while the Charter font by SIL is better. The problem is that the bold face of SIL is really bold and I prefer the one from mathdesign. Actually, even ...
9
votes
4answers
200 views

Configurable spacing after \dots

LaTeX adds some space after the ellipsis \textellipsis. This is enhanced by ellipsis package, which only adds space before certain characters (and also gives the option to configure “easily” the ...
4
votes
1answer
204 views

Spacing looks wrong in listings when using fixed columns

When I use columns=fixed to present my listings, the letters are spaced too far apart. Why is that? \documentclass{article} \usepackage{listings} \lstset{columns=fixed, basicstyle=\ttfamily}} ...
3
votes
1answer
161 views

Control the dots separation in math and text

I know how to control the spacing of the \textellipsis command. But I can't figure it out how to do so globally in all the versions of mathtools' \*dots. My idea is to use a global symbol … to use ...
10
votes
3answers
370 views

How can I superimpose a summation operator with its following character?

How can I create the following symbol? PS: It is not the classic \sum_{i=0}^n k
4
votes
1answer
155 views

Double slashes close together with resizing

I basically want this symbol, but I want it to resize properly: While X/\mkern-6mu/H looks good, when I try to resize using \biggl, then the horizontal space between the two slashes becomes very ...
5
votes
2answers
262 views

Hyphen, Capital T and Kerning

When using a hyphen directly next to a capital T the spacing (kerning) looks weird: Input: Abc-Tuv Output: It seems as there is too much space between the hyphen and the T. I can reproduce this ...
9
votes
3answers
261 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 ...
3
votes
1answer
123 views

xeCJK messes up typographical quot and — [duplicate]

Using: XeTeX 3.1415926-2.5-0.9999.3 (TexLive 2013) on openSuse 13.1 Setting up a multilingual buddhist glossary I have encountered the problem that closing (German) typographical quotation marks “ ...
3
votes
0answers
143 views

Pair kerning strategies in (pdf)LaTeX

I'm using the microtype package on pdfLaTeX and I'm wondering over the possibility to implement pair kerning, as opposed to single-character kerning, within the facilities provided by that package. If ...
5
votes
1answer
233 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
236 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 ...
9
votes
2answers
358 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
182 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
404 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
147 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 ...
30
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 ...
7
votes
1answer
402 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
149 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
240 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
306 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
469 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
121 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, ...
9
votes
1answer
240 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 ...
6
votes
3answers
218 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 ...
17
votes
1answer
306 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 ---.
12
votes
3answers
981 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 ...
15
votes
2answers
242 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} ...
1
vote
1answer
138 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
313 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
197 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
628 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 ...
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; ...
1
vote
1answer
200 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
221 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. ...
12
votes
3answers
353 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
242 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
382 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
635 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
365 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 ...
86
votes
6answers
10k 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 ...
16
votes
2answers
361 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
134 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] ...
10
votes
1answer
127 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
310 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 ...
11
votes
2answers
434 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 ...
46
votes
1answer
490 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
2answers
736 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
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: ...