This post was kindly contributed by SAS & Statistics - go there to comment and to read the full post. |
Create delta in the report and label:
ods escapechar=’^’;
ods rtf file=’temp.rtf’; *** Can be HTML or PDF too;
proc report data=sashelp.class nowd ps=40;
      col age new;
      define new / format=$30. ;
/* for the RTF */
      compute new/char ;
            new=’^S={font_face=symbol} D’;
      endcomp;
/* for the listing */
      label age=”my label” ‘F0’X ;
run;
ods rtf close;
Create superscript:
Get superscripts for 0, 1, 2, and 3 in printed SAS output by using the extended characters specified in hexadecimal. The following example shows the superscripts for 0, 1, 2, and 3 using ‘b0’x, ‘b9’x, ‘b2’x ‘b3’x respectively:
data _null_;
      file print;
      put ‘This is a superscript zero’ ‘b0’x;
      put ‘This is a superscript one’ ‘b9’x;
      put ‘This is a superscript two’ ‘b2’x;
      put ‘This is a superscript three’ ‘b3’x;
run;
proc print label data=sashelp.class;
      label age=age’b2’x;
run;
This post was kindly contributed by SAS & Statistics - go there to comment and to read the full post. |