Date: Tue, 13 May 2008 13:52:59 -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: <7367b4e20805131351p291c45a7o9eb0251ec7fe8ed7@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
That puzzled me too. I wonder how Ron came up this trick :-)
-----Original Message-----
From: data _null_, [mailto:datanull@gmail.com]
Sent: Tuesday, May 13, 2008 1:52 PM
To: Huang, Ya
Cc: SAS-L@listserv.uga.edu
Subject: Re: compute block second line indent (ods/pdf)?
What is happening here. It is printing underscore as super scripted
character that appears as blank?
On 5/13/08, Huang, Ya <Ya.Huang@amylin.com> wrote:
> 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
>
>
|