<?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: Superscript in title in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/544298#M22533</link>
    <description>I also noticed that it works when I do a proc print, but not when I use sgplot - so it must have to do with the graph options?</description>
    <pubDate>Tue, 19 Mar 2019 17:37:54 GMT</pubDate>
    <dc:creator>Melk</dc:creator>
    <dc:date>2019-03-19T17:37:54Z</dc:date>
    <item>
      <title>Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543604#M22511</link>
      <description>&lt;P&gt;I am trying to add a superscript in my title and this is what is happening. I am using SAS 9.4 - can anyone help identify the problem based on the image? Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods escapechar='^';&lt;BR /&gt;&lt;BR /&gt;proc sgplot data=datnoautolegend;&lt;BR /&gt;title "My Plot: Volume(ml^{sup 2})";&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27965i253F45F7222FEE0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sas.png" alt="sas.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 17:44:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543604#M22511</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2019-03-15T17:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543633#M22512</link>
      <description>&lt;P&gt;I think you need to use the &lt;STRONG&gt;super&amp;nbsp;&lt;/STRONG&gt;keyword like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar='^';
title "My Plot: Volume(ml^{super 2})";

proc print data=sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/140721"&gt;@Melk&lt;/a&gt;&amp;nbsp;, does that work for you?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 19:32:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543633#M22512</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-03-15T19:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543637#M22513</link>
      <description>I tried that as well, but the results are the same.</description>
      <pubDate>Fri, 15 Mar 2019 19:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543637#M22513</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2019-03-15T19:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543643#M22514</link>
      <description>&lt;P&gt;Are you directing output to an external source or HTML?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run it, I see this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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-left" image-alt="Capture.PNG" style="width: 312px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27987iB0E439A23B241D85/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 19:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543643#M22514</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-03-15T19:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543646#M22515</link>
      <description>&lt;P&gt;Hm, I am looking at it in my results viewer and exporting as rtf file, and still getting the same thing.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 19:41:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543646#M22515</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2019-03-15T19:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543656#M22516</link>
      <description>&lt;P&gt;Version of SAS?&lt;/P&gt;
&lt;P&gt;And show your code from the ODS RTF statement to the ODS RTF close.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My title in RTF shows&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;My Plot: Volume(ml&lt;SUP&gt;2&lt;/SUP&gt;)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 20:47:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543656#M22516</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-15T20:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543670#M22517</link>
      <description>I have SAS 9.4.&lt;BR /&gt;&lt;BR /&gt;ods rtf file='temp.rtf';&lt;BR /&gt;proc sgplot data=dat noautolegend;&lt;BR /&gt;title "My Plot: (ml^{super 2})";&lt;BR /&gt;scatter x=new_method y=gs;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;ods rtf close;</description>
      <pubDate>Fri, 15 Mar 2019 21:36:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543670#M22517</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2019-03-15T21:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543674#M22518</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/140721"&gt;@Melk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I have SAS 9.4.&lt;BR /&gt;&lt;BR /&gt;ods rtf file='temp.rtf';&lt;BR /&gt;proc sgplot data=dat noautolegend;&lt;BR /&gt;title "My Plot: (ml^{super 2})";&lt;BR /&gt;scatter x=new_method y=gs;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;BR /&gt;ods rtf close;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Try adding NOGTITLE to the ODS RTF options. I think with the title out of the graph that RTF has a better chance of showing the text as desired. The default for RTF is GTITLE which leaves the title as part of the graph and the graph procedures have issues with escapechar stuff sometimes.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 22:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543674#M22518</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-15T22:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543690#M22519</link>
      <description>&lt;P&gt;Try using the unicode value instead:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;  title "My Plot: Volume(ml^{unicode '00b2'x})";
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Mar 2019 01:57:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/543690#M22519</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2019-03-16T01:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/544295#M22532</link>
      <description>This worked, but it changes the format of my plot as well...which I don't want to change.</description>
      <pubDate>Tue, 19 Mar 2019 17:30:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/544295#M22532</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2019-03-19T17:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/544298#M22533</link>
      <description>I also noticed that it works when I do a proc print, but not when I use sgplot - so it must have to do with the graph options?</description>
      <pubDate>Tue, 19 Mar 2019 17:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/544298#M22533</guid>
      <dc:creator>Melk</dc:creator>
      <dc:date>2019-03-19T17:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/884435#M26332</link>
      <description>&lt;P&gt;That was my solution - which works in the pdf and rtf files. However the png graphics file only shows an empty rectangle where subscript 2 should be in the label for y-axis of an sgplot plot - a pity. How to fix?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 04:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/884435#M26332</guid>
      <dc:creator>huph</dc:creator>
      <dc:date>2023-07-12T04:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript in title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/884462#M26333</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sganno;
length label $ 200;
 drawspace="graphpercent"; function="text"; textweight="normal"; textsize=12;textcolor="black"; width=200;
/* x1=50; y1=2.5;label="&amp;amp;label1."; output;*/
 x1=50;  y1=95; label="Title -- My Plot: (ml(*ESC*){sup '2'})"; output;
 x1=2.5;  y1=50;rotate=90;label="My Plot: (ml(*ESC*){sup '2'})"; output;
 run;

title;
ods graphics/reset=all;
proc sgplot data=sashelp.class noautolegend sganno=sganno pad=(top=1cm);
scatter x=weight y=height;
yaxis label=' ';
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1689161920708.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85731iF55057AA713CB8FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1689161920708.png" alt="Ksharp_0-1689161920708.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 11:38:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-in-title/m-p/884462#M26333</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-07-12T11:38:25Z</dc:date>
    </item>
  </channel>
</rss>

