- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
How do you remove space between a footnote and a table from Proc Freq, Proc Print, and Proc Report output. I have tables created using this 3 Procs and there is like 2 space between the footnotes and the tables.
- Tags:
- sas
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
With ODS RTF output you might try the alternate ODS TAGSETS.RTF. There are additional options and VSPACE controls additional spaces before/after tables.
Brief example:
ods tagsets.rtf file='myrtf.rtf' OPTIONS(VSPACE='NO');
If it turns out that you do not need this everywhere in the document it might be possible to set for portions of a document by something like
ods tagsets.rtf file='myrtf.rtf' ; <something that creates output> ods tagsets.rtf OPTIONS(VSPACE='NO'); <more output procedure> ods tagsets.rtf options(vspace='YES'); <more output> ods tagsets.rtf close;
Most of the RTF options are available in Tagsets.rtf but may need to be set a bit differently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Typically, in order to change a standard behavior like that, one would have to edit the template for the procedure using Proc Template.
Here's a paper on the first of the procedures you mentioned, Proc Freq.
https://support.sas.com/resources/papers/freq92.pdf
If you get it working for one procedure, you should be able to get it working for the other two fairly easily.
I won't claim to be an expert on Proc Template, but I have done a few things to Proc Freq like adding commas to long numbers (999,999,999) for ease of reading. If you get stuck, post a question, and I'll do what I can.
Good luck, 👍
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
What destination are you sending the output to?
Which ODS Style are you currently using?
I've played with this a long time ago and it has something do to with the PARSKIP property for the style in use. But changing that will also affect other places using Parskip, titles, space between tables/ different procedures can be affected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
With ODS RTF output you might try the alternate ODS TAGSETS.RTF. There are additional options and VSPACE controls additional spaces before/after tables.
Brief example:
ods tagsets.rtf file='myrtf.rtf' OPTIONS(VSPACE='NO');
If it turns out that you do not need this everywhere in the document it might be possible to set for portions of a document by something like
ods tagsets.rtf file='myrtf.rtf' ; <something that creates output> ods tagsets.rtf OPTIONS(VSPACE='NO'); <more output procedure> ods tagsets.rtf options(vspace='YES'); <more output> ods tagsets.rtf close;
Most of the RTF options are available in Tagsets.rtf but may need to be set a bit differently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content