Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Tables in Tex

From   Nick Cox <>
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

for "Weėss" read "Weiss".


On Mon, Jun 25, 2012 at 2:01 PM, Bianca B. <> 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:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index