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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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