<?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 font size in by statement text in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937701#M368434</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt;That would have been nice to know up front. Are you using both the standard BY line and the PANELBY statement? &lt;BR /&gt;The BY line change and the TITLE change will both work with ODS RTF. If you are also using PROC SGPANEL, you may need to specify NOGTITLE to get the destination to control the titles and bylines. But I think that the PANELBY might stay inside the image. Do you have any sample code that you've tested with?&lt;BR /&gt;Cynthia&lt;/P&gt;
&lt;P&gt;Just changing my original code a bit, you can see that the STYLE template change works for RTF too:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1722392766165.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98855iAC417762F6DD5347/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1722392766165.png" alt="Cynthia_sas_0-1722392766165.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 02:26:22 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2024-07-31T02:26:22Z</dc:date>
    <item>
      <title>Change font size in by statement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937629#M368418</link>
      <description>&lt;P&gt;When using a by statement in a procedure, how do you control the font family and size in the printed output for the "by" line?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 15:13:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937629#M368418</guid>
      <dc:creator>_Hopper</dc:creator>
      <dc:date>2024-07-30T15:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Change font size in by statement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937636#M368420</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; it depends on the destination and possibly on the procedure you're using, but typically, you need to change the style template. Here's an example using ODS HTML:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1722353903814.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98827i843636896B6F2AFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1722353903814.png" alt="Cynthia_sas_0-1722353903814.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you are using OPTIONS NOBYLINE and inserting by group information in the TITLE, then you have other options for changing the font, color, etc, by using the options in the TITLE statement (as shown in the code where the title color and size are changed.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 15:39:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937636#M368420</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2024-07-30T15:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change font size in by statement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937639#M368421</link>
      <description>&lt;P&gt;Cynthia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be in the SGPANEL procedure sent to the RTF destination.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 15:41:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937639#M368421</guid>
      <dc:creator>_Hopper</dc:creator>
      <dc:date>2024-07-30T15:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change font size in by statement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937701#M368434</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;That would have been nice to know up front. Are you using both the standard BY line and the PANELBY statement? &lt;BR /&gt;The BY line change and the TITLE change will both work with ODS RTF. If you are also using PROC SGPANEL, you may need to specify NOGTITLE to get the destination to control the titles and bylines. But I think that the PANELBY might stay inside the image. Do you have any sample code that you've tested with?&lt;BR /&gt;Cynthia&lt;/P&gt;
&lt;P&gt;Just changing my original code a bit, you can see that the STYLE template change works for RTF too:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1722392766165.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98855iAC417762F6DD5347/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1722392766165.png" alt="Cynthia_sas_0-1722392766165.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 02:26:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937701#M368434</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2024-07-31T02:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change font size in by statement text</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937761#M368452</link>
      <description>&lt;P&gt;Here is an example that changes the appearance of a byline (with added text to show where) using the option NOBYLINE to suppress default appearance and use of the Title (or Footnote) option #byline with options applied:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sort data=sashelp.class out=work.class;
   by sex;
run;

options nobyline;
ods rtf file="x:\example.rtf" nogtitle;
title1 "Title line one";
title2 "replace by line: " Bold color=Red font=Courier height=25pt "#byline";
proc sgpanel data=work.class;
  by sex;
  panelby age/columns=3 ;
  scatter x=height y=weight;
run;

ods rtf close;

options byline;&lt;/PRE&gt;
&lt;P&gt;Instead of #byline you may want to just use #byval, for the variable value, and/or #byvar for the name in customizing the appearance of the title line using the special variables. IF you have more than one variable on your by line then use #byvarN and #byvalN , with N the numeric position on the by line of the variable to reference the values.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 14:34:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Change-font-size-in-by-statement-text/m-p/937761#M368452</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-07-31T14:34:51Z</dc:date>
    </item>
  </channel>
</rss>

