[texhax] Inserting space after each char in a string

Uwe Lueck uwe.lueck at web.de
Thu Dec 2 20:36:21 CET 2010


> On 2 December 2010 Uwe Ziegenhagen wrote:
> > I need a command which allows me to insert a certain space after each
> > character of the string given as argument, but don't know how to accomplish.
> > 
> > I am looking for something like this
> > 
> > \textspace{\quad}{some long word} which produces then
> > 
> > s\quad o\quad m\quad e\quad etc..

The first answer might have been the question if you have checked the following packages 
(http://ctan.org/pkg/...)

    letterspacing (for Plain TeX) | nccstretch | soul | soulutf8 | textfit | tracking

cf.
 
    http://mirror.ctan.org/help/Catalogue/bytopic.html#lining

"Reinhard Kotucha" <reinhard.kotucha at web.de>, 02.12.2010 09:33:06:
> There is a macro \@tfor in the LaTeX kernel.  It's described in
> source/latex/base/ltcntrl.dtx .  Don't know whether it works with
> UTF-8 properly.

This is especially addressed by soulutf8 
(missing in Jürgen's list so far ...)

HTH -- Uwe.



More information about the texhax mailing list