Help using Base SAS procedures

left margin on title in proc report

Reply
Occasional Contributor
Posts: 11

left margin on title in proc report

i am writing a proc report into ods and want my titles and footnotes to be on the left hand side.

what syntax can i use?
Super Contributor
Posts: 394

Re: left margin on title in proc report

Check out the JUSTIFY= option on the TITLE and FOOTNOTE statements.
Super User
Posts: 10,548

Re: left margin on title in proc report

If you want all of the output to align on the left margin you can also use
OPTION NOCENTER:
SAS Super FREQ
Posts: 8,744

Re: left margin on title in proc report

And, to build on Tim's suggestion, you can apply justification to multiple strings in the same title or footnote statement like this:
[pre]
title j=l 'Left String' j=c 'Center String' j=r 'Right String';
footnote j=l "Created on: &sysdate" j=r "Draft Version";
[/pre]

Most of the major ODS destinations (RTF, PDF and HTML) will respect the multiple justifications.

cynthia
Ask a Question
Discussion stats
  • 3 replies
  • 197 views
  • 0 likes
  • 4 in conversation