Questions tagged [letterspacing]
Letterspacing, or tracking, is the uniform adjustment of the space between letters of a font. Not to be confused with kerning.
175
questions
6
votes
3
answers
320
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`/=...
1
vote
1
answer
43
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\...
5
votes
2
answers
176
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 ...
7
votes
2
answers
225
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{...
3
votes
3
answers
316
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 ...
3
votes
1
answer
125
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 ...
0
votes
0
answers
25
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 ...
3
votes
2
answers
196
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 ...
4
votes
0
answers
192
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:
\...
4
votes
1
answer
227
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), ...
6
votes
4
answers
446
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 ...
0
votes
0
answers
173
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 ...
2
votes
1
answer
100
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. ...
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 ...
2
votes
2
answers
263
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 ...
1
vote
1
answer
99
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 ...
4
votes
0
answers
146
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 (...
3
votes
1
answer
212
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) ...
2
votes
1
answer
44
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 ...
2
votes
2
answers
797
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{...
2
votes
0
answers
104
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{...
4
votes
1
answer
91
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 ...
1
vote
0
answers
69
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=...
3
votes
1
answer
44
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:
...
2
votes
1
answer
140
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 ...
1
vote
1
answer
205
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 ...
0
votes
1
answer
167
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]{...
2
votes
1
answer
376
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}
% ...
1
vote
2
answers
875
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 ...
0
votes
1
answer
85
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 ...
2
votes
1
answer
55
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{...
2
votes
1
answer
219
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 ...
0
votes
1
answer
222
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 ...
1
vote
1
answer
111
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 ...
2
votes
2
answers
96
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 ...
1
vote
1
answer
537
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)....
0
votes
0
answers
102
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 ...
7
votes
3
answers
265
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}{}
...
3
votes
2
answers
2k
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?
4
votes
0
answers
127
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 ...
0
votes
0
answers
86
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?
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 ...
1
vote
1
answer
244
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 ...
0
votes
0
answers
251
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 ...
3
votes
1
answer
126
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)? ...
1
vote
0
answers
108
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 ...
2
votes
1
answer
205
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 ...
1
vote
1
answer
97
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 ...
14
votes
1
answer
2k
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) ...
1
vote
1
answer
3k
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
\...