<?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: Latex table format in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Latex-table-format/m-p/666718#M24240</link>
    <description>HI:&lt;BR /&gt;  HEADLINE, HEADSKIP, WIDTH= and LINESIZE are all ignored by ODS DESTINATIONS, those are LISTING only options and settings that don't really have meaning in a destination with a proportional font. This is why they are LISTING only options and settings.&lt;BR /&gt;&lt;BR /&gt;  I am not sure how you created the sas.sty stylesheet. Your desired output looks very similar to JOURNAL style. I don't use Latex as a destination often, except to show the .TEX file being created. I don't actually have an application on my system that will render the Latex, so I tend to use RTF.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what question you're asking. When you render the output from your code, are there any warnings or messages in the log? Any messages from the STYLESHEET= option? What does the output look like when you render the .TEX file?&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
    <pubDate>Thu, 02 Jul 2020 23:33:45 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2020-07-02T23:33:45Z</dc:date>
    <item>
      <title>Latex table format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Latex-table-format/m-p/666618#M24237</link>
      <description>&lt;P&gt;I have the following dataset:&lt;/P&gt;
&lt;TABLE width="195"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="45"&gt;Site ID&lt;/TD&gt;
&lt;TD width="95"&gt;Total Screened&lt;/TD&gt;
&lt;TD width="55"&gt;Enrolled&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="45"&gt;1&lt;/TD&gt;
&lt;TD width="95"&gt;2&lt;/TD&gt;
&lt;TD width="55"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="45"&gt;2&lt;/TD&gt;
&lt;TD width="95"&gt;3&lt;/TD&gt;
&lt;TD width="55"&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="45"&gt;3&lt;/TD&gt;
&lt;TD width="95"&gt;5&lt;/TD&gt;
&lt;TD width="55"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="45"&gt;4&lt;/TD&gt;
&lt;TD width="95"&gt;5&lt;/TD&gt;
&lt;TD width="55"&gt;4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="45"&gt;5&lt;/TD&gt;
&lt;TD width="95"&gt;5&lt;/TD&gt;
&lt;TD width="55"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="45"&gt;Total&lt;/TD&gt;
&lt;TD width="95"&gt;20&lt;/TD&gt;
&lt;TD width="55"&gt;11&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;What I would like&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;to do is have&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;nicer LATEX OUTPUT to this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="latex.PNG" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/46857i39F19164D427338D/image-size/small?v=v2&amp;amp;px=200" role="button" title="latex.PNG" alt="latex.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditormonday89_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;The code I have set up is this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods tagsets.simplelatex file="C:\site.tex" (notop nobot)
stylesheet="sas.sty" (url="sas"); options linesize=256 ;
proc report data=o.site_status_list nowindows headline headskip style(header)={font_weight=bold} style(report)={outputwidth=75%};
	column siteID Total_Screened Enrolled;
	define siteID/display "Site ID" width = 14 ;
	define Total_Screened/ display "Total Screened" width =14;
	define Enrolled/ display "Enrolled" width =14;
run;
ods tagsets.simplelatex close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 15:16:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Latex-table-format/m-p/666618#M24237</guid>
      <dc:creator>monday89</dc:creator>
      <dc:date>2020-07-02T15:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Latex table format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Latex-table-format/m-p/666718#M24240</link>
      <description>HI:&lt;BR /&gt;  HEADLINE, HEADSKIP, WIDTH= and LINESIZE are all ignored by ODS DESTINATIONS, those are LISTING only options and settings that don't really have meaning in a destination with a proportional font. This is why they are LISTING only options and settings.&lt;BR /&gt;&lt;BR /&gt;  I am not sure how you created the sas.sty stylesheet. Your desired output looks very similar to JOURNAL style. I don't use Latex as a destination often, except to show the .TEX file being created. I don't actually have an application on my system that will render the Latex, so I tend to use RTF.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what question you're asking. When you render the output from your code, are there any warnings or messages in the log? Any messages from the STYLESHEET= option? What does the output look like when you render the .TEX file?&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 02 Jul 2020 23:33:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Latex-table-format/m-p/666718#M24240</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-07-02T23:33:45Z</dc:date>
    </item>
  </channel>
</rss>

