Thanks to Kit Baum, a new version of the -rtfutil- package is now available for download on 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 defined as below on my website. The new version adds a new module -rtfrstyle-, which inputs a list of variables and/or column widths (in twips) and outputs a -listtex- row style for input to -listtex-, so the user can output RTF tables to a RTF file. A twip is 1/1400 of an inch, or 1/20 of a point, and is the unit of length most commonly used in RTF. And a -listtex- row style is a combination of the -begin()-, -delimiter()-, -end()- and -missnum()- options of -listtex-, and determines whether the user is outputting a TeX, HTML, tab-delimited, RTF or other table.
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: 07october2009
Stata-Version: 11
INSTALLATION FILES (click here to install)
rtfopen.ado
rtflink.ado
rtfcumlist.ado
rtfrstyle.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/