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 (October 2006, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 3 Oct 2006 20:30:41 -0500
Reply-To:     Yu Zhang <zhangyu05@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Yu Zhang <zhangyu05@GMAIL.COM>
Subject:      Re: underlining columns names, proc report
Comments: To: Deborah Wentworth <debby@ccbr.umn.edu>
In-Reply-To:  <Pine.GSO.4.64.0610031704190.2754@sturgeon.ccbr.umn.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Deborah,

If what you need is a undeline, RTF control word (\UL) will do the job for you. see sample code at below:

ods escapechar='^'; ods rtf file='c:\underline.rtf'; proc report data=sashelp.class nowd; col sex ("^\ul Physcal character" weight height); define sex/order 'GENDER' width=12; define weight/sum 'weight' style(column)={cellwidth=1.5in}; define height/sum 'Height' style(column)={cellwidth=1.5in}; run; ods rtf close;

HTH

YU

On 10/3/06, Deborah Wentworth <debby@ccbr.umn.edu> wrote: > > Greetings - > > I have a question I hope someone might be able to help me with. > > I have a table where the labels "Group A" and "Group B" each span 2 > columns containing counts and rates. I have been trying unsuccessfully to > figure out the syntax to underline those 2 labels. > > My code is below - I'm using ODS to save this as an .rtf file. Is it > possible (at least without too much difficulty) to underline the > Group column headers ? > > > proc report data=allevents ; > column event ("Group A" gpAev gpArate ) ("Group B" gpBev gpBrate) ; > define event / order ' ' left flow style(column) = {just=l cellwidth=12 > cm}; > define gpAev / 'No.' format = 3.0 style(column) = {just=r cellwidth=1.0 > cm} ; > define gpArate / 'Rate' format = 5.2 style(column) = {just=r > cellwidth=1.2 cm} ; > define gpBev / 'No.' format = 3.0 style(column) = {just=r cellwidth=1.0 > cm} ; > define gpBrate / 'Rate' format = 5.2 style(column) = {just=r > cellwidth=1.2 cm} ; > > > Thanks so much in advance. > > Deb > > > > >|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|< > > < > > Deborah Wentworth < > > Coordinating Centers for Biometric Research < > > Division of Biostatistics, University of Minnesota < > > 612.626.9005 < > > < > >|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|<>|< >


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