<?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: subscript in DISCRETELEGEND cannot be displayed as Times New Roman font in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/subscript-in-DISCRETELEGEND-cannot-be-displayed-as-Times-New/m-p/671653#M20282</link>
    <description>It works!! Thank you so much!!</description>
    <pubDate>Thu, 23 Jul 2020 01:58:33 GMT</pubDate>
    <dc:creator>master_jiang</dc:creator>
    <dc:date>2020-07-23T01:58:33Z</dc:date>
    <item>
      <title>subscript in DISCRETELEGEND cannot be displayed as Times New Roman font</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/subscript-in-DISCRETELEGEND-cannot-be-displayed-as-Times-New/m-p/671269#M20248</link>
      <description>&lt;P&gt;When using font Times New Roman to display legend label, the subscript 3 cannot be displayed. If I change to other font such as "Monotype Sans WT J", the subscript can display. Does anyone know how to display subscript in DISCRETELEGEND in TNR font ? Many thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the SAS code and the test dataset is also attached&lt;/P&gt;&lt;P&gt;/*--------------------------------------------------------------------------------*/&lt;/P&gt;&lt;P&gt;ods path work.templates(update) sashelp.tmplmst(read) sasuser.templat(update);&lt;BR /&gt;proc template;&lt;BR /&gt;define style test/store=templates;&lt;BR /&gt;parent = Styles.rtf ;&lt;BR /&gt;class graphwalls /&lt;BR /&gt;frameborder=off;&lt;BR /&gt;class fonts / 'TitleFont' = ("Times New Roman, Times Roman, Times", 10pt ,Bold ) 'TitleFont2' = ("Times New Roman, Times Roman, Times", 10pt ,Bold ) 'footFont' = ("Times New Roman, Times Roman, Times", 10pt ) 'StrongFont' = ("Times New Roman, Times Roman, Times", 10pt,Bold) 'EmphasisFont' = ("Times New Roman, Times Roman, Times", 10pt,Italic) 'headingEmphasisFont' = ("Times New Roman, Times Roman, Times", 10pt,Bold) 'headingFont' = ("Times New Roman, Times Roman, Times", 10pt,Bold) 'docFont' = ("Times New Roman, Times Roman, Times",10pt) 'FixedEmphasisFont' = ("Times New Roman, Times Roman, Times", 10pt) 'FixedStrongFont' = ("Times New Roman, Times Roman, Times", 10pt,Bold) 'FixedHeadingFont' = ("Times New Roman, Times Roman, Times", 10pt,Bold) 'BatchFixedFont' = ("Times New Roman, Times Roman, Times", 10pt) 'FixedFont' = ("Times New Roman, Times Roman, Times", 10pt) ;&lt;BR /&gt;class color_list / 'link'= blue 'bgH' = white 'bgT' = white 'bgD' = white 'fg' = black 'bg' = white ;&lt;BR /&gt;style Table from Output / rules = groups cellpadding = 1px cellspacing = 0 bordercolor = lightgrey frame=hsides ;&lt;BR /&gt;class systemtitle / protectspecialchars=OFF asis=ON ;&lt;BR /&gt;class systemfooter / font=Fonts('footFont') protectspecialchars=OFF asis=ON ;&lt;BR /&gt;class text / 'continued' = " " ;&lt;BR /&gt;class continued / pretext=text('continued') width=_undef_ frame=void rules=none borderspacing = 0 padding = 0 ;&lt;BR /&gt;class header / protectspecialchars=off ;&lt;BR /&gt;class data / protectspecialchars=off ;&lt;BR /&gt;class rowheader / protectspecialchars=off ;&lt;BR /&gt;class usertext / protectspecialchars=off ;&lt;BR /&gt;class byline / protectspecialchars=off ;&lt;BR /&gt;&lt;BR /&gt;style graphfonts from graphfonts / "graphdatafont" =("TIMES NEW ROMAN",10pt)&lt;BR /&gt;"graphlabelfont" =("TIMES NEW ROMAN",10pt,Bold)&lt;BR /&gt;"graphfootnotefont"=("TIMES NEW ROMAN",10pt)&lt;BR /&gt;"graphvaluefont" =("TIMES NEW ROMAN",10pt)&lt;BR /&gt;"graphtitlefont" =("TIMES NEW ROMAN",12pt,Bold)&lt;BR /&gt;"graphunicodefont"=("TIMES NEW ROMAN",10pt);&lt;BR /&gt;end;&lt;BR /&gt;define style intexttable;&lt;BR /&gt;parent=styles.rtf;&lt;BR /&gt;style TableHeaderContainer from TableHeaderContainer / bordertopwidth=6 bordertopcolor=red borderbottomwidth=12 borderbottomcolor=blue borderbottomstyle=dotted;&lt;BR /&gt;style TableFooterContainer from TableFooterContainer / bordertopwidth=6 bordertopcolor=red bordertopstyle=double;&lt;BR /&gt;style table from table / cellspacing=0 rules=groups frame=void;&lt;BR /&gt;style Table from Output / rules = none cellpadding = 1px cellspacing = 0 bordercolor = lightgrey frame=hsides asis=ON ;&lt;BR /&gt;class systemtitle / protectspecialchars=OFF asis=ON ;&lt;BR /&gt;class systemfooter / font=Fonts('footFont') protectspecialchars=OFF asis=ON ;&lt;BR /&gt;class text / 'continued' = " " ;&lt;BR /&gt;class continued / pretext=text('continued') width=_undef_ frame=void rules=none borderspacing = 0 padding = 0 ;&lt;BR /&gt;end;&lt;BR /&gt;run;&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;define statgraph aebar;&lt;BR /&gt;begingraph/collation=binary subpixel=on designwidth=9.5 in designheight=6.5 in attrpriority=NONE&lt;BR /&gt;;&lt;BR /&gt;entrytitle halign=left textattrs=GraphTitleText(color=black weight=bold size=10pt)&lt;BR /&gt;"Adverse Events";&lt;BR /&gt;layout overlay/&lt;BR /&gt;xaxisopts=(label=" ")&lt;BR /&gt;yaxisopts=( display= ALL LabelPosition=CENTER label="% of Subjects" labelFitPolicy=Split type=LINEAR linearopts=( tickvaluelist=( 0 20 40 60 80 100 ) viewmax=100 ) );&lt;BR /&gt;;&lt;BR /&gt;barchart x=text y=prop/group=actarmcd groupdisplay=cluster name="arm";&lt;BR /&gt;discretelegend "arm"/across=1 valign=top halign=right location=inside;&lt;BR /&gt;endlayout;&lt;BR /&gt;endgraph;&lt;BR /&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sgrender data=test template=aebar;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 02:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/subscript-in-DISCRETELEGEND-cannot-be-displayed-as-Times-New/m-p/671269#M20248</guid>
      <dc:creator>master_jiang</dc:creator>
      <dc:date>2020-07-22T02:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: subscript in DISCRETELEGEND cannot be displayed as Times New Roman font</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/subscript-in-DISCRETELEGEND-cannot-be-displayed-as-Times-New/m-p/671402#M20256</link>
      <description>&lt;P&gt;Use the "Times New Roman Uni" font.That should work for you.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 14:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/subscript-in-DISCRETELEGEND-cannot-be-displayed-as-Times-New/m-p/671402#M20256</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2020-07-22T14:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: subscript in DISCRETELEGEND cannot be displayed as Times New Roman font</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/subscript-in-DISCRETELEGEND-cannot-be-displayed-as-Times-New/m-p/671653#M20282</link>
      <description>It works!! Thank you so much!!</description>
      <pubDate>Thu, 23 Jul 2020 01:58:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/subscript-in-DISCRETELEGEND-cannot-be-displayed-as-Times-New/m-p/671653#M20282</guid>
      <dc:creator>master_jiang</dc:creator>
      <dc:date>2020-07-23T01:58:33Z</dc:date>
    </item>
  </channel>
</rss>

