<?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: Combination of Font Style (standard and italic) for variable name in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Combination-of-Font-Style-standard-and-italic-for-variable-name/m-p/501762#M571</link>
    <description>&lt;P&gt;You would need to use an inline format for that, set your ods escapechar:&lt;/P&gt;
&lt;PRE&gt;ods escapechar="^";&lt;/PRE&gt;
&lt;P&gt;Before the titles.&amp;nbsp; &amp;nbsp;Then change:&lt;/P&gt;
&lt;PRE&gt;'Warganegara Malaysia
^s={font_style=italic}Malaysian citizens' ALL &lt;/PRE&gt;
&lt;P&gt;Or something similar to that - I have nothing to test on right now.&amp;nbsp; You can find lots of papers on inline formatting:&lt;BR /&gt;&lt;A href="http://www2.sas.com/proceedings/forum2007/144-2007.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2007/144-2007.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 06:53:53 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-10-05T06:53:53Z</dc:date>
    <item>
      <title>Combination of Font Style (standard and italic) for variable name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Combination-of-Font-Style-standard-and-italic-for-variable-name/m-p/501745#M568</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I need help on formatting the font style of one of the variable name on a table to be a combination of standard and italic fonts. Here is the sas codes:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TITLE j=left "Jadual B1 : Jumlah penduduk mengikut kumpulan etnik, kawasan pihak berkuasa tempa'tan dan negeri, Malaysia, 2010";
Title2 font=bold italic j=left "Table   B1 : Total population by ethnic group, local authority area and state, Malaysia, 2010";
title3 " ";
title4 j=left "Negeri : NEGERI SEMBILAN";
title5 font=bold italic j=left "State";
ods escapechar='~'; 

proc tabulate data=WORK.DOSM order=data;
	where not missing(NEW_ETHNICITY);
	class DISTRICT NEW_ETHNICITY NEW_CITIZENSHIP  /Missing ;
	classlev NEW_ETHNICITY;
	CLASSLEV NEW_citizenship;
	classlev district;
	var ID;
	table ALL DISTRICT=' ', ALL NEW_ETHNICITY='Warganegara Malaysia
Malaysian citizens' ALL 
		NEW_CITIZENSHIP='Bukan Warganegara Malaysia *Non-   Malaysian citizens *' 
		/Box='Daerah Pentadbiran/Kawasan Pihak Berkuasa Tempatan (style font = italic)
										Administrative District/Local Authority Area' row=float MISSTEXT='0';
										
	keylabel N=' ';
	keylabel all='Jumlah Total';
	footnote font=arial bold j=left "Nota" font=arial bold italic "/Note";
footnote font=arial bold j=left "Nota" font=arial bold italic "/Note:";
	footnote2 j=l   f='ARIAL amt/bold' "~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_Angka-angka di atas tidak disesuaikan untuk kurang penghitungan.";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And here is my output:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 719px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23793iCD7ADB8374713B39/image-dimensions/719x193?v=v2" width="719" height="193" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 301px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23794i6520114866C41B48/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I need to output to be presented this way for this particular variable (combination of standard and italic fonts)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 513px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23795i21CD20034026D7EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone please help me on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 03:43:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Combination-of-Font-Style-standard-and-italic-for-variable-name/m-p/501745#M568</guid>
      <dc:creator>sheren_deep1</dc:creator>
      <dc:date>2018-10-05T03:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Combination of Font Style (standard and italic) for variable name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Combination-of-Font-Style-standard-and-italic-for-variable-name/m-p/501762#M571</link>
      <description>&lt;P&gt;You would need to use an inline format for that, set your ods escapechar:&lt;/P&gt;
&lt;PRE&gt;ods escapechar="^";&lt;/PRE&gt;
&lt;P&gt;Before the titles.&amp;nbsp; &amp;nbsp;Then change:&lt;/P&gt;
&lt;PRE&gt;'Warganegara Malaysia
^s={font_style=italic}Malaysian citizens' ALL &lt;/PRE&gt;
&lt;P&gt;Or something similar to that - I have nothing to test on right now.&amp;nbsp; You can find lots of papers on inline formatting:&lt;BR /&gt;&lt;A href="http://www2.sas.com/proceedings/forum2007/144-2007.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2007/144-2007.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 06:53:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Combination-of-Font-Style-standard-and-italic-for-variable-name/m-p/501762#M571</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-10-05T06:53:53Z</dc:date>
    </item>
  </channel>
</rss>

