Thanks to Kit Baum, a new package -listtab- is now available for download from SSC. In Stata, use the -ssc- command to do this.
The -listtab- package is described as below on my website, and is the Stata Version 11 successor to the -listtex- package used in Stata Versions 7 to 10. The main change (prompting the change of name) is that the default -delimiter()- option is now an empty string (""), instead of an ampersand ("&"), which was the default -delimiter()- for -listtex-. (This implied that, in -listtex-, the user could not set the delimiter to be an empty string, which may be a useful option in certain HTML scenarios, where a table might have different alignments in different columns.) The old -rstyle()- option, specifying row styles, is still available. And I have added 3 new options -vbegin()-, -vdelimiter()-, and -vend()-, specifying a variable containing the begin, delimiter and end strings of the rows corresponding to different observations. These will be especially useful if the user is creating an RTF table with borders and/or vertical alignment in some rows and not in others.
The Stata 10 -listtex- package will continue to be downloadable from SSC. And users of Stata 10, 9, 8 and 7 can still download versions of -listtex- in their versions of Stata by typing, in Stata,
net from "http://www.imperial.ac.uk/nhli/r.newson/"
and selecting the version required.
Best wishes
Roger
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/
Opinions expressed are those of the author, not of the institution.
----------------------------------------------------------------------------------
package listtab from http://www.imperial.ac.uk/nhli/r.newson/stata11
----------------------------------------------------------------------------------
TITLE
listtab: List variables as rows of a TeX, HTML or word processor table
DESCRIPTION/AUTHOR(S)
listtab 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 linking
and/or embedding (eg using the TeX \input command). listtab produces the
table rows, but may also produce a set of header lines before the table
rows and/or footer lines after the table rows, containing preambles and/or
table definitions and/or table headers and/or table footers, as specified
by the user.
Author: Roger Newson
Distribution-Date: 22october2009
Stata-Version: 11
INSTALLATION FILES (click here to install)
listtab.ado
listtab_vars.ado
listtab_rstyle.ado
listtab.sthlp
listtab_vars.sthlp
listtab_rstyle.sthlp
----------------------------------------------------------------------------------
(click here to return to the previous screen)
*
* 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/