Questions tagged [kerning]
{kerning} is the process of adjusting the spacing between characters in a proportional font, usually to achieve a visually pleasing result.
406
questions
3
votes
1
answer
88
views
Inconsistent kerning in units when using detect-all
When using the siunitx v3 option detect-all, the space between prefix and unit changes when in text mode. See the yellow markings in the image below, where the space between k and V is very small in ...
2
votes
0
answers
54
views
Kerning and page number problem after \foreignlanguage in xelatex
While I use xelatex or lualatex, it seems that language rules remain in effect after the end of \foreignlanguage{...}{...} while \begin{otherlanguage}{...}...\end{otherlanguage} works as expected.
Am ...
0
votes
2
answers
181
views
Add extra kerning before certain punctuation in Babel, but not for the typewriter font
I want to add extra kerning before exclamation marks, question marks, colons, semicolons, etc. and extra kerning before and after en and em dashes. My current code is based off of this answer.
The ...
2
votes
0
answers
245
views
How can I make a smaller negative space than \!?
I noticed that the spacing in "(A" in my document looks too wide. I tried adjusting it with "(!A", but that looks too thin. How can I make a negative space that's thinner than \!?
(...
4
votes
1
answer
109
views
Acro Package Bug with Kerning
I've observed that the acro package bugs out the kerning. It makes the kerning pair apply incorrectly after the acronym. In my MWE, the second word in each pair has incorrect kerning. I've added an ...
9
votes
2
answers
354
views
Adjust italic correction for a math symbol for subscripts
I am using the DejaVu math font and noticed that the zero in f_0 is very far away from the f.
% !TeX program = lualatex
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{texgyredejavu-...
1
vote
1
answer
42
views
Vertical Kerning Between the Footnoteline and First Footnote in a Tikzpicture
This is related to How to Change the Color of the Footnoteline and Footnotemark Beneath within a Tikzpicture
Consider the code
\documentclass[12pt]{book}
\textwidth=5in \textheight=3.50in
\usepackage[...
2
votes
1
answer
107
views
Weird kerning after apostrophe
I want to use the ETbb font in my document, but there is one thing in particular that is weird about it. The spacing after an apostrophe is sometimes too much. I do not know if this is intentional, ...
1
vote
0
answers
21
views
Want equal spaces between repeating symbols in mathmode, how I disable kerning? [duplicate]
Trying to get equal spacing between repeating characters in mathmode.
I tried using the microtype package and use the DisableLigatures function, it should
disable kerning and would expect equal spaces ...
0
votes
0
answers
55
views
Spacing for typewriter font looks off without fulflexing option in lstlisting [duplicate]
I'm trying to get the spacing and font to look clean in my lstlisting output window. Right now, if I enable the columns=fullflexible option, it makes the font truly monospaced and it perfectly aligns ...
7
votes
2
answers
345
views
Fix Kerning Internal to a Unicode Character
Is there any way to drill down into the code that defines, for example, Ἄ to fix the kerning of the diacritics? It's worse in ebgaramond; it's not very much better in computer modern.
\documentclass{...
1
vote
0
answers
35
views
Looking for Global Solution to Insufficient Apostrophe Kerning with Cabin
In How to Increase the Space Between a Letter and Its Apostrophe with Cabin, it was suggested that in order to increase the kerning between a letter and the adjoining apostrophe, one may use
\mbox{'} ...
7
votes
2
answers
581
views
How to give hints to fix kerning of "Two" in sffamily
Is there any way to improve sffamily kerning globally? (for example in my document preamble; I really don't want to edit font files or system settings)
The Tw combination looks awful; Two is even ...
5
votes
3
answers
303
views
Why does \showbox display kerns in two different ways?
Suppose I \showbox'd the TeX logo and the word "We", thus:
\setbox0=\hbox{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125em X We}\showbox0
In the result, there are two different representations ...
2
votes
0
answers
96
views
Lua(La)TeX does not kern at discretionaries following ligatures?
\documentclass{book}
\usepackage[usenglish]{babel}
\usepackage{fontspec}
\directlua{
fonts.handlers.otf.addfeature {
name = "testkern",
type = "kern",
...