The SAS Output Delivery System and reporting techniques

Italicized titles in ODS RTF

Reply
Occasional Contributor
Posts: 15

Italicized titles in ODS RTF

Is there a way to not have the titles italicized in ods rtf?

Super Contributor
Posts: 268

Re: Italicized titles in ODS RTF

Try this:

title bold "this title will be bold instead of in italics";

Occasional Contributor
Posts: 15

Re: Italicized titles in ODS RTF

Gregg,

  It didn't work.

       Roberta

SAS Super FREQ
Posts: 8,743

Re: Italicized titles in ODS RTF

Hi:

  If the BOLD instruction on the title statement doesn't change the title style, you can either change the style template (harder) or use a style override (easier). Font_style is the attribute you want to change and the possible values are roman (straight) or italic (slanted). The style override specifies the attribute override in square brackets and the text to change is completely enclosed in the curly braces.

cynthia

 

ods rtf(id=1) file='/folders/myfolders/title_test.rtf';

ods escapechar='^';

title '^{style[font_style=roman]this is my title}';

proc print data=sashelp.class;

run;

ods rtf(id=1) close;

Super Contributor
Posts: 268

Re: Italicized titles in ODS RTF

What version are you running?  Perhaps show some of the code  here for us to view.

Gregg

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