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

From |
Michael McCulloch <mm@pinest.org> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: RE: Tabout tutorial: Learning Latex, using Stata 9.2 inLeopard |

Date |
Sun, 31 Aug 2008 19:58:11 -0700 |

Many thanks to David Airey and Kieran McCaul for their prompt and helpful replies.

. More useful links on (1) TeX and OS X and (2) Tex and Stata (1) http://www.tug.org/ http://www.tug.org/mactex/ http://www.uoregon.edu/~koch/texshop/texshop.html (2) http://privatewww.essex.ac.uk/~griene/StataLatex.html http://www.ats.ucla.edu/stat/stata/latex/default.htm -Dave On Aug 31, 2008, at 7:26 PM, Kieran McCaul wrote:Michael, Latex is a typesetting program that you need to have installed on your computer. There are many different ways of installing latex that depend on what operating system you are running. If you're using a Mac, have a look at: http://www.esm.psu.edu/mac-tex/ The commands \usepackage{booktabs} and \usepackage{tabularx} go into a .tex file that is read by latex. The .tex file contains your document and the latex instructions for typesetting it. The lines of latex code that Stata generates would go into the same .tex file. Kieran ______________________________________________ Kieran McCaul MPH PhD WA Centre for Health & Ageing (M573) University of Western Australia Level 6, Ainslie House 48 Murray St Perth 6000 Phone: (08) 9224-2140 Fax: (08) 9224 8009 email: kamccaul@meddent.uwa.edu.au http://myprofile.cos.com/mccaul _______________________________________________ The fact that no one understands you doesn't make you an artist. -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Michael McCulloch Sent: Monday, 1 September 2008 6:08 AM To: Statalist Subject: st: Tabout tutorial: Learning Latex, using Stata 9.2 in Leopard 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/ * * 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/

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

**References**:**st: Tabout tutorial: Learning Latex, using Stata 9.2 in Leopard***From:*Michael McCulloch <mm@pinest.org>

**st: RE: Tabout tutorial: Learning Latex, using Stata 9.2 in Leopard***From:*"Kieran McCaul" <kamccaul@meddent.uwa.edu.au>

**Re: st: RE: Tabout tutorial: Learning Latex, using Stata 9.2 in Leopard***From:*David Airey <david.airey@Vanderbilt.Edu>

- Prev by Date:
**Re: st: RE: Tabout tutorial: Learning Latex, using Stata 9.2 in Leopard** - Next by Date:
**Re: st: difference between -heckman- and -treatreg-** - Previous by thread:
**Re: st: RE: Tabout tutorial: Learning Latex, using Stata 9.2 in Leopard** - Next by thread:
**st: Identifying the do-file source code of tables and graphs** - Index(es):

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