Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Stas Kolenikov <skolenik@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: Re: st: esttab: Can I customize to add another LaTeX package in the output code? |
Date | Wed, 7 Dec 2011 13:02:52 -0600 |
You should expect -esttab- to produce the output that you would later \input{} into your main LaTeX file, which you can customize in any way you would like. In the version of -esttab- that I have, there's option -page(packages)- that allows one to add packages to the preamble. But with all due respect to Ben Jann, I am not expecting him to write the whole paper for me within -esttab- ;). On Wed, Dec 7, 2011 at 12:10 PM, Michael Crain <michaelcrain@ymail.com> wrote: > I am using Ben Jann's -estout- package (available from SSC) to generate regression tables in LaTeX code by using the related -esttab- command. After specifying the -tex- option, -esttab- automatically creates a file with Tex code and generates code to use two LaTex packages: dcolumn and booktabs. > > Does anyone know how to modify -esttab- to add another LaTeX package in the output code. I want to add the command \usepackage{caption} to the output Tex code. > > I've looked through the -esttab- ADO code but modifying it is beyond my skill. > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ -- Stas Kolenikov, also found at http://stas.kolenikov.name Small print: I use this email account for mailing lists only. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/