BookmarkSubscribeRSS Feed
🔒 This topic is locked. We are no longer accepting replies to this topic. Need further help? Please sign in and ask a new question.
SAS_Tipster
Moderator

The title and footnote statement options that were originally supported only in SAS/GRAPH to support changing the height and justification of title and footnote text are now supported in many ODS destinations.

 

Use the h= (height) and j= (justification) options to do this.

 

You can see this by running the following code.

 

ods html file = '\temp.html';
proc print data=sashelp.class;
 title h=1 'Just' h=2 ' Playing' h=3 ' With' h=4 ' Growing' h=5 ' Titles';
 footnote j=left c=blue 'In Blue' j=center c=black 'and' j=right c=red 'And Red';
run;
ods html close;

Additional options are discussed in the paper SAS/GRAPH Elements You Should Know –Even If You Don’t Use SAS/GRAPH.

 

Thanks to Don Henderson for sharing this tip on sasCommunity.org.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Visit a random SAS tip This SAS Tips board is not open for replies or comments, but we welcome your feedback and questions. Have a question or comment about this tip? Start a new topic in one of our discussion boards, and reference this tip topic.
Discussion stats
  • 0 replies
  • 1372 views
  • 0 likes
  • 1 in conversation