{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

1
vote
1answer
24 views

Adjust vertical alignment of square brackets of biblatex numeric style

I have the same problem with the vertical alignment of square brackets as described in this question. However, the only square brackets I have are the ones used for citations by the biblatex numeric ...
0
votes
0answers
26 views

apply spacing rules of a usual character to a special one

My question is, in short: how to apply the spacing rules for the french guillemets «, » to the single guillemet ‹ and ›, when I enter them directly from the keyboard (or copy paste) ? the spacing ...
9
votes
1answer
70 views

\@ifnextchar breaks kerning when expanded

I've defined a macro for an initialism (abbreviation) with periods, making sure that an end-of-sentence period is not printed twice: \gp prints "G.P." and \gp. prints "G.P." Here's an M.W.E.: ...
4
votes
0answers
61 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 ...
2
votes
0answers
47 views

BibLaTeX’s supercite superscript reference above punctuation

I’d like to have the superscript numbers for citation when using \autocite{} on top of the punctuation sign (comma or full stop only; obviously it won’t work properly with exclamation or quotation ...
8
votes
2answers
157 views

LuaLaTeX: No kerning within \operatorname when not loading lmodern package

Somewhere I read that fontspec uses Latin Modern by default, so I assumed that loading the lmodern package is not required anymore when using LuaLaTeX. But today I noticed that kerning does not seem ...
11
votes
1answer
372 views

bad kerning of italics in beamer

\documentclass{beamer} \begin{document} \begin{frame} ``Here is text that ends in \emph{italics!}'' \bigskip ``Here is text that ends in \emph{italics!}\kern1.5pt'' \end{frame} \end{document} ...
2
votes
2answers
57 views

Terrible kerning of double f in subscript of Latex [duplicate]

I'm "remastering" my PhD thesis which is in the fatigue of composite materials. A common term is the effective stress intensity factor, which is $ \Delta K_{eff} $ in LaTeX code. Unfortunately, when ...
2
votes
1answer
54 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 ...
6
votes
1answer
74 views

libertine/newtxmath: Spacing after italic f too small

When using the libertine package with newtxmath, the spacing after an italic "f" looks too small if a math character follows. Is there solution for this, apart from fixing all such occurrences ...
3
votes
3answers
1k 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
1answer
38 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} ...
1
vote
0answers
31 views

How to combine fnpct with offset-adjustable footcite command?

The tufts-book class provides a \sidenote-command with an optional offset parameter, that allows the sidenote to be vertically adjusted. I use biblatex' \footcite command to get citations in the ...
1
vote
0answers
55 views

Why does kerning work with LuaLaTex but not XeLaTex for the same font?

Consider the following MWE: \documentclass[varwidth]{standalone} \usepackage{ifluatex} \usepackage{ifxetex} \usepackage{metalogo} \usepackage{fontspec} \setmainfont{Bembo}[BoldFont = Bembo Bold] ...
4
votes
0answers
38 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} ...
3
votes
2answers
156 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
3answers
81 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
2answers
68 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
114 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} ...
4
votes
1answer
80 views

Remove space between characters

How can I remove the space between this \newcommand{\deref}{\ensuremath{\rightarrowtriangle}\xspace} $b\deref\mathbf{r}_S$ such that the arrow is as closest to the two surounding characters as ...
7
votes
1answer
207 views

Combine kerning, small caps, and tracking in luatex

As is known, luatex requires the fontspec option Renderer = Basic in order to display small caps when microtype's tracking = true is used. \documentclass{article} \usepackage[tracking = ...
5
votes
1answer
81 views

how to set spacing after \endash or — in Greek font (GFS Porson)?

In a former question I described the wrong spacing in Greek texts written in GFS Porson after -- (I though it depended on \,, which it does not as Ulrike Fischer noted). To sum it up: The spacing ...
1
vote
1answer
57 views

change kerning of \texttt

I tried to use a font different than courier for monospaced fonts but none of this list (http://www.ctan.org/topic/font-mono) are available on my system - and as we work in a distributed system custom ...
1
vote
2answers
55 views

Tighten spacing in multiple-element subscripts that include primes and uppercase-Greek letters

My MWE compiled with pdfLaTeX: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{equation} \frac{ \Gamma_{v'J'\Lambda'} \Gamma_{v'J'\Lambda' \rightarrow\Lambda''} } { ...
3
votes
2answers
175 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, ...
20
votes
1answer
269 views

LuaTeX: Wrong/missing italic correction in TeXLive 2015 vs 2014

Italic correction for OTF math fonts seems to be broken in LuaTeX in TL15. MWE: \documentclass{article} \usepackage{unicode-math} \setmathfont{Latin Modern Math} \begin{document} \begin{equation} ...
2
votes
0answers
18 views

Spacing issue with defined character [duplicate]

I needed a character that looks like a d with a bar through it, so I found this snippet of code. \newcommand{\dbar}{{\mathchar'26\mkern-12mu d}} This creates the right character, but it doesn't ...
0
votes
0answers
58 views

Kerning when inserting symbols from another font

I have a METAFONT that implements the shavian alphabet mapping ASCII characters to shavian glyphs, for example the t is the shavian letter 'tot'. I have mapped the shavian letter's unicode ...
1
vote
0answers
60 views

microtype in XeLaTeX [duplicate]

Currently microtype package supports only protrusion in XeLaTeX. Is there an option to use other micro-typography features (expansion, kerning, spacing, tracking) in XeLaTeX? Or should I forget about ...
0
votes
1answer
38 views

How declare numeric constants with space without ~

I have written a document with some data that I must update at last minute. So I have created some newcommand: %-------------------------------- % Insert data here \newcommand{\srskm}{12,253~} ...
14
votes
2answers
238 views

How to globally add kerning between f and right parenthesis using TeX Gyre Termes?

I'm using TeX Gyre Termes as text font. On 2nd level enumerations, in the label corresponding to the letter f, the upper loop of the letter touches the upper tip of the right parenthesis, as ...
3
votes
0answers
148 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 ...
14
votes
2answers
315 views

Kerning and ligatures in upright math font with unicode-math

How can I get the kerning and ligatures of text mode in an upright math font with the unicode-math package loaded? 1. Without unicode-math Code: \documentclass{article} \begin{document} ...
1
vote
1answer
55 views

How to reduce space between words in gsm package

I used gms package (a special package of AMS, provided for their Graduate Studies in Maths serie) to write a math book. I got a problem with space, and then I want to narrow a line by reduce the ...
6
votes
1answer
132 views

CM fonts kerning in math superscripts

Using CM fonts with either a traditional engine or XeTeX, an expression such as $D^rf$ produces too much space between the r and the f in the output. It's easy to fix manually by inserting a \!. ...
5
votes
1answer
174 views

Kerning super- and subscripts “semantically”

I want to know if it's possible to change how LaTeX typesets superscripts and subscripts (separately, that is, not both at once) for an element where the default kerning doesn't cut it for me. Some ...
23
votes
1answer
539 views

Which common LaTeX Fonts come prepackaged with specific settings for Microtype?

For anyone interested in achieving the very best microtypography: Some fonts apparently come with microtype specific settings, other fonts don't, in which case microtype applies "Default" settings ...
3
votes
0answers
43 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 ...
14
votes
1answer
247 views

Kerning and ligatures in TeX without TeX

I am trying to get the same output as in this answer by topskip (an extended version with comments is presented in the TeX without TeX article). I am getting a paragraph consisting of 6 lines with ...
2
votes
1answer
91 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: \; ...
5
votes
2answers
179 views

How to adjust given lines automatically

Some of you may know the FlipBeamertheme by Phillip Tanedo (http://www.physics.uci.edu/~tanedo/files/code/FlipBeamerTemplate.pdf) I like the style of it's title. Tanedo used a picture: All three ...
2
votes
0answers
68 views

Beamer with xltxtra: colliding characters in equation

I'm typesetting beamer with XeLaTeX. In equations, variable characters collide with their superscripts. Also, the parenthesised variable looks somewhat off-set – too far to the right. It looks good ...
3
votes
1answer
81 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, ...
1
vote
2answers
87 views

Fixing overlap between parenthesis and integral limit

I'm using the following snippet widely in one of my articles: \begin{equation} \left(\int\limits_{U_{s}}f(x)dx\right)^{2} \end{equation} As you can see, there's a small overlap that is slightly ...
5
votes
1answer
118 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 ...
1
vote
0answers
77 views

Generating ligature from the encoding file

I have an encoding file with some tex encoding, I have to use the ligature and kerning instruction for the encoding to make a replacement two char into a single ligature. It looks like the following: ...
1
vote
0answers
87 views

How to kern small caps with italics or regular characters?

Theoretical question Why are small caps and italics of the same typeface treated as if they were absolutely different (and, as a consequence, they aren't properly kerned)? I know no —so to speak— ...
13
votes
1answer
271 views

Disabling ligatures also disables kerning

I am using Adobe Minion Pro (mostly because of its maths support), but I don't want to use the 'Th' ligature. This decision is based on guidance from Bringhurst's Elements of Typographic Style. I ...
4
votes
1answer
179 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 ...
19
votes
1answer
625 views

Can one change the (ugly) MinionPro apostrophe kerning value with a macro?

If we compare these three text lines Linné's naming scheme. {Linné'}s naming scheme. {{Linné}'}s naming scheme. typeset them in MinionPro, and look at the final pdf we note that only the last ...