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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
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