Thanks to Kit Baum, a new version of -rtfutil- 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.
The -rtfutil- package is work in progress, and is described as below on my website. The new version adds a module -rtfcumlist-, which inputs a numlist and outputs the corresponding list of cumulative sums. The numlist might be a list of table row widths (expressed in twips), and the cumulative sum list might be the corresponding list of table right boundaries (expressed in twips). A twip is 1/1440 of an inch, or 1/20 of a point, and is the unit of length usually used by RTF.
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 rtfutil from http://www.imperial.ac.uk/nhli/r.newson/stata11
----------------------------------------------------------------------------
TITLE
rtfutil: Utilities for writing Rich Text Format (RTF) files
DESCRIPTION/AUTHOR(S)
The rtfutil package is a suite of file handling utilities for
producing Rich Text Format (RTF) files in Stata, possibly
containing plots and tables. These RTF files can then be
opened by Microsoft Word, and possibly by alternative free
word processors. The plots can be included by inserting, as
linked objects, graphics files that might be produced by the
graph export command in Stata. The tables can be included by
using the listtex command, downloadable from SSC, with the
handle() option.
Author: Roger Newson
Distribution-Date: 04october2009
Stata-Version: 11
INSTALLATION FILES (click here to install)
rtfopen.ado
rtflink.ado
rtfcumlist.ado
rtfclose.ado
rtfutil.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/