BookmarkSubscribeRSS Feed
tburus
Obsidian | Level 7

I am trying to make a RTF document that uses one title on a coverpage and a separate title for the rest of the document. Below is my code:

 

/******** RTF ********/
ods rtf file="&path.\Rules Committee Report\rules_committee_football.rtf" 
	columns=2 startpage=no;

/* cover page */
title1 j=r color=white bcolor=&Dblue height=10pt font='Arial' "^\line NCAA Football Rules Committee Report ^\tab ^\line";
title2 j=c color=&Dblue height=14pt font='Arial' "^\line NCAA Football Rules Committee Meeting^\line Injury Surveillance Report ^\line"; 
footnote j=c color=white bcolor=&Dblue height=8pt font='Arial' 
	"^\line Datalys Center | 401 West Michigan Street, Suite 500 | Indianapolis, Indiana 46202 | 855-832-4222 ^\line";
ods rtf text= "^S={just=l preimage='C:/Users/Todd/Dropbox/Datalys/Rules Committee Report/rc_title.png'}" columns=2;
proc odstext; 
	p "n/a";
run;

ods rtf startpage=now;

title3 j=c "^S={preimage='C:/Users/Todd/Dropbox/Datalys/Rules Committee Report/isp_logo2.png'}";
proc odstext;
	h "Statement of Confidentiality" / style={fontfamily='Arial' font_size=12pt};
	p "n/a";
run;

/* close rtf */
ods rtf close;
ods html;
/**** end rtf report ****/

I have tried a number of different numberings, using 'title;' between them, etc. and still can't get different titles on the separate pages.

1 REPLY 1
Norman21
Lapis Lazuli | Level 10

Have you had a look here?

Sample 46576: Create a title page in ODS PDF or ODS RTF

https://support.sas.com/kb/46/576.html

Norman.
SAS 9.4 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 762 views
  • 0 likes
  • 2 in conversation