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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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