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!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1542 views
  • 0 likes
  • 2 in conversation