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

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