Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Re: st: esttab: Can I customize to add another LaTeX package in the output code?
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
RE: Re: st: esttab: Can I customize to add another LaTeX package in the output code?
Date
Wed, 7 Dec 2011 19:22:39 +0000
I am reminded obliquely of one users' meeting in which Bill Gould as StataCorp President underlined that there often comes a point where other software is better suited to doing what people are asking to be possible in Stata. "After all", he said, "you wouldn't expect Stata to include a complete integrated word processor, would you?"
"Great idea." "Yes please!" "When we can expect it?"
was the flavour of the response.
Nick
[email protected]
Stas Kolenikov
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 <[email protected]> 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/