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

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

From   Michael McCulloch <[email protected]>
To   [email protected]
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




On Aug 31, 2008, at 7:26 PM, Kieran McCaul wrote:


Latex is a typesetting program that you need to have installed on your
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:

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


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: [email protected]
The fact that no one understands you doesn't make you an artist.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Michael
Sent: Monday, 1 September 2008 6:08 AM
To: Statalist
Subject: st: Tabout tutorial: Learning Latex, using Stata 9.2 in Leopard

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
	\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
[email protected]
*   For searches and help try:

*   For searches and help try:
*   For searches and help try:
*   For searches and help try:

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