# Is it possible to define the word stretch? [duplicate]

Possible Duplicate:
How to change the interword spacing?

i would like to know if is possible to set the space between the words like i can do with the lines with \baselinestretch?

• Related: tex.stackexchange.com/q/19236/3954. Jul 28 '12 at 20:46
• Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. Jul 29 '12 at 4:55

You can insert additional interword space using \spaceskip, e.g.

\spaceskip 6pt plus 1pt minus 1pt

The first value is the normal width of the resulting extra space, the second and third are the amounts by which it is allowed to grow and shrink, respectively. For comparison, you can enquire about the default interword spacing using \the.

\documentclass{article}
\begin{document}
Default:
\the\fontdimen2\font\
plus
\the\fontdimen3\font\
minus
\the\fontdimen4\font

The quick brown fox jumps over the lazy dog.

\spaceskip 6pt plus 1pt minus 1pt
The quick brown fox jumps over the lazy dog.
\end{document}


Horizontal stretch of a specific length:

Here\hspace{.5in}is a 0.5 inch space

Stretch to fill whole line:

Here is a \hfill stretched space

Examples taken from Lamport's Manual.

• I think Winter wants to adjust the limits used by the filling algorithm rather than wanting to install some space in any particular spot. May 11 '11 at 19:20
• u are rigth dmckee :)
– Winter
May 11 '11 at 19:44

Maybe you are looking for:

\setlength{\spaceskip}{Xpt plus Yfil}


(choose X and Y as you like)

• I don't think putting a fil in spaceskip is a good idea. Jul 28 '12 at 20:50