Date: Tue, 13 May 2008 13:34:54 -0700
Reply-To: "Huang, Ya" <Ya.Huang@AMYLIN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Huang, Ya" <Ya.Huang@AMYLIN.COM>
Subject: Re: compute block second line indent (ods/pdf)?
In-Reply-To: <1e9ba8b50805131321l11017389y263b9c9a2b77a786@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
Thank you Ron!!!!!!
It worked. But I had to play around for a few minutes until I realized
that
I have to add a space between } and ^_:
So it has to be
"^{super } ^_^_^_Text to indent"
instead of
"^{super }^_^_^_Text to indent"
Ya
________________________________
From: Ron Manley [mailto:ron2sas@gmail.com]
Sent: Tuesday, May 13, 2008 1:21 PM
To: Huang, Ya
Cc: SAS-L@listserv.uga.edu
Subject: Re: compute block second line indent (ods/pdf)?
Hi I have used a trick to get indent's.
"^{super }^_^_^_Text to indent"
This has worked for me.
Ron.
On Tue, May 13, 2008 at 11:18 AM, Ya Huang <ya.huang@amylin.com> wrote:
Hi there,
options orientation=portrait;
ods pdf file="c:\temp\junk.pdf" style=printer;
proc report data=sashelp.class nowd;
column _all_;
define name / display;
compute after _page_ / style=[just=left];
line "[1] xxx xxx xxxx xx";
line " yyy yyy yyy";
text='A0A0A0A0'x||'yyy yyy yyy';
line text $50.;
endcomp;
run;
ods pdf close;
The second line need to be indented, i.e. yyy start right under
xxx.
The old trick of padding bunch of 'A0'x is not working properly
for
ods/pdf, as shown at third line statement.
Any good trick for this?
Thanks
Ya