<?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 Add Supscript to Footnotes in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Add-Supscript-to-Footnotes/m-p/867807#M342753</link>
    <description>&lt;P&gt;I have reviewed all of the topics in this community and on the web and I am still unable to add superscript to my footnotes or titles. Any help&lt;/P&gt;
&lt;P&gt;woild be greatly appreciated. Below please find my test code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;&lt;BR /&gt;infile datalines;&lt;BR /&gt;input year 4. pats_stage1_3 pats_total 3. ;&lt;BR /&gt;datalines;&lt;BR /&gt;1999 150 300&lt;BR /&gt;2000 112 369&lt;BR /&gt;2001 236 426&lt;BR /&gt;2002 121 400&lt;BR /&gt;2003 330 520&lt;BR /&gt;2004 280 500&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods graphics on;&lt;BR /&gt;ods escapechar= '^';&lt;BR /&gt;ods excel file='/home/luvscandy270.xlsx'&lt;BR /&gt;&lt;BR /&gt;options(sheet_name="test" embedded_titles="yes" embedded_footnotes="yes" TITLE_FOOTNOTE_NOBREAK="yes");&lt;BR /&gt;proc sgplot data=have noborder;&lt;BR /&gt;&lt;BR /&gt;title 'TEST ^{super (b)}';&lt;BR /&gt;&lt;BR /&gt;series x=year y=pats_stage1_3 /  legendlabel="Male" lineattrs=(color=blue thickness=3) markers &lt;BR /&gt;	   							 markerattrs = (symbol = circlefilled color = blue size=10);&lt;BR /&gt;series x=year y=pats_total / legendlabel="Female"  lineattrs=(color=green thickness=3) markers&lt;BR /&gt;							 markerattrs = (symbol = circlefilled color = green size=10);&lt;BR /&gt;&lt;BR /&gt;xaxis label='Test' discreteorder=data fitpolicy=rotatethin valuesrotate=vertical ;&lt;BR /&gt;yaxis label = 'Test' values=(0 to 600 by 100) valueattrs=(family=arial size=10pt ) minor grid ;&lt;BR /&gt;&lt;BR /&gt;reg x=year y=pats_stage1_3 / nomarkers lineattrs=(color=blue  pattern=dash) legendlabel='Regr. stage 1-3';&lt;BR /&gt;reg x=year y=pats_total    / nomarkers lineattrs=(color=green pattern=dash) legendlabel='Regr. total';&lt;BR /&gt;&lt;BR /&gt;keylegend / location=inside position=top title="" valueattrs=(size=7pt family=arial) outerpad=(top=0.2cm) border;&lt;BR /&gt;&lt;BR /&gt;footnote1 h=5pt justify=l 'Test ^{super (b)}';&lt;BR /&gt;footnote2 h=5pt justify=l 'Test 2';&lt;BR /&gt;run; &lt;BR /&gt;&lt;BR /&gt;ods excel close; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 16:49:07 GMT</pubDate>
    <dc:creator>luvscandy27</dc:creator>
    <dc:date>2023-04-03T16:49:07Z</dc:date>
    <item>
      <title>Add Supscript to Footnotes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-Supscript-to-Footnotes/m-p/867807#M342753</link>
      <description>&lt;P&gt;I have reviewed all of the topics in this community and on the web and I am still unable to add superscript to my footnotes or titles. Any help&lt;/P&gt;
&lt;P&gt;woild be greatly appreciated. Below please find my test code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;&lt;BR /&gt;infile datalines;&lt;BR /&gt;input year 4. pats_stage1_3 pats_total 3. ;&lt;BR /&gt;datalines;&lt;BR /&gt;1999 150 300&lt;BR /&gt;2000 112 369&lt;BR /&gt;2001 236 426&lt;BR /&gt;2002 121 400&lt;BR /&gt;2003 330 520&lt;BR /&gt;2004 280 500&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ods graphics on;&lt;BR /&gt;ods escapechar= '^';&lt;BR /&gt;ods excel file='/home/luvscandy270.xlsx'&lt;BR /&gt;&lt;BR /&gt;options(sheet_name="test" embedded_titles="yes" embedded_footnotes="yes" TITLE_FOOTNOTE_NOBREAK="yes");&lt;BR /&gt;proc sgplot data=have noborder;&lt;BR /&gt;&lt;BR /&gt;title 'TEST ^{super (b)}';&lt;BR /&gt;&lt;BR /&gt;series x=year y=pats_stage1_3 /  legendlabel="Male" lineattrs=(color=blue thickness=3) markers &lt;BR /&gt;	   							 markerattrs = (symbol = circlefilled color = blue size=10);&lt;BR /&gt;series x=year y=pats_total / legendlabel="Female"  lineattrs=(color=green thickness=3) markers&lt;BR /&gt;							 markerattrs = (symbol = circlefilled color = green size=10);&lt;BR /&gt;&lt;BR /&gt;xaxis label='Test' discreteorder=data fitpolicy=rotatethin valuesrotate=vertical ;&lt;BR /&gt;yaxis label = 'Test' values=(0 to 600 by 100) valueattrs=(family=arial size=10pt ) minor grid ;&lt;BR /&gt;&lt;BR /&gt;reg x=year y=pats_stage1_3 / nomarkers lineattrs=(color=blue  pattern=dash) legendlabel='Regr. stage 1-3';&lt;BR /&gt;reg x=year y=pats_total    / nomarkers lineattrs=(color=green pattern=dash) legendlabel='Regr. total';&lt;BR /&gt;&lt;BR /&gt;keylegend / location=inside position=top title="" valueattrs=(size=7pt family=arial) outerpad=(top=0.2cm) border;&lt;BR /&gt;&lt;BR /&gt;footnote1 h=5pt justify=l 'Test ^{super (b)}';&lt;BR /&gt;footnote2 h=5pt justify=l 'Test 2';&lt;BR /&gt;run; &lt;BR /&gt;&lt;BR /&gt;ods excel close; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 16:49:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-Supscript-to-Footnotes/m-p/867807#M342753</guid>
      <dc:creator>luvscandy27</dc:creator>
      <dc:date>2023-04-03T16:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add Supscript to Footnotes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-Supscript-to-Footnotes/m-p/867820#M342755</link>
      <description>&lt;P&gt;It doesn't seem to work for me with PROC SGPLOT but it works for other PROCs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar="^";
title 'Example Alpha^{super 2}';
proc print data=sashelp.class(obs=4);
run;
proc sgplot data=sashelp.class;
    scatter x=height y=weight;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Apr 2023 17:40:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-Supscript-to-Footnotes/m-p/867820#M342755</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-04-03T17:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add Supscript to Footnotes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Add-Supscript-to-Footnotes/m-p/867823#M342756</link>
      <description>&lt;P&gt;you could with play with annotations:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines;
input year 4. pats_stage1_3 pats_total 3. ;
datalines;
1999 150 300
2000 112 369
2001 236 426
2002 121 400
2003 330 520
2004 280 500
;
run;

ods graphics on /  WIDTH=800px HEIGHT=800px;
ods escapechar= '^';
ods excel file='R:\luvscandy270.xlsx'

options(sheet_name="test" embedded_titles="yes" embedded_footnotes="yes" TITLE_FOOTNOTE_NOBREAK="yes");

title1 
  h=2 color=white "phantom" 
;

data anno; 
 function="text";
 length label $ 50 ANCHOR $ 10;
 label="TEST for title(*ESC*){sup '(b)'}";
 ANCHOR="TOP";
 X1SPACE="GRAPHPERCENT";
 X1=50;
 Y1SPACE="GRAPHPERCENT";
 Y1=96;
 TEXTWEIGHT='BOLD';
 TEXTSTYLEELEMENT="GraphTitleText";
 WIDTH=100;
 output; /* title */
 X1=5;
 Y1=5;
 TEXTSTYLEELEMENT="GraphFootnoteText";
 label="TEST for footnote (*ESC*){sup '(b)'}";
 ANCHOR="TOPLEFT";
 output; /* footnote */
run; 


proc sgplot data=have noborder sganno=anno;

series x=year y=pats_stage1_3 /  legendlabel="Male" lineattrs=(color=blue thickness=3) markers 
	   							 markerattrs = (symbol = circlefilled color = blue size=10);
series x=year y=pats_total / legendlabel="Female"  lineattrs=(color=green thickness=3) markers
							 markerattrs = (symbol = circlefilled color = green size=10);

xaxis label='Test' discreteorder=data fitpolicy=rotatethin valuesrotate=vertical ;
yaxis label = 'Test' values=(0 to 600 by 100) valueattrs=(family=arial size=10pt ) minor grid ;

reg x=year y=pats_stage1_3 / nomarkers lineattrs=(color=blue  pattern=dash) legendlabel='Regr. stage 1-3';
reg x=year y=pats_total    / nomarkers lineattrs=(color=green pattern=dash) legendlabel='Regr. total';

keylegend / location=inside position=top title="" valueattrs=(size=7pt family=arial) outerpad=(top=0.2cm) border;

run; 

footnote1  
  h=1 color=white "phantom" 
;


ods excel close; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 17:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Add-Supscript-to-Footnotes/m-p/867823#M342756</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-04-03T17:44:21Z</dc:date>
    </item>
  </channel>
</rss>

