<?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 Ods Layout Centering with Columns in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Layout-Centering-with-Columns/m-p/428497#M20183</link>
    <description>&lt;P&gt;So I am not super familiar with ODS, but I am trying to output a proc freq output and proc print into a pdf.&amp;nbsp; I currently have the data so that it is appearing in 2 columns.&amp;nbsp; Below is the code that is working so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods pdf file="Pathway.pdf" Style=Meadow startpage=never columns=2;&lt;BR /&gt;TITLE "Template";&lt;/P&gt;&lt;P&gt;proc freq data = final;&lt;BR /&gt;where district = 'XXXX';&lt;BR /&gt;table Status/missing list nopercent;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Proc Print Data=Associate_Breakout noobs;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;ODS PDF CLOSE;&lt;BR /&gt;TITLE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to do, is center the proc freq at the top (Since it is a smaller overview of the rest of the data) and the have the proc print be in 2 columns beneath it?&amp;nbsp; Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2018 17:18:06 GMT</pubDate>
    <dc:creator>Intruder89</dc:creator>
    <dc:date>2018-01-17T17:18:06Z</dc:date>
    <item>
      <title>Ods Layout Centering with Columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Layout-Centering-with-Columns/m-p/428497#M20183</link>
      <description>&lt;P&gt;So I am not super familiar with ODS, but I am trying to output a proc freq output and proc print into a pdf.&amp;nbsp; I currently have the data so that it is appearing in 2 columns.&amp;nbsp; Below is the code that is working so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods pdf file="Pathway.pdf" Style=Meadow startpage=never columns=2;&lt;BR /&gt;TITLE "Template";&lt;/P&gt;&lt;P&gt;proc freq data = final;&lt;BR /&gt;where district = 'XXXX';&lt;BR /&gt;table Status/missing list nopercent;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Proc Print Data=Associate_Breakout noobs;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;ODS PDF CLOSE;&lt;BR /&gt;TITLE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to do, is center the proc freq at the top (Since it is a smaller overview of the rest of the data) and the have the proc print be in 2 columns beneath it?&amp;nbsp; Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 17:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Layout-Centering-with-Columns/m-p/428497#M20183</guid>
      <dc:creator>Intruder89</dc:creator>
      <dc:date>2018-01-17T17:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ods Layout Centering with Columns</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Layout-Centering-with-Columns/m-p/428521#M20184</link>
      <description>&lt;P&gt;You might try regions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;

data end;
   input Plan;
datalines;
1
1
1
1
2
2
2
2
3
3
3
3
4
4
4
4
;
run;

ods pdf file="file.pdf" notoc;

ods layout start 
           x=0in y=0in 
           width=8.5in height=11in;

* region 1, as wide as the page, half the height, essentially one column; 
ods region x=0in y=0in 
             width=8.5in height=5.5in;

proc freq data= end;
tables plan;
run;

* region 2, half the page width, starts halfway down, the left of two; 
ods region x=0in y=5.5in
             width=4in height=5.5in;

proc freq data= end;
tables plan;
run;

* region 3, half the page width, starts halfway down and halfway across, the right of two; 
ods region x=4.25in y=5.5in
             width=4in height=5.5in;

proc freq data= end;
tables plan;
run;

ods layout end; 
ods pdf close; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can tweak the measurements to adjust sizes and move things around.&amp;nbsp; Maybe kill region 3 and see if stuff from region 2 spills over to two columns.&amp;nbsp; Or maybe you can explicitly designate two columns in that region.&amp;nbsp; I don't know. Experiment.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 18:07:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-Layout-Centering-with-Columns/m-p/428521#M20184</guid>
      <dc:creator>HB</dc:creator>
      <dc:date>2018-01-17T18:07:41Z</dc:date>
    </item>
  </channel>
</rss>

