The SAS Output Delivery System and reporting techniques

The superscript in the protext didn't work

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 15
Accepted Solution

The superscript in the protext didn't work

Hi:

    How can I make the superscript work in the protext? Thanks.

ods rtf file='D:\temp.RTF' bodytitle;
ods escapechar='^';

ods rtf text='TEST^{super 2}';

proc report data=sashelp.class nowd
style(report)=[protext="TEST^{super 2}"];
run;

ods rtf close;


Accepted Solutions
Solution
‎08-14-2011 01:37 AM
Occasional Contributor
Posts: 15

The superscript in the protext didn't work

Hi:

    Sorry,I writed the code protext is wrong. It's pretext. And I solved the problem. The code show below:

ods rtf file='D:\temp.RTF' bodytitle;
ods escapechar='^';

ods rtf text='TEST^{super 2}';

proc report data=sashelp.class nowd
style(report)=[pretext="TEST{\super 2}"];
run;

ods rtf close;

View solution in original post


All Replies
Solution
‎08-14-2011 01:37 AM
Occasional Contributor
Posts: 15

The superscript in the protext didn't work

Hi:

    Sorry,I writed the code protext is wrong. It's pretext. And I solved the problem. The code show below:

ods rtf file='D:\temp.RTF' bodytitle;
ods escapechar='^';

ods rtf text='TEST^{super 2}';

proc report data=sashelp.class nowd
style(report)=[pretext="TEST{\super 2}"];
run;

ods rtf close;

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 184 views
  • 0 likes
  • 1 in conversation