ods escapechar='~' ;
ods pdf file='D:\phani\ss1.pdf' ;
ODS PDF TEXT="~S={JUST=l FONT_SIZE=14pt COLOR=RED font_weight=bold FONT_FACE='Courier New' }SAS"
"~S={JUST=l FONT_SIZE=14pt font_weight=bold COLOR=ORANGE FONT_FACE='Courier New' }COMMUNITIES";
ods pdf close ;
I want to give two text formats with different colors in ods pdf text. If i run above program I dont get the result then how to get two formats
at time
You specify different colours with the COLOR= option. That part of your code is correct. Your error is elsewhere in your code.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.