🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #10998

wider macro

#10998
From: wilcox
Date: Wed, 06 Jan 1993 19:43
12 lines
751 bytes
I would like to write a TeX macro which inserts spaces after every letter in
its argument. For example:

		WIDER  ->  W I D E R

My attempt works, but causes lots of error messages:

\def\wider#1{{\getwider#1\end}}
\def\getwider#1{#1 \ifx#1\end \let\next=\relax \else \let\next=\getwider \next}

It also ignores spaces in the input, so all words get run together.
Any suggestions?
Technical Details
Message-ID: <9301061943.AA15378@cmns-sun.think.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!news.service.uci.edu!unogate!mvb.saic.com!info-tex

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!news.service.uci.edu!unogate!mvb.saic.com!info-tex
From: wilcox@cmns.think.com
Newsgroups: comp.text.tex
Subject: wider macro
Message-ID: <9301061943.AA15378@cmns-sun.think.com>
Date: Wed, 6 Jan 93 14:43:29 EST
Organization: Info-Tex<==>Comp.Text.Tex Gateway
X-Gateway-Source-Info: Mailing List
Lines: 13