Date: Fri, 10 Sep 2010 13:20:16 -0700
Reply-To: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Terjeson, Mark" <Mterjeson@RUSSELL.COM>
Subject: Re: Tab character
In-Reply-To: A<16FD64291482A34F995D2AF14A5C932C0963243D@MAIL002.prod.ds.russell.com>
Content-Type: text/plain; charset="us-ascii"
See Joe, here's my afternoon brain slip:
(square brackets below are missing from
original brain download)
You mention PDF as the destination,
but I don't think [you mention] what engine you
are using to get there(to the PDF)?
Mark :o)
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Terjeson, Mark
Sent: Friday, September 10, 2010 1:14 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Tab character
Hi Masoud,
Just like your test below,
data test;a=1;
run;
title "Hello" "09"x "World.";
proc print data=test;
run;
does work fine outputting a TAB in
the appropriate place.
You mention PDF as the destination,
but I don't think what engine you
are using to get there(to the PDF)?
For example, if going to PDF via RTF
you would need \tab right tab or
\tab left tab or \tab 1" tab etc.
Some other engines use octal \009
or hex \09 or \t or 	 in html.
I also recall using the escapecharacter
and embedding formatting and special
characters into the TITLE string for
special outputs, but I think we need
to know what engine is being used in
between the TITLE statement and the PDF.
Mark
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Masoud Pajoh
Sent: Friday, September 10, 2010 12:53 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Tab character
Using BYTE(09), as expected, does not shoe as tab in the PDF output.
Thanks,
Masoud
Joe Matise <snoopy369@GMAIL.COM>
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
09/10/2010 02:16 PM
Please respond to
Joe Matise <snoopy369@GMAIL.COM>
To
SAS-L@LISTSERV.UGA.EDU
cc
Subject
Re: Tab character
"09"x is a hex number token (actually, 9)- not a character. Try
BYTE('09'x)
perhaps? Not sure about how that would interface with ODS PDF though.
-Joe
On Fri, Sep 10, 2010 at 2:02 PM, Masoud Pajoh <mpajoh@odot.org> wrote:
> I am writing a pdf file.
> I like to have a TAB character inserted several places like:
> title "this is the" TAB " title, which" Tab " is a test";
> This:
> title "this is the" "09"x " title, which" "09"x " is a test";
> does not work.
>
> What is the correct way.
>
> Masoud
>