As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Tips:Adding superscripted footnote references to a report

From sasCommunity
Revision as of 08:36, 25 August 2016 by Paulkaefer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you'd like to add footnote references to some of the labels in your output, you can use inline formatting to add the footnote numbers as superscripts. First select a character to use to flag your special formatting:


Now you can use this character to add superscripts to your format labels. The syntax for applying inline formatting always starts with the escape character. Then, for a superscript, you enclose the SUPER function name and the text to superscript in curly brackets ( { } ), as shown below.

proc format;
   value superfmt 1='Low Dose^{super 1}'
                  2='High Dose^{super 2}';

Use the same "^{super 1}" to add the superscript to your footnote text. Then apply the format to your variable in the table.

Submitted by Lauren Haworth. Contact me at my Discussion Page. more