|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>|
|Subject: ||Re: Title Statements Dilemma|
|Content-Type: ||text/plain; charset=ISO-8859-1|
Paula Sims <email@example.com> wrote in message news:<MPG.firstname.lastname@example.org>...
> 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
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.
title&num &text "%sysfunc(repeat(%str( ),199))" ;
footnote&num &text "%sysfunc(repeat(%str( ),199))" ;