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 (December 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 24 Dec 2004 13:59:36 +0100
Reply-To:     Erwin Zelhorst <Ezelhorst@CTO.NL>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Erwin Zelhorst <Ezelhorst@CTO.NL>
Subject:      Re: Changing the style level in titles for ODS RTF output
Content-Type: text/plain; charset="iso-8859-1"

Dear Andre, SAS-l,

Yes, I know that H1 is HTML coding. I am trying to get this done for RTF. I read that a code /s1 should work, by adding {\s1 Heading 1;} to the raw RTF file, but that doesn't do the trick with me.

The idea is to use the styling of the titles to create a Table of contents within MSword. The Word 2002 RTF Specifications file doesn't show me the code I need.

Any help is welcome.

___________________________ *Sample program code;

ods listing close;

ods rtf file='titletest.rtf' bodytitle STYLE=work.sas2out1 ; %include "..\macros\Output_Templatesexp2.sas" ;

ods trace on ; ods noptitle; ods rtf startpage = never; ods escapechar='^';

footnote '^R"\footnote "This is the footnote' ;

Title1 '^R"\header "This title goes to the header'; title2 '^R"\li720\fi-720\s1 "Table 101 This is my 1st title' ;

--> Proc report; run;

title2 '^R"\li720\fi-720\s1 "Table 102 This is my 2nd title' ; title3 '^R"\s2\ "Subtitle';

----> Proc tabulate; run;

*etc.;

ods _all_ close; ods listing;

Output TOC would be: Table 101 This is my 1st title 1 Table 102 This is my 2nd title 2 Subtitle 2 etc.

___________________________________________

Kind regards, Erwin Zelhorst

-----Oorspronkelijk bericht----- Van: Andre Wielki [mailto:wielki@ined.fr] Verzonden: donderdag 23 december 2004 16:43 Aan: Erwin Zelhorst Onderwerp: Re: Changing the style level in titles for ODS RTF output

Erwin Zelhorst wrote: > Dear all, > > I am trying to find a way to change the style of the titles to "Heading 1".

H1 is html or give a sample of your program to understand what you are trying to do into the titles > > Do you know the RTF code one can add to the title to do so? Or, do you know > any other way to have this done? > a table of contents in rtf? usually toc exist better in pdf or and html! > I want the level to be added to the style of the titles to have more control > on the "Table of contents", but I cannot find any documetation about this > style element in SAS or RTF. > > Kind regards, > Erwin Zelhorst > > > > > > Erwin Zelhorst > SAS Programmer > Clinical Trial Operations BV > PO Box 451 > 5340 AL Oss > The Netherlands > Tel: +31 (0) 412 653065 > Fax: +31 (0) 412 692889 > Web: http://www.cto.nl > > ----------------------------------------------- > This message, including attached files, > may contain confidential information and is > intended only for the use by the individual > and/or the entity to which it is addressed. > Any unauthorized use, dissemination of, > or copying of the information contained herein > is not allowed and may lead to irreparable harm > and damage for which you may be held liable. > If you receive this message in error or if it > is intended for someone else please notify the > sender by returning this e-mail immediately > and delete the message. > ----------------------------------------------- > ----------------------------------------------- > This message, including attached files, > may contain confidential information and is > intended only for the use by the individual > and/or the entity to which it is addressed. > Any unauthorized use, dissemination of, > or copying of the information contained herein > is not allowed and may lead to irreparable harm > and damage for which you may be held liable. > If you receive this message in error or if it > is intended for someone else please notify the > sender by returning this e-mail immediately > and delete the message. > ----------------------------------------------- >

-- Andre Wielki INED (Institut National d'Etudes Démographiques) 133 Boulevard Davout 75980 Paris Cedex 20 33 (0) 1 56 06 21 54 FRANCE


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