<?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: ods rtf column width question in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323137#M17689</link>
    <description>Hi:&lt;BR /&gt;  Generally, I find it troublesome to "over control" the widths, essentially, either set your outputwidth for the whole report and let PROC REPORT and the destination handle the column sizes, or take full control and set your column sizes on each define, making sure that you don't specify values that add up to more than the the papersize minus the margins (left and right).&lt;BR /&gt;&lt;BR /&gt;  There are some good recommendations about wide output in PDF in this paper: &lt;A href="https://support.sas.com/resources/papers/proceedings14/SAS038-2014.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings14/SAS038-2014.pdf&lt;/A&gt; and there's a section about what if my output is too wide, starting on page 12 that may be informative, even if your destination is RTF.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
    <pubDate>Sat, 07 Jan 2017 01:48:21 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-01-07T01:48:21Z</dc:date>
    <item>
      <title>ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/322567#M17679</link>
      <description>&lt;P&gt;Below is my code, I want to control output &amp;nbsp;column width. &amp;nbsp;For&amp;nbsp;&lt;SPAN&gt;totalFR variable, why the define does not work and its column is not 0.75in? How can I deal with this issue without changing&amp;nbsp;outputwidth=7 and other four columns definions? &amp;nbsp;In the attachment,&amp;nbsp;totalFR variable is on the second page and fifth column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options orientation=portrait nonumber center ls=256;&lt;BR /&gt;ods rtf file="C:\Users\user\Desktop\111.rtf";&lt;BR /&gt;proc report data=sashelp.Demographics(obs=20) nowd&lt;BR /&gt;style(report)=[outputwidth=7 in]&lt;BR /&gt;style(header)=[background=white font_size=10pt];&lt;BR /&gt;column _all_;&lt;BR /&gt;define CONT/ id style=[cellwidth=0.75in];&lt;BR /&gt;define ID /id style=[cellwidth=0.75in];&lt;BR /&gt;define ISO /id style=[cellwidth=0.75in];&lt;BR /&gt;define NAME / id style=[cellwidth=0.75in];&lt;BR /&gt;define totalFR / style=[cellwidth=0.75in];&lt;BR /&gt;run;&lt;BR /&gt;ods rtf close;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 03:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/322567#M17679</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-01-05T03:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/322681#M17681</link>
      <description>&lt;P&gt;Since you do not explicitly list all of the variables in your proc report we have to guess which column&amp;nbsp;is your TOTALFR variable in the output and on which page. It appears that your code may be incomplete&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also why bother converting the file to DOC? The conversion could introduce changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 15:19:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/322681#M17681</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-05T15:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/322876#M17685</link>
      <description>&lt;P&gt;&lt;SPAN&gt;TOTALFR is on the second page 5th column.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I transfered it into Doc, because I can not upload rtf file.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 01:43:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/322876#M17685</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-01-06T01:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323055#M17687</link>
      <description>&lt;P&gt;I don't use proc report much but testing your code with options it may be an interaction with header and your define statements. Also the style does make a difference. For instance with style=meadow (using SAS 9.2) that column comes out wider than the surrounding ones. I do note that the skinny column happens to be the middle one so it may be something in the justification routine that Proc Report uses for too wide data. Note that ODS output ignores LS option. You might investigate the PAPERSIZE option to get different widths to display to along with changes of style and/or font sizes everywhere. It would depend on what you were attempting to achieve with the LS setting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the goal was to get all of the columns the same width then this worked.&lt;/P&gt;
&lt;PRE&gt;proc report data=sashelp.Demographics(obs=20) nowd
style(report)=[outputwidth=7 in]
style(header)=[background=white font_size=10pt cellwidth=0.75in]
style(column)=[ cellwidth=0.75in]
;
column _all_;
/*define CONT/ id style=[cellwidth=0.75in];*/
/*define ID /id style=[cellwidth=0.75in];*/
/*define ISO /id style=[cellwidth=0.75in];*/
/*define NAME / id style=[cellwidth=0.75in];*/
/*define totalFR /  style=[cellwidth=0.75in];*/
run;&lt;/PRE&gt;
&lt;P&gt;A brief test shows that you can use overrides to set specific column widths to different than 0.75.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 18:07:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323055#M17687</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-06T18:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323137#M17689</link>
      <description>Hi:&lt;BR /&gt;  Generally, I find it troublesome to "over control" the widths, essentially, either set your outputwidth for the whole report and let PROC REPORT and the destination handle the column sizes, or take full control and set your column sizes on each define, making sure that you don't specify values that add up to more than the the papersize minus the margins (left and right).&lt;BR /&gt;&lt;BR /&gt;  There are some good recommendations about wide output in PDF in this paper: &lt;A href="https://support.sas.com/resources/papers/proceedings14/SAS038-2014.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings14/SAS038-2014.pdf&lt;/A&gt; and there's a section about what if my output is too wide, starting on page 12 that may be informative, even if your destination is RTF.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Sat, 07 Jan 2017 01:48:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323137#M17689</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-07T01:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323139#M17690</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2017 03:46:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323139#M17690</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-01-07T03:46:33Z</dc:date>
    </item>
  </channel>
</rss>

