<?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: Different alignment for 2 different spanned headers in Proc Report? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-alignment-for-2-different-spanned-headers-in-Proc/m-p/239599#M14893</link>
    <description>&lt;P&gt;Found it (obviously, after 2 days of searching and exactly 15 minutes after posting). &amp;nbsp;Just use an escape character like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ods escapechar='^';&lt;/STRONG&gt;&lt;BR /&gt;ods listing close;&lt;/P&gt;
&lt;P&gt;ods rtf file='c:\temp\usestyle1.rtf';&lt;BR /&gt;title "1) Justify ALL the Headers Left and then change the ones you do NOT want left-just";&lt;BR /&gt;proc report data=sashelp.class nowd&lt;BR /&gt;style(header)={just=l};&lt;BR /&gt;column ('Left Justify' age name ) ('&lt;STRONG&gt;^S={just=r&lt;/STRONG&gt;} Right justify' height weight);&lt;BR /&gt;define age / order style(header)={cellwidth=1.25in} 'Laboratory Test';&lt;BR /&gt;define name / display style(header)={cellwidth=1.25in} 'The Name';&lt;BR /&gt;define height / display style(header)={just=c cellwidth=1.25in} 'height';&lt;BR /&gt;define weight / display style(header)={just=c cellwidth=1.25in} 'weight';&lt;BR /&gt;run; &lt;BR /&gt;ods _all_ close;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2015 19:09:10 GMT</pubDate>
    <dc:creator>morglum</dc:creator>
    <dc:date>2015-12-16T19:09:10Z</dc:date>
    <item>
      <title>Different alignment for 2 different spanned headers in Proc Report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-alignment-for-2-different-spanned-headers-in-Proc/m-p/239592#M14891</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I'd like the first spanned header to be left-aligned and the second one to be centered. &amp;nbsp;How can I &amp;nbsp;style spanned headers independently?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;edit: I'm using distinct columns to generate the report, not ACROSS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;edit2: here's a minimal non-working example stolen from another thread:&lt;/P&gt;
&lt;P&gt;ods listing close;&lt;/P&gt;
&lt;P&gt;ods rtf file='c:\temp\usestyle1.rtf';&lt;BR /&gt;title "1) Justify ALL the Headers Left and then change the ones you do NOT want left-just";&lt;BR /&gt;proc report data=sashelp.class nowd&lt;BR /&gt;style(header)={just=l};&lt;BR /&gt;column ('Left Justify' age name ) ('Right justify' height weight);&lt;BR /&gt;define age / order style(header)={cellwidth=1.25in} 'Laboratory Test';&lt;BR /&gt;define name / display style(header)={cellwidth=1.25in} 'The Name';&lt;BR /&gt;define height / display style(header)={just=c cellwidth=1.25in} 'height';&lt;BR /&gt;define weight / display style(header)={just=c cellwidth=1.25in} 'weight';&lt;BR /&gt;run; &lt;BR /&gt;ods _all_ close;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 18:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-alignment-for-2-different-spanned-headers-in-Proc/m-p/239592#M14891</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-12-16T18:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Different alignment for 2 different spanned headers in Proc Report?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-alignment-for-2-different-spanned-headers-in-Proc/m-p/239599#M14893</link>
      <description>&lt;P&gt;Found it (obviously, after 2 days of searching and exactly 15 minutes after posting). &amp;nbsp;Just use an escape character like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ods escapechar='^';&lt;/STRONG&gt;&lt;BR /&gt;ods listing close;&lt;/P&gt;
&lt;P&gt;ods rtf file='c:\temp\usestyle1.rtf';&lt;BR /&gt;title "1) Justify ALL the Headers Left and then change the ones you do NOT want left-just";&lt;BR /&gt;proc report data=sashelp.class nowd&lt;BR /&gt;style(header)={just=l};&lt;BR /&gt;column ('Left Justify' age name ) ('&lt;STRONG&gt;^S={just=r&lt;/STRONG&gt;} Right justify' height weight);&lt;BR /&gt;define age / order style(header)={cellwidth=1.25in} 'Laboratory Test';&lt;BR /&gt;define name / display style(header)={cellwidth=1.25in} 'The Name';&lt;BR /&gt;define height / display style(header)={just=c cellwidth=1.25in} 'height';&lt;BR /&gt;define weight / display style(header)={just=c cellwidth=1.25in} 'weight';&lt;BR /&gt;run; &lt;BR /&gt;ods _all_ close;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 19:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Different-alignment-for-2-different-spanned-headers-in-Proc/m-p/239599#M14893</guid>
      <dc:creator>morglum</dc:creator>
      <dc:date>2015-12-16T19:09:10Z</dc:date>
    </item>
  </channel>
</rss>

