home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!wupost!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!erich.triumf.ca!asnd
- From: asnd@erich.triumf.ca (Donald Arseneau)
- Newsgroups: comp.text.tex
- Subject: Re: Existance of \make_caps{...}
- Date: 11 Dec 1992 15:30 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Lines: 18
- Distribution: world
- Message-ID: <11DEC199215305468@erich.triumf.ca>
- References: <1992Dec11.155546.21394@eng.umd.edu>
- NNTP-Posting-Host: erich.triumf.ca
- News-Software: VAX/VMS VNEWS 1.41
-
- In article <1992Dec11.155546.21394@eng.umd.edu>, lind@eng.umd.edu (Charles A. Lind) writes...
- >
- >Hi,
- > I'm looking for a macro or a way to simply capitalize a large
- >set of mixed case text. I would like to just type a command before the text and
- >then bracket it, like {\em kkkkkk} for italisizing. I've looked through
- >Lamport's book as well as David M. Jones' index, but with no luck.
-
- Changing the suntax from \uppercase{kkkkk} to {\up kkkkk} relies on a
- dirty trick in the TeX book (and used in LaTeX at places)
-
- \newcommand\up{\expandafter\Upp\expandafter{\ifnum0=`}\fi}%% -> \Upp{
- \newcommand\Upp[1]{\uppercase{#1}\ifnum0=`{\fi}}
-
-
- (I hven't tested, so there might be a `typo')
-
- Donald
-