{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
185 views

Poor kerning with adjacent uppercase variables in math mode

I want to lay out a sequence of adjacent variables in math-mode with reasonable spacing between the letters. But LaTeX produces output which (to me) is "obviously wrong": \documentclass{article} ...
5
votes
2answers
450 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 ...
5
votes
1answer
132 views

Is there a way to disable kerning of punctuation marks globally?

I use the font XCharter in my document. Unfortunately, I get undesired kerning of punctuation marks following capital letters like W, P and T – especially in the bibliography (biblatex). Is there a ...
4
votes
5answers
775 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
1k 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} ...
4
votes
3answers
153 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: ...
4
votes
1answer
393 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 ...
4
votes
2answers
897 views

How can I adjust the fine positioning of stackrel?

I use stackrel to define a custom stacked relation symbol: \def\qMapsfrom{\stackrel{?}{\Mapsfrom}} However, the question mark is not centered properly and has too much distance from the \Mapsfrom. ...
4
votes
1answer
888 views

Change vertical space in overset

How can I decrease the space in overset? I found this solution online, but it doesn't look quite like the original overset (note I know it is difficult to come up with a solution to handle all cases ...
4
votes
2answers
808 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
1answer
435 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}} ...
4
votes
1answer
273 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 ...
4
votes
1answer
89 views

Spacing issues with T1 libertine and listings

Consider the MWE \documentclass{article} \usepackage[T1]{fontenc} \usepackage{libertine} \usepackage{listings} \lstset{ columns=[l]flexible, breaklines, % fontadjust, keepspaces, ...
4
votes
1answer
954 views

Zapf Chancery and placing a k next to a g

So, I was playing with fonts and found one really nice. It's just that I ran into trouble trying to write the word Background (quite a common word, eh?) using it. The k and the g extend into each ...
4
votes
1answer
93 views

Spacing/Kerning of footnotes before and after punctation

I would like to change the space/kerning between footnotes and punctations. Please see my MWE for explanation. MWE: \documentclass [] {scrbook} \begin{document} \setcounter{footnote}{70} A sentence ...
4
votes
1answer
190 views

Increasing the kerning around ' (apostrophe) but not inside the " (double quote) in microtype?

The microtype package (with kerning=true) allows to use \SetExtraKerning [ unit = space ] { encoding = {OT1,T1,LY1} }{ ' = {500, 400} } to increase the kerning before (500) and after (400) the ...
4
votes
1answer
95 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 ...
4
votes
1answer
128 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 ...
4
votes
1answer
859 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 ...
4
votes
1answer
123 views

setting kerning for a glyph and a ligature

How can one specify in PL-file the kerning for a glyph and a ligature (say, digit and en-dash) except for setting it for the first part of the ligature (which I would like to avoid)?
4
votes
1answer
199 views

Can I automatically adjust the vertical alignment of square brackets in text?

Many roman and sans serif fonts, and the default LaTeX fonts in particular, seem to have a thing with square brackets: they descend a long distance below the baseline, probably in order to "catch" ...
4
votes
0answers
77 views

Invisible text (\phantom) with kerning?

In my answer to another question, I've used an upside-down A as a V-with-strikethrough character. After playing with it a bit, I've realized that this doesn't give appropriate kerning if the character ...
4
votes
0answers
57 views

Kerning issue in soul \hl with \emph

The text is little squashed when using \hl with \emph, but only with particular words which makes me think this is a kerning issue? \documentclass{article} \usepackage{color} \usepackage{soul} ...
4
votes
0answers
399 views

LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on Mac OS)

I'm probably missing something obvious. I'm using MacTeX 2014. I want to use the font Optima that ships with the Mac OS (10.8.5) -- it is a .ttc font. If I typeset the following TeX file I get no ...
4
votes
0answers
221 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 ...
3
votes
3answers
5k views

1.5e-10 style scientific notation looks ugly in LaTeX math mode. How can I format it (kerning, etc) more nicely?

I've noticed that e-style (for example, 1.5e-10) scientific notation does not look especially nice in Latex math mode: (code used to generate the above image: $1.5e-10$) In particular, the width ...
3
votes
3answers
119 views

Typesetting exclamation+question+ellipsis (!.. ?.. ?!. !?.)

All of us know that we should use \dots instead of ... (three single dots). But how can I typeset correctly the combination of an exclamation mark with an ellipsis (!..) or a question mark with an ...
3
votes
1answer
117 views

Defining individual glyphs breaks kerning

When I create shortcuts for individual glyphs, no kerning is applied. \documentclass{article} \newcommand{\myF}{\textit{f}} \newcommand{\myA}{\textit{a}} \begin{document} \myF\myA\par \textit{fa} ...
3
votes
2answers
160 views

How to define letter-spacing of a custom environment?

Say I have: %defines a vertical bridge hand with seat name \newcommand{\hand}[5]{ \begin{minipage}[t]{1.0cm} \begin{tabbing} \textsc{#1} \= \\ \s\Hair\=#2 \\ \h \> #3 \\ \d \> #4 \\ \c \> #5 ...
3
votes
2answers
78 views

Interletter spacing in plain TeX

Is it possible globally to change the interletter spacing in plain TeX? (For some reason, the above is said not to meet some quality standard. Perhaps this helps.)
3
votes
1answer
151 views

adjusting symbols above letter in mathmode

I know there are plenty of similar questions. If you check out the lower picture, you can see that i've tried a bunch of things to solve my problem. That's just one picture...i'm kind of obsessed with ...
3
votes
1answer
44 views

MinionPro kerning math mode and punction (comma)

I'm trying to write a short explantion of the quantities in a formula but I think the kerning doesn't really work. (or I'm wrong?)`. \documentclass[12pt]{scrreprt} \usepackage[T1]{fontenc} ...
3
votes
1answer
364 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 ...
3
votes
1answer
784 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 ...
3
votes
1answer
265 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. ...
3
votes
1answer
433 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} ...
3
votes
2answers
207 views

Change kerning for `f'` in math mode

I want to adjust the kerning between f' in math mode (and other pairs) across the entire document. I found http://tex.stackexchange.com/a/219881/54601, which is exactly what I want but for text mode, ...
3
votes
1answer
176 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
194 views

LaTeX kerning decisions

In his answer to this question, our friend @egreg explains: It happens that certain combination of letters have “bad” spacing. I have noticed this too. As I understand it, LaTeX is supposed to ...
3
votes
0answers
44 views

Bad camelCase kern [duplicate]

What is the correct/best way to display camelCase such that an incorrect kern is not automatically applied between the words in the string? For example in the camelCase string: largestOfTwo The ...
3
votes
0answers
173 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] ...
2
votes
2answers
470 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 ...
2
votes
2answers
773 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 ...
2
votes
1answer
101 views

How can I use long identifiers in math mode with correct kerning?

I often write formulas with long identifier names. To get the kerning right I have to put the identifiers into \textit or something similar. For example this looks wrong: $\forall x \in Foo: \; ...
2
votes
1answer
86 views

W Small Cap + dot kerning

How can I change the kerning of specific small caps, specifically w and v in combination with dot and comma? With XeTeX, I found out how to change upper and lowercases, but no luck with small caps ...
2
votes
2answers
124 views

Too narrow kerning with xeCJK

I'm trying to typeset Japanese using xelatex and the xeCJK package. For some reason, small kana cause odd kerning in the text. In the following example, I get too narrow spacing between two small ...
2
votes
1answer
61 views

Automatic kerning

With the font I am using, the f touches a following closing quotation mark. I am præventing that from happening by periodically replacing all instances of f' with f\,'. Is there a better way to do ...
2
votes
1answer
125 views

Kerning on the boundary between mathmode and textmode

Consider the following code: If $x ∈ X$, then $y ∈ Y$.. When it is rendered by TeX, the space between “X” and “,” and similary between “Y” and “.” seems to be too big. Is there any problem with ...
2
votes
1answer
126 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 ...
2
votes
1answer
111 views

title page “sharpness” (for lack of a better word)

I've noticed a very small yet perceptible difference between the title pages I produce and some that I've stumbled across. Using the standard \maketitle command and filling in the standard author, ...