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
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.....";
This paper could be interesting for you: https://support.sas.com/resources/papers/proceedings/proceedings/forum2007/099-2007.pdf
All the best,
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.....";
This paper could be interesting for you: https://support.sas.com/resources/papers/proceedings/proceedings/forum2007/099-2007.pdf
All the best,
Works perfectly, thank you for the quick reply and recommended paper!
Good day to you,
Rasmus
Thank you @Rasmus_G
You're welcome 😀
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!
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.