Text FormattingHow to change the space between letters?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
s.g.
Posts: 7
Joined: Tue Apr 14, 2009 4:06 pm

How to change the space between letters?

Post by s.g. »

I need to reduce the space between letters for some specific sentences. How is that done?

Thank you in advance,

S.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

How to change the space between letters?

Post by Stefan Kottwitz »

Hi,

you could use the letterspacing feature of microtype together with pdfLaTeX. Here's a short example:

Code: Select all

\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage[tracking=true]{microtype}
\begin{document}
\blindtext

\SetTracking[spacing={-50*,0*,50*}]{encoding=OT1}{-30}
\textls{\blindtext}

\blindtext
\end{document}
Stefan
LaTeX.org admin
Post Reply