<?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: Changing font size of superscript characters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117638#M259463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, got a reply from the help desk, which I'll re-post in case anyone else has a similar problem. They stated that there isn't a way to size superscripts on a pdf at the moment. As a quick fix, they recommended I try unicode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Heading^{unicode 00AA}";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which happened to work great for what I needed, which is only a superscript "a". However, it doesn't solve the problem because there is no unicode superscript for any other letters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will be fixed in future SAS versions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2013 21:48:41 GMT</pubDate>
    <dc:creator>MattR</dc:creator>
    <dc:date>2013-01-08T21:48:41Z</dc:date>
    <item>
      <title>Changing font size of superscript characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117633#M259458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;I have some superscripts on a report which I am running in both rtf and pdf formats. The superscripts work just fine, but the problem is that the pdf superscript defaults to a huge font (larger than the heading text). The rtf remains smaller than the heading text, but is actually a bit TOO small and could probably be made larger. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;"Heading^{super a}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;RTF:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="rtf.jpg" class="jive-image" src="https://communities.sas.com/legacyfs/online/2899_rtf.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;PDF:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pdf.jpg" class="jive-image" src="https://communities.sas.com/legacyfs/online/2900_pdf.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;I have searched for a fix but can't find anything. Does anyone know if there is a way to change the font size for superscripts?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Thanks much!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 21:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117633#M259458</guid>
      <dc:creator>MattR</dc:creator>
      <dc:date>2013-01-07T21:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font size of superscript characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117634#M259459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the style options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ods pdf text= "^{style [just=c fontsize=14pt font_face=arial font_weight=bold] This is my text}";&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 23:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117634#M259459</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-01-07T23:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font size of superscript characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117635#M259460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. Yes, this works for rtf output if I nest it in the superscript code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Heading^{super ^{style [just=c fontsize=10pt font_face=arial] a}}"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for some reason it doesn't work the same for pdf. When I use the same code in a pdf, it ignores the superscript instruction and makes the whole line change font. Not sure what's going on with that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 23:41:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117635#M259460</guid>
      <dc:creator>MattR</dc:creator>
      <dc:date>2013-01-07T23:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font size of superscript characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117636#M259461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Well, I'm not entirely certain that this is the cause and you might want to open a track with Tech Support. It was my understanding that Adobe did not use or "like" Arial -- which is a Microsoft specific font (read this article for the background info: &lt;A href="http://www.ms-studio.com/articles.html" title="http://www.ms-studio.com/articles.html"&gt;The Scourge of Arial&lt;/A&gt;.) I believe that if you change the font and/or restructure your statement, that the output will look better.&lt;/P&gt;&lt;P&gt;&amp;nbsp; I tried the code below (in SAS 9.3) and got better results. I think that you can fix most of the issue by setting an explicit font size for the word "Heading" and then a separate (non-Arial font) for the size and the superscript. Personally, I like to keep the ^{super } escapechar function as self-contained -- so I would have done the style change first and then the super invocation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods escapechar='^';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods pdf file='c:\temp\testsuper.pdf' notoc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods rtf file='c:\temp\testsuper.rtf';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html file='c:\temp\testsuper.html';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;title1 "^{style[just=c font_size=14pt font_face=Courier]Heading}^{style [just=c font_size=12pt font_face=Courier]^{super a}}";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc print&amp;nbsp; data=sashelp.class (obs=2);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 03:13:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117636#M259461</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-01-08T03:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font size of superscript characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117637#M259462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cynthia. The font of Arial isn't critical at all; just used it for testing. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; Courier will probably work better, actually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code revision fixed the problem of SAS changing the "Heading" font, which looks much better! But still the superscript won't change size. I tried everything from font_size=6pt to 24pt and it is always the same size (in pdfs, that is). So, yep, maybe this is a tech support issue? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 18:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117637#M259462</guid>
      <dc:creator>MattR</dc:creator>
      <dc:date>2013-01-08T18:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font size of superscript characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117638#M259463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, got a reply from the help desk, which I'll re-post in case anyone else has a similar problem. They stated that there isn't a way to size superscripts on a pdf at the moment. As a quick fix, they recommended I try unicode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Heading^{unicode 00AA}";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which happened to work great for what I needed, which is only a superscript "a". However, it doesn't solve the problem because there is no unicode superscript for any other letters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will be fixed in future SAS versions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 21:48:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/117638#M259463</guid>
      <dc:creator>MattR</dc:creator>
      <dc:date>2013-01-08T21:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font size of superscript characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/430244#M259464</link>
      <description>&lt;P&gt;Has this been addressed in the later versions of Sas. What is the fix now for other superscripts in PDF report?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 01:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Changing-font-size-of-superscript-characters/m-p/430244#M259464</guid>
      <dc:creator>SasUser2004</dc:creator>
      <dc:date>2018-01-24T01:34:40Z</dc:date>
    </item>
  </channel>
</rss>

