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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.