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: st: Tables in Tex
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: Tables in Tex
Date
Mon, 25 Jun 2012 14:13:27 +0100
-capt- is an abbreviation for -capture-.
The code hinges on calling -texify-, a non-Stata program via a shell
to the operating system. -p -c -b are evidently arguments for
-texify-.
for "Weėss" read "Weiss".
Nck
On Mon, Jun 25, 2012 at 2:01 PM, Bianca B. <[email protected]> wrote:
> I found in an old post of Martin Weėss the program below to obtain a table in tex format.
>
> Could you help me to understand the language in order to use the program to make other tables? Which is the meaning of 'capt' at the beginning of the program? And in the last line, which is the meaning of -p -c -b ?
>
> Thank you in advance for your help,
> Bianca
>
> // capt ssc inst estout
>
> qui{
> clear*
> set obs 10000
> gen x= rnormal()
>
> estpost summarize x, det
> }
>
> esttab . using myfile.tex, replace ///
> cells("count mean min p25 p50 p75 max") ///
> noobs page
>
> !texify -p -c -b --run-viewer myfile.tex
>
*
* 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/