Thanks to Kit Baum, there is now a new version of -listtex- downloadable
from SSC (and from my website, where it is described as below). In Stata,
type -ssc desc listtex- to find out more.
The new version has a new option -rstyle()-, allowing the reader to choose
a ready-made table row style, eg html for HTML table rows, or tabular for
LaTeX \tabular environment table rows. The user can therefore type
listtex make foreign mpg weight,type rs(html)
instead of typing
listtex make foreign mpg weight,type begin(<tr><td>) delim(</td><td>)
end(</td></tr>)
which does the same thing, but is less easy to remember.
Best wishes
Roger
TITLE
listtex: List variables as rows of a TeX, HTML or word processor table
DESCRIPTION/AUTHOR(S)
listtex outputs a list of variables to the Stata log or to a file as
TeX,
HTML or word processor table rows, which can then be inserted into a
TeX,
HTML or word processor table by cutting and pasting and/or file
concatenation
and/or the TeX \input command. listtex only produces the table rows.
It is
the responsibility of the user to provide preambles and/or table
definitions
and/or table headers and/or table footers. Note, however, that table
header
rows can sometimes be added to data sets using the ingap command,
downloadable from SSC.
Author: Roger Newson
Distribution-Date: 15june2003
Stata-Version: 7
INSTALLATION FILES (click here to install)
listtex.ado
listtex.hlp
--
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: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson
Opinions expressed are those of the author, not the institution.