<?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: How Can I Import SAS Vector Graphics into MS Word with Italics in Annotations in University Edit in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-Can-I-Import-SAS-Vector-Graphics-into-MS-Word-with-Italics/m-p/362924#M12628</link>
    <description>&lt;P&gt;Have you tried SVG with ODS RTF?&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2017 01:36:46 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-05-31T01:36:46Z</dc:date>
    <item>
      <title>How Can I Import SAS Vector Graphics into MS Word with Italics in Annotations in University Edition?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-Can-I-Import-SAS-Vector-Graphics-into-MS-Word-with-Italics/m-p/362923#M12627</link>
      <description>&lt;P&gt;I’m using ODS graphics in SAS University Edition under Windows 10 to prepare figures for a journal article. I’m annotating some of the figures (with SG Annotation), and I would like to use italics in some of the annotations. But, so far, I’ve been unable to get this to work with vector graphics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The attached program illustrates the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to import vector graphics from SAS University Edition into Word with italics in annotations?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don Macnaughton&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 01:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-Can-I-Import-SAS-Vector-Graphics-into-MS-Word-with-Italics/m-p/362923#M12627</guid>
      <dc:creator>DonMacnaughton</dc:creator>
      <dc:date>2017-05-31T01:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I Import SAS Vector Graphics into MS Word with Italics in Annotations in University Edit</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-Can-I-Import-SAS-Vector-Graphics-into-MS-Word-with-Italics/m-p/362924#M12628</link>
      <description>&lt;P&gt;Have you tried SVG with ODS RTF?&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 01:36:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-Can-I-Import-SAS-Vector-Graphics-into-MS-Word-with-Italics/m-p/362924#M12628</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-31T01:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I Import SAS Vector Graphics into MS Word with Italics in Annotations in University Edit</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-Can-I-Import-SAS-Vector-Graphics-into-MS-Word-with-Italics/m-p/362928#M12629</link>
      <description>&lt;P&gt;So, SVG is not an option with RTF.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For RTF the valid options are:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;EMF (default), PNG, JPEG, JPG, JFIF&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The PNG didn't seem bad to me when embedded and it did keep the italics. I didn't try all the options, but you can play around. I do know that there are some issues with using the Arial font families, if you search on here you'll find a post that details the issues (from Cynthia Zender).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here's the doc link that states the type vs ODS output. &amp;nbsp;I use ODS RTF statements because then I can control the file name and other things if necessary. &amp;nbsp;This also means I can navigate to the myfolders, set up during installation, to see my files. No need to 'download' files anywhere.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file='/folders/myfolders/output.rtf';
ods graphics / imagefmt=png; 
ods escapechar='@';

%sganno;

data anno;
%sgtext(label="Here's some italic text with a subscript:", 
		textsize=14, textfont="Times New Roman", 
		x1=20, Y1=50,
      anchor="LEFT", width=70);
%sgtextcont(label=" b@{sub 'i'}", textstyle="ITALIC");
run;

data _one_;
input x y;
datalines;
1 2
3 4
;

proc sgplot sganno=anno;
  scatter x=x y=y;
  run;

ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;I'm sure some of the SAS guys will comment, and probably have the correct answer but wanted to give you some options until they come along and correct me once again &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2017 01:52:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-Can-I-Import-SAS-Vector-Graphics-into-MS-Word-with-Italics/m-p/362928#M12629</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-31T01:52:59Z</dc:date>
    </item>
  </channel>
</rss>

