The SAS Output Delivery System and reporting techniques

SAS 9.1 to 9.3 ODS PDF: Footnote not honoring Bold Versus Normal Font

Accepted Solution Solved
Reply
Contributor
Posts: 51
Accepted Solution

SAS 9.1 to 9.3 ODS PDF: Footnote not honoring Bold Versus Normal Font

To ODS Template Aficionados:

Unless absolutely necessary, I try to stick with default styles and ODS.

The following has me stumped.  My footnote1 in SAS 9.3 is entirely bold whereas SAS 9.13 gives me the desired results. 

options orientation=landscape;

ods listing close;

ods pdf file="c:\test_title_&sysver..pdf"

notoc uniform;

options nodate nonumber;

ods escapechar='^';

title j=l font="Century Gothic" title1;

title2 j=l font="Century Gothic" "title2*";

title3 j=l font="Century Gothic" title3;

footnote1 bold font="Century Gothic" j=l h=2.5

"*This should be bold "

            font="Century Gothic" h=2.5

" this should be normal ";

proc print data=sashelp.class;

run;

ods pdf close;

Any suggestions for an easy fix? 

Thanks in advance,

Kim LeBouton

Senior Consultant

KJL Computing


Accepted Solutions
Solution
‎06-06-2013 12:34 PM
Trusted Advisor
Posts: 1,151

Re: SAS 9.1 to 9.3 ODS PDF: Footnote not honoring Bold Versus Normal Font

Hi,

Below works for me on 9.3 on XP, using inline formatting:

footnote1 font="Century Gothic" j=l h=2.5 "^{style [font_weight=bold] This should be bold} this should be normal";

HTH,

--Q.

View solution in original post


All Replies
Solution
‎06-06-2013 12:34 PM
Trusted Advisor
Posts: 1,151

Re: SAS 9.1 to 9.3 ODS PDF: Footnote not honoring Bold Versus Normal Font

Hi,

Below works for me on 9.3 on XP, using inline formatting:

footnote1 font="Century Gothic" j=l h=2.5 "^{style [font_weight=bold] This should be bold} this should be normal";

HTH,

--Q.

Contributor
Posts: 51

Re: SAS 9.1 to 9.3 ODS PDF: Footnote not honoring Bold Versus Normal Font

Thank you.

I had to use the following to work between the two SAS versions, but will definitely convert after we are exclusively using 9.3.

footnote1 font="Century Gothic" j=l h=2.5 "^S={font_weight=bold} This should be bold ^S={} this should be normal";

Kim

Post a Question
Discussion Stats
  • 2 replies
  • 278 views
  • 0 likes
  • 2 in conversation