home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.text.tex
- Path: sparky!uunet!think.com!ames!haven.umd.edu!wam.umd.edu!joel
- From: joel@wam.umd.edu (Joel M. Hoffman)
- Subject: Re: macro to reverse text?
- Message-ID: <1992Dec21.212058.12328@wam.umd.edu>
- Sender: usenet@wam.umd.edu (USENET News system)
- Nntp-Posting-Host: rac2.wam.umd.edu
- Organization: University of Maryland, College Park
- References: <1992Dec21.002452.24690@wam.umd.edu>
- Date: Mon, 21 Dec 1992 21:20:58 GMT
- Lines: 31
-
- I wrote:
- >
- >I'd like a macro that reverses the text inside of it, so:
- >
- > \ReverseMe{abcdefg}
- >
- >would yield
- >
- > gfedcba
- >
- >Anyone know how to do this?
-
- I have received several (very similar) solutions. However, they all
- delete spaces as they work. Does anyone have a solution that will
- take:
-
- \ReverseMe{owt eno}
-
- and yield:
-
- one two
-
- ?
-
- Thanks.
-
- -Joel
- (joel@wam.umd.edu)
-
-
-
-