I am using proc boxplot for reporting and wanted to make title and footnote in BOLD . also give them my custom font and color . I tried proc template but could not succeed. output destination is PDF file.
I tried to use options in title and footnote statement but that does not work.
Can any one help?
What did you try? I thought inline formatting works fine for title/footnote statements.
ods pdf file='C:\_localdata\junk2.pdf';
title j=left
font= 'Times New Roman' color=blue bcolor=red "Leading Grain "
c=green bold italic "Producers in";
title2 j=center color=red underlin=1
height=28pt "2"
height=24pt "0"
height=20pt "1"
height=16pt "0";
proc print data=sashelp.class;
run;
footnote j=left height=20pt
color=red "Prepared "
c='#FF9900' "on";
footnote2 j=center color=blue
height=24pt "&sysdate9";
footnote3 link='http://support.sas.com' "SAS";
ods pdf close;
Can you try same with proc boxplot with pdf destination?
You can take sample code from SAS/STAT(R) 9.2 User's Guide, Second Edition
and just add your title and footnote.
let me know if you can make title and footnote in bold.
Do you need the title embedded within the graphic? If not, use ods nogtitle I think to push it out which will then work with what I've posted. Otherwise you do have to modify the template(s).
47306 - Using the NOGTITLE option in the ODS PDF statement with SAS® 9.3
As per SAS it works starting from 9.3 and I have 9.2.
Ah, it helps if you mention the version in the question, there were a lot of graphical changes in 9.2 to 9.4. I don't have 9.2 to test so hopefully someone else can or you can contact tech support. I recommend tech support at this point.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.