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.
Have you had a look here?
https://support.sas.com/kb/46/576.html
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.