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.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 481 views
  • 0 likes
  • 2 in conversation