<?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 superscripting in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/superscripting/m-p/67269#M19235</link>
    <description>I am outputting data from SAS to Excel.  I would like to superscript the "1" in my put line, but am having problems.  below is my data step.&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
	 set tablex;&lt;BR /&gt;
&lt;BR /&gt;
file tabley;&lt;BR /&gt;
		put col1 '09'x col2 '09'x col3 '09'x col4 '09'x col5 '09'x col6 '09'x ;&lt;BR /&gt;
&lt;BR /&gt;
file foota;&lt;BR /&gt;
		put "1The lists twelve......percentages";&lt;BR /&gt;
&lt;BR /&gt;
I have tried the /{super} functions to no avail&lt;BR /&gt;
run;</description>
    <pubDate>Wed, 26 Aug 2009 20:37:35 GMT</pubDate>
    <dc:creator>Hart</dc:creator>
    <dc:date>2009-08-26T20:37:35Z</dc:date>
    <item>
      <title>superscripting</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/superscripting/m-p/67269#M19235</link>
      <description>I am outputting data from SAS to Excel.  I would like to superscript the "1" in my put line, but am having problems.  below is my data step.&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
	 set tablex;&lt;BR /&gt;
&lt;BR /&gt;
file tabley;&lt;BR /&gt;
		put col1 '09'x col2 '09'x col3 '09'x col4 '09'x col5 '09'x col6 '09'x ;&lt;BR /&gt;
&lt;BR /&gt;
file foota;&lt;BR /&gt;
		put "1The lists twelve......percentages";&lt;BR /&gt;
&lt;BR /&gt;
I have tried the /{super} functions to no avail&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 26 Aug 2009 20:37:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/superscripting/m-p/67269#M19235</guid>
      <dc:creator>Hart</dc:creator>
      <dc:date>2009-08-26T20:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: superscripting</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/superscripting/m-p/67270#M19236</link>
      <description>Hi:&lt;BR /&gt;
  I don't believe that your form of the DATA step will create the superscript, even with the ESCAPECHAR+{super 1} specification. For one thing, you are bypassing ODS with your code and the {super} function is designed to work with ODS destinations, not with the LISTING destination.&lt;BR /&gt;
 &lt;BR /&gt;
  However, you can use ESCAPECHAR+{super} in a footnote statement. And, if you use FILE PRINT ODS, or ODS HTML or ODS TAGSETS.EXCELXP, you can get an "in spreadsheet" footnote with a superscript 1. Either of these methods works for me in SAS 9.2.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
                           &lt;BR /&gt;
ods tagsets.excelxp file='c:\temp\table_w_footxp.xml'&lt;BR /&gt;
    options(embedded_footnotes='yes') style=minimal;&lt;BR /&gt;
ods html file='c:\temp\table_w_footht.xls' style=minimal;&lt;BR /&gt;
                             &lt;BR /&gt;
ods escapechar='^';&lt;BR /&gt;
                       &lt;BR /&gt;
footnote "^{super 1}The footnote uses a superscript.";&lt;BR /&gt;
title '1) Compare ODS HTML and ExcelXP';&lt;BR /&gt;
  proc print data=sashelp.class(obs=4);&lt;BR /&gt;
  run;&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
                                     &lt;BR /&gt;
ods html file='c:\temp\table_w_footdt.xls' style=minimal;&lt;BR /&gt;
ods escapechar='^';&lt;BR /&gt;
data _null_;&lt;BR /&gt;
  footnote "^{super 1}The footnote uses a superscript.";&lt;BR /&gt;
  title '2) Use DATA Step and FILE PRINT ODS';&lt;BR /&gt;
                            &lt;BR /&gt;
  set sashelp.class(obs=4);&lt;BR /&gt;
  file print ods;&lt;BR /&gt;
  put _ods_;&lt;BR /&gt;
run;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 27 Aug 2009 04:03:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/superscripting/m-p/67270#M19236</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-08-27T04:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: superscripting</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/superscripting/m-p/67271#M19237</link>
      <description>Thanks!  worked great</description>
      <pubDate>Mon, 31 Aug 2009 18:56:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/superscripting/m-p/67271#M19237</guid>
      <dc:creator>Hart</dc:creator>
      <dc:date>2009-08-31T18:56:58Z</dc:date>
    </item>
  </channel>
</rss>

