style TitlesAndFooters from _SELF_ /
color = CX000000
backgroundcolor = CXFFFFFF;
style SystemTitle from _SELF_ /
font = ("Times New Roman", 10pt, bold);
style SystemTitle2 from _SELF_ /
font = ("Times New Roman", 4pt, bold);
style SystemTitle3 from _SELF_ /
font = ("Times New Roman", 12pt, bold);
style GraphTitleText from _SELF_ /
font = ("Times New Roman", 12pt, bold)
color = CX000000;
For HTML and RTF output, my SystemTitle styles are applied when I use title statements in proc gplot. For PDF output, the style for title1 is very large (does not match any of my styles) and the style for the titles 2-x uses the GraphTitleText style.
What style element do I use to style the title1 statement with PDF output? Is there any way to have separate styles for each title statement in PDF output? I am able to do this with regular ODS output but not when I'm using a SAS/Graph procedure.
Not sure what's happening with the style template. You might want to work with Tech Support on that question.
However, you can always use SAS/GRAPH TITLE statement options to make each title have the font/size characteristics that you want:
title h=12pt c=black f='Times New Roman' bold 'What size is this title';
title2 h=6pt c=black f='Times New Roman' bold 'what size is title2';
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.