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 |
William Buchanan <william@williambuchanan.net> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: SMCL tags in schemes? Exhaustive tag list? |

Date |
Sat, 2 Feb 2013 13:12:33 -0800 |

Hi Travis, Your initial call to -graph set window fontface- was misspecified. The argument should be the name of the font type you would like to use. On my Mac the LaTeX system fonts are things like TeX Pagella: webuse auto, clear graph set window fontface "TeX Gyre Pagella" scatter price mpg, text(12000 20 "{it:F}{subscript:{it:A}}") The other option that you have is to set the font type of individual classes of type (e.g., sans serif, serif, monospaced, etc...). Just make sure to use the name of a font installed on your system. HTH, Billy On Feb 2, 2013, at 12:50 PM, Travis Smith wrote: > Thanks. Both responses were very helpful. I am using LaTeX, so I > will check out that package, Ryan. > > RE: William's advice, for some reason, it seems that using -{stSerif}- > gives wonky typesetting and negates the subscript, whereas using > "Times New Roman" worked much better (I'm on a Mac, if that matters). > See below, > > webuse auto, clear > graph set window fontface {stSerif} > scatter price mpg, text(12000 20 "{it:F}{subscript:{it:A}}") > graph set window fontface "Times New Roman" > scatter price mpg, text(12000 20 "{it:F}{subscript:{it:A}}") > > On Sat, Feb 2, 2013 at 1:39 PM, William Buchanan > <william@williambuchanan.net> wrote: >> See -h graph set window fontface-. You can use this for a global font type setting and then not need to worry about setting the font face for individual words/phrases/options. However, if you are using multiple fonts in the same graph there isn't likely to be any simple modification beyond creating a scheme. >> >> HTH, >> Billy >> >> >> >> On Feb 2, 2013, at 10:15 AM, Travis Smith wrote: >> >>> Hi, >>> >>> I have two questions about SMCL tags. >>> >>> 1. Is it possible to incorporate SMCL tags into a scheme? >>> Specifically, I would like all my fonts to {stSerif:} without having >>> to enter this into the graphics options for every word. Similar >>> question asked here, but with no response: >>> http://www.stata.com/statalist/archive/2011-06/msg01237.html >>> >>> 2. Is this the most exhaustive list of SMCl tags? >>> http://www.stata.com/bookstore/pdf/g_text.pdf >>> More specifically, I would like to use a "preferred-to" symbol in a >>> graphic (e.g., indifference curves) rather than a "greater-than" >>> symbol. >>> >>> Thanks, >>> Travis >>> * >>> * 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/ * * 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: SMCL tags in schemes? Exhaustive tag list?***From:*Travis Smith <travisa.smith7@gmail.com>

**Re: st: SMCL tags in schemes? Exhaustive tag list?***From:*William Buchanan <william@williambuchanan.net>

**Re: st: SMCL tags in schemes? Exhaustive tag list?***From:*Travis Smith <travisa.smith7@gmail.com>

- Prev by Date:
**Re: st: SMCL tags in schemes? Exhaustive tag list?** - Next by Date:
**Re: st: outreg: merging results from several regressions** - Previous by thread:
**Re: st: SMCL tags in schemes? Exhaustive tag list?** - Index(es):