BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Rasmus_G
Calcite | Level 5

Dear SAS Community members,

I am trying to make a title statement, where the first 2 words should be in bold (Table 1), but the remaining text should be plain not-bold text.

I found a guide saying that bold and italic options should reset after changing font, but that didn't solve the issue (https://support.sas.com/kb/24/853.html).

 

The code:

title font='Arial' height=6pt justify=left color='black' bold "Table 1"

font='Times New Roman' font='Arial' height=6pt color=black "Point of entry for ....more text.....";

 

Does anyone have a solution or suggestion?

 

Best regards,

Rasmus

1 ACCEPTED SOLUTION

Accepted Solutions
ed_sas_member
Meteorite | Level 14

Hi @Rasmus_G 

 

Maybe something like this?

ods escapechar="^";

title justify=left
	   "^S={font_face='Arial' font_weight=bold font_size=6pt foreground=black}Table 1
	    ^S={font_face='Times New Roman' font_weight=medium font_size=6pt foreground=black}Point of entry for ....more text.....";

Capture d’écran 2020-04-17 à 12.34.04.png

This paper could be interesting for you: https://support.sas.com/resources/papers/proceedings/proceedings/forum2007/099-2007.pdf

All the best,

View solution in original post

3 REPLIES 3
ed_sas_member
Meteorite | Level 14

Hi @Rasmus_G 

 

Maybe something like this?

ods escapechar="^";

title justify=left
	   "^S={font_face='Arial' font_weight=bold font_size=6pt foreground=black}Table 1
	    ^S={font_face='Times New Roman' font_weight=medium font_size=6pt foreground=black}Point of entry for ....more text.....";

Capture d’écran 2020-04-17 à 12.34.04.png

This paper could be interesting for you: https://support.sas.com/resources/papers/proceedings/proceedings/forum2007/099-2007.pdf

All the best,

Rasmus_G
Calcite | Level 5

Works perfectly, thank you for the quick reply and recommended paper!

 

Good day to you,

Rasmus

ed_sas_member
Meteorite | Level 14

Thank you @Rasmus_G 

You're welcome 😀

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 2986 views
  • 1 like
  • 2 in conversation