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
Pyrite | Level 9

Thank you!

 

- Dr. Abhijeet Safai

Dr. Abhijeet Safai
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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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

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
  • 2218 views
  • 1 like
  • 4 in conversation