The SAS Output Delivery System and reporting techniques

Change colour for superscript only (in SAS 9.1)

Reply
Frequent Contributor
Posts: 77

Change colour for superscript only (in SAS 9.1)

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?

SAS Super FREQ
Posts: 8,744

Re: Change colour for superscript only (in SAS 9.1)

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

Frequent Contributor
Posts: 77

Re: Change colour for superscript only (in SAS 9.1)

Thank you Cynthia!

SAS Employee
Posts: 50

Re: Change colour for superscript only (in SAS 9.1)

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

Ask a Question
Discussion stats
  • 3 replies
  • 260 views
  • 0 likes
  • 3 in conversation