<?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: title is not working with SAS EG 5.1 using ods tagsets.rtf in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369120#M88082</link>
    <description>&lt;P&gt;PS do this for a test:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods path work.tmp(update) sasuser.templat(update) sashelp.tmplmst(read);
ODS _ALL_ CLOSE;
proc template;
define style Styles.UserText;
parent = Styles.Default;
CLASS UserText from SystemTitle /
just=Left
FONT_FACE = "Arial, Helvetica, sans-serif"
fontstyle=roman
fontsize=12pt
fontweight=bold
color=black;
end;
run;
ods escapechar='^';
ods tagsets.rtf file='\\AHOMEDIRPNAS\Homedirp\ALE252\Travail\Temp2\test4.rtf' startpage=no style=Styles.UserText options (Tables_OFF='usertext');
ods tagsets.rtf text='this is a text line';
ods tagsets.rtf text="^{style[ color = red font_size=14pt font_style=italic] This is a second line of text}";
ods tagsets.rtf text="^{style[ just=c color= blue font_size=14pt textdecoration=underline font_style=italic]Conclusion}";
title h=14pt color=black bold 'this is a sas title';

proc print data=sashelp.class;
run;

ods tagsets.rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 21 Jun 2017 12:41:24 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-06-21T12:41:24Z</dc:date>
    <item>
      <title>title is not working with SAS EG 5.1 using ods tagsets.rtf</title>
      <link>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369110#M88074</link>
      <description>&lt;P&gt;Hello, I am using a proc format because most of my text is left justify but I would like to use the title option or any other option that will works with SAS EG 5.1 and that will permits me to put some line of text justify = center as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my first line of text&lt;/P&gt;&lt;P&gt;This is my second line of text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;This is my first title&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my third line of text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will find my code below.&amp;nbsp; The title option &lt;SPAN&gt;is not recognized at all.&amp;nbsp; Any suggestion?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;path&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; work.tmp(update) sasuser.templat(update) sashelp.tmplmst(read);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ODS&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;_ALL_&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;CLOSE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;template&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;define&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Styles.UserText;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;parent&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = Styles.Default;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;CLASS&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; UserText from SystemTitle /&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;just=Left&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;FONT_FACE = &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Arial, Helvetica, sans-serif"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;fontstyle&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=roman&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;fontsize&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;12&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;fontweight&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=bold&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=black;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;escapechar&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'^'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tagsets.rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;file&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'\\AHOMEDIRPNAS\Homedirp\ALE252\Travail\Temp2\test4.rtf'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;startpage&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=no &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;style&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Styles.UserText &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;options&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; (Tables_OFF=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'usertext'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tagsets.rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;text&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'this is a text line'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tagsets.rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;text&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"^{style[ color = red font_size=14pt font_style=italic] This is a second line of text}"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tagsets.rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;text&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"^{style[ just=c color= blue font_size=14pt textdecoration=underline font_style=italic]Conclusion}"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;title&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;h&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;14&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;pt &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;color&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=black &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;bold&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;'this is a sas title'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ods&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tagsets.rtf&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;close&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;The result is:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this is a text line&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;This is a second line of text&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;Conclusion&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;&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;/P&gt;&lt;P&gt;&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;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369110#M88074</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2017-06-21T12:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: title is not working with SAS EG 5.1 using ods tagsets.rtf</title>
      <link>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369118#M88080</link>
      <description>&lt;P&gt;A title defined with a title statement will be added to the output created by procedures that produce output. The title statement just defines the title, but does not add anything to the output. Once a subsequent procedure creates output, the defined title(s) will be added to the output automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code has no output procedure.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:39:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369118#M88080</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-21T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: title is not working with SAS EG 5.1 using ods tagsets.rtf</title>
      <link>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369120#M88082</link>
      <description>&lt;P&gt;PS do this for a test:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods path work.tmp(update) sasuser.templat(update) sashelp.tmplmst(read);
ODS _ALL_ CLOSE;
proc template;
define style Styles.UserText;
parent = Styles.Default;
CLASS UserText from SystemTitle /
just=Left
FONT_FACE = "Arial, Helvetica, sans-serif"
fontstyle=roman
fontsize=12pt
fontweight=bold
color=black;
end;
run;
ods escapechar='^';
ods tagsets.rtf file='\\AHOMEDIRPNAS\Homedirp\ALE252\Travail\Temp2\test4.rtf' startpage=no style=Styles.UserText options (Tables_OFF='usertext');
ods tagsets.rtf text='this is a text line';
ods tagsets.rtf text="^{style[ color = red font_size=14pt font_style=italic] This is a second line of text}";
ods tagsets.rtf text="^{style[ just=c color= blue font_size=14pt textdecoration=underline font_style=italic]Conclusion}";
title h=14pt color=black bold 'this is a sas title';

proc print data=sashelp.class;
run;

ods tagsets.rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:41:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369120#M88082</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-21T12:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: title is not working with SAS EG 5.1 using ods tagsets.rtf</title>
      <link>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369124#M88086</link>
      <description>&lt;P&gt;Thanks you Kurt!&amp;nbsp; In that case, the title option may not be appropriate for what I would like to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you looks at my original code, the third line of text as an justify option but it is not working.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token statement"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;tagsets&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token keyword"&gt;rtf&lt;/SPAN&gt; text&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"^{style[ just=c color= blue font_size=14pt textdecoration=underline font_style=italic]Conclusion}"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;The word Conclusion is blue, italic, underline but justify = left, the justification from the proc format. Is there a way to change the justification of a line of text with ods tagsets.rtf text?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Alain&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:51:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369124#M88086</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2017-06-21T12:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: title is not working with SAS EG 5.1 using ods tagsets.rtf</title>
      <link>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369135#M88087</link>
      <description>&lt;P&gt;Since ods text delivers raw text to the destination, I have an inkling that just=c is not valid rtf style syntax, and the justification needs to be delivered differently.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 13:22:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/title-is-not-working-with-SAS-EG-5-1-using-ods-tagsets-rtf/m-p/369135#M88087</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-21T13:22:38Z</dc:date>
    </item>
  </channel>
</rss>

