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 at the end of May, and its replacement, statalist.org 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 <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
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. <bianca268@yahoo.com> 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/


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