Date: Fri, 21 May 2004 07:35:37 -0400
Reply-To: Don Henderson <donaldjhenderson@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Don Henderson <donaldjhenderson@HOTMAIL.COM>
Subject: Re: Title Statements Dilemma
Content-Type: text/plain; charset="iso-8859-1"
Why not use the .j attribute of of the title statement to do this? For
example, the following worked for me in 8.2 for the html, pdf and rtf
destinations:
proc print data=sashelp.class;
title 'REPORT OF CUSTOMER COMPLAINTS 2002 - CURRENT';
title2 .j=left 'Department: 12345 - Printing';
title3 .j=left 'Location: Atlanta, GA';
title4 .j=left 'Region: 6';
title5 .j=right 'Just to show something right justified';
run;
you can even put multiple .j directives on the same title line. However,
with all three (e.g., left, center and right) sometimes it does not get it
quite right for PDF.
HTH,
-don h
----- Original Message -----
From: "Don & Susann" <don_stanley@PARADISE.NET.NZ>
Newsgroups: bit.listserv.sas-l
To: <SAS-L@LISTSERV.UGA.EDU>
Sent: Friday, May 21, 2004 3:03 AM
Subject: Re: Title Statements Dilemma
> Are you using ODS? If so, is this RTF, HTML or so other output?
>
> Don
>
> Paula Sims wrote:
>
> > 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
> >
> >
>
> --
> Don Stanley, B.SC, Dip O.R.S, MNZCS
> Author:: Beyond the obvious with SAS Screen Control Language.
> Author:: Solutions for your GUI Applications Development Using SAS/AF
> FRAME Technology
> http://www.syswaregroup.com , http://homepages.rootsweb.com/~ashluke
>
|