<?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 Using asis=on in a footnote statement ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-asis-on-in-a-footnote-statement/m-p/489735#M127947</link>
    <description>&lt;P&gt;&amp;nbsp;I'm using PROC REPORT and outputting a pdf file using ODS. I want to preserve the blanks. For example, the 1 should be centered under Standard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;my output:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22762i41650441548E7FAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;my footnote statements:&lt;/U&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote1 height=9pt "Standard             Grade 3                        Grade 4–5                   Grade 6                Grade 7                Grade 8";
footnote2 height=9pt "    1           Number Sense and Base Ten      Number Sense and Base Ten   The Number System      The Number System      The Number System";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2018 19:26:40 GMT</pubDate>
    <dc:creator>GreggB</dc:creator>
    <dc:date>2018-08-24T19:26:40Z</dc:date>
    <item>
      <title>Using asis=on in a footnote statement ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-asis-on-in-a-footnote-statement/m-p/489735#M127947</link>
      <description>&lt;P&gt;&amp;nbsp;I'm using PROC REPORT and outputting a pdf file using ODS. I want to preserve the blanks. For example, the 1 should be centered under Standard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;my output:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22762i41650441548E7FAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;my footnote statements:&lt;/U&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote1 height=9pt "Standard             Grade 3                        Grade 4–5                   Grade 6                Grade 7                Grade 8";
footnote2 height=9pt "    1           Number Sense and Base Ten      Number Sense and Base Ten   The Number System      The Number System      The Number System";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 19:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-asis-on-in-a-footnote-statement/m-p/489735#M127947</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2018-08-24T19:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using asis=on in a footnote statement ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-asis-on-in-a-footnote-statement/m-p/489800#M127966</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/kb/23/332.html" target="_blank"&gt;Usage Note 23332: Keeping leading and trailing blank spaces in titles and footnotes using ODS&lt;/A&gt;&amp;nbsp;shows how to modify the style template.&amp;nbsp; I think you'll need to use a fixed width font to get the text to line up the way it's typed in the program editor.&amp;nbsp;&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;* http://support.sas.com/kb/23/332.html shows how to update style 
* template for HTML or RTF.  similar logic for PDF. ;

proc template;
  define style styles.modified_Pearl;
    parent=styles.Pearl;
    style systemfooter from systemfooter 
      "Style element responsible for footnotes" / 
        asis=on;
  end;
run;

options orientation=landscape nodate;

* probably need to use fixed width font on footnotes to get text to line up
* as intended. ;

ODS PDF FILE='/folders/myfolders/ODS PDF/PDF with blanks preserved in footnotes.PDF'
  style=modified_Pearl;

proc report data=sashelp.class nowd;
  columns name age sex height weight;
footnote1 font=Courier height=9pt "Standard           Grade 3                    Grade 4–5                 Grade 6             Grade 7             Grade 8     ";
footnote2 font=Courier height=9pt "    1      Number Sense and Base Ten   Number Sense and Base Ten   The Number System   The Number System   The Number System";
run;

ODS PDF CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen shot of the footnotes with the blanks preserved in PDF" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22778i3265B3187DDD4128/image-size/large?v=v2&amp;amp;px=999" role="button" title="blanks preserved in footnotes.jpg" alt="Screen shot of the footnotes with the blanks preserved in PDF" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screen shot of the footnotes with the blanks preserved in PDF&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Aug 2018 03:29:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-asis-on-in-a-footnote-statement/m-p/489800#M127966</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2018-08-25T03:29:00Z</dc:date>
    </item>
  </channel>
</rss>

