<?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 Titles alignments in ODS RTF with bodyti in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790640#M25561</link>
    <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to create a RTF file with below code. I'd like to put two titles on the same line. one with just=left, the other one with just=right.&lt;/P&gt;&lt;P&gt;However, it doesn't work in my program with bodytitle option was specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ODS RTF FILE= "X:\temp\myfile.rtf" style=styles.threelines keepn startpage=YES bodytitle;

title1 j=l "Company"  j=r "Page x of N";
title2 "My title";

PROC REPORT DATA=rep NOWD HEADLINE HEADSKIP SPLIT='#' SPACING=1 MISSING 
  style(lines) = [  borderbottomcolor=white];

  column  txt ("_Total" ob cfb);  

  define txt / style(header)=[just=left asis=on]
               style(column)=[just=left asis=on cellwidth=30% ] 'Visit';

  define ob /  style(header)=[just=center asis=on bordertopcolor=black bordertopwidth=0.5pt] 
                style(column)=[vjust=top just=center cellwidth=33% ] 
                "Observed" ;

  define cfb /  style(header)=[just=center asis=on bordertopcolor=black bordertopwidth=0.5pt] 
                style(column)=[vjust=top just=center cellwidth=33% ] 
                "CFB" ;

  COMPUTE AFTER _PAGE_/ LEFT;
     LINE @1 "Program: temp.sas                                                                               Created on: &amp;amp;sysdate9."; 
  ENDCOMP;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The report procedue works well, except for the title1, two titles aligns at right.&lt;/P&gt;&lt;P&gt;Anyone can help me on this? Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jan 2022 08:23:56 GMT</pubDate>
    <dc:creator>Coooooo_Lee</dc:creator>
    <dc:date>2022-01-18T08:23:56Z</dc:date>
    <item>
      <title>Titles alignments in ODS RTF with bodyti</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790640#M25561</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to create a RTF file with below code. I'd like to put two titles on the same line. one with just=left, the other one with just=right.&lt;/P&gt;&lt;P&gt;However, it doesn't work in my program with bodytitle option was specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ODS RTF FILE= "X:\temp\myfile.rtf" style=styles.threelines keepn startpage=YES bodytitle;

title1 j=l "Company"  j=r "Page x of N";
title2 "My title";

PROC REPORT DATA=rep NOWD HEADLINE HEADSKIP SPLIT='#' SPACING=1 MISSING 
  style(lines) = [  borderbottomcolor=white];

  column  txt ("_Total" ob cfb);  

  define txt / style(header)=[just=left asis=on]
               style(column)=[just=left asis=on cellwidth=30% ] 'Visit';

  define ob /  style(header)=[just=center asis=on bordertopcolor=black bordertopwidth=0.5pt] 
                style(column)=[vjust=top just=center cellwidth=33% ] 
                "Observed" ;

  define cfb /  style(header)=[just=center asis=on bordertopcolor=black bordertopwidth=0.5pt] 
                style(column)=[vjust=top just=center cellwidth=33% ] 
                "CFB" ;

  COMPUTE AFTER _PAGE_/ LEFT;
     LINE @1 "Program: temp.sas                                                                               Created on: &amp;amp;sysdate9."; 
  ENDCOMP;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The report procedue works well, except for the title1, two titles aligns at right.&lt;/P&gt;&lt;P&gt;Anyone can help me on this? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 08:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790640#M25561</guid>
      <dc:creator>Coooooo_Lee</dc:creator>
      <dc:date>2022-01-18T08:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Titles alignments in ODS RTF with bodytitle</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790641#M25562</link>
      <description>&lt;P&gt;Subject updated: "Titles alignments in ODS RTF with bodytitle"&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 08:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790641#M25562</guid>
      <dc:creator>Coooooo_Lee</dc:creator>
      <dc:date>2022-01-18T08:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Titles alignments in ODS RTF with bodyti</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790646#M25563</link>
      <description>&lt;P&gt;Have a look at this SAS Note&amp;nbsp;&lt;A href="https://support.sas.com/kb/13/608.html" target="_blank"&gt;https://support.sas.com/kb/13/608.html&lt;/A&gt;&amp;nbsp;and see if this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 09:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790646#M25563</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2022-01-18T09:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Titles alignments in ODS RTF with bodyti</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790650#M25564</link>
      <description>&lt;P&gt;Hi Burno,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Is there a corresponding option of KEEPN in ods.tagsets?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 09:31:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790650#M25564</guid>
      <dc:creator>Coooooo_Lee</dc:creator>
      <dc:date>2022-01-18T09:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Titles alignments in ODS RTF with bodyti</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790674#M25565</link>
      <description>&lt;P&gt;Or you coould try this workaround way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ODS RTF FILE= "C:\temp\myfile.rtf" style=journal bodytitle;
ods escapechar='~';
title1  "Company  %sysfunc(repeat(~_,100))  Page x of N";
title2 "My title";

PROC REPORT DATA=sashelp.class NOWD;
run;
ods rtf close;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1642507995102.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67483iADFF288F0204C9F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1642507995102.png" alt="Ksharp_0-1642507995102.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 12:13:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790674#M25565</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-01-18T12:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Titles alignments in ODS RTF with bodyti</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790677#M25566</link>
      <description>&lt;P&gt;As far as I know, this option does not exist for tagsets.rtf. You can display all the options available for tagsets.ods like so:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.rtf file= "c:\temp\myfile.rtf"   options( doc="help");

ods tagsets.rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also tagsets.ods does the "measurements" differently, so maybe KEEPN is not necessary.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 12:28:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/790677#M25566</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2022-01-18T12:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Titles alignments in ODS RTF with bodyti</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/791707#M25587</link>
      <description>&lt;P&gt;Thanks for providing your suggestion.&lt;/P&gt;&lt;P&gt;Finally, I got this resolved by ODS RTF with bodytitle_aux option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jan 2022 13:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/791707#M25587</guid>
      <dc:creator>Coooooo_Lee</dc:creator>
      <dc:date>2022-01-23T13:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Titles alignments in ODS RTF with bodyti</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/791825#M25589</link>
      <description>Cool !</description>
      <pubDate>Mon, 24 Jan 2022 12:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Titles-alignments-in-ODS-RTF-with-bodyti/m-p/791825#M25589</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-01-24T12:26:13Z</dc:date>
    </item>
  </channel>
</rss>

