LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 10 Sep 2010 15:37:34 -0500
Reply-To:   Joe Matise <snoopy369@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Joe Matise <snoopy369@GMAIL.COM>
Subject:   Re: Tab character
Comments:   To: mpajoh@odot.org
In-Reply-To:   <OFD14D6CAE.388DBA43-ON8625779A.00701614-8625779A.0070F4C2@fd9ns01.okladot.state.ok.us>
Content-Type:   text/plain; charset=ISO-8859-1

Any reason you can't just insert several spaces there instead of a tab character? That's all tab character is doing, after all. -Joe

On Fri, Sep 10, 2010 at 3:33 PM, Masoud Pajoh <mpajoh@odot.org> wrote:

> I should have included the following in the original message, sorry. > > ods pdf file=LSPDF notoc; > footnote1 j=l h=1.2 f="Comic Sans MS" > "^{super *} 2008 Specification." '09'x "^{super #} > Oversight." '09'x > "^{super A} Authorized." '09'x "^{super > !} Not Programmed."; > data _null; > set FormsData&ddate. end=last; > . > . > . > declare odsout LettingSummary(); > LettingSummary.table_start(overrides:"outputwidth=105.mm"); > LettingSummary.row_start(); > . > . > . > . > LettingSummary.row_end(); > . > . > . > . > LettingSummary.table_end(); > LettingSummary.delete(); > end; > run; > > Does this explain the situation, or I just, or just added to the > confusion? > Thanks, > > Masoud > > > > > "Terjeson, Mark" <Mterjeson@russell.com> > 09/10/2010 03:22 PM > > To > <mpajoh@ODOT.ORG>, <SAS-L@LISTSERV.UGA.EDU> > cc > > Subject > RE: Tab character > > > > > > > So is the FILE statement and PUT statements what you are using to get > output from the datastep to ODS? > > > From: mpajoh@ODOT.ORG [mailto:mpajoh@ODOT.ORG] > Sent: Friday, September 10, 2010 1:21 PM > To: Terjeson, Mark > Subject: Re: Tab character > > I am using a data step interface to write the PDF file in SAS v.9.1.3 SP4. > > So, this strange behavior may be explained by: > > WARNING: Data step interface is experimental in this release. > > I have had a lot of unexplained discrepancies explained, by SAS tech > support, by referring to the waning above:( > > Thanks, > > Masoud > > > > "Terjeson, Mark" <Mterjeson@RUSSELL.COM> > Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> > 09/10/2010 03:14 PM > > Please respond to > "Terjeson, Mark" <Mterjeson@RUSSELL.COM> > > > > To > SAS-L@LISTSERV.UGA.EDU > cc > > 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 &#9 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 > > >


Back to: Top of message | Previous page | Main SAS-L page