Sample 46383: How to add a solid line above footnote text in RTF and PDF output
The style attributes BORDER<LOCATION>WIDTH and BORDER<LOCATION>COLOR enable expanded border control. The sample code on the Full Code tab creates RTF and PDF files that have a solid black line above the footnote text.
For additional information about these style attributes, please see the SAS online documentation: Style Attributes Tables.
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
The style attributes BORDER<LOCATION>WIDTH and BORDER<LOCATION>COLOR are new in SAS 9.2. They enable expanded border control. The sample code below creates RTF and PDF files that have a solid black line above the footnote text.
ods escapechar="^";
title;
options orientation=portrait nodate nonumber;
ods rtf file="file.rtf";
ods pdf file="file.pdf" notoc;
proc print data=sashelp.class;
/* The OUTPUTWIDTH= style attribute is only necessary for the ODS PDF destination. */
footnote "^{style [outputwidth=100% bordertopcolor=black bordertopwidth=2pt]Footnote here}" ;
run;
ods _all_ close;
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
The style attributes BORDER<LOCATION>WIDTH and BORDER<LOCATION>COLOR can be used to add solid lines to footnotes and titles.
Date Modified: | 2012-05-08 13:48:46 |
Date Created: | 2012-04-20 16:25:43 |
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.2 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |
Microsoft® Windows® for x64 | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |
Microsoft Windows XP Professional | 9.2 TS1M0 | |
Windows Vista | 9.2 TS1M0 | |
Windows Vista for x64 | 9.2 TS1M0 | |
64-bit Enabled AIX | 9.2 TS1M0 | |
64-bit Enabled HP-UX | 9.2 TS1M0 | |
64-bit Enabled Solaris | 9.2 TS1M0 | |
HP-UX IPF | 9.2 TS1M0 | |
Linux | 9.2 TS1M0 | |
Linux for x64 | 9.2 TS1M0 | |
OpenVMS on HP Integrity | 9.2 TS1M0 | |
Solaris for x64 | 9.2 TS1M0 | |