Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: LaTeX and tabulate


From   Roger Newson <roger.newson@kcl.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: LaTeX and tabulate
Date   Mon, 18 Nov 2002 13:00:39 +0000

At 19:56 18/11/02 +1100, Ian Watson wrote:
  Findit reveals some useful programs for post-estimation results and
  for summarize (and for a few other commands), but I haven't found
  anything for converting cross tabs results into LaTeX code and would
  appreciate some advice on this.
One possibility might be to use the -dotex- command, which executes a Stata do-file and outputs the log as a TeX file compatible with SJ LaTeX (ie a LaTeX style used by The Stata Journal). Another possibility might be to use -collapse- instead of -tabulate-, and then output the resulting data set to a file of TeX-compatible table rows using the -listtex- command. You can then write your own table preamble and insert (or \input) the file of table rows. To find out more about these two possibilities, type -findit dotex- and -findit listtex-. There are probably other ways you might like to explore by typing -findit tex-.

I hope this helps.

Roger


--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: roger.newson@kcl.ac.uk

Opinions expressed are those of the author, not the institution.

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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