BookmarkSubscribeRSS Feed
djbateman
Lapis Lazuli | Level 10

Is there a simple way to use special formatting in SAS for things like Greek characters, mathematical operations, etc.?

For example, in a title, I want to use the "≤" sign, but all I can do is "<=".  I would also like to superscript numbers (square/cube/footnote reference)?  I can always go back into the rtf document after it has been created and make these changes, but this can be tedious if the document is being run several times.

1 REPLY 1
Reeza
Super User

Google inline styles and formatting.

Find the unicode symbol and use that code.

ie try

title2 'Converting Dollars to Euros ^{unicode 0024}1 = ^{unicode 20AC}0.1794';

title3 'Converting Pounds to Yen ^{unicode 00A3}1 = ^{unicode 00A5}144.705';

title4 'You can use copyright ^{unicode 00A9} registered ^{unicode 00AE} and

trademarks ^{unicode 2122} too';

ods text = "^{style [fontsize=18pt] big^{super text}}

or ^{style [fontsize=10pt] small ^{sub text}}";

Stole this from a presentation at SGF, inline style formatting, Enhancements to inline formatting in SAS 9.2

is the titile but I can't find a link to the document except on SASCanada.ning.com

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1475 views
  • 0 likes
  • 2 in conversation