.
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: [email protected]
http://myprofile.cos.com/mccaul
_______________________________________________
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
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
[email protected]
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/