<?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 Re: TAGSETS.RTF Space After Table Inconsistent in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/788848#M252340</link>
    <description>&lt;P&gt;also calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jan 2022 12:42:07 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-01-07T12:42:07Z</dc:date>
    <item>
      <title>TAGSETS.RTF Space After Table Inconsistent</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/788840#M252333</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I hope someone can help me, I am producing some RTF outputs destined to be opened in Microsoft Word, I have opted to use the ODS TAGSETS.RTF method. It works as in tended but I have started to notice odd inconsistencies between some of the outputs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now the titles and footnotes are printed within the body of the word document and not in the header and footer space found in Word, &lt;STRONG&gt;this is exactly what I want&lt;/STRONG&gt;. The issue I have is with the space after the footnotes of my output and the footer space in word. There seems to be a large white gap in some outputs but not in others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me explain, take this output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example 1" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67178i205D8F7201958CFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-01-07 121221.png" alt="Example 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Example 1&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see the is a normal-ish gap after the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But consider this output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example 2 - spilling" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67179iAA987DBE04012660/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-01-07 121502.png" alt="Example 2 - spilling" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Example 2 - spilling&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The gap between the table and footer is a lot bigger, and the table is spilling as denoted by the "Continued" text. It is worth noting the next page is a single line, which looking at the first example would fit on the first page without spilling.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is, why is the second output spilling when there is clearly space? Is there an option which controls this white space?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using margins:&lt;/P&gt;
&lt;P&gt;leftmargin=3.05cm&lt;/P&gt;
&lt;P&gt;rightmargin=2.84cm&lt;/P&gt;
&lt;P&gt;topmargin=2.54cm&lt;/P&gt;
&lt;P&gt;bottommargin=2.54cm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both outputs use the same style. I cannot post the full code, but both programs use near identical PROC REPORT (with the only difference being the column used and the labels. Below is some sample code, I have had to censor aspects of it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=final split = "@" nowd missing headline;
    column xxx0 xxx1-xxx8;

    define xxx0 / order order=internal noprint;

    define xxx1 / order order=internal noprint;
    define xxx2 / order order=internal "XXXXXXX" style(header)=[just=l cellwidth=20%] style(column)=[just=l] id;
    define xxx3 / order order=internal noprint;
    define xxx4 / order order=internal "XXXXXXX" style(header)=[just=l cellwidth=14.5%] style(column)=[just=l] id;

    define xxx5 / display "XXXXXXX"  style(header)=[just=c cellwidth=16%] style(column)=[just=c vjust=top asis=on pretext="^R'\ql\li150 '"];
    define xxx6 / display "XXXXXXX"  style(header)=[just=c cellwidth=16%] style(column)=[just=c vjust=top asis=on pretext="^R'\ql\li150 '"];
    define xxx7 / display "XXXXXXX"  style(header)=[just=c cellwidth=16%] style(column)=[just=c vjust=top asis=on pretext="^R'\ql\li150 '"];
    define xxx8 / display "XXXXXXX"  style(header)=[just=c cellwidth=16%] style(column)=[just=c vjust=top asis=on pretext="^R'\ql\li150 '"];

    compute before xxx0 / style = [just=l font=("Courier New", 4pt)];
      line " ";
    endcomp;

    compute after xxx1 / style = [just=l font=("Courier New", 4pt)];
      line " ";
    endcomp;

    break after xxx1 / page;
  run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note: I am using a custom style, so I am guessing there could be an option which controls this space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 13:04:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/788840#M252333</guid>
      <dc:creator>craig159753</dc:creator>
      <dc:date>2022-01-07T13:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.RTF Space After Table Inconsistent</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/788847#M252339</link>
      <description>&lt;P&gt;Check the option of it by&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods tagsets.rtf file='c:\temp\temp.rtf' options(doc='help');
proc print data=sashelp.class;run;
ods tagsets.rtf close;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1641559111471.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67180i1846708EB12828A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1641559111471.png" alt="Ksharp_0-1641559111471.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 12:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/788847#M252339</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-01-07T12:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.RTF Space After Table Inconsistent</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/788848#M252340</link>
      <description>&lt;P&gt;also calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 12:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/788848#M252340</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-01-07T12:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.RTF Space After Table Inconsistent</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/788849#M252341</link>
      <description>&lt;P&gt;Hi Ksharp,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for replying, I should have added, currently I am using the following options on the ODS line&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; options(vspace="off" tables_off="off")&lt;BR /&gt;&lt;BR /&gt;Toggling these has no effect on my issue.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 12:43:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/788849#M252341</guid>
      <dc:creator>craig159753</dc:creator>
      <dc:date>2022-01-07T12:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.RTF Space After Table Inconsistent</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/789014#M252416</link>
      <description>&lt;P&gt;The ODS TAGSET methods are getting pretty old now and many haven't haven't been updated in a long time. Have you tried ODS RTF - this is much more recent and may work better?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jan 2022 03:06:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/789014#M252416</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-01-08T03:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.RTF Space After Table Inconsistent</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/789081#M252457</link>
      <description>Hi:&lt;BR /&gt;  I agree with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt; that TAGSETS.RTF may not be as smooth as ODS RTF. In either case, I think this is an issue for SAS Tech Support. If the code and data can't be posted publicly, that they is something that could be provided to Tech Support and they can work one on one with the person reporting the issue. In addition, they can try to match the version of SAS and the version of TAGSETS.RTF that is being used in this instance, along with the custom style. &lt;BR /&gt;Cynthia</description>
      <pubDate>Sat, 08 Jan 2022 21:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/789081#M252457</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-01-08T21:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.RTF Space After Table Inconsistent</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/789197#M252500</link>
      <description>&lt;P&gt;Hi Cynthia, &lt;BR /&gt;&lt;BR /&gt;These reason I have opted for TAGESET.RTF over RTF is a trivial reason, notice in the images above, my first title is split into two titles, one of the left and the other on the right. As I require the TITLES and FOOTNOTES in the body of the output I am also using the BODYTITLE option.&lt;BR /&gt;&lt;BR /&gt;I have tried several "solutions" none of which have worked.&lt;BR /&gt;&lt;BR /&gt;Solution 1 (using RTF code):&lt;BR /&gt;title1 j=left "^R'\ql 'Some text^R'\qr 'Some other text";&lt;BR /&gt;&lt;BR /&gt;Soltuin 2 (using JUST twice in the TITLE statement):&lt;BR /&gt;title1 j=left "some text" j=right "some other text";&lt;BR /&gt;&lt;BR /&gt;Both of which did not work, with solution 1 having the text on the left and solution 2 having the text on the right. Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 08:29:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/789197#M252500</guid>
      <dc:creator>craig159753</dc:creator>
      <dc:date>2022-01-10T08:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: TAGSETS.RTF Space After Table Inconsistent</title>
      <link>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/789198#M252501</link>
      <description>Thanks for commenting, please see my response to Cynthia above.</description>
      <pubDate>Mon, 10 Jan 2022 08:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/TAGSETS-RTF-Space-After-Table-Inconsistent/m-p/789198#M252501</guid>
      <dc:creator>craig159753</dc:creator>
      <dc:date>2022-01-10T08:28:14Z</dc:date>
    </item>
  </channel>
</rss>

