<?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: displaying space charactere with proc report in ods RTF/PDF in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/displaying-space-charactere-with-proc-report-in-ods-RTF-PDF/m-p/263875#M269251</link>
    <description>&lt;P&gt;The most likely cause is the use of a proportional font. You could use an ods style that uses a monospace type font such as Courier or SAS Monospace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on exactly what you need to do there may be other options to control justification. If the intent is to create indented text then adding spaces often does exactly what you describe.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 13:48:44 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-04-14T13:48:44Z</dc:date>
    <item>
      <title>displaying space charactere with proc report in ods RTF/PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/displaying-space-charactere-with-proc-report-in-ods-RTF-PDF/m-p/263868#M269250</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i use the proc report to display data of sas dataset in RTF/PDF&lt;BR /&gt;same value of columns contain a blank spaces character in the beginning of data followed by other printable characters&lt;BR /&gt;we can replace the blank byte(32) by Non-breaking space byte(160) but the length of the space is not the same in the output&lt;BR /&gt;is there an option or any way to do that ?&lt;BR /&gt;bellow a sas example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test ; 
a=' aaaaaa'; output ; 
a=' bbbbbb'; output ; 
a=' cccccc'; output ; 
run ;
ods rtf ; 
proc report data=test ; 
column a ; 
run ; 
ods rtf close ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;best regard&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 13:29:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/displaying-space-charactere-with-proc-report-in-ods-RTF-PDF/m-p/263868#M269250</guid>
      <dc:creator>reznac</dc:creator>
      <dc:date>2016-04-14T13:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: displaying space charactere with proc report in ods RTF/PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/displaying-space-charactere-with-proc-report-in-ods-RTF-PDF/m-p/263875#M269251</link>
      <description>&lt;P&gt;The most likely cause is the use of a proportional font. You could use an ods style that uses a monospace type font such as Courier or SAS Monospace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on exactly what you need to do there may be other options to control justification. If the intent is to create indented text then adding spaces often does exactly what you describe.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 13:48:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/displaying-space-charactere-with-proc-report-in-ods-RTF-PDF/m-p/263875#M269251</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-04-14T13:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: displaying space charactere with proc report in ods RTF/PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/displaying-space-charactere-with-proc-report-in-ods-RTF-PDF/m-p/263880#M269252</link>
      <description>&lt;P&gt;To preserve leading spaces in your text, you will want the little document asis=on option:&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; test &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; 
  a&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;' aaaaaa'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; output &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; 
  a&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;' bbbbbb'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; output &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; 
  a&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;' cccccc'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; output &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token statement"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;rtf&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;report&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;test &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="token keyword"&gt; column&lt;/SPAN&gt; a style(column)={asis=on}&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="token statement"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;rtf&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;close&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Apr 2016 14:01:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/displaying-space-charactere-with-proc-report-in-ods-RTF-PDF/m-p/263880#M269252</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-14T14:01:27Z</dc:date>
    </item>
  </channel>
</rss>

