Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: New version of -listtab- on SSC

From   "Roger B. Newson" <>
To   "" <>
Subject   st: New version of -listtab- on SSC
Date   Tue, 06 Nov 2012 12:12:15 +0000

Thanks once again to Kit Baum, a new version of the -listtab- package is now available for download from SSC. In Stata, use the -ssc- command to do this, or -adoupdate- if you already have an old version of -listtab-.

The -listtab- package is described as below on my website, and also in Newson (2012), and is the successor to -listtex-. The new version adds 2 new options -headchars()- and -footchars()-, containing lists of names of variable characteristics, which are used to produce column labels in table headers and footers. Variable characteristics are now the recommended place to store column labels in Stata datasets destined to be converted into tables. The new options were introduced to save a lot of tedious calls to -listtab_vars- to produce multiple table header rows in complicated tables.

Best wishes



Newson, R. B.  2012.  From resultssets to resultstables in Stata.  The
Stata Journal 12 (2): 191-213.  Download from The Stata Journal website at

package listtab from

listtab: List variables as rows of a TeX, HTML or word processor table

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: 04november2012
      Stata-Version: 11

INSTALLATION FILES                                  (click here to install)
(click here to return to the previous screen)

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
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.
*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index