blu@millipore.com (Brian Utterback) (11/02/90)
I know this is a dumb question, but there isn't any one else here to ask. I am modifying a style file so that if a certain macro is called, then that macro will be put into the footer. That is to say, I want a definition "conf", called like "\conf{confidential}" will print out "confidential" in each and every footer. If it is not called at all the footers should be left alone. If a default could be provided that would be even better. I mean a user could just say "\conf" and get a default string. What I have now is: \def\conf#1{\def\confid{#1}} \def\confi{\ifx\@empty\confid {} \else \hfil{\rm\bf\confid}\hfil \fi} \def\ps@headings{ \def\@oddhead{ ... % stuff for the headers \def\@oddfoot{\confi}\def\@evenfoot{\confi} } This works when \conf{confidential} is defined, but blows up if \conf does not appear. Thanks in advance for any help you can give. -- Brian Utterback, Millipore Corporation, 75G Wiggins Ave., Bedford Ma. 01730 Work:617-275-9200x8245, Home:603-891-2536 INTERNET:: blu@millipore.millipore.com UUCP:: {samsung,cg-atla,merk,wang,bu-tyng}!millipore!blu