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

1
vote
2answers
59 views

Newcommand with spaces after each letter [duplicate]

How can I make a command \headline{COURSE PROJECT} that would result in \textbf{C\,O\,U\,R\,S\,E\;P\,R\,O\,J\,E\,C\,T}
5
votes
2answers
124 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 = ...
3
votes
2answers
63 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}% ...
3
votes
1answer
70 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 ...
2
votes
1answer
70 views

Add one space before each English word after Chinese characters [closed]

I often mix English words in my Chinese texts. When doing that, I want to add a space before the English words. For example: XXXX wwwww wwwww wwwww XXXX * where X's are Chinese characters and ...
0
votes
0answers
11 views

Make listing look normal (ttfamily and character spacing) [duplicate]

listings seems to like protrude characters. Every time I see that I have this strange urge of killing a kitten. How can I get rid of it? \documentclass{article} \parindent0pt ...
6
votes
2answers
197 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 ...
2
votes
1answer
155 views

Cover letter with Sender and Recipient on the left-hand-side

I would like to use the documentclass letter but only moving the sender -field to the left-hand-side. Minimal example from here: \documentclass{letter} \usepackage{hyperref} \signature{Joe Bloggs} ...
0
votes
0answers
37 views

sig-alternate.cls generates too much space at page bottom

I am using the ACM tex template sig-alternate.cls downloaded from this page, Option 2: LaTeX2e - Tighter Alternate style. This page provides the minimum working environment, including files in the ...
3
votes
2answers
67 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} ...
10
votes
1answer
178 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} ...
7
votes
1answer
129 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: ...
0
votes
0answers
157 views

Letterspaced small caps (ssc) for Minion Pro OpenType with XeLaTeX

I've installed both the Type 1 and the OpenType versions of the Minion Pro font on my TeX Live 2014 (the former through the FontPro scripts), and the TeX programs are able to properly use them. The ...
2
votes
1answer
251 views

Zero space between characters, decibel sign

My MWE, \documentclass[a4paper,11pt]{scrbook} \usepackage[T1]{fontenc} \begin{document} dB \end{document} output, But I want zero (maybe negative) space between d and B. That is I didn't find ...
2
votes
1answer
85 views

Separation between paragraphs on formal Letters

I want to create a formal letter in which I have to add a separator between paragraphs, just as the ones in the picture Is there a way to create a this but not by typing each asterisk below the ...
6
votes
1answer
103 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 ...
3
votes
1answer
874 views

change spacedallcaps and spacedlowsmallcaps to something like spacedsmallcaps (classicthesis)

Instead of \spacedallcaps and \spacedlowsmallcaps would like to have big and small capitals (like \scshape) but keep the definitions for space between the letters, size, colour, ... With ...
17
votes
1answer
214 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 ...
5
votes
1answer
178 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 ...
6
votes
1answer
165 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. ...
2
votes
3answers
230 views

How to force text condensation

I have a title, that's written in font family with no condensed face. But I still want to bring letters closer to each other due to typographical reason. I find couple of ways to change ...
3
votes
3answers
255 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 ...
1
vote
1answer
57 views

Stretching text within a certain size box

I would like to stretch some text within a certain size box, say two inches (I'm not sure yet how large I want the box to be). I came across this example to stretch text across the entire page: ...
4
votes
1answer
177 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 ...
2
votes
1answer
60 views

Addition in Columns with proper character spacing

I want to perform addition in columns with both letters and digits in LaTeX. I have the following code, but spacing between letters and digits is wrong: $\begin{array}{r} + \begin{array}{r} $ABC$\\ ...
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
388 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 ...
1
vote
1answer
111 views

Soul letterspacing in memoir sections with \setsecheadstyle

I realize I have asked almost the same question earlier. There, the answer involved xparse or titlesec. Titlesec however gets into conflicts with memoir's pagestyles (running header settings, ...
5
votes
2answers
374 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 ...
4
votes
1answer
116 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 ...
5
votes
2answers
285 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} ...
6
votes
1answer
162 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} ...
8
votes
2answers
148 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
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 ...
3
votes
0answers
134 views

Adjusting letterspacing in ConTeXt [closed]

I need to adjust the letterspacing of the font I'm using. I'm currently using the font like this: \usemodule[simplefonts] \definefontfeature[default][default][protrusion=quality,expansion=quality] ...
18
votes
1answer
832 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 ...
5
votes
2answers
734 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!} ...
2
votes
1answer
196 views

CJK spacing suddenly no longer works

I have been using CJK script in my documents successfully for some time, but today it suddenly stopped working properly. I did update some packages through TeX Live today, and recently I reinstalled a ...
6
votes
2answers
559 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
1answer
1k 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?
2
votes
2answers
632 views

italic correction in math mode

I use txfonts and \texttt in italics in math mode, but the letters' italic correction is not working: an italic/"TT" letter "d" adjacent to a closing parenthesis touches it. Here is minimal sample ...
19
votes
2answers
564 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 ...
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} ...
5
votes
1answer
1k 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 ...
3
votes
1answer
174 views

Switching text case with package collcell

I would like to use the package collcell to change the case of every string in a column of a tabuenvironment. I know there are workarounds to do this without resorting to the package, but none of ...
5
votes
1answer
320 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 ...
18
votes
2answers
10k 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 ...
3
votes
4answers
693 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 ...
14
votes
2answers
238 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 ...
6
votes
1answer
707 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 ...