Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: Update of cm2in

From   Roger Newson <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Update of cm2in
Date   Thu, 6 Jan 2011 17:05:46 +0000

Thanks to Ulrich for this package. The unit that seems to be missing here is the twip, defined as 1/1440 of an inch, or 1/20 of a point, which is the standard unit of length used in Microsoft Rich Text Format (RTF) documents. Roll on the end of Microsoft Office hegemony (but in the meantime you can download the -rtfutil- package from SSC or from my website).


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
Email: [email protected]
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

On 06/01/2011 16:47, Nick Cox wrote:
Such units remain central to many fields.

1. On a cricket field, 1 chain is the distance between the stumps.
(Ashes to ashes, dust to dust.)

2. On fields being ploughed, 1 chain multiplied by 1 furlong (1 furrow
long) is of course 1 acre. (22 yards * 220 yards = 4840 square yards.)

Roll on metrication!

(not Anglo-Saxon, but part Welsh)

On Thu, Jan 6, 2011 at 4:39 PM, Ulrich Kohler<[email protected]>  wrote:
Courtesy of Kit Baum, -cm2in- for conversion between metric and
Anglo-Saxon units of length have been updated on SSC. Previous users of
-cm2in-, if any, may update their installation using

. adoupdate cm2in, update

New users type

. ssc install cm2in

The update adds to two new programs, -g2oz- and -msq2ftsq- to the
package. The added programs convert measures of masses and the measures
of areas, respectively. Moreover the measure "chain", which is 22 yards,
20.1168m, or 4752 pica has been included into program -cm2in-.

On use of -cm2in- is to produce the input for the -graph twoway- options
-xsize()- and -ysize()-. The following, for example, produces a Stata
graph in German A4 paper format:

. sysuse auto
. cm2in A4
. graph dot weight, over(make) xsize(`r(in2)') ysize(`r(in1)')

The two other tools, -g2oz- and -msq2ftsq- are, perhaps, of less general
importance to Stata users. They could be helpful, however, for those
who play the American game "Wits and Wagers" with continental European
friends (hi frauke).
*   For searches and help try:
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index