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 (May 2008, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 6 May 2008 11:18:55 -0500
Reply-To:   Ron Manley <ron2sas@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Ron Manley <ron2sas@GMAIL.COM>
Subject:   Re: RTF Title
Comments:   To: Tom Hide <tom.hide@dehiworld.com>
In-Reply-To:   <200805061511.m46Akfk5017420@malibu.cc.uga.edu>
Content-Type:   text/plain; charset=ISO-8859-1

Hi Tom.

This code should work. It works on my machine SAS 8.2 & 9.13

Indent 600 twips then remove indention from first line effective hanging indent. title1j=l "^R""\li600\fi-600\b0 """ 'Place title here';

Ron.

On Tue, May 6, 2008 at 10:11 AM, Tom Hide <tom.hide@dehiworld.com> wrote:

> Hiya > > I am trying to wrap a title within ODS, as I need to have the second line > indented. > > I found an example on SAS-L, which was posted in 2004, but that did not > seem to work. > > The example given was > > title1 j = l f="Times New Roman" height=12pt > '^R"\li720\fi-720 "Table 101 This is my title and I want to > ^R"\line "wrap from here'; > > I inverted the single and double quotes and I use macro variables for the > portions of the title. > > title1 "~R'\li720\fi-720 '&title ~R'\line '&title2"; > > Macro variable title contains TABLE 12.2.2.1 NUMBER (%) OF PATIENTS > REPORTING TREATMENT-EMERGENT > > Macro variable title2 is ADVERSE EVENTS WITH AN INCIDENCE >=5% > > My ODS escape char is ~ > > I have a style sheet, and titles are left-justified. > > What I am getting is this, > > TABLE 12.2.2.1 NUMBER (%) OF PATIENTS REPORTING TREATMENT-EMERGENT > ADVERSE EVENTS WITH AN INCIDENCE >=5% > > and what I want is this > > TABLE 12.2.2.1 NUMBER (%) OF PATIENTS REPORTING TREATMENT-EMERGENT > ADVERSE EVENTS WITH AN INCIDENCE >=5% > > (ADVERSE should be beneath NUMBER on the previous line if it shows > incorrectly) > > I will need to change 720 to a sensible number, probably by trial and > error, if I get this working. (720 = 1/2 inch) > > Can anyone advise? > > Thanks >


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