{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

6
votes
3answers
204 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
284 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
861 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
225 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
124 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
287 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
168 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
554 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 ...
25
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
161 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
196 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
292 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
218 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
279 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
506 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
295 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 ...
76
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 ...
16
votes
2answers
302 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
119 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
123 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
286 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
349 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 ...
45
votes
1answer
470 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
685 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
138 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: ...
10
votes
1answer
348 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 ...
15
votes
2answers
362 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 ...
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 ...
9
votes
1answer
190 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
541 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
247 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: ...
6
votes
1answer
689 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 ...
11
votes
2answers
373 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 ...
14
votes
1answer
239 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 ...
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 ...
2
votes
1answer
247 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
208 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
2k 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
555 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 ...
15
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
427 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
222 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
187 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
365 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
1answer
314 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
358 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
114 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 ...