<?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: Justification issues using PROC ODSTEXT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Justification-issues-using-PROC-ODSTEXT/m-p/799067#M314168</link>
    <description>&lt;P&gt;Sorry about the code, here is a text version for you:&lt;/P&gt;&lt;P&gt;ODS RTF file = "temp.rtf";&lt;/P&gt;&lt;P&gt;OPTIONS center;&lt;/P&gt;&lt;P&gt;PROC ODSTEXT PAGEBREAK = NO ;&lt;BR /&gt;p 'Executive Report' / style = {font_weight = bold FONT_SIZE=18pt FONT_FACE=Arial background = CXE8E8E8 COLOR = cx006298 width = 7in };&lt;BR /&gt;p ' ' /style = {FONT_SIZE=11pt JUST=L FONT_FACE=Arial background = CXE8E8E8 COLOR = cx006298 width = 7in};&lt;BR /&gt;p 'Some important text will be input in this one p statement, which will ultimately wrap across multiple lines. I would like the indent to maintain a constant size giving a solid gray box background appearance.' / style = {font_weight = bold FONT_SIZE=18pt FONT_FACE=Arial background = CXE8E8E8 COLOR = cx006298 width = 7in };&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ODS RTF CLOSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The options center is not giving me the desired output.&amp;nbsp; I appreciate the suggestion and let me know if anything is wrong with the code above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 04:17:39 GMT</pubDate>
    <dc:creator>chjones</dc:creator>
    <dc:date>2022-02-28T04:17:39Z</dc:date>
    <item>
      <title>Justification issues using PROC ODSTEXT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Justification-issues-using-PROC-ODSTEXT/m-p/798759#M314008</link>
      <description>&lt;P&gt;Greetings All!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating an executive report and need the appearance to follow a specific scheme as it is the first page of a report.&amp;nbsp; The desired output has the appearance below (notice the gray is centered on the page, but the test is justified left):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chjones_1-1645828829201.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68937i5ACFE9A62E19E81A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chjones_1-1645828829201.png" alt="chjones_1-1645828829201.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I have this, which has the gray box left justified:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chjones_0-1645828795745.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68936i255744FCF184E552/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chjones_0-1645828795745.png" alt="chjones_0-1645828795745.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code at the moment is this, and the third p statement runs on but is displayed in the above output:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chjones_2-1645828986160.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68938i2DD69B94D0D7C51F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chjones_2-1645828986160.png" alt="chjones_2-1645828986160.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried lots of different options including textalign, padding, etc.&amp;nbsp; I am not able to get the desired output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 22:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Justification-issues-using-PROC-ODSTEXT/m-p/798759#M314008</guid>
      <dc:creator>chjones</dc:creator>
      <dc:date>2022-02-25T22:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Justification issues using PROC ODSTEXT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Justification-issues-using-PROC-ODSTEXT/m-p/798763#M314011</link>
      <description>&lt;P&gt;Please post code as text in a code box. You can copy from the editor and then open either code box with the "running man" or a plain text box with the &amp;lt;/&amp;gt; icons that appear above the message window. With text we can make edits a lot easier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc ODSTEXT should be recognizing your SAS System option for Center/Nocenter.&lt;/P&gt;
&lt;P&gt;I would try adding a line like this before your Proc:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options center;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to reset other output to left align:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nocenter;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The options affect the entire output. Things like textalign, justification or padding only affect items in cells.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 23:19:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Justification-issues-using-PROC-ODSTEXT/m-p/798763#M314011</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-02-25T23:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Justification issues using PROC ODSTEXT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Justification-issues-using-PROC-ODSTEXT/m-p/799067#M314168</link>
      <description>&lt;P&gt;Sorry about the code, here is a text version for you:&lt;/P&gt;&lt;P&gt;ODS RTF file = "temp.rtf";&lt;/P&gt;&lt;P&gt;OPTIONS center;&lt;/P&gt;&lt;P&gt;PROC ODSTEXT PAGEBREAK = NO ;&lt;BR /&gt;p 'Executive Report' / style = {font_weight = bold FONT_SIZE=18pt FONT_FACE=Arial background = CXE8E8E8 COLOR = cx006298 width = 7in };&lt;BR /&gt;p ' ' /style = {FONT_SIZE=11pt JUST=L FONT_FACE=Arial background = CXE8E8E8 COLOR = cx006298 width = 7in};&lt;BR /&gt;p 'Some important text will be input in this one p statement, which will ultimately wrap across multiple lines. I would like the indent to maintain a constant size giving a solid gray box background appearance.' / style = {font_weight = bold FONT_SIZE=18pt FONT_FACE=Arial background = CXE8E8E8 COLOR = cx006298 width = 7in };&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;ODS RTF CLOSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The options center is not giving me the desired output.&amp;nbsp; I appreciate the suggestion and let me know if anything is wrong with the code above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 04:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Justification-issues-using-PROC-ODSTEXT/m-p/799067#M314168</guid>
      <dc:creator>chjones</dc:creator>
      <dc:date>2022-02-28T04:17:39Z</dc:date>
    </item>
  </channel>
</rss>

