Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Tabout tutorial: Learning Latex, using Stata 9.2 in Leopard


From   Michael McCulloch <mm@pinest.org>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Tabout tutorial: Learning Latex, using Stata 9.2 in Leopard
Date   Sun, 31 Aug 2008 15:08:04 -0700

Hello,
I am working on reproducing the sample tables in the excellent tutorial file tabout_tutorial.pdf. My questions are:

1. Where should the files called top.tex and bottom.tex be saved?
2. The tutorial file says that " to reproduce the LATEX tables in this tutorial you will also need the following lines in your document preamble:
\usepackage{booktabs}
\usepackage{tabularx} "
What document does that instruction refer to?

3. Could anyone recommend a good tutorial filed in learning Latex?

4. Is Latex run within Stata, or as a stand-alone program?

5. After issuing a Stata command such as this below (copied from the -tabout- tutorial), a series of lines of Latex code are created. What do I do with those?

tabout foreign rep78 using table11latex.txt, replace ///
c(mean mpg mean weight mean length median price median headroom) ///
f(1c 1c 1c 2cm 1c) ///
clab(MPG Weight_(lbs) Length_(in) Price Headroom_(in)) ///
sum npos(tufte) style(tex) bt cl2(2-4 5-6) cltr2(.75em 1.5em) ///
topstr(10cm) botstr(auto.dta)


Thank you.
--

Best wishes,
Michael McCulloch



Pine Street Foundation
124 Pine St., San Anselmo, CA 94960-2674
Tel: (415) 407-1357
Fax: (415) 485-1065
mcculloch@pinestreetfoundation.org
www.pinestreetfoundation.org
*
* 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   |   What's new   |   Site index