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, **statalist.org** is already up and running.

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

From |
"Roger B. Newson" <r.newson@imperial.ac.uk> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Do the symbols listed in -[G-4] text- have consistent Unicodes? |

Date |
Wed, 31 Oct 2012 12:08:47 +0000 |

Thanks to John Luke Gallup for this very helpful reply.

http://www.unicode.org/charts/PDF/U0370.pdf

http://www.unicode.org/charts/PDF/U2200.pdf

Best wishes Roger

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 30/10/2012 21:50, John Luke Gallup wrote:

Roger, I have written -outreg- to be able to use all the Greek letters and any other Unicode symbol in RTF documents. You can see the documentation if you download -outreg- (-ssc install outreg, replace) and type -help frmt_opts##greek- on the Stata command line. SMCL tags are different from the RTF codes, so if you want to allow users to include all the SMCL tags, you will need to translate them into RTF codes in your program. Instead, in -outreg- I have the users insert the Unicode codes directly, which is more flexible. -outreg- also allows insertion of most symbols into TeX documents. You can find an example of how to insert Greek letters and other symbols into -outreg- tables by typing -help outreg_complete##xmpl12- at the Stata command line. If you have any questions about how I implemented these symbols in the -outreg- code, get in touch. John jlgallup@pdx.edu On Oct 30, 2012, at 1:04 PM, "Roger B. Newson" <r.newson@imperial.ac.uk> wrote:I have a query about the Greek letters and math symbols available in Stata graphics, and listed in -[G-4] text- under "Full list of SMCL tags useful in graph text". Do these have Unicode numbers consistent between operating environments? Or do they correspond to different Unicodes in different operating environments, and/or even look a bit different between Windows, Unix and MacOS? I ask because I would like, ideally, to be able to use them in automatically-generated tables (or maybe even in automatically generated text) in automatically-generated RTF documents, such as the ones produced using my own SSC package -rtfutil-. I can look up individual Greek letters on the Unicode site at http://www.unicode.org/charts/ but I would prefer to be able to insert, at will, all the symbols available in Stata graphs, especially when presenting the same information as a plot and as a table in the same document. I haven't managed (so far) to find any information on this kind of thing on -help undocumented-. 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: 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. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**References**:**st: Do the symbols lorted in -[G-4] text- have consistent Unicodes?***From:*"Roger B. Newson" <r.newson@imperial.ac.uk>

**Re: st: Do the symbols lorted in -[G-4] text- have consistent Unicodes?***From:*John Luke Gallup <jlgallup@pdx.edu>

- Prev by Date:
**st: svyset command** - Next by Date:
**Re: st: somersd error message** - Previous by thread:
**Re: st: Do the symbols lorted in -[G-4] text- have consistent Unicodes?** - Next by thread:
**st: correct errors for the Heckman two-step method** - Index(es):