Document Classes ⇒ DOUBLE SPACE BETWEEN WORDS
DOUBLE SPACE BETWEEN WORDS
I have been asked for the following requirement in the submission of a paper: they want double space between words. I have been tried several things but I didn't get it. Apart of writting every space by hand, does anyone has a suggestion? (probably changing some command lines in the style file would do, but I don't know how to do it).
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: DOUBLE SPACE BETWEEN WORDS
Do you relly mean this? Double line spacing is common (use the setspace package). For interword spacing, you have to alter a fontdimen. For example, this doubles the interword space
\documentclass{article}
\begin{document}
Some word not space out
\fontdimen2\font=2\fontdimen2\font
Some words spaced out
\end{document}
Here, \fontdimen2 is the dimension which stores the interword space. This is done on a font-by-font basis, hence needing \font.
Joseph Wright
\documentclass{article}
\begin{document}
Some word not space out
\fontdimen2\font=2\fontdimen2\font
Some words spaced out
\end{document}
Here, \fontdimen2 is the dimension which stores the interword space. This is done on a font-by-font basis, hence needing \font.
Joseph Wright
Joseph Wright
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: DOUBLE SPACE BETWEEN WORDS
Using some clues from TeX by Topic, a cleaner version of the same would be
\documentclass{article}
\begin{document}
Some word \spaceskip=2\fontdimen2\font plus 2\fontdimen3\font
minus 2\fontdimen4\font
Some more words
\end{document}
This does not mess with the contents of \fontdimen2.
Joseph Wright
\documentclass{article}
\begin{document}
Some word \spaceskip=2\fontdimen2\font plus 2\fontdimen3\font
minus 2\fontdimen4\font
Some more words
\end{document}
This does not mess with the contents of \fontdimen2.
Joseph Wright
Joseph Wright
Re: DOUBLE SPACE BETWEEN WORDS
Thank you very much, it has worked smoothly. It sounds strange, but the journal has asked me precisely for that.