Letterspacing, or tracking, is the uniform adjustment of the space between letters of a font. Not to be confused with kerning.

learn more… | top users | synonyms

21
votes
2answers
13k views

Enlarging tracking (= letter spacing)

I am trying to enlarge letter spacing. I have already tried soul package, but it seems it can enlarge only for a single phrase and i would like to enlarge for entire document. Soul command was ...
19
votes
2answers
586 views

Too much space before digit “1”

In many fonts, the digit 1 contains a lot of empty space on its left side. Maybe this is desirable inside a number like 512, but it looks wrong to me when the 1 appears at the beginning of a word, as ...
18
votes
1answer
298 views

Microtype gives wrong letterspacing in math mode

Using the \lsstyle command gives wrong math latterspacing afterwards. I came upon this problem when using the classicthesis and putting math in a section (microtype is used there too). After the ...
18
votes
1answer
906 views

Letterspacing/font expansion in LuaLaTeX

I am a few months into learning LaTeX. I would like to use microtype with LuaLaTeX and I would like to obtain letter spacing for my smallcaps. I've tried to follow some of the threads on the subject ...
15
votes
3answers
1k views

How can I get Sperrsatz?

Sperrsatz is a special kind of emphasis often used in combination with blackletter fonts. A word in Sperrsatz has 0.125 em spaces between its characters, but some ligatures are preserved. For example: ...
14
votes
2answers
246 views

How do I get microtype's “outer spacing” to work with the xspace package?

Microtype adds extra space to the start and end of letterspaced text, configured via the \SetTracking command's "outer spacing" option. Unfortunately, xspace breaks this. For example, I define a few ...
12
votes
5answers
10k views

fully stretch text horizontally on page

Is there a way to fully stretch one line of text on the full width of the page, without manually setting the letter spacing, no matter how many characters on the line?
12
votes
3answers
6k views

Making text narrow

I'm using \textlsfrom the microtype package to increase space between letters, but I can't find a command that will make a text look narrow (or maybe a very narrow serif font?). What is the best way ...
10
votes
1answer
347 views

Letterspacing via microtype vs fontspec (in LuaLaTeX)

I've just realised that I can get somewhat similar letterspacing effects using either the microtype or fontspec packages; for example: \documentclass{article} \usepackage{fontspec} ...
9
votes
3answers
2k views

Letterspacing, Minion Pro, and Tufte-LaTeX (problem with running header)

I'm trying to use Minion Pro with the Tufte-LaTeX class. Basically, I've got it working, but I have a problem with letterspacing the small caps for the running header. Rather than appearing in small ...
8
votes
2answers
171 views

Letter with ' (and correct spacing)

I am struggling with a problem I can't even name properly: I'm writing an article about an object A as well as its slightly different variant A'. I am wondering what character/symbol and/or spacing ...
7
votes
2answers
748 views

Keeping the distance between mathematical symbols consistent?

In order to make text flushed both left and right, latex adjusts the distance between words, and to a lesser extent, the distance between characters within a word. This is good, however it also ...
7
votes
2answers
226 views

Artificially improving default TeX algo results for balancing interword spacing

I'm trying to build rectangular paragraphs. That is, paragraphs which are both left as well as right aligned. For large paragraphs I can tell TeX I'd like a rectangular end result. Consider the below ...
7
votes
2answers
1k views

The caption package and letterspacing

Problem Statement I adjusted the caption format for my figures and tables using the caption package, such that the words "Figure" and "Table" are typeset using small caps. Now I want to obtain ...
7
votes
1answer
182 views

What's up with the spacing between letters inside $…$?

When I write $VSS$ in my LaTeX studio, it behaves it as if there is a space between V and S (i.e. V SS). Is there a way to fix this? I tried \scalebox{.85}[1.0]{$VSS$}, but it did not work well. ...
7
votes
1answer
2k views

XeLaTeX: Space between letters

I use XeLaTeX. I need that words look stretched in some places in the document. How I can configure the space between letters in a word?
7
votes
1answer
207 views

XeLaTeX: Letterspacing with swashes

I'm trying to use XeLaTeX to typeset a word in EB Garamond, and I want only two of the letters in the word to have swashes. However, the swashed characters screw up the letterspacing: ...
7
votes
2answers
949 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 ...
7
votes
2answers
115 views

How to use inter letter space for justified alignment?

I have a long sanskrit compound taking up almost a line, but leaving a small space at the right margin empty, too small for the first syllable of the next word, thus breaking the justified alignment. ...
6
votes
2answers
540 views

letterspacing italic small caps automatically

The MinionPro-It.otf file I am using contains italic small caps, confirmed with otfinfo -f MinionPro-It.otf and cfftot1 MinionPro-It.otf | t1testpage | epstopdf --filter > MinionPro-It.pdf. The ...
6
votes
2answers
120 views

Decrease symbol's box without changing its graphical view

I need to make symbols borders tighter and closer to each other. But I don't want to make symbol smaller or taller with \scalebox{}[]. For example: It must be looking like A, but the next symbol ...
6
votes
3answers
260 views

Microtype's tracking feature works with some fonts, not others

In the code below, tracking works with the libertine font, but not with the Alegreya font. Why is this, and how can I fix it? \documentclass{article} \usepackage[tracking = true, letterspace = ...
6
votes
1answer
279 views

Write a letter in LaTex

I'm new to LaTeX and I'm trying to write the letter in attachment. Even if it is so simple, it's driving me crazy. I'm not able to put the logo only in the first page and not in the others, trying not ...
6
votes
3answers
1k views

Center-justify with hrule above and below

On my title page, I have something like this: \rule{\linewidth}{0.25mm}\\[0.25cm] \huge \textbf{This is my title, it is somewhat long and split over two lines!}\\[0.25cm] \normalsize ...
6
votes
2answers
112 views

Set tracking for small caps selected by \scshape

If a font family doesn't have a bold font, it makes sense to me to use small caps instead. But when I redefine \bfseries to mean \scshape, there's no tracking in those small caps. How can I set that? ...
6
votes
1answer
200 views

How to determine width of \textls? \settowidth doesn't work

Using microtype's \textls, how can I determine the width of the resulting text? Here is a MWE that does not work: \documentclass{article} \usepackage[log-functions=false]{expl3} ...
6
votes
1answer
136 views

ragged2e breaks soul package \textbf{} spacing

If you compile the XeLaTeX below you will see the output is not-as-expected for the bold part of the text i.e. it is: underline underline boldboldbold In other words the spacing of the bold elements ...
6
votes
1answer
751 views

Letterspacing titles with LuaLaTeX

I'm using LuaLaTeX to write my thesis and I've been learning about typography thanks to Robert Bringhurst's "The elements of typographic style". Problem is I can't replicate the letterspacing used in ...
5
votes
2answers
201 views

How to make two signs closer?

I use frequently combination of these two sings · (used for word division) | (used to show where endings join the word) For example it frequently appears this combination ··| (·· main division + | ...
5
votes
1answer
2k views

New command for spacing letters in microtype

How can i make a new command that increases the space in between the letters. I do not want to use the already existing commands like \textsc, \Large or \footnotesize; and if it's possible I prefer a ...
5
votes
3answers
554 views

Why is the space between words in my source code listing so big?

I used the following code to list my java code, but the it looks like there's too much space between words. What can I do? % source code listing \usepackage{listings} \usepackage{color} ...
5
votes
1answer
382 views

Switching a string in a token register to lowercase and processing via the package soul

I would like to store a string in a token register, transform it to all-lowercase, and process the resulting string via the macro \caps provided by the package soul. That is to say, transform the ...
5
votes
2answers
857 views

Weird spacing with DejaVu Sans Mono with MiKTeX's XeLaTeX

\documentclass{article} \usepackage{fontspec} \setmainfont{DejaVu Serif} \setsansfont{DejaVu Sans} \setmonofont{DejaVu Sans Mono} \begin{document} Hello World! \textsf{Hello World!} ...
5
votes
1answer
245 views

Change document-wide interletter, interword and interline spacing

According to the 2012 paper Extra-large letter spacing improves reading in dyslexia, some spacing adjustments could make reading easier for dyslexic people, namely Add 2.5pt to interletter space 3 ...
5
votes
0answers
31 views

How can I replicate verbatim's letter spacing in listings? [duplicate]

I was trying to imitate the code listings in the book Mathematical Recipes in C, I understand that it uses the CM TT font. What I am interested is in the proportion between the text and the code, and ...
4
votes
4answers
412 views

Prevent LaTeX from Preventing Hyphenation

So I know that a common technique in typography to avoid hyphens at a line break is to adjust the spacing of words and letters slightly. I was not aware of LaTeX doing this until today, but now it is ...
4
votes
3answers
292 views

Can I uniformly stretch a sentence that nearly fills a line - to fill the line?

Is there a "sentence stretch" that acts horizontally in a similar way as \setstretch acts vertically?
4
votes
1answer
1k views

Using microtype letterspacing with LuaTeX, Version beta-0.70.2-2012062812

Does the letterspacing (and tracking) options of microtype not work with the latest version of LuaTeX? When I try: \documentclass{article} \usepackage[no-math]{fontspec} ...
4
votes
1answer
182 views

Make carriage return a blank symbol

I would like that the two following code become equivalent: Code 1 (Prints "a b") \documentclass{report} \begin{document} a b \end{document} Code 2 (Prints "ab") \documentclass{report} ...
4
votes
1answer
155 views

Bad horizontal spacing when using the fourier/utopia font

Consider the following MWE: \documentclass{article} \usepackage{fourier} \begin{document} If \(0<b<1\). \emph{If \(0<b<1\)}. \emph{If 0<b<1} \end{document} that yields the ...
4
votes
2answers
26 views

Automatically adding spaces (tracking) between letters in math mode?

A tool that I have no control over produces the following output: \[\mForall{v1 v2 v3 : \mNat{} \mPlus{} \mQuot{}}{a \mLt{} b \mAnd{} b \mLt{} c \mImpl{} a \mLt{} c}\] All that I can do is redefine ...
4
votes
2answers
150 views

Sentences alignment error with the lettrine package

I want to align the two starting words in two sentences with each other ('ROM' in the first line with 'may' in the second line) How could I do that? Here is the working code: \usepackage{lettrine} ...
4
votes
1answer
476 views

Letterspacing memoir section headers

I'd like to add letterspacing to the \section commands with \setsecheadstyle in a memoir book. I tried using soul: \sodef\soSection{}{.1em}{.5em plus.1em}{.1em plus.1em minus.1em} ...
4
votes
2answers
119 views

Adjust custom made upright greek letters when used in subscripts

I really like how Steven is generating upright greek letters in his answer: \documentclass[a4paper]{article} \newsavebox{\foobox} \newcommand{\slantbox}[2][0]{\mbox{% \sbox{\foobox}{#2}% ...
4
votes
1answer
222 views

Using letterspacing for better justification

According to R. Bringhurst's "The Elements of Typographic Style" (version 3.1, 2004, pp. 190-192), the best justification is achieved by a combination of three methods: flexibly altering the space ...
4
votes
0answers
68 views

Dealing with slightly overfull \hbox's

Generally, how do you deal with lines that are slightly overhung, when microtypography is already enabled, and there's no way of hyphenating the hanging word and no desire to put it on the next line, ...
3
votes
4answers
835 views

Disabling interword spacing for periods following capital letters

By default, LaTex inserts a longer, intersentence space after a period. The exception is if the period follows a capital letter, in which case an interword space is assumed. This thread describes ...
3
votes
3answers
294 views

How to improve this text highlighting?

I want to highlight some letters which represent an amino acid sequence of a protein using different colors. The below code works fine, but the highlighted box is not fitting exactly the letters, as ...
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
1answer
158 views

Letterspace all caps in document

How does one letterspace all uppercase letters in a document? I can achieve this for small caps with fontspec: \usepackage{fontspec} \setmainfont[SmallCapsFeatures = {LetterSpace = 7.5}]{Warnock ...