BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
ANKH1
Pyrite | Level 9

I need to add the symbols ≥, ≤ to a footnote. Example of the footnote: "Abbreviation ≤" I tried this and didn't work.

 

ods escapechar='\';
footnote1 j=l font=arial "abbreviation \{unicode '2264'x\}"; 
1 ACCEPTED SOLUTION

Accepted Solutions
svh
Lapis Lazuli | Level 10 svh
Lapis Lazuli | Level 10

It seems SAS Studio handles this differently; when I just use the number, it prints.

ods escapechar='^';
proc report data=sashelp.cars;
column make mpg_city;
define make / group ;
define mpg_city / analysis mean ;
footnote1 j=l font=arial "abbreviation ^{unicode 2264}";  
run;

View solution in original post

4 REPLIES 4
svh
Lapis Lazuli | Level 10 svh
Lapis Lazuli | Level 10

Hmmm, this seems to work for me in SAS 9.4. Do you have any more information about where it's not working?

 

ods escapechar='/';
proc report data=sashelp.cars;
column make mpg_city;
define make / group ;
define mpg_city / analysis mean ;
footnote1 j=l font=arial "abbreviation /{unicode '2264'x\}"; 
run;
ANKH1
Pyrite | Level 9

Thanks for responding. Still does not print the symbol. What it prints is "Abbreviations &#x'2264"X/;" I am using SAS studio.

svh
Lapis Lazuli | Level 10 svh
Lapis Lazuli | Level 10

It seems SAS Studio handles this differently; when I just use the number, it prints.

ods escapechar='^';
proc report data=sashelp.cars;
column make mpg_city;
define make / group ;
define mpg_city / analysis mean ;
footnote1 j=l font=arial "abbreviation ^{unicode 2264}";  
run;
ANKH1
Pyrite | Level 9
Great! That solved it for me. Thank you so much!

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1079 views
  • 0 likes
  • 2 in conversation