BookmarkSubscribeRSS Feed
statsplank
Calcite | Level 5

Hello,

I can not find a way to change the colour only for superscript in SAS 9.1.

For example, the following does not work:

data test1;

   text="^S={foreground=red}^{super D} Footnote.";

run;

ods escapechar='^';

ods pdf;

proc print data=test1;

   var text;

run;

ods pdf close;

Can somebody help?

3 REPLIES 3
Cynthia_sas
SAS Super FREQ

Hi:

  I do not think there is a way to only change the color of the superscripted character in that type of syntax for PDF. However, I believe that the syntax you show might work for either RTF or HTML in SAS 9.1.3. If you need more help with how to make it work for PDF or to find out whether it is possible to make it work for PDF using SAS 9.1.3, you should work with Tech Support. To open a track with Tech Support, fill out the form at this link:

http://support.sas.com/ctx/supportform/createForm

cynthia

statsplank
Calcite | Level 5

Thank you Cynthia!

ScottH_SAS
SAS Employee

Cynthia is correct.  All the really cool inline style stuff in the PRINTER (PDF, PS, PCL) destination.was introduced in v920.

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
  • 3 replies
  • 1013 views
  • 0 likes
  • 3 in conversation