Hi,
I am having trouble trying to figure out how i can make a macro that outputs data from sas into a table in latex.
thank you!
Hi:
There IS an ODS destination for LaTeX. Here's a sample invocation -- since I don't have a LaTeX viewer, I can create it, but I can't post a screen shot of what it looks like.
The code:
ods tagsets.latex file='c:\temp\test_latex.txt';
proc print data=sashelp.class;
run;
ods tagsets.latex close;
Hope this helps,
Cynthia
I stand corrected and will remove my reply to avoid confusion! 🙂
Note that a LaTex file is just a text file. So you can can use any text editor to look at the file to see if it contains valid Tex code that used the LaTex package.
But you will need something to render the file to see whether it really works, especially if you ability to interpret Tex (or LaTex) code is as bad as mine.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.