Questions tagged [kerning]
{kerning} is the process of adjusting the spacing between characters in a proportional font, usually to achieve a visually pleasing result.
373
questions
19
votes
1
answer
958
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 ...
6
votes
1
answer
2k
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 ...
10
votes
1
answer
1k
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 10000mu.\...
4
votes
5
answers
1k
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
2
answers
1k
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 into ...
5
votes
2
answers
3k
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}
\begin{...
27
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 ...
8
votes
2
answers
3k
views
Capital letter expanded letter space kerning
I am using the following code
\usepackage{microtype,textcase}
\textls*[110]{\textbf{\MakeUppercase{Specialties}}}
I would like to achieve even letter spacing. Unfortunately, the kerning of the "ALT"...
6
votes
1
answer
1k
views
LaTeX fonts with proper kerning for characters with diacritics
Could you please recommend me fonts working with LaTeX that I can use to typeset text in e.g. Central European languages, with proper kerning?
I am experiencing problems especially with pairs like ťa,...
13
votes
1
answer
4k
views
The kerning option of microtype
I wonder what the kerning option of the microtype package does? In the manual it says that kerning=true will give additional kerning. But how? Is this something that has to be specified in addition to ...
9
votes
2
answers
2k
views
Make apostrophe closer to letter
I am using the lettrine package to typeset capitals. When there is an apostrophe with a capital L, the spaces look quite ugly. I would like to achieve something like the following:
I've already set ...
1
vote
1
answer
1k
views
Overlaying two symbols
I use LyX, so a lot of the working is hidden from me.
I want to overlay the symbols \star and \bigcircle.
How do I do this?
I know it can be done, ad there is the \not, which works like that
2
votes
1
answer
244
views
Colorization and kerning problem with inline lists
The problem is as follows: I need to set an inline list with colored lowercase letters surrounded by black brackets. This is not so hard to achieve, but the problem is that kerning is lost in the ...
5
votes
2
answers
2k
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. ...
8
votes
1
answer
780
views
Fix math mode kerning of "C"
I am trying to set a sequence of atom packing symbols. I want to use math mode italics for this, as I think that their width fits this purpose.
The problem is that the C has a bad kerning for this. ...
6
votes
2
answers
275
views
Charclass/Interchartokes for Umlauts and „“
How can I define a charclass for umlauts, german quotes „“ (and other special characters which are not A–Z/a–z)?
I’d like to use this for extra kerning in some cases.
\documentclass{minimal}
\...
7
votes
1
answer
519
views
Kerning between 'V' and '.'
The canonical font used in LaTeX does not seem to implement any special kerning between letters and dots, possibly resulting in too much space (say, for the combinations "V." or "T.") in my opinion.
...
4
votes
1
answer
2k
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 ...
41
votes
3
answers
8k
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 ...
14
votes
1
answer
12k
views
Using listing for displaying Matlab code
I'm trying to display matlab code in a LaTeX document and the comments are typeset with an ugly space between letters:
\documentclass{article}
\usepackage{listings}
\lstset{language=Matlab}
\lstset{...
180
votes
11
answers
70k
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 ...
30
votes
2
answers
3k
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....
14
votes
1
answer
3k
views
Margin kerning in Xe(La)TeX for TeXlive 2010: how to enable?
I'm using the pre-release testing version of TeXlive 2010. From what I understand from the TeXlive Guide, a new feature is that support for magin kerning has been added to XeTeX.
From what I can tell,...