<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: change color text to table of contents in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/change-color-text-to-table-of-contents/m-p/886065#M350153</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Add this line to your &lt;SPAN&gt;AnuarioText2&amp;nbsp;&lt;/SPAN&gt;template and see if it produces the result you expect:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;class colors / 'systitlefg' = black;     &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Otherwise look at the definition of the HTMLBLUE template in SAS and try to change every single color until you get the result you expect.&lt;/P&gt;
&lt;P&gt;This is the definition I have:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;                                                                
   define style Styles.HTMLBlue;                                              
      parent = styles.statistical;                                            
      class GraphColors /                                                     
         'gndata12' = cxECE8C4                                                
         'gndata11' = cxDBD8F8                                                
         'gndata10' = cxC6E4BF                                                
         'gndata9' = cxE6CEAD                                                 
         'gndata8' = cxE5C1D4                                                 
         'gndata7' = cxCCDFF0                                                 
         'gndata6' = cxDDDEB5                                                 
         'gndata5' = cxDBC7E7                                                 
         'gndata4' = cxD5C6B4                                                 
         'gndata3' = cxB7D4D3                                                 
         'gndata2' = cxE7B3B4                                                 
         'gndata1' = cxBBC2DC                                                 
         'gndata' = cxBBC2DC                                                  
         'gofill' = cxFAFBFE                                                  
         'gblockheader' = cxcfd5de                                            
         'gcphasebox' = cx989EA1                                              
         'gphasebox' = cxDBE6F2                                               
         'gczonec' = cxBECEE0                                                 
         'gzonec' = cxCCDCEE                                                  
         'gczoneb' = cxCCDCEE                                                 
         'gzoneb' = cxD7E5F3                                                  
         'gzonea' = cxE3EDF7                                                  
         'gconramp3cend' = cx9C1C00                                           
         'gconramp3cneutral' = cx222222                                       
         'gconramp3cstart' = cx0E36AC                                         
         'gramp3cend' = cxD05B5B                                              
         'gramp3cneutral' = cxFAFBFE                                          
         'gramp3cstart' = cx667FA2                                            
         'gcontrollim' = cxE6F2FF                                             
         'gccontrollim' = cxBFC7D9                                            
         'gruntest' = cxCAE3FF                                                
         'gcruntest' = cxBF4D4D                                               
         'gclipping' = cxFFFFC6                                               
         'gcclipping' = cxC1C100                                              
         'gaxis' = cx989EA1                                                   
         'greferencelines' = cx989EA1;                                        
      class colors /                                                          
         'link2' = cx0000FF                                                   
         'link1' = cx800080                                                   
         'docbg' = cxFAFBFE                                                   
         'contentbg' = cxFAFBFE                                               
         'systitlebg' = cxFAFBFE                                              
         'titlebg' = cxFAFBFE                                                 
         'proctitlebg' = cxFAFBFE                                             
         'headerbg' = cxEDF2F9                                                
         'captionbg' = cxFAFBFE                                               
         'captionfg' = cx112277                                               
         'bylinebg' = cxFAFBFE                                                
         'notebg' = cxFAFBFE                                                  
         'tablebg' = cxFAFBFE                                                 
         'batchbg' = cxFAFBFE                                                 
         'systitlefg' = cx112277                                              
         'titlefg' = cx112277                                                 
         'proctitlefg' = cx112277                                             
         'bylinefg' = cx112277                                                
         'notefg' = cx112277;                                                 
      class Header /                                                          
         bordercolor = cxB0B7BB                                               
         backgroundcolor = cxEDF2F9                                           
         color = cx112277;                                                    
      class Footer /                                                          
         bordercolor = cxB0B7BB                                               
         backgroundcolor = cxEDF2F9                                           
         color = cx112277;                                                    
      class RowHeader /                                                       
         bordercolor = cxB0B7BB                                               
         backgroundcolor = cxEDF2F9                                           
         color = cx112277;                                                    
      class RowFooter /                                                       
         bordercolor = cxB0B7BB                                               
         backgroundcolor = cxEDF2F9                                           
         color = cx112277;                                                    
      class Table /                                                           
         cellpadding = 5;                                                     
      class Graph /                                                           
         attrpriority = "Color";                                              
      class GraphFit2 /                                                       
         linestyle = 1;                                                       
      class GraphClipping /                                                   
         markersymbol = "circlefilled";                                       
   end;                                                                       
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jul 2023 11:50:47 GMT</pubDate>
    <dc:creator>Oligolas</dc:creator>
    <dc:date>2023-07-24T11:50:47Z</dc:date>
    <item>
      <title>change color text to table of contents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/change-color-text-to-table-of-contents/m-p/886045#M350147</link>
      <description>&lt;P&gt;Good morning,&lt;BR /&gt;We are generating a table of contents in a pdf by adding contents=yes to the pdf options.&lt;BR /&gt;In each line to show in the index we add an ods proclabel.&lt;BR /&gt;We are trying to change the color with a proc template but we can't get it to paint black.&lt;BR /&gt;Since the titles are blue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you could give us a hand.&lt;BR /&gt;Thank you very much, we appreciate it in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Proc Template */&lt;BR /&gt;proc template;&lt;BR /&gt;define style Styles.AnuarioText2;&lt;BR /&gt;parent=styles.htmlblue;&lt;BR /&gt;style body from document / leftmargin=1.5cm rightmargin=1.5cm topmargin=0cm bottommargin=0cm;&lt;BR /&gt;class usertext from usertext / foreground=red font_face="arial" font_size=9pt font_weight=bold color=bigb;&lt;BR /&gt;class systemtitle / font_face="arial" font_size=9pt font_weight=bold color=bigb;&lt;BR /&gt;class table / font_face="arial" font_size=7pt cellpadding=1.5;&lt;BR /&gt;class data / font_face="arial" font_size=7pt borderrightwidth=2 borderleftwidth=2 borderbottomwidth=2 bordertopwidth=2;&lt;BR /&gt;class rowheader / font_face="arial" font_size=7pt font_weight=bold backgroundcolor=white borderrightwidth=2 borderleftwidth=2 borderbottomwidth=2 bordertopwidth=2;&lt;BR /&gt;class header / font_face="arial" font_size=7pt font_weight=bold vjust=c cellheight=0.7cm borderrightwidth=2 borderleftwidth=2 borderbottomwidth=2 bordertopwidth=2;&lt;BR /&gt;class ContentTitle from ContentTitle / pretext='Índice';&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;BR /&gt;/* Proc Template END */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Table Of Contents */&lt;BR /&gt;ods pdf style=Styles.AnuarioText2 CONTENTS=YES;&lt;BR /&gt;ods pdf startpage=now;&lt;BR /&gt;/* Table Of Contents END */&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 07:59:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/change-color-text-to-table-of-contents/m-p/886045#M350147</guid>
      <dc:creator>Cristina_inet</dc:creator>
      <dc:date>2023-07-24T07:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: change color text to table of contents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/change-color-text-to-table-of-contents/m-p/886065#M350153</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Add this line to your &lt;SPAN&gt;AnuarioText2&amp;nbsp;&lt;/SPAN&gt;template and see if it produces the result you expect:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;class colors / 'systitlefg' = black;     &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Otherwise look at the definition of the HTMLBLUE template in SAS and try to change every single color until you get the result you expect.&lt;/P&gt;
&lt;P&gt;This is the definition I have:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;                                                                
   define style Styles.HTMLBlue;                                              
      parent = styles.statistical;                                            
      class GraphColors /                                                     
         'gndata12' = cxECE8C4                                                
         'gndata11' = cxDBD8F8                                                
         'gndata10' = cxC6E4BF                                                
         'gndata9' = cxE6CEAD                                                 
         'gndata8' = cxE5C1D4                                                 
         'gndata7' = cxCCDFF0                                                 
         'gndata6' = cxDDDEB5                                                 
         'gndata5' = cxDBC7E7                                                 
         'gndata4' = cxD5C6B4                                                 
         'gndata3' = cxB7D4D3                                                 
         'gndata2' = cxE7B3B4                                                 
         'gndata1' = cxBBC2DC                                                 
         'gndata' = cxBBC2DC                                                  
         'gofill' = cxFAFBFE                                                  
         'gblockheader' = cxcfd5de                                            
         'gcphasebox' = cx989EA1                                              
         'gphasebox' = cxDBE6F2                                               
         'gczonec' = cxBECEE0                                                 
         'gzonec' = cxCCDCEE                                                  
         'gczoneb' = cxCCDCEE                                                 
         'gzoneb' = cxD7E5F3                                                  
         'gzonea' = cxE3EDF7                                                  
         'gconramp3cend' = cx9C1C00                                           
         'gconramp3cneutral' = cx222222                                       
         'gconramp3cstart' = cx0E36AC                                         
         'gramp3cend' = cxD05B5B                                              
         'gramp3cneutral' = cxFAFBFE                                          
         'gramp3cstart' = cx667FA2                                            
         'gcontrollim' = cxE6F2FF                                             
         'gccontrollim' = cxBFC7D9                                            
         'gruntest' = cxCAE3FF                                                
         'gcruntest' = cxBF4D4D                                               
         'gclipping' = cxFFFFC6                                               
         'gcclipping' = cxC1C100                                              
         'gaxis' = cx989EA1                                                   
         'greferencelines' = cx989EA1;                                        
      class colors /                                                          
         'link2' = cx0000FF                                                   
         'link1' = cx800080                                                   
         'docbg' = cxFAFBFE                                                   
         'contentbg' = cxFAFBFE                                               
         'systitlebg' = cxFAFBFE                                              
         'titlebg' = cxFAFBFE                                                 
         'proctitlebg' = cxFAFBFE                                             
         'headerbg' = cxEDF2F9                                                
         'captionbg' = cxFAFBFE                                               
         'captionfg' = cx112277                                               
         'bylinebg' = cxFAFBFE                                                
         'notebg' = cxFAFBFE                                                  
         'tablebg' = cxFAFBFE                                                 
         'batchbg' = cxFAFBFE                                                 
         'systitlefg' = cx112277                                              
         'titlefg' = cx112277                                                 
         'proctitlefg' = cx112277                                             
         'bylinefg' = cx112277                                                
         'notefg' = cx112277;                                                 
      class Header /                                                          
         bordercolor = cxB0B7BB                                               
         backgroundcolor = cxEDF2F9                                           
         color = cx112277;                                                    
      class Footer /                                                          
         bordercolor = cxB0B7BB                                               
         backgroundcolor = cxEDF2F9                                           
         color = cx112277;                                                    
      class RowHeader /                                                       
         bordercolor = cxB0B7BB                                               
         backgroundcolor = cxEDF2F9                                           
         color = cx112277;                                                    
      class RowFooter /                                                       
         bordercolor = cxB0B7BB                                               
         backgroundcolor = cxEDF2F9                                           
         color = cx112277;                                                    
      class Table /                                                           
         cellpadding = 5;                                                     
      class Graph /                                                           
         attrpriority = "Color";                                              
      class GraphFit2 /                                                       
         linestyle = 1;                                                       
      class GraphClipping /                                                   
         markersymbol = "circlefilled";                                       
   end;                                                                       
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 11:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/change-color-text-to-table-of-contents/m-p/886065#M350153</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2023-07-24T11:50:47Z</dc:date>
    </item>
  </channel>
</rss>

