More generally, you can modify the colors, fonts, and other attributes of graph elements in an ods style by editing the style template. Hi i am trying to update only a few elements using css, however as soon as i provide my css style, elements for which i did not specify a style also change. Modifying css style in ods pdf sas support communities. Over fifty ods styles are available for use with ods. The style templates are all located in the styles folder by default. To view the names of all of the style templates that are shipped with sas, submit the following program. The default style is excel which produces light blue column and row headers. Ods pdf text style options nonumber nodate ods pdf fileline. For example in the attached picture leftdocument with no cssstyle statement. If no options statement is used to explicitly set the margins, the margin settings are retrieved from the sas. Pdf can be pretty darn fancy advanced ods options for pdf output. Before the proc reg, we first sort the data by race and then open a. Tips and tricks for the ods pdf destination pete lund looking glass analytics, olympia, wa.
Statements in the printer family open the pcl, pdf, printer, or ps destination, producing output that is suitable for a highresolution printer. I have not executed code using all of the styles, but i do know that some of the styles only have minor differences from other styles. The ods pdf statement is part of the ods printer family of statements. For more information, see the section ods styles and sas output delivery system. You can also perform ods style modifications by using the %modstyle sas autocall macro. To control the appearance of ods output, styles are used. Just like car manufacturers, the ods developers have improved the look and feel of the pdf destination in sas 9. Below, we run a regression model separately for each of the four race categories in our data. Each of the styles listed in the table of supported sas styles produces a different layout in the excel workbook.