<?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 Styling Titles in Proc Report ods pdf in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Styling-Titles-in-Proc-Report-ods-pdf/m-p/108288#M9961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I&lt;/SPAN&gt;'m trying &lt;SPAN class="hps"&gt;to organize &lt;SPAN class="hps"&gt;titles&lt;/SPAN&gt; &lt;/SPAN&gt;in &lt;SPAN class="hps"&gt;my report &lt;/SPAN&gt;&lt;SPAN class="hps atn"&gt;(t&lt;/SPAN&gt;itle1 &lt;SPAN class="hps"&gt;is the same &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;for each page&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;title2 &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;is different) see attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;pdf&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;text&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;because I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;couldn’t do&lt;/SPAN&gt; it &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;titles properly&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;I've got&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;every time&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;different result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I think if I run the same syntax again and again, without closing the SAS program, I have to reset the options back to the original state first. I do not know how to do that and if this will be helpful to resolve the problem with my titles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Any&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;help&lt;/SPAN&gt; is &lt;SPAN class="hps"&gt;really welcome&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 15:28:14 GMT</pubDate>
    <dc:creator>sjughent</dc:creator>
    <dc:date>2013-02-13T15:28:14Z</dc:date>
    <item>
      <title>Styling Titles in Proc Report ods pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Styling-Titles-in-Proc-Report-ods-pdf/m-p/108288#M9961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I&lt;/SPAN&gt;'m trying &lt;SPAN class="hps"&gt;to organize &lt;SPAN class="hps"&gt;titles&lt;/SPAN&gt; &lt;/SPAN&gt;in &lt;SPAN class="hps"&gt;my report &lt;/SPAN&gt;&lt;SPAN class="hps atn"&gt;(t&lt;/SPAN&gt;itle1 &lt;SPAN class="hps"&gt;is the same &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;for each page&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;title2 &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;is different) see attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;pdf&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;text&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;because I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;couldn’t do&lt;/SPAN&gt; it &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;titles properly&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;I've got&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;every time&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;different result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I think if I run the same syntax again and again, without closing the SAS program, I have to reset the options back to the original state first. I do not know how to do that and if this will be helpful to resolve the problem with my titles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Any&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;help&lt;/SPAN&gt; is &lt;SPAN class="hps"&gt;really welcome&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 15:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Styling-Titles-in-Proc-Report-ods-pdf/m-p/108288#M9961</guid>
      <dc:creator>sjughent</dc:creator>
      <dc:date>2013-02-13T15:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Titles in Proc Report ods pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Styling-Titles-in-Proc-Report-ods-pdf/m-p/108289#M9962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I'm not sure what your original code with ODS PDF TEXT= is really doing. But given that you are changing orientation between one PROC REPORT and another, I think you can do everything&amp;nbsp; you want to do with TITLE statements. I didn't see that you really needed STARTPAGE=NOW, either. This code below produced the attached screenshot. ODS TEXT= and ODS ESCAPECHAR are also ways to specify text strings and alter the style of text strings, but the TITLE statement has support, right on the TITLE statement, without ODS ESCAPECHAR, to alter font, bold, italic, justification, and size (height). The ODS TEXT can get tied up with STARTPAGE and end up under one table instead of at the start of a page. But I have always found the TITLE statement to be quite reliable (as long as I don't use STARTPAGE=NO).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before I move into ODS PDF TEXT= and STARTPAGE, I try to exhaust what can be done with the regular TITLE statement. If your goal is to change the titles between procedures, this is the way I would do it. If you must have an ODS PDF TEXT= solution, then I would suggest that you open a track with Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods escapechar='^';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;options missing='0' orientation=portrait nodate;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods listing close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods pdf file="c:\temp\29416_use_title_only.pdf." notoc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;proc report data=sashelp.class nowd spanrows;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title f='Times' bold italic j=c h=18pt 'Test: ME feedback per lezer 2012';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title2 j=c f='Times' bold italic h=18pt "ME feedback per lezer 2012";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title3 '^{newline 1}'; /* one extra line */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title4 j=c f='Times' bold italic h=18pt "Technische heroproep&amp;nbsp; 2012";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title5 '^{newline 2}'; /* insert extra spaces */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title6 j=l f='Times' bold h=14pt italic "Tabel 1. Technische heroproep per eerste lezer";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;column ('Mammografische/eenheid' sex name age height weight);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;define sex / order;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;options orientation=landscape nodate nolabel;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods pdf;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;proc report data=sashelp.shoes(obs=10) nowd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title f='Times' bold italic j=c h=18pt 'Test: ME feedback per lezer 2012';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title2 j=c f='Times' bold italic h=18pt "ME feedback per lezer 2012";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title3 '^{newline 1}';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title4 j=c f="Times" bold italic h=18pt "Radiografische kwaliteit 2012";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title5 '^{newline 2}';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt; title6 j=l f="Times" bold italic h=14pt "Tabel 2. Radiografische kwaliteit per eerste lezer";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;column ('Mammografische/eenheid' region subsidiary product sales&amp;nbsp; returns inventory);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;define region / order;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;ods pdf close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;title;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 05:29:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Styling-Titles-in-Proc-Report-ods-pdf/m-p/108289#M9962</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-02-14T05:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Titles in Proc Report ods pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Styling-Titles-in-Proc-Report-ods-pdf/m-p/108290#M9963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;Dear Cynthia,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;Thanks for your help. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;When I use the same structure like in your code I get good result (result1.pdf). When I insert some text with ods pdf text before the table I get another result (result2). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;It seems that&amp;nbsp; I can’t combine title and ods pdf text in the same ods pdf file. Is that correct?&lt;BR /&gt;Do I need then insert all my text with title? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;Svetlana &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 10:33:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Styling-Titles-in-Proc-Report-ods-pdf/m-p/108290#M9963</guid>
      <dc:creator>sjughent</dc:creator>
      <dc:date>2013-02-14T10:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Titles in Proc Report ods pdf</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Styling-Titles-in-Proc-Report-ods-pdf/m-p/108291#M9964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I cannot answer that question (about combining titles and ods text=). There have been times that I have done it and it works fine. There are times that it worked oddly, but most of the times when it has worked oddly for me involved using a mixture of STARTPAGE=NO with STARTPAGE=NOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are encountering an issue, such as you describe, the best resource for you is to open a track with Tech Support. If they verify that you are using TITLES and ODS TEXT= correctly and they observe the same issue, then they have the method by which to alert the developer and report this as a possible bug that needs to be fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Any other comments about whether it -should- work is only speculation. I have had ODS PDF TEXT= work. I have seen it not work. Most of the times it has not worked, I have been able to workaround or take another approach. I don't see where you really need ODS PDF TEXT= in your example. And I'm not in a position to run code today due to other committments. There are some things in your code that probably don't work anymore with ODS PDF, like -2n as a way to wrap text, that was possible in the first iteration of ODS ESCAPECHAR, but when the new syntax for ODS ESCAPECHAR came out in SAS 9.2, some of former syntax for marking and wrapping lines was not carried forward as a supported feature, so I tend to avoid things like escapechar+m or escapechar+w or escapechar+-2n. I really think this is a question for Tech Support if you really need to make ODS PDF TEXT= work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2013 04:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Styling-Titles-in-Proc-Report-ods-pdf/m-p/108291#M9964</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-02-16T04:44:30Z</dc:date>
    </item>
  </channel>
</rss>

