BookmarkSubscribeRSS Feed
dcalbet01
Calcite | Level 5

Hello to all;

Using this code, I get the following table formats:

proc template;

 define style Styles.Custom;

 parent = Styles.Journal;

 replace fonts /'headingFont' = ("Arial",8pt,Bold) 'docFont' = ("Arial",8pt) /* Data in table cells */ ;

end;

Run;

 

dcalbet01_0-1729846650840.png

 

But I would like to be able to change the colours of the lines and texts, for example like the following table:

 

dcalbet01_1-1729846677843.png

 

How should I modify the proc template? I look and look at it, but I don't understand it and I don't get the results I want.

 

Thanks to all of you!

1 REPLY 1
ballardw
Super User

Use Proc template to create a listing of the JOURNAL style and one of the others on your system that displays text in color.

 

I'm not sure that text options in Style templates are intended to easily change the styles for column and row headers separately.

 

Or show the code you use to create the shown the report and use report procedure options to introduce color and that override the ods style colors.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 629 views
  • 0 likes
  • 2 in conversation