<?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: Underline too long in title of PDF in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Underline-too-long-in-title-of-PDF/m-p/461574#M20941</link>
    <description>&lt;P&gt;Thank you, Cynthia! That's what Tech Support said, too. It is supposed to be fixed in a later SAS release...&lt;/P&gt;</description>
    <pubDate>Fri, 11 May 2018 15:25:21 GMT</pubDate>
    <dc:creator>ChristineKraft</dc:creator>
    <dc:date>2018-05-11T15:25:21Z</dc:date>
    <item>
      <title>Underline too long in title of PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Underline-too-long-in-title-of-PDF/m-p/460731#M20938</link>
      <description>&lt;P&gt;I am having trouble with the titles in my PDF output. When I underline them, the underline extends too far past the title. It doesn't seem to matter which style I use, this is always a problem. Any thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options orientation=portrait nodate	nonumber;
ods escapechar='^';

ods pdf file = "test.pdf";

title1 h=12pt "^{style [textdecoration=underline]This is my title}^n
^{style [textdecoration=underline]And the second line looks weird, too}";
footnote h=10pt j=c '^{thispage}';

proc tabulate data=sashelp.class missing;
class sex;
var height;
table sex='',height='Average Height'*mean='';
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20412i0680C9401787290E/image-size/large?v=v2&amp;amp;px=999" role="button" title="test.jpg" alt="test.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 15:43:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Underline-too-long-in-title-of-PDF/m-p/460731#M20938</guid>
      <dc:creator>ChristineKraft</dc:creator>
      <dc:date>2018-05-08T15:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Underline too long in title of PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Underline-too-long-in-title-of-PDF/m-p/460753#M20939</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; I observe the same behavior you do. In fact, it doesn't matter whether I use ^{NEWLINE 1} or just the old form ^n or use 2 title statements, like this:&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;title1 h=12pt "^{style [textdecoration=underline]2) This is my title}";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;title2 h=12pt "^{style [textdecoration=underline]And the second line looks wonky}";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;when I use textdecoration=underline in SAS 9.4, it appears that the underline does not stop under the last letter in PDF -- this is different behavior than with RTF or HTML.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="using 2 title statements.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20415i3B10C96BD53E106A/image-size/large?v=v2&amp;amp;px=999" role="button" title="using 2 title statements.png" alt="using 2 title statements.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I think you need to open a track with Tech Support on this behavior.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 17:01:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Underline-too-long-in-title-of-PDF/m-p/460753#M20939</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-05-08T17:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Underline too long in title of PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Underline-too-long-in-title-of-PDF/m-p/461382#M20940</link>
      <description>&lt;P&gt;Update on this question: There is a Tech Support note related to this issue that suggests using a different font will correct the issue -- here's the note: &lt;A href="http://support.sas.com/kb/56/784.html" target="_blank"&gt;http://support.sas.com/kb/56/784.html&lt;/A&gt; .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;And when I use Times New Roman (a serif font) for my title statement, there is no added space after the last letter.&lt;/P&gt;
&lt;P&gt;cynthia&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="fix_underline.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20438iCB18958CF55792CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="fix_underline.png" alt="fix_underline.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here's the code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options orientation=portrait nodate	nonumber;
ods escapechar='^';
ods html file="c:\temp\title_test2.html";
ods rtf file="c:\temp\title_test2.rtf";
ods pdf file = "c:\temp\title_test2.pdf";

title1 h=12pt font="Times New Roman"  "^{style [textdecoration=underline]1) This is my title}
^{newline 1} ^{style [textdecoration=underline]And the second line looks fine, too}";
footnote h=10pt font="Times New Roman"  j=c '^{thispage}';

proc tabulate data=sashelp.class missing;
class sex;
var height;
table sex='',height='Average Height'*mean='';
run;


title1 h=12pt font="Times New Roman" "^{style [textdecoration=underline]2) This is my title}";
title2 h=12pt font="Times New Roman" "^{style [textdecoration=underline]And the second line looks fine}";
footnote h=10pt font="Times New Roman"  j=c '^{thispage}';

proc tabulate data=sashelp.class missing;
class sex;
var height;
table sex='',height='Average Height'*mean='';
run;
ods pdf close;
ods html close;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 May 2018 18:34:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Underline-too-long-in-title-of-PDF/m-p/461382#M20940</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-05-10T18:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Underline too long in title of PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Underline-too-long-in-title-of-PDF/m-p/461574#M20941</link>
      <description>&lt;P&gt;Thank you, Cynthia! That's what Tech Support said, too. It is supposed to be fixed in a later SAS release...&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 15:25:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Underline-too-long-in-title-of-PDF/m-p/461574#M20941</guid>
      <dc:creator>ChristineKraft</dc:creator>
      <dc:date>2018-05-11T15:25:21Z</dc:date>
    </item>
  </channel>
</rss>

