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.
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.