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
Diamond | Level 26

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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 5 replies
  • 4725 views
  • 1 like
  • 4 in conversation