<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can I  remove the blank line between the footnotes and the main table? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/803785#M25663</link>
    <description>&lt;PRE&gt;&lt;CODE class=""&gt;proc template;
    define style tfl_table;
        style body /
            leftmargin = 1in
            rightmargin = 1in
            topmargin = 0.5in
            bottommargin = 0.5in;
        style table /
            frame = hsides
            rules = groups
            cellpadding = 3pt
            cellspacing = 0pt
            width = 100%;
        style header /
            /*This is the header line for the table.*/
            fontfamily = 'Courier New'
            fontsize = 9pt;
        style data /
            /*This is the data in the table.*/
            fontfamily = 'Courier New'
            fontsize = 9pt;
        style SystemTitle /
            fontfamily = 'Courier New'
            color = red
            fontsize = 10pt;
        style systemfooter /
            /*This affects the text in footnoteX statement.*/
            textalign = left
            fontfamily = 'Courier New'
            fontsize = 9pt;
        style NoteContent from Note /
            /*change the font in the compute line*/
            textalign = left
            fontsize = 9pt
            fontfamily = 'Courier New';
    end;
run;

ods html close;
ods rtf file = "&amp;amp;dir.\test-run.rtf" bodytitle style = tfl_table;
ods escapechar = '^';

title1 'First Title with title1 statement';
title2 'Second Title with title2 statement';
footnote1 'footnote1 with footnote1 statement';
footnote2 'footnote2 with footnote2 statement';

proc report data = sashelp.class nowd;
    column sex name age height weight;
    define sex / group;
    break after sex / page;
run;
ods rtf close;

title;
footnote;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I wrote a template to create table.. There are a few question: headers and footnotes are separated from the main table by a blank line or two. How can I&amp;nbsp; remove the blank line between the footnotes and the main table?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 13:02:20 GMT</pubDate>
    <dc:creator>Garyho</dc:creator>
    <dc:date>2022-03-24T13:02:20Z</dc:date>
    <item>
      <title>How can I  remove the blank line between the footnotes and the main table?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/803785#M25663</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;proc template;
    define style tfl_table;
        style body /
            leftmargin = 1in
            rightmargin = 1in
            topmargin = 0.5in
            bottommargin = 0.5in;
        style table /
            frame = hsides
            rules = groups
            cellpadding = 3pt
            cellspacing = 0pt
            width = 100%;
        style header /
            /*This is the header line for the table.*/
            fontfamily = 'Courier New'
            fontsize = 9pt;
        style data /
            /*This is the data in the table.*/
            fontfamily = 'Courier New'
            fontsize = 9pt;
        style SystemTitle /
            fontfamily = 'Courier New'
            color = red
            fontsize = 10pt;
        style systemfooter /
            /*This affects the text in footnoteX statement.*/
            textalign = left
            fontfamily = 'Courier New'
            fontsize = 9pt;
        style NoteContent from Note /
            /*change the font in the compute line*/
            textalign = left
            fontsize = 9pt
            fontfamily = 'Courier New';
    end;
run;

ods html close;
ods rtf file = "&amp;amp;dir.\test-run.rtf" bodytitle style = tfl_table;
ods escapechar = '^';

title1 'First Title with title1 statement';
title2 'Second Title with title2 statement';
footnote1 'footnote1 with footnote1 statement';
footnote2 'footnote2 with footnote2 statement';

proc report data = sashelp.class nowd;
    column sex name age height weight;
    define sex / group;
    break after sex / page;
run;
ods rtf close;

title;
footnote;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I wrote a template to create table.. There are a few question: headers and footnotes are separated from the main table by a blank line or two. How can I&amp;nbsp; remove the blank line between the footnotes and the main table?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 13:02:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/803785#M25663</guid>
      <dc:creator>Garyho</dc:creator>
      <dc:date>2022-03-24T13:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  remove the blank line between the footnotes and the main table?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/803800#M25664</link>
      <description>&lt;P&gt;Only the footnotes and the space between the Title and the table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The PARSKIP style attribute in the style template controls the default space between titles and footnotes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would have a line similar to&lt;/P&gt;
&lt;PRE&gt;style parskip / fontsize = 1pt;&lt;/PRE&gt;
&lt;P&gt;in your style template to have the space reduced to 1pt between the titles, footnote and the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternate, which doesn't allow quite the appearance options is to use the POSTTEXT style option.&lt;/P&gt;
&lt;PRE&gt;proc report data=sashelp.class  
  style=[posttext='something following']
;
   columns name sex age;
   define sex/display;
   define age/display;
run;&lt;/PRE&gt;
&lt;P&gt;The Posttext, and the Pretext that would precede a table, does not have any persistence like title and footnote, does not incorporate many of the appearance options of title/ footnote and pretty much only allows one element, i.e. all the text goes in one posttext text content. But the text does appear immediately after/before the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I find Pretext/Posttext more helpful in Proc Tabulate which can create multiple tables as the style is applied per single table as an option.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 14:35:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/803800#M25664</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-24T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  remove the blank line between the footnotes and the main table?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/803804#M25665</link>
      <description>&lt;P&gt;for tagset.rtf there is&amp;nbsp;OPTIONS(vspace="NO"):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.rtf file = "&amp;amp;dir.\test-run.rtf" style = tfl_table OPTIONS(vspace="NO");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;B.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 14:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/803804#M25665</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2022-03-24T14:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  remove the blank line between the footnotes and the main table?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/804343#M25668</link>
      <description>&lt;P&gt;ballardw,&lt;/P&gt;
&lt;P&gt;When I using style=journal within RTF and got this weird result . Any idea ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file = "c:\temp\test-run.rtf" bodytitle style = journal ;
title;
footnote;
proc report data = sashelp.class nowd 
style=[pretext='something following'  posttext='something following' fontsize=6];
    column sex name age height weight;
    define sex / group;
    break after sex / page;
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1648377181449.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69842i8DE7C02E20D93ABC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1648377181449.png" alt="Ksharp_0-1648377181449.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2022 10:33:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/804343#M25668</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-03-27T10:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  remove the blank line between the footnotes and the main table?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/804347#M25669</link>
      <description>&lt;P&gt;Or Try this one ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
    define style tfl_table;
        style body /
            leftmargin = 1in
            rightmargin = 1in
            topmargin = 0.5in
            bottommargin = 0.5in;
        style table /
            frame = hsides
            rules = groups
            cellpadding = 3pt
            cellspacing = 0pt
            width = 100%;
        style header /
            /*This is the header line for the table.*/
            fontfamily = 'Courier New'
            fontsize = 9pt;
        style data /
            /*This is the data in the table.*/
            fontfamily = 'Courier New'
            fontsize = 9pt;
        style SystemTitle /
            fontfamily = 'Courier New'
            color = red
            fontsize = 10pt;
        style systemfooter /
            /*This affects the text in footnoteX statement.*/
            textalign = left
            fontfamily = 'Courier New'
            fontsize = 9pt;
        style NoteContent from Note /
            /*change the font in the compute line*/
            textalign = left
            fontsize = 9pt
            fontfamily = 'Courier New';
    end;
run;
ods rtf file = "c:\temp\test-run.rtf" bodytitle style = tfl_table ;

title;
footnote;

proc report data = sashelp.class nowd;
    column sex name age height weight;
    define sex / group;
    break after sex / page;
compute before _page_/
style={just=l bordertopwidth=2 bordertopcolor=white borderbottomwidth=2 borderbottomcolor=black};
line 'First Title with title1 statement';
line 'Second Title with title2 statement';
endcomp;
compute after sex/
style={just=l bordertopwidth=2 bordertopcolor=black borderbottomwidth=2 borderbottomcolor=white};
line 'footnote1 with footnote1 statement';
line 'footnote1 with footnote1 statement';
endcomp;
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1648379058389.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69843i0C734CC4669D5199/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1648379058389.png" alt="Ksharp_0-1648379058389.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2022 11:04:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-remove-the-blank-line-between-the-footnotes-and-the/m-p/804347#M25669</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-03-27T11:04:27Z</dc:date>
    </item>
  </channel>
</rss>

