<?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: proc report (rtf) in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rtf/m-p/426615#M20144</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;Here is the code that I used to create the output that you desire.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
	length male $8;
	male="male";
	arma=18;
	armb=16;
run;
ods rtf file='c:\sasuser\tryindent2.rtf';
proc report data=have NOWD
	style(lines)={leftmargin=.25in just=left protectspecialchars=off};
	title1 "Table X Count of male subjects by arm";
	column Male Arma armb;
	define Male/display " Male" style=[cellwidth=4 just=c];
	define ArmA /display " Arm A /(N)"  style=[cellwidth=2 just=c];
	define armb/display "Arm B/(N)" style=[cellwidth=2 just=c];

	compute after;
		line "1 Count of male subjects by arm.";
		line "2 Arm is assigned at week 2 after study initiated:"; 
		line "\tab {2a Arm A: Control.}";
		line "\tab {2b Arm B: Test.}";
	endcomp;
RUN;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please keep in mind that \tab will not work in PDF or HTML, but in RTF only. I'm attaching the output that I got using the code above.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2018 19:43:23 GMT</pubDate>
    <dc:creator>sabisw</dc:creator>
    <dc:date>2018-01-10T19:43:23Z</dc:date>
    <item>
      <title>proc report (rtf)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rtf/m-p/426563#M20143</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am creating report (tableX. Rtf) using proc report. We expected the line of footnote 2a, 2b align 2-3 space away from the margin relative to footnote 1 and 2(expected output). However, my output only aligns all footnote left (my output). Please see detail in attached file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have reference several papers( such as Advanced RTF layout with SAS; COMPUTE Block and Conditional Footnote). But it doesn’t work out. Could anyone help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 17:47:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rtf/m-p/426563#M20143</guid>
      <dc:creator>Defense</dc:creator>
      <dc:date>2018-01-10T17:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc report (rtf)</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rtf/m-p/426615#M20144</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;Here is the code that I used to create the output that you desire.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
	length male $8;
	male="male";
	arma=18;
	armb=16;
run;
ods rtf file='c:\sasuser\tryindent2.rtf';
proc report data=have NOWD
	style(lines)={leftmargin=.25in just=left protectspecialchars=off};
	title1 "Table X Count of male subjects by arm";
	column Male Arma armb;
	define Male/display " Male" style=[cellwidth=4 just=c];
	define ArmA /display " Arm A /(N)"  style=[cellwidth=2 just=c];
	define armb/display "Arm B/(N)" style=[cellwidth=2 just=c];

	compute after;
		line "1 Count of male subjects by arm.";
		line "2 Arm is assigned at week 2 after study initiated:"; 
		line "\tab {2a Arm A: Control.}";
		line "\tab {2b Arm B: Test.}";
	endcomp;
RUN;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please keep in mind that \tab will not work in PDF or HTML, but in RTF only. I'm attaching the output that I got using the code above.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 19:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-rtf/m-p/426615#M20144</guid>
      <dc:creator>sabisw</dc:creator>
      <dc:date>2018-01-10T19:43:23Z</dc:date>
    </item>
  </channel>
</rss>

