Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
Related: tex.stackexchange.com/q/19236/3954. –  Gonzalo Medina 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. –  Werner Jul 29 '12 at 4:55
add comment

migrated from stackoverflow.com Jul 28 '12 at 20:27

This question came from our site for professional and enthusiast programmers.

marked as duplicate by lockstep, Marco Daniel, Martin Schröder, percusse, cgnieder Aug 20 '12 at 13:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3 Answers

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}
share|improve this answer
add comment

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.

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

Maybe you are looking for:

\setlength{\spaceskip}{Xpt plus Yfil}

(choose X and Y as you like)

share|improve this answer
3  
I don't think putting a fil in spaceskip is a good idea. –  Ian Thompson Jul 28 '12 at 20:50
add comment