{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

3
votes
0answers
113 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
277 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
118 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
260 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
458 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
134 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
344 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
315 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
318 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
347 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
212 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
181 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
453 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
205 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
228 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
341 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
225 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
197 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
979 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
497 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
1k 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
394 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
213 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
170 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
343 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
3k 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
779 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
288 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
343 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
107 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
388 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
499 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 ...
26
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 ...
15
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
775 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
667 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
711 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
841 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
999 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
979 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
573 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 ...
2
votes
1answer
525 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
700 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
544 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
649 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
754 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} ...