Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: SMCL tags in schemes? Exhaustive tag list?
From
William Buchanan <[email protected]>
To
[email protected]
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
> <[email protected]> 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/