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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: Re: st: Adding borders and gridlines to tables using -rtfutil-


From   Souradet Shaw <umshaw@cc.umanitoba.ca>
To   statalist@hsphsun2.harvard.edu
Subject   Re: Re: st: Adding borders and gridlines to tables using -rtfutil-
Date   Wed, 28 Mar 2012 07:31:32 -0500

Thank you both, Roger and Nick. Will check out the suggested resources.
All the best,
Souradet


I would tend to second Nick's advice about keeping tables as simple as possible, and not having too many lines. However, if you want to add such lines, then the answer probably involves using the -cdadd()- and -cdadd()- options of -rtfrstyle-. How exactly to do this is probably an RTF query, rather than a Stata query. The quick reference for RTF that I use is Burke (2003), and Sean Burke's web page, as recommended in the online help for -rtfutil-. However, the definitive Microsoft specification of RTF can be downloaded from
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=10725

I hope this helps.

Best wishes

Roger

References

Burke S. M. 2003. RTF Pocket Guide. Sebastopol, CA: O'Reilly & Associates Inc. Download more information from Sean Burke's RTF web page at
http://search.cpan.org/~sburke/RTF-Writer/lib/RTF/Cookbook.pod


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: r.newson@imperial.ac.uk
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.

On 26/03/2012 15:34, Nick Cox wrote:
My general tip is just don't do this! See e.g. Ehrenberg, A.S.C. 1975.
Data reduction. London: Wiley for advice on keeping tables as simple
as possible.

Nick



*
*   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/


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