<?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 Left align charts with tagsets.rtf in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Left-align-charts-with-tagsets-rtf/m-p/227183#M14411</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to have all text, tables and charts left-aligned in an rtf file created with SAS (9.4M2 on Windows) ods tagsets.rtf. Using 'options nocenter;' all text aligned left as desired, but charts rendered using proc sgplot or proc gchart&amp;nbsp;are still centered horizontally. How can I have the charts left-aligned in the rtf output? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my code:&amp;nbsp;&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;options nocenter;
goptions device=ACTXIMG;

ods tagsets.rtf file='c:\Test-Left-Justify.rtf';
ods html file='c:\Test-Left-Justify.html';

title  Titletext left-adjusted;

proc sgplot data=sashelp.cars;
 vbar cylinders;
run;

proc gchart data=sashelp.cars;
 vbar cylinders;
run;

proc tabulate data=sashelp.cars;
 class make cylinders;
 table make, cylinders ;
run;

ods html close;
ods tagsets.rtf close;
&lt;/CODE&gt;&lt;/PRE&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>Thu, 24 Sep 2015 20:36:24 GMT</pubDate>
    <dc:creator>jb3</dc:creator>
    <dc:date>2015-09-24T20:36:24Z</dc:date>
    <item>
      <title>Left align charts with tagsets.rtf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Left-align-charts-with-tagsets-rtf/m-p/227183#M14411</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to have all text, tables and charts left-aligned in an rtf file created with SAS (9.4M2 on Windows) ods tagsets.rtf. Using 'options nocenter;' all text aligned left as desired, but charts rendered using proc sgplot or proc gchart&amp;nbsp;are still centered horizontally. How can I have the charts left-aligned in the rtf output? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my code:&amp;nbsp;&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;options nocenter;
goptions device=ACTXIMG;

ods tagsets.rtf file='c:\Test-Left-Justify.rtf';
ods html file='c:\Test-Left-Justify.html';

title  Titletext left-adjusted;

proc sgplot data=sashelp.cars;
 vbar cylinders;
run;

proc gchart data=sashelp.cars;
 vbar cylinders;
run;

proc tabulate data=sashelp.cars;
 class make cylinders;
 table make, cylinders ;
run;

ods html close;
ods tagsets.rtf close;
&lt;/CODE&gt;&lt;/PRE&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>Thu, 24 Sep 2015 20:36:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Left-align-charts-with-tagsets-rtf/m-p/227183#M14411</guid>
      <dc:creator>jb3</dc:creator>
      <dc:date>2015-09-24T20:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Left align charts with tagsets.rtf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Left-align-charts-with-tagsets-rtf/m-p/227437#M14418</link>
      <description>Hi:&lt;BR /&gt;I am not sure that what you want to do is possible. Here's the challenge: when an image is created for RTF or PDF output, the image is converted from the SAS "device" or image format to an internal RTF or PDF format -- because the image is actually embedded in the RTF or PDF document.&lt;BR /&gt;&lt;BR /&gt;I think you may have to open a track with Tech Support on this question to get the definitive answer. For PDF, and SAS/GRAPH, I believe you could specific the HORIGIN and VORIGIN to adjust the location in the document, but that won't help you with RTF. And, for PDF, you could use ODS LAYOUT to place the image -- look at some of the examples in this paper &lt;A href="http://support.sas.com/resources/papers/proceedings13/015-2013.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings13/015-2013.pdf&lt;/A&gt; or in this paper: &lt;A href="https://vasug.files.wordpress.com/2009/06/ods-layout.pdf" target="_blank"&gt;https://vasug.files.wordpress.com/2009/06/ods-layout.pdf&lt;/A&gt; or any other papers by Pete Lund, Barbara Okerson or Dan O'Connor.&lt;BR /&gt;&lt;BR /&gt;RTF is more limited in the type of control you have over object placement and I believe that you will need help from the experts in Tech Support to find out whether it is possible and how.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Sun, 27 Sep 2015 18:50:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Left-align-charts-with-tagsets-rtf/m-p/227437#M14418</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-09-27T18:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Left align charts with tagsets.rtf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Left-align-charts-with-tagsets-rtf/m-p/227669#M14428</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems like you can overcome this by creating your own style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the code sample below for creating the new style&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods path
  (prepend) work.myStuff (update)
;

proc template;
  define style rtf_gleft;
    parent=styles.rtf;
    class Graph  /
      just=left 
    ;
  end;
run;

ods tagsets.rtf file='c:\temp\Test-Left-Justify.rtf' style=rtf_gleft;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Might be a bug, since the Options NOCENTER shoud take care of that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 14:27:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Left-align-charts-with-tagsets-rtf/m-p/227669#M14428</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2015-09-29T14:27:52Z</dc:date>
    </item>
  </channel>
</rss>

