BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JohnSAScom
Quartz | Level 8
proc tabulate data=DAT1 s=[font=("calibri")];
  class EGA;
  classlev EGA / style={font=("calibri")} ;
  var n72c n72d vg1 n1 n82 n12 n42 n72c vg2 vg3 vg4 n2 n3 n4 / style={font=("calibri")} ;
  table EGA={S=[font=("calibri")]},
        sum="&header1"*(n72c="P1 %" n72d="&header5 P %" vg1="&header3" n1="&header4"*f=form1.)
        sum="&header2"*(n82="P1 %" n12="P2 %" n42="P3 %" n72c="P4 %" vg2="&header3 Range 2" vg3="&header3 Range 3" vg4="&header3 Range 4" n2="&header4 Range n2"*f=form1. n3="&header4 Range n3"*f=form1. n4="&header4 Range n4"*f=form1.)
        / box={label="&box1" style={font=("calibri")}};
run;
 
Everything is in Calibri font, except for header1 and header2.  How would I get header1 and header2 into Calibri font as well? 
1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Assuming that you mean to apply the style to the label text on the SUM=

 

sum="&header1"*{S=[font=("calibri") ]} *( <rest of stuff>

 

seems to work for me.

 

If you want to apply it to every use of SUM you could try a separate

 

keyword sum /S=[font=("calibri") ];

to change the appears for all uses of the keyword sum.

View solution in original post

2 REPLIES 2
ballardw
Super User

Assuming that you mean to apply the style to the label text on the SUM=

 

sum="&header1"*{S=[font=("calibri") ]} *( <rest of stuff>

 

seems to work for me.

 

If you want to apply it to every use of SUM you could try a separate

 

keyword sum /S=[font=("calibri") ];

to change the appears for all uses of the keyword sum.

JohnSAScom
Quartz | Level 8

Yes, I did mean to apply the style to the label text on the SUM=.  Applying it to the individual sum elements did not work for me, but using keyword sum /S=[font=("calibri") ]; does work.  Thank you! 

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2388 views
  • 0 likes
  • 2 in conversation