BookmarkSubscribeRSS Feed
Roberta324
Calcite | Level 5

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

5 REPLIES 5
GreggB
Pyrite | Level 9

Try this:

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

Roberta324
Calcite | Level 5

Gregg,

  It didn't work.

       Roberta

Cynthia_sas
SAS Super FREQ

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;

DrAbhijeetSafai
Lapis Lazuli | Level 10

Thank you!

 

- Dr. Abhijeet Safai

Dr. Abhijeet Safai
Certified Base and Clinical SAS Programmer
Associate Data Analyst
Actu-Real
GreggB
Pyrite | Level 9

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

Gregg

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 5 replies
  • 2870 views
  • 1 like
  • 4 in conversation