LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 20 May 2004 23:08:54 -0700
Reply-To:   RolandRB <rolandberry@HOTMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   RolandRB <rolandberry@HOTMAIL.COM>
Organization:   http://groups.google.com
Subject:   Re: Title Statements Dilemma
Content-Type:   text/plain; charset=ISO-8859-1

Paula Sims <me@here.com> wrote in message news:<MPG.1b171e213e79f3e89896b2@news.det.sbcglobal.net>... > Hello all, > I am hoping you can help me with the following. > > I am outputting reports (mostly using PROC TABULATE but some with PROC > REPORTS and PROC PRINT) and I would like the first line (report > description) centered, some descriptive information left aligned, and > the output centered again. So it would look like the following (with the > department information similarly aligned): > > REPORT OF CUSTOMER COMPLAINTS 2002 - CURRENT > > Department: 12345 - Printing > Location: Atlanta, GA > Region: 6 > > PROC TABULATE/REPORT/PRINT output here. > > > I wouldn't mind it if the Department information were centered but at > long as it's not "spread out". > > Thank you for all your help > > > Paula Sims > paulasims2004@hotmail.com

Keep the option "center" in effect and for those titles you want left-aligned then force them to the left by making the title overlong something like this:

title4 "The text of title 4" "%sysfunc(repeat(%str( ),199))" ;

I wrote two little macros named %latitle and %lafootnote to do this for people who forget this trick.

%macro latitle(num,text); title&num &text "%sysfunc(repeat(%str( ),199))" ; %mend;

%macro lafootnote(num,text); footnote&num &text "%sysfunc(repeat(%str( ),199))" ; %mend;


Back to: Top of message | Previous page | Main SAS-L page