Statements |
Valid: | anywhere |
Category: | Output Control |
Requirement: | You must specify the FOOTNOTE option if you use a FILE statement. |
See: | FOOTNOTE Statement under Windows UNIX OpenVMS z/OS |
Syntax | |
Without Arguments | |
Arguments | |
Details | |
Comparisons | |
Examples | |
See Also |
Syntax |
FOOTNOTE<n > <ods-format-options> <'text' | "text" >; |
Without Arguments |
Using FOOTNOTE without arguments cancels all existing footnotes.
Arguments |
specifies the relative line to be occupied by the footnote.
specifies formatting options for the ODS HTML, RTF, and PRINTER(PDF) destinations.
specifies that the footnote text is bold font weight.
ODS Destinations: | HTML, RTF, PRINTER |
specifies the footnote text color.
Alias: | C |
ODS Destinations: | HTML, RTF, PRINTER |
Featured in: | Customizing Titles and Footnotes by Using the Output Delivery System |
specifies the background color of the footnote block.
ODS Destinations: | HTML, RTF, PRINTER |
specifies the font to use. If you supply multiple fonts, then the destination device uses the first one that is installed on your system.
Alias: | F |
ODS Destinations: | HTML, RTF, PRINTER |
specifies the point size.
Alias: | H |
ODS Destinations: | HTML, RTF, PRINTER |
Featured in: | Customizing Titles and Footnotes by Using the Output Delivery System |
specifies that the footnote text is in italic style.
ODS Destinations: | HTML, RTF, PRINTER |
specifies justification.
specifies center justification.
Alias: | C |
specifies left justification.
Alias: | L |
specifies right justification.
Alias: | R |
Alias: | J |
ODS Destinations: | HTML, RTF, PRINTER |
Featured in: | Customizing Titles and Footnotes by Using the Output Delivery System |
specifies a hyperlink.
Tip: | The visual properties for LINK= always come from the current style. |
ODS Destinations: | HTML, RTF, PRINTER |
specifies whether the subsequent text is underlined. 0 indicates no underlining. 1, 2, and 3 indicates underlining.
Alias: | U |
Tip: | ODS generates the same type of underline for values 1, 2, and 3. However, SAS/GRAPH uses values 1, 2, and 3 to generate increasingly thicker underlines. |
ODS Destinations: | HTML, RTF, PRINTER |
Note: The defaults for how ODS renders the FOOTNOTE statement come from style elements that relate to system footnotes in the current style. The FOOTNOTE statement syntax with ods-format-options is a way to override the settings that are provided by the current style.
The current style varies according to the ODS destination. For more information about how to determine the current style, see What Are Style Definitions, Style Elements, and Style Attributes? and Concepts: Style Definitions and the TEMPLATE Procedure in the SAS Output Delivery System: User's Guide.
specifies the text of the footnote in single or double quotation marks
Tip: | For compatibility with previous releases, SAS accepts some text without quotation marks. When you write new programs or update existing programs, always enclose text in quotation marks. |
Tip: | If you use an automatic macro variable in the title text, you must enclose the title text in double quotation marks. The SAS macro facility will resolve the macro variable only if the text is in double quotation marks. |
Tip: | If you use single quotation marks (") or double quotation marks ("") together (with no space in between them) as the string of text, SAS will output a single quotation mark ( ') or double quotation mark ("), respectively. |
Details |
A FOOTNOTE statement takes effect when the step or RUN group with which it is associated executes. After you specify a footnote for a line, SAS repeats the same footnote on all pages until you cancel or redefine the footnote for that line. When a FOOTNOTE statement is specified for a given line, it cancels the previous FOOTNOTE statement for that line and for all footnote lines with higher numbers.
Operating Environment Information: The maximum footnote length that is allowed depends on the operating environment and the value of the LINESIZE= system option. Refer to the SAS documentation for your operating environment for more information.
Comparisons |
You can also create footnotes with the FOOTNOTES window. For more information, refer to the online Help for the window.
You can modify footnotes with the Output Delivery System. See Customizing Titles and Footnotes by Using the Output Delivery System.
Examples |
These examples of a FOOTNOTE statement result in the same footnote:
These are examples of FOOTNOTE statements that use some of the formatting options for the ODS HTML, RTF, and PRINTER(PDF) destinations. For the complete example, see Customizing Titles and Footnotes by Using the Output Delivery System.
footnote j=left height=20pt color=red "Prepared " c='#FF9900' "on"; footnote2 j=center color=blue height=24pt "&SYSDATE9"; footnote3 link='http://support.sas.com' "SAS";
See Also |
| |||
The TEMPLATE Procedure in the SAS Output Delivery System: User's Guide |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.