TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need special hard spaces for example i need 0.33em, 0.5em, 1em, hair etc. spaces.

Also i need a normal spaces (word spacing) in 0.25em to 0.75em.

How to do it?

Sorry for bad English.

share|improve this question
Do you want to change the spacing between 2 adjacent characters in a word? – kiss my armpit Jan 3 '13 at 13:01
Please do not cast downvotes this quickly for questions that aren't spam or offensive. Usually, we allow some time (e.g. a day) for the poster to edit their question with more information. Also, if you cast the first vote, please also leave a comment explaining your reason to do so. – Jake Jan 3 '13 at 13:05
Probably you need How to change the interword spacing?. – kiss my armpit Jan 3 '13 at 13:06
It would be useful if you could provide some context. What is the situation in which you want to have these spaces? Could you provide an example where you would like to have these spaces appear? – Loop Space Jan 3 '13 at 13:13
(Jake's comment also applies to votes-to-close, not just down-votes.) – Loop Space Jan 3 '13 at 13:14

For getting "hard coded" space between two words, independently on inputs such as

word \hard{2em}word
word \hard{2em} word

just define


Thus spaces input before \hard will be nullified by \unskip, the following ones by \ignorespaces.

In order to change the default interword space in a paragraph, use the primitive \spaceskip:


so you can write

This is a part of the paragraph with normal space
and this is a part with $0.75$\,em space between words;
this has normal space,
while this part will have $2.5$\,em space between words,

enter image description here

share|improve this answer
Probably best answer, thanks. – Jablon Jan 3 '13 at 21:15

For really hard (i.e. non-shrinkable, non-stretchable) spaces —something that could upset a bit the justification algorithm if you want to use it as word separator— \hspace{length} is the way to go.

Otherwise, you can use glues to allow some variation : \hskip 1em plus .1em minus .1em.

As far as inter-word spacing is concerned, this is decided by the font ; the low-level \fontdimen parameter 2 specifies the inter-word spacing, the 3 the stretching and the 4 the shrinking.

share|improve this answer

With \hspace{length} you can specify the length of a horizontal space.

share|improve this answer
I tried that, but something like that: "word \hspace{1em} word" works diffrent like something like that: "word\hspace{1em} word". Im not sure but i think that second example work not properly to and i have 1em+some space from space :) – Jablon Jan 3 '13 at 12:51
omit the spaces between the words and the command. Try this: "word\hspace{2em}word". Otherwise LaTeX typesets after 'word' an ordinary space plus a fixed space plus an ordinary space and then the next word. – Dohn Joe Jan 3 '13 at 13:11
Ok its good and cleaver solution. – Jablon Jan 3 '13 at 13:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.