<?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 not to have duplicate titles? My ODS PDF Graph Title Duplicates into Next Page Margin Header in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-not-to-have-duplicate-titles-My-ODS-PDF-Graph-Title/m-p/767585#M25312</link>
    <description>&lt;P&gt;Assuming this plot is the offender :&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=merged_gender (where=(&amp;amp;period)) dattrmap=attrmap;
   title1 "Encounters by Gender";
   title2 "Trendlines &amp;amp; 7-day Moving Averages";
   yaxis label="Number of Encounters";
   series y=MovAv x=admitdt1 / group=gender attrid=gender lineattrs=(pattern=solid thickness=2);
   xaxis tickvalueformat=mmddyy8.;
run;
title;&lt;/PRE&gt;
&lt;P&gt;I think you want the Title statement to clear the title inside the same layout block as the Proc using the title.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 23:34:47 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-09-13T23:34:47Z</dc:date>
    <item>
      <title>How not to have duplicate titles? My ODS PDF Graph Title Duplicates into Next Page Margin Header</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-not-to-have-duplicate-titles-My-ODS-PDF-Graph-Title/m-p/767582#M25311</link>
      <description>&lt;P&gt;My PDF code copies my graph titles from the previous page onto the next page's margin header. I would like to not have that happen, by retaining the graph title and does not duplicate it on the next page's margin header.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Abbreviated Code Below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS noproctitle; 

options NOQUOTELENMAX;

ODS _all_ close;

ods listing close;

options papersize=A4 nodate;

options orientation=landscape leftmargin="1.5cm" rightmargin="1.5cm" topmargin="1.5cm" bottommargin="1.5cm"; 

goptions ftext="helvetica/bold" noborder device=CGMOF97P NOGRAPHRC;

ods pdf file="C:\Exports\FILENAME.pdf" notoc startpage=no style=Printer;

ods graphics / height=6in;

ods escapechar ="~";

ods layout start;

ods region y=0in;

ods text="~{style [color=blue just=left font_size=16pt]Summary Report}";

ods region y=0in x=3in;

ods text="~{style [color=blue just=right font_size=12pt]Report date: %sysfunc(today(),mmddyy10.)}";

ods layout end;

　



ods pdf startpage=now; 

ods layout start;

data tableview/view=tableview;

set merged_overall nobs=__nobs;

if _n_ gt __nobs-14;

run;

ods region y=0in;

ods text="~{style [just=center font_size=14pt color=black]Table 1}";

ods region y=1in;

proc print data=tableview noobs label; 

var admitdt1 Variable 2;

run;

ods layout end;

 

ods startpage=now; 

ods layout start;

ods region y=0in;

ods pdf text="~{style [just=center font_size=20pt color=black]OVERALL}";

ods region y=0.5in;

proc sgplot data=merged_overall (where=(&amp;amp;period));

title1 "Overall Trends";

title2 "Trendlines &amp;amp; 7-day Moving Averages";

series y=MovAv x=admitdt1 / legendlabel="Encounters" lineattrs=(color=blue pattern=solid thickness=2);

run;

ods layout end;

 

ods startpage=now; 

ods layout start;

ods region y=0in;

ods pdf text="~{style [just=center font_size=20pt color=black]ENCOUNTERS}";

ods region y=0.5in;

proc sgplot data=merged_gender (where=(&amp;amp;period)) dattrmap=attrmap;

title1 "Encounters by Gender";

title2 "Trendlines &amp;amp; 7-day Moving Averages";

yaxis label="Number of Encounters";

series y=MovAv x=admitdt1 / group=gender attrid=gender lineattrs=(pattern=solid thickness=2);

xaxis tickvalueformat=mmddyy8.;

run;

ods layout end;

 

footnote ' ';

footnote2 height=11pt justify=left color=RoyalBlue "Note:";

run; title; footnote;

ODS pdf close;

ods listing;&lt;/CODE&gt;&lt;/PRE&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>Mon, 13 Sep 2021 23:22:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-not-to-have-duplicate-titles-My-ODS-PDF-Graph-Title/m-p/767582#M25311</guid>
      <dc:creator>erikhendrickson</dc:creator>
      <dc:date>2021-09-13T23:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: How not to have duplicate titles? My ODS PDF Graph Title Duplicates into Next Page Margin Header</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-not-to-have-duplicate-titles-My-ODS-PDF-Graph-Title/m-p/767585#M25312</link>
      <description>&lt;P&gt;Assuming this plot is the offender :&lt;/P&gt;
&lt;PRE&gt;proc sgplot data=merged_gender (where=(&amp;amp;period)) dattrmap=attrmap;
   title1 "Encounters by Gender";
   title2 "Trendlines &amp;amp; 7-day Moving Averages";
   yaxis label="Number of Encounters";
   series y=MovAv x=admitdt1 / group=gender attrid=gender lineattrs=(pattern=solid thickness=2);
   xaxis tickvalueformat=mmddyy8.;
run;
title;&lt;/PRE&gt;
&lt;P&gt;I think you want the Title statement to clear the title inside the same layout block as the Proc using the title.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 23:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-not-to-have-duplicate-titles-My-ODS-PDF-Graph-Title/m-p/767585#M25312</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-09-13T23:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How not to have duplicate titles? My ODS PDF Graph Title Duplicates into Next Page Margin Header</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-not-to-have-duplicate-titles-My-ODS-PDF-Graph-Title/m-p/767679#M25313</link>
      <description>&lt;PRE&gt;ods pdf file="C:\Exports\FILENAME.pdf" notoc startpage=no style=Printer &lt;FONT size="5"&gt;&lt;STRONG&gt;nogtitle&lt;/STRONG&gt;&lt;/FONT&gt; ;
&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Sep 2021 12:22:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-not-to-have-duplicate-titles-My-ODS-PDF-Graph-Title/m-p/767679#M25313</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-09-14T12:22:27Z</dc:date>
    </item>
  </channel>
</rss>

