Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: bold text in graphs


From   Kit Baum <baum@bc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: bold text in graphs
Date   Wed, 5 Dec 2007 11:00:49 -0500

Bolding, italicizing, etc. is achieved in PostScript by switching fonts. At the lowest level, your computer has a Times font, a Times- Italic font, a Times-Bold font, a Times-SmallCaps font, etc. and when you specify one of those in a document it is switching fonts.

Stata graphs have the disadvantage of being rendered in a single font. That is why the oft-voiced complaint that you can't include Greek letters (unless you want to use Greek everywhere), because it would require using both, e.g., Times and Symbol on the same graph.

So I do not think you can get away with including bold text on a Stata graph, or easily tweak the resulting PostScript to modify it thusly. This would obviously be a very useful feature for the Graph Editor (Vince, are you there?)


Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html


On Dec 5, 2007, at 2:33 AM, statalist-digest wrote:


Does anyone know how text is bolded in postscript?  Is it some sort of
ASCII character sequence?  I'm thinking that if there is some ASCII
sequence like this, while it may have no effect on the Stata graph, it
might survive the "graph export" translation to postscript.
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index