<?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: Intervening spaces in a character variable removed in ODS output in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118870#M4556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Font&lt;/P&gt;&lt;P&gt;The traditional output is using SAS Monospace. The HTM and PDF are using proportional fonts. You will need to use a style for HTML and PDF that use a non-proportional font to align as you would like. You may need to make a custom style using Courier or something similar. At least that's a start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2012 15:48:48 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2012-07-26T15:48:48Z</dc:date>
    <item>
      <title>Intervening spaces in a character variable removed in ODS output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118867#M4553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a "caterpillar plot" using ODS PDF.&amp;nbsp; The X variable is 1 long character variable, consisting of several concatenated variables. In the basic SAS output, the concatenated variables (within the larger X variable) are aligned just how I want them, but they lose that alignment in the PDF output.&lt;SPAN class="visitorName"&gt; &lt;/SPAN&gt;The alignment ia also off in the ODS HTML output - it looks like extra spaces (which I need to retain) are being removed between the concatenated variables.&amp;nbsp; Does anyone know what could cause the extra spaces to be removed in ODS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm relatively new to modifying this type of graph output in SAS, so I'd appreciate any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 14:50:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118867#M4553</guid>
      <dc:creator>bberg</dc:creator>
      <dc:date>2012-07-26T14:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Intervening spaces in a character variable removed in ODS output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118868#M4554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which proc are you using?&lt;/P&gt;&lt;P&gt;Can you post an example (maybe a screen-capture) of the output you're seeing?&lt;/P&gt;&lt;P&gt;(the good output, and the bad output)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 14:53:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118868#M4554</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2012-07-26T14:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Intervening spaces in a character variable removed in ODS output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118869#M4555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure - see attached.&lt;/P&gt;&lt;P&gt;Basic SAS output – This is the alignment I want.&amp;nbsp; I’ve formatted the concatenated variables so that hospital name is left-aligned and the numbers are right-aligned.&amp;nbsp; The sum of the lengths of the concatenated variables (plus spaces between) is exactly the length of the new “hosnamenew” variable.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS HTML output after a simple proc print – The intervening spaces appear to be removed, and the variable is now left-aligned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS PDF output after proc template and proc sgrender – &lt;SPAN style="text-decoration: underline;"&gt;Some&lt;/SPAN&gt; of the intervening spaces are now removed, and the variable appears to be right-aligned.&amp;nbsp; Differing lengths in the 5&lt;SUP&gt;th&lt;/SUP&gt; column are causing misalignment to the left, even though the formatting of “hosnamenew” hasn’t changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 15:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118869#M4555</guid>
      <dc:creator>bberg</dc:creator>
      <dc:date>2012-07-26T15:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Intervening spaces in a character variable removed in ODS output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118870#M4556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Font&lt;/P&gt;&lt;P&gt;The traditional output is using SAS Monospace. The HTM and PDF are using proportional fonts. You will need to use a style for HTML and PDF that use a non-proportional font to align as you would like. You may need to make a custom style using Courier or something similar. At least that's a start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 15:48:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118870#M4556</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-07-26T15:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Intervening spaces in a character variable removed in ODS output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118871#M4557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!!&amp;nbsp; I definitely wasn't anticipating such a simple solution. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:10:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118871#M4557</guid>
      <dc:creator>bberg</dc:creator>
      <dc:date>2012-07-26T16:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Intervening spaces in a character variable removed in ODS output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118872#M4558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks like a Forest plot.&amp;nbsp; &lt;A href="http://blogs.sas.com/content/graphicallyspeaking/2012/02/01/forest-plot-using-sgplot-procedure/"&gt;Here is an example&lt;/A&gt; using the SGPLOT procedure.&amp;nbsp; You can place the columns on left or right.&amp;nbsp; In general, you can align columns of data with the discrete axis.&amp;nbsp; If you want a "bar" like entity, use VbarParm or HighLow plot (9.3) or Needle Plot (9.2).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 17:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Intervening-spaces-in-a-character-variable-removed-in-ODS-output/m-p/118872#M4558</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2012-07-26T17:23:12Z</dc:date>
    </item>
  </channel>
</rss>

