🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #9659

Re: Existance of \make_caps{...}

#9659
From: Donald Arseneau
Date: Fri, 11 Dec 1992 23:30
18 lines
1252 bytes
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
Technical Details
Message-ID: <11DEC199215305468@erich.triumf.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!wupost!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!erich.triumf.ca!asnd
References: <1992Dec11.155546.21394@eng.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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