- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I have created superscript "a" using "aa"x. Also can create supercripts for 2, 3 ... What code is for superscript "b"? Where could I find the code?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Technically the 'aa'x is a special ascii character referred to as a ordinal indicator (Ordinal indicator - Wikipedia, the free encyclopedia) so technically not a superscript a. I dont think the ascii code set has a superscript "b" look a like. Here is the full code set I usually refer too when looking characters up ASCII Code - The extended ASCII table
I think the escape character method might be the only way to get at what you need. What do you mean your "system system up does not take this approach with ODS escapechar"? Are you on unix or a mainframe?
EJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Adding Superscripts and Subscripts
Here is an example that adds a superscript and a subscript.
ods escapechar='^';
ods listing close;
options nodate number;
footnote;
ods rtf file="inline.rtf";
proc print data=sashelp.class;
title 'This value is superscripted^{super 2} ';
title2 'This value is subscripted^{sub 2} ';
run;
Ref: http://support.sas.com/rnd/base/ods/templateFAQ/Template_rtf.html#super
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Our system setup does not take this approach with ODS escapechar. It does take hex code. Want to know what hex code is for "b". Hex code for "a" is 'aa'x. It works fine.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Technically the 'aa'x is a special ascii character referred to as a ordinal indicator (Ordinal indicator - Wikipedia, the free encyclopedia) so technically not a superscript a. I dont think the ascii code set has a superscript "b" look a like. Here is the full code set I usually refer too when looking characters up ASCII Code - The extended ASCII table
I think the escape character method might be the only way to get at what you need. What do you mean your "system system up does not take this approach with ODS escapechar"? Are you on unix or a mainframe?
EJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Agree. I can not find superscript "b" in ASCII Code - The extended ASCII table.
I am at UNIX, SAS 9.1.3. Guess escape character method is thw way to go.
Thanks,