Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [letterspacing]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Overlapping letters

As I wrote in the title, I have a problem with two overlapping letters. Namely, I have to write the word flop but when I write it latex overlaps the f and the l: Is there a way to prevent this ...
user avatar
  • 101
2 votes
1 answer
70 views

Workaround for XeTeX commands of Awami Nastaliq/Graphite in LuaTeX

My switch from XeTeX to LuaTex for Urdu publishing (Texlive 2022) has overall been a good experience. As a user of the excellent font Awami Nastaliq with Graphite, I had qualms. However, no worries. ...
user avatar
  • 163
2 votes
1 answer
35 views

Enforce subscript with same compactness with different letter/glyph heights

I have the following: The sentence goes like $A_{\mathrm{row}}^\beta$ and $A_{\mathrm{col}}^\beta$, bloop! And the result looks like this: Because col has the letter l, the subscript gets some ...
user avatar
  • 131
2 votes
2 answers
113 views

l e t t e r s p a c i n g with soul/soulutf8

I use l e t t e r s p a c i n g provided by soul/soulutf8 to emphasize words. But If I try to copy a spaced word from the pdf-file, then I get "w o r d" instead of "word". Also ...
user avatar
1 vote
1 answer
63 views

How can I detect line wraps in XeLaTeX and change letter spacing accordingly?

I need to typeset a lot of short "phrases" (consisting of several words) strictly in one-line format (i.e., one "phrase" per line). I am also using fontspec under XeLaTeX to extend ...
user avatar
4 votes
0 answers
109 views

What exactly do letterspace change?

All major engines (pdfTeX, XeTeX, and LuaTeX) support letterspacing, except the original TeX of course. LaTeX users can access letterspacing via higher interface. For example, the microtype package (...
user avatar
  • 9,268
3 votes
1 answer
124 views

Error with lualatex in TeX Live 2021 when using LetterSpace feature in combination with \emph and -

The following example compiles on a TeX Live 2020 system (This is LuaHBTeX, Version 1.12.0 (TeX Live 2020)), but fails on a most recent TeX Live 2021 (This is LuaHBTeX, Version 1.13.2 (TeX Live 2021) ...
user avatar
  • 909
2 votes
1 answer
35 views

Line-width distributed letter-spacing with \newcommand macros

I am using the soul package to produce "distributed" text. That is, text that is automatically spaced such that it fills the entire line. This works great, but now what I want to do is use a ...
user avatar
2 votes
2 answers
228 views

Avoid line stretching automatically

I would like to avoid at all cost line stretching, without forcing it manually. I will provide you with an example to clarify what I mean. Here it is the code: \documentclass{article} \begin{...
user avatar
  • 568
2 votes
0 answers
75 views

How can I change tracking (letter spacing) for unicode-math with LuaLaTeX?

I'm using a text font for math with unicode-math. I tried setting the math font with option LetterSpace, but unicode-math doesn't care about font feature settings of text fonts... \documentclass{...
user avatar
  • 371
4 votes
1 answer
65 views

Automatically formating all-caps passages with lualatex

I want to apply specific formatting to all all-caps passages in a longer text, specifically tracking/letterspacing using fontspec's mechanism, so it can be adjusted for different font-styles. I have a ...
user avatar
  • 2,817
1 vote
0 answers
55 views

Tracking (microtype) causes different results within \makebox

Why is the tracking for small caps text different in \makebox and how can I get an equal result? % !TeX TS-program = lualatex \documentclass{book} \usepackage{fontspec} \usepackage[% tracking=...
user avatar
  • 909
3 votes
1 answer
35 views

Why are xlop commands producing horizontally smashed output when using \RequirePackage{xlop} in a custom document class?

test.tex: \documentclass{testclass} \begin{document} Some text. \opadd{34}{45} \end{document} testclass.cls: \ProvidesClass{testclass} \RequirePackage{xlop} \LoadClass{article} is producing: ...
user avatar
2 votes
1 answer
68 views

Cursive letter and spaces between lines

I am using cursive letter with lined page. However, the lined style appear only the first page. My questions are: how can I insert lined rules on all pages? When I insert enumerate environment, the ...
user avatar
1 vote
1 answer
126 views

ConTeXt: Letterspacing in style alternative

I want to create a new style alternative, which would allow me to change the text and font (to uppercase bold in this example) while also increasing the letterspacing. However, trying to do this leads ...
user avatar
0 votes
1 answer
89 views

\textls letterspacing and parbox

I have a hack for fitting as much text as possible in a 2-line parbox using \textls (microtype package). Here is the code: \documentclass{article} \usepackage[latin1]{inputenc} \usepackage[cyr]{...
user avatar
1 vote
1 answer
140 views

decrease monotype letter spacing in lstlisting

I'm using listings to display code in my document and tgheros font. How can I decrease the monotype letter spacing for code listings? % in my preamble \usepackage{listings} \usepackage{tgheros} % ...
user avatar
1 vote
2 answers
386 views

underfull hbox (badness 10000) warning and line breakage inside algorithm in two column page

I am trying to create a pseudocode for algorithm in a two column page but I am getting this warning of underfull hbox (badness 10000). Moreover, my lines are either getting broken with wide spacing ...
user avatar
  • 225
0 votes
1 answer
38 views

Latex nomenclature - unwanted space between some letters?

I have a problem with the \nomenclature in Latex. In two cases (strangely when I use the word 'Effect'), the spacing between the first three letters in the description appears to be larger (please see ...
user avatar
  • 3
1 vote
1 answer
41 views

Babel seems to break letterspacing of soul package

This is a MWE of a book I'm working on. \documentclass[10pt,twoside]{book} % \usepackage[ngerman]{babel} \usepackage{blindtext} \usepackage{soul} \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{...
user avatar
  • 1,638
2 votes
1 answer
92 views

How to get a shorter hyphen in text mode?

I'm creating a title page with large fonts, in French, and I really hate the usual hyphen for such a big title. So I'm looking for a shorter hyphen, something elegant and simple. Here's a MWE ...
user avatar
  • 2,024
0 votes
1 answer
128 views

I cannot change LetterSpacing when using a newfontfamily with lualatex

I'm using Montserrat as a custom font for my latex document and I would like to change the font weight and letter spacing for my text. I've figured out how to change the font weight and change the ...
user avatar
  • 13
1 vote
1 answer
66 views

How to fit parentheses (Guillemets) into a single line in LaTeX

I'm looking for a way to process parentheses so that they don't come at the end or beginning of a line. The typography of parentheses in French (« ») doesn't like to isolate either of the parentheses ...
user avatar
2 votes
2 answers
67 views

Spread letters along a certain distance

I'm aware of \makebox[*length*][s]{t e x t}, but I have to put spaces between each character. If I have a pretty long text it feels uncomfortable. I've seen this answer by egreg and it works almost ...
user avatar
  • 1,775
1 vote
1 answer
207 views

letterspace does not work with XeTeX

I'm trying to recreate a document. While i have the font that was used, the kerning comes out a little different from what it is in the original (which was created using some DTP program i do not own)....
user avatar
  • 247
0 votes
0 answers
87 views

Why doesn't microtype increase tracking for non-small caps?

Originally, I faced the following problem: In my document, I have lots of products with each of the factors having lots of sub- and superscripts attached, so I wondered whether spacing out the factors ...
user avatar
  • 1,486
6 votes
3 answers
214 views

How to spread out the letters a little bit when using text decoration?

The default text-decoration letters look a little bit squished together: I can manually make them the way I want by changing gather to g{\kern1pt a}{\kern1pt t}{\kern1pt h}{\kern1pt e}{\kern1pt r}{} ...
user avatar
  • 2,512
3 votes
2 answers
476 views

Is there a way to get wider spacing between the letters?

I need to achieve something like this. I think using \hspace between each letter is not the best way, is there an alternative solution?
user avatar
4 votes
0 answers
100 views

Fontspec shifts some diacritics marks when LetterSpacing

The fontspec feature LetterSpacing does not give the same result with a letter typed in ASCII form (e.g. \^E ) that when it is typed in UTF-8 form (e.g. Ê). The log file of the joined ECM shows that ...
user avatar
0 votes
0 answers
68 views

How can I make my LaTeX text look like Knuth's CWEB text?

I think this font is cmr, but what about the spacing?
user avatar
0 votes
0 answers
21 views

latexmk generates oddly spaced letters

In the following text the words sich and kostenlose have oddly spaced letters in them, specifically i, c and e. How can I fix this? I am using latexmk version 4.61 and MiKTeX. Here is my working ...
user avatar
  • 101
1 vote
1 answer
136 views

Math kerning for entire document

My question today is: How can I adjust the kerning for the math environment of the entire document? I am aware of the typical ways to add space, including \, etc., but I was hoping to make the spaces ...
user avatar
  • 21
0 votes
0 answers
166 views

Should "font tuning" of IEEEtran be disabled when using the microtype package with the IEEEtran class?

According to the documentation of the IEEEtran class, IEEEtran normally alters the default interword spacing to be like that used in IEEE publications. The result is text that requires less ...
user avatar
3 votes
1 answer
94 views

Spacing of ordinary atoms in mathmode

Is there a way to generically enlarge the spacing between simple symbols in mathmode (not asking for spacing around operators nor for individually applying commands such as \! for each whitespace)? ...
user avatar
  • 183
1 vote
0 answers
82 views

How to avoid large spacing within a document in latex

How to avoid the extra spaces in latex document, here i am facing the spacing from . to Kadokave, i am writing a large number of such texts assuming it may happen in some other lines also. Here is my ...
user avatar
  • 3,225
2 votes
1 answer
166 views

Automatic letter spacing in narrow columns

Is there any possibility how to automatically stretch letter spaces in narrow columns to get fully justified text like that in the middle? Picture below is from soul package manual. Here is my ...
user avatar
  • 539
1 vote
1 answer
90 views

Writing Nukleotide motifs

Is there a way to write nukleotide motifs like the one in the picture? There are 4 letters and each is color coded. If there are multiple options for one position all options are written underneath ...
user avatar
  • 386
14 votes
1 answer
1k views

Unclarities about Microtype's default options

I delved deeper into the details of the microtype package to get the best results and perhaps not the safest results. Four things are still unclear after reading the manual, hence a post here. (1) ...
user avatar
  • 357
0 votes
1 answer
2k views

Bibliography appearing twice in Table of Contents

I have two issues in my Table of Contents. Bibliography appearing twice in Table of Contents Title of Table of Content has improper spacing Latex below: 1. For Bibliography \phantomsection \...
user avatar
1 vote
2 answers
79 views

how to give track value (letter spacing between characters) in folios

My requirement is, need to give positive track (i.e., increase letterspacing between characters) in running heads and folios (page numbers), for this I'm using the below code: \documentclass{book} \...
user avatar
  • 10.9k
7 votes
1 answer
24k views

Gradient symbols and letter f mtpro2

So I notice that the spacing between \nabla and f in math mode when using mtpro2 is really wide (for me, at least). Here is the result of typing \nabla f with mtpro2. I wonder if there is a way we ...
user avatar
  • 269
16 votes
1 answer
846 views

Why Does Word Spacing Change Drastically When Using Libertine/Libertinus with the Various LaTeX Engines?

I was just messing around in LaTeX with the libertine and libertinus packages, and noticed that switching from LaTeX to XeLaTex to LuaLaTeX all produced PDFs that were mostly the same length, except ...
user avatar
  • 163
1 vote
1 answer
765 views

If TeX / LaTeX modifies the spacing between individual letters

Wondering if there is any compression / expansion of the between-letter spacing done in TeX / LaTeX. In looking at the font specs, I noticed they only have 2 horizontal properties: advance width and ...
user avatar
  • 1,687
0 votes
1 answer
2k views

Reduce vertical space above recipient name & address in moderncv cover letter

I am using moderncv, classic style, with the picture & my info on the right. In the cover letter, I want to reduce the vertical space above the recipient name/address (labelled 'A' in the pic) ...
user avatar
3 votes
1 answer
377 views

Unwanted spaces between characters in math mode

When typesetting $INDEX^{LOYALTY}$ in math mode, I realize that it creates a space in between Character Y and A. I just wonder if there is any way to remove this unwanted gap. My code is as follows: ...
user avatar
1 vote
3 answers
118 views

How can I prevent insufficient spacing between a letter with a bar and a calligraphic letter in superscript

When using a bar over a letter in math mode and then having certain calligraphic letters in superscript, the letters overlap with the bar or are at least very close to the letter with the bar. This ...
user avatar
  • 731
0 votes
1 answer
229 views

Change Letter Spacing for equal word length

I'm trying to write a list of word. More precisely a table of 6x50 words. The words are different are are compose by 3 to 6 letters. Thus teire are differente length. But I need to equalize length of ...
user avatar
2 votes
2 answers
231 views

Letterspaced texttyper text with identical width for inter-word spaces

I like to use LaTeX to place some text on top of an existing PDF form, so I don't have to fill it out by hand. For this I'm using microtypes letterspacing feature to stretch the upper-case text across ...
user avatar
4 votes
2 answers
2k views

Modify letterspacing in \chapter, \section etc

I try to create a design similar to this one: As you can see, the space between each letter is a bit longer than by default, which is great when typesetting something in capitals. I saw the following ...
user avatar
  • 711
3 votes
0 answers
166 views

Word spacing with tracking in lualatex

What is the right way to do tracking in LuaLaTeX at the moment? My problem is basically the same as in the older question Problem with interword spacing in LuaLaTeX. However, the answer given by ...
user avatar
  • 181