Bookmark and Share

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]

st: RE: Re: st: esttab: Can I customize to add another LaTeX package in the output code?‏


From   Michael Crain <[email protected]>
To   [email protected]
Subject   st: RE: Re: st: esttab: Can I customize to add another LaTeX package in the output code?‏
Date   Wed, 7 Dec 2011 11:39:08 -0800 (PST)

Actually Stas's response was quite helpful and directed me to esttab's feature that allows us to do exactly what I want. I wasn't aware of this feature in esttab until now.

esttab's -page- option allows me to specify the LaTex package I want to load and esttab creates the code in the Tex output. 

Thanks, Stas.

--- On Wed, 12/7/11, Nick Cox <[email protected]> wrote:

> From: Nick Cox <[email protected]>
> Subject: RE: Re: st: esttab: Can I customize to add another LaTeX package in the output code?‏
> To: "'[email protected]'" <[email protected]>
> Date: Wednesday, December 7, 2011, 2:22 PM
> 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/
> 

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index