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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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