The SAS Output Delivery System and reporting techniques

Using Superscripts, Greek Characters, or Special Math Operators

Reply
Regular Contributor
Posts: 237

Using Superscripts, Greek Characters, or Special Math Operators

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.

Super User
Posts: 19,770

Using Superscripts, Greek Characters, or Special Math Operators

Posted in reply to djbateman

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

Ask a Question
Discussion stats
  • 1 reply
  • 248 views
  • 0 likes
  • 2 in conversation