<?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: ODS TEXT with ODS EXCEL — can we change font, font size, font color? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634444#M23882</link>
    <description>&lt;P&gt;Escapechar plus some style overrides may work but I've pretty much moved to Proc ODSTEXT for most of the things I used to (try) to do with ODS Text.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2020 14:47:19 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-03-24T14:47:19Z</dc:date>
    <item>
      <title>ODS TEXT with ODS EXCEL — can we change font, font size, font color?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634437#M23880</link>
      <description>&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="example.xlsx" options(sheet_interval='NONE');
proc sgplot data=sashelp.class;
    scatter x=height y=weight;
run;
ods text='Additional Information Goes Here';
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This works as expected, placing the text under the plot. But suppose I want the ODS TEXT to be a different font, or a different size, or a different color? How can I do this? I'm guessing PROC TEMPLATE gets it done, but I really have no idea how .&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 14:35:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634437#M23880</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-24T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TEXT with ODS EXCEL — can we change font, font size, font color?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634444#M23882</link>
      <description>&lt;P&gt;Escapechar plus some style overrides may work but I've pretty much moved to Proc ODSTEXT for most of the things I used to (try) to do with ODS Text.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 14:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634444#M23882</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-24T14:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TEXT with ODS EXCEL — can we change font, font size, font color?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634445#M23883</link>
      <description>&lt;P&gt;Never mind ... I think I figured it out&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="example.xlsx" options(sheet_interval='NONE');
proc sgplot data=sashelp.class;
    scatter x=height y=weight;
run;
ods escapechar='^';
ods text='^{style [color=red]Additional Information Goes Here}';
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Mar 2020 14:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634445#M23883</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-24T14:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TEXT with ODS EXCEL — can we change font, font size, font color?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634446#M23884</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;can you give an example of using PROC ODSTEXT in this simple case?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 14:51:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634446#M23884</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-24T14:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: ODS TEXT with ODS EXCEL — can we change font, font size, font color?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634476#M23885</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;can you give an example of using PROC ODSTEXT in this simple case?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;PRE&gt;Proc odstext;
p "Simple default text";
p "Some text to make bold"/style={fontweight=bold};
p "Text to make red" /style = {color=red};
run;&lt;/PRE&gt;
&lt;P&gt;Major differences with Proc ODSTEXT and the cousing ODSLIST is that the input can be stored in a data set. The properties are basically per paragraph (the P at the start). A simple p; is blank paragraph.&lt;/P&gt;
&lt;P&gt;One reason I use Odstext is that in some cases if there is not other ods output generated following then the ODS text did not appear in the out document, so didn't do well as a footnote substitute.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 16:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-TEXT-with-ODS-EXCEL-can-we-change-font-font-size-font-color/m-p/634476#M23885</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-24T16:15:08Z</dc:date>
    </item>
  </channel>
</rss>

