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\}";
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;
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;
Thanks for responding. Still does not print the symbol. What it prints is "Abbreviations &#x'2264"X/;" I am using SAS studio.
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;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.