Skip to main content

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
-1 votes
1 answer
130 views

What's the default letter spacing, wrod spacing, and line spacing for LaTex?

I am trying to set up my markdown editor to export pdf similar to the style used in American Mathematics Society, just to make day to day writings look more formal, not for serious journal work. I am ...
Danny Wen's user avatar
  • 103
7 votes
2 answers
311 views

Ligatures are not preserved by \textls letter spacing

Example: \documentclass{article} \usepackage{microtype} \begin{document} fi \textls[1]{fi} \end{document} Output: Problem: the ligature is lost. How do I keep the ligature (preferably without ...
user202729's user avatar
  • 7,573
0 votes
0 answers
60 views

Illegal space in \url{} using xurl

I have a problem with the \url{} using \usepackage{xurl}. I'm using LuaLaTeX. In the case I set the font to italic there are illegal spaces after "f" and "V" sometimes. When it's ...
stbu's user avatar
  • 33
2 votes
1 answer
132 views

Letterspacing in lualatex doesn't work properly with Warnock Pro

Consider the following example set in Warnock Pro with lualatex: \documentclass{book} \usepackage{polyglossia} \setmainlanguage{russian} \setmainfont{Warnock Pro} \pagestyle{empty} \begin{document} ...
Vadim Radionov's user avatar
7 votes
3 answers
376 views

Increase letter spacing in plain TeX

I want to typeset the titles of the sections of my document in capitals, so I need to increase the spacing between the letters. I am currently using the following (ugly) trick \begingroup \catcode`/=...
user avatar
1 vote
1 answer
47 views

Letter spacing for multiple words with memoir?

I got letter spacing working but it doesn't work with spaces? How do I get it to recognize spaces? \documentclass{memoir} \usepackage{fontspec} \setmainfont{Times New Roman} \begin{document} \Large\...
buttonsrtoys's user avatar
5 votes
2 answers
187 views

Letterspace theorem head: “T h e o r e m 1” (perhaps with amsthm, textls)

I’m trying to reproduce some old typography (a German article from 1925). In particular, its theorem and proof heads are distinguished by increased letterspacing, as for “Satz 1” here: In text, this ...
Peter LeFanu Lumsdaine's user avatar
7 votes
2 answers
239 views

Force horizontal spacing for a character

How can I force the spacing of a character? I tried using a zero-width box, but its content gets shifted to the left (not sure why). \documentclass{minimal}\usepackage{fancyvrb}\textwidth=9cm \begin{...
Atcold's user avatar
  • 1,747
3 votes
3 answers
344 views

define \"{e} with a space

I often use the letter "ë". I shortly define it in LaTeX as \newcommand{\e}{\"{e}}. However, frequently a space is needed right after the letter and I put \; right after the \e. I ...
Emo's user avatar
  • 135
3 votes
1 answer
175 views

fontspec WordSpace Unclear

Page 27 of the fontspec package reads: The space in between words in a paragraph will be chosen automatically, and generally will not need to be adjusted. For those times when the precise details are ...
User23456234's user avatar
  • 1,886
0 votes
0 answers
28 views

Decrease distance between two letters [duplicate]

I would like to decrease the distance between two letters in a formula, namely $UA$. In the formula, it is written in italics causing some space between A and U, which I would like to have gone. Does ...
Schiweg's user avatar
  • 13
3 votes
2 answers
300 views

Spacing Between Capital Letters

Many typographic and latex enthusiasts recommend using increased letterspacing between capital letters. For example, in Practical Typography, Matthew Butterick recommends 5--12% increased spacing and ...
User23456234's user avatar
  • 1,886
4 votes
1 answer
292 views

Problems with Libertinus math fonts after upgrading TeX Live

I have recently upgraded TeX Live (Mactex) from 2020 to 2022 and I am having some problems with the Libertine Math Fonts. The pdf output below is what the two systems produce from the same source: \...
Daniel Plaumann's user avatar
4 votes
1 answer
237 views

How to limit scope of microtype's letterspacing command \textls to non-math environment?

Package microtype has the command \textls to manipulate letterspacing in an ad hoc manner. While its use is usually frowned upon by typographists, according to microtype's user manual (p 23 footnote), ...
Linear Christmas's user avatar
6 votes
4 answers
478 views

Adding two diacritical points under letters

I'm working on a glossary with some transliterated Persian, Urdu and Arabic. Conforming with earlier publications, I sometimes need to use two diacritical dots under letters such as s, z and t. I've ...
Parvana's user avatar
  • 107
0 votes
0 answers
210 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 ...
Edex's user avatar
  • 101
2 votes
1 answer
111 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. ...
dietz's user avatar
  • 163
2 votes
1 answer
36 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 ...
Jasper's user avatar
  • 131
2 votes
2 answers
332 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 ...
Anton Petrunin's user avatar
1 vote
1 answer
109 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 ...
Konstantin Avilov's user avatar
4 votes
0 answers
158 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 (...
Ruixi Zhang's user avatar
  • 9,613
3 votes
1 answer
219 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) ...
Martin's user avatar
  • 919
2 votes
1 answer
49 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 ...
Xophmeister's user avatar
2 votes
2 answers
1k 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{...
Lele99_DD's user avatar
  • 610
3 votes
0 answers
111 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{...
keth-tex's user avatar
  • 452
4 votes
1 answer
96 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 ...
Florian's user avatar
  • 2,919
1 vote
0 answers
70 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=...
Martin's user avatar
  • 919
3 votes
1 answer
47 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: ...
Mike Thielvoldt's user avatar
2 votes
1 answer
162 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 ...
Angelo Aliano Filho's user avatar
2 votes
1 answer
231 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 ...
Juraj Fiala's user avatar
1 vote
1 answer
208 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]{...
Sylvain Petitjean's user avatar
2 votes
1 answer
505 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} % ...
Hugo Trentesaux's user avatar
1 vote
2 answers
1k 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 ...
melatonin15's user avatar
0 votes
1 answer
106 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 ...
Fabian's user avatar
  • 3
1 vote
1 answer
60 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{...
Frunobulax's user avatar
  • 2,228
2 votes
1 answer
368 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 ...
Cham's user avatar
  • 2,328
0 votes
1 answer
236 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 ...
brw.064's user avatar
  • 13
1 vote
1 answer
120 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 ...
necotanouqui's user avatar
2 votes
2 answers
116 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 ...
antshar's user avatar
  • 4,632
1 vote
1 answer
698 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)....
bukwyrm's user avatar
  • 267
0 votes
0 answers
107 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 ...
Bubaya's user avatar
  • 2,549
7 votes
3 answers
279 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}{} ...
Jason S's user avatar
  • 2,880
3 votes
2 answers
3k 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?
Martyna Michalska's user avatar
4 votes
0 answers
129 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 ...
Jacques André's user avatar
0 votes
0 answers
94 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?
user199701's user avatar
0 votes
0 answers
23 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 ...
hm1912's user avatar
  • 101
1 vote
1 answer
281 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 ...
makala's user avatar
  • 31
1 vote
0 answers
307 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 ...
Dr Krishnakumar Gopalakrishnan's user avatar
3 votes
1 answer
138 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)? ...
dodi's user avatar
  • 183
1 vote
0 answers
110 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 ...
Biki Teron's user avatar
  • 3,285