Hi All,
I use SAS 9.4 and below is my code to superscript a registered mark:
ods escapechar='^';
^{super ^{unicode 24C7}};
But it is always presented as "subscript"...
Does anyone have suggestion?
Full code please? Is this used in a label, a title, a format, a text? Which output method?
Below is the full code:
options nodate nonumber papersize=A4 orientation=landscape topmargin="2cm" leftmargin="0.8cm" bottommargin="0.8cm" rightmargin="0.8cm" missing=" ";
ods escapechar='!'; footnote3 j=l;footnote4 j=l;
title1 j=l "!S={leftmargin=0in} Study: xxx" j=r "Report: xxx";
title2 j=r "!S={leftmargin=0in} Date: xxx";
proc report data=work.have nowd split='|'
contents="xxx";
columns no a1 a2;
define a1 /display center style=[cellwidth=20mm] 'Subject No.';
define a2 /display center style=[cellwidth=20mm] 'Collection Date';
footnote1 j=l ht=9pt "Note: xxx Drug !{super !{unicode 24C7}}】" ;
run;
The superscript is used in a footer.
Thank you!
This works fine for me:
ods escapechar='!';
footnote "Note: xxx Drug !{super !{unicode 24C7}}" ;
proc print data=sashelp.class; run;
I use ODS HTML. What destination do you use?
RTF works too. PDF causes issues with the double escape on my old version(9.4m2).
footnote "Note: xxx Drug !{super !{unicode 24C7}}" ;
footnote2 "Note: xxx Drug !{super A}" ;
proc print data=sashelp.class; run;
> The issue was caused when outputting PDF file as you shown.
It's much better that you provide the information rather than we spend time guessing.
>Do you have any suggestion to superscript a symbol with double escape?
This looks like a defect to me. You should definitely contact Tech support.
In the meanwhile, have you tried using the symbol in the 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 16. 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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: