- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Titile2 'bbb';
Proc print data=sashelp.class;
Run;
How to keep one line gap between title1 and titile2;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
A 2 step approach:
1) Spell title correctly 😉
2) Simply assign no title to Title2 and set Title3 to 'bbb'
Title1 'aaaa';
Title2;
Title3 'bbb';
Proc print data=sashelp.class;
Run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@thanikondharish wrote:
Without using title2 statement
Just omit it. Setting a specific title item automatically clears all "higher" titles.
For the umpteenth time: READ THE DOCUMENTATION. It won't make your head explode. I promise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi Harish,
1.I think the code you posted in that title is misspelled .
2. If you need a gap between two titles then keep the second title as in title3.
Title1 'aaaa';
Title3 'bbb';
Proc print data=sashelp.class;
Run;
Please share the output style, so that more accurate result you can get.
Thanks and Gud luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi Harish,
1. Either you can adjust your two titles with one title statement with Justify left and right options.
2. You can use LSPACE and wrap options for 2 titles and height of the text.
Title1 JUSTIFY= center 'aaa' LSPACE=1 wrap;
Title2 'bbb' JUSTIFY= CENTER LSPACE=1;
title3 'ccc' JUSTIFY= CENTER LSPACE=2 wrap;
title4 'ddd' JUSTIFY= CENTER LSPACE=2 wrap;
Proc print data=sashelp.class;
Run;
I am not sure, bcoz if there are 7 titles with one line blank space then the report might look like with much bottom aligned, so it might not look good I believe. I think you can try using the options of Height, Lspace, Wrap and Justify in the title statement and can try to adjust the alignment of your titles.
Thanks...Gud Luck....
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content