Skip to main content

Questions tagged [kerning]

{kerning} is the process of adjusting the spacing between characters in a proportional font, usually to achieve a visually pleasing result.

189 votes
11 answers
79k 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 ...
Little Bobby Tables's user avatar
71 votes
2 answers
1k 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 $v\...
Hendrik Vogt's user avatar
  • 38.1k
65 votes
6 answers
247k 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 ...
tel's user avatar
  • 779
53 votes
2 answers
3k 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 ...
Todd Lehman's user avatar
44 votes
2 answers
4k 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 footnote ...
Christian's user avatar
  • 19.5k
43 votes
8 answers
2k views

A ligature for she/he

A Compulsory Edit : I'm using this "s/he" thing quite a few times in the thesis. I've noticed that ⚧ (transgender unicode symbol) is even in the Unicode list, so I thought this might be a nice ...
percusse's user avatar
  • 158k
43 votes
2 answers
15k 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 little ...
Christian's user avatar
  • 19.5k
41 votes
3 answers
9k views

Is there a way to adjust kerning for a specific character combination?

Is it possible to tell (La)TeX to adjust the kerning of a specific character combination? For example, suppose I want !! to be typeset as !\kern 1.2pt!, just like ff is automatically turned into a ...
Mark Lodato's user avatar
36 votes
1 answer
12k 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 ...
Raphael's user avatar
  • 6,023
30 votes
2 answers
4k 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; e....
Will Robertson's user avatar
30 votes
0 answers
570 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 ...
Brent.Longborough's user avatar
28 votes
4 answers
2k views

Kerning between bold and non-bold text

I'd like to write a word in bold followed by a comma and a non-bold word, like this: \textbf{why}, blah If I just write why, TeX inserts a kern to shift the comma a little closer to the "y". But ...
Wyzard's user avatar
  • 575
27 votes
2 answers
2k 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 while other fonts don't. In that case microtype applies "Default"...
user12711's user avatar
  • 2,773
25 votes
1 answer
596 views

Differences regarding kerning and ligaturing when using the MacTex2013 and MacTeX2014 versions of LuaLaTeX with .ttc fonts

This posting is a follow-up to the postings Can't generate ligatures with LuaLaTeX under MacTeX2014 and MacTeX2015 when using certain fonts and LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on ...
Mico's user avatar
  • 515k
21 votes
1 answer
1k 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 ...
user avatar

15 30 50 per page
1
2 3 4 5
28