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.

Tip of the Day:August 25

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

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.

Feel free to comment on this tip.

Prior tip - Next tip - Random Tip

Submit a Tip