Usage Note 23369: In ODS HTML output, how can I change the fonts for the titles and footnotes?
To change the fonts for all of the titles and footnotes together,
modify the font associated with the string 'titleFont' in the
FONTS style element.
To change the titles and footnotes individually, modify
the style elements SystemTitle
and SystemFooter, which are the
style elements responsible for rendering the titles and footnotes,
respectively. See the example code below.
View the resulting output from the OUTPUT tab.
proc template;
define style styles.title;
parent=styles.default;
style SystemTitle from TitleAndFooters /
font=('Arial,Helvetica,Helv',2, Bold italic);
style SystemFooter from TitleAndFooters /
font=('Arial,Helvetica,Helv',2, Bold italic);
end;
run;
ods html file="file.html" style=styles.title;
proc print data=sashelp.class;
title "TESTING a FONT change from PROC TEMPLATE";
footnote "TESTING a FONT change from PROC TEMPLATE";
run;
ods html close;
See FAQ 3088 for more information about titles and footnotes.
See also the full PROC TEMPLATE FAQ and Concepts.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> HTML
|
| Date Modified: | 2007-08-28 14:27:47 |
| Date Created: | 2003-08-11 09:23:56 |