Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Klaus Pforr" <kpforr@googlemail.com> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | AW: st: different fonts |
Date | Tue, 30 Oct 2012 17:53:49 +0100 |
thank you very much! __________________________________ Klaus Pforr GESIS -- Leibniz Institut für Sozialwissenschaft B2,1 Postfach 122155 D - 68072 Mannheim Tel: +49 621 1246 298 Fax: +49 621 1246 100 E-Mail: klaus.pforr@gesis.org __________________________________ -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Ryan Kessler Gesendet: Dienstag, 30. Oktober 2012 15:47 An: statalist@hsphsun2.harvard.edu Betreff: Re: st: different fonts Hi Klaus, You can render all of the text in your plot in the desired LaTeX font using the writepsfrag command (available on SSC). For example: sysuse auto, clear hist mpg, by(foreign) graph export test.eps, as(eps) writepsfrag test.eps using test.tex, body(document) Compiling test.tex (DVI --> PostScript --> PDF) we see that all the text in test.eps is rendered in the standard LaTeX font. To change the font, we could for example add to the top of the document \renewcommand\familydefault{\sfdefault} and recompile. Best, Ryan Kessler On Tue, Oct 30, 2012 at 6:15 AM, Klaus Pforr <kpforr@googlemail.com> wrote: > <> > > Dear listers, > > I want to export a graph to a postscript or encapsulated postscript to > embed it in LaTex. My problem is, that I have to use a specific font > type, namely Adobe Rotis Serif Pro. I installed the font in the system > folder (Windows 7), but I cannot choose the font in the graphs > preferences window in Stata. I cannot export graphs with this > fontface, but I was able to choose the fontface as described here: > help graph_text##appearance4 (pretty ugly, but it worked). > > My questions are: For Windows 7 OS, which fontfaces are shown in the > graphs preferences window? Which fontfaces can I use for graph export > to ps or eps? > > best > > Klaus > > -- > __________________________________ > Klaus Pforr > GESIS -- Leibniz Institut für Sozialwissenschaft > B2,1 > Postfach 122155 > D - 68072 Mannheim > Tel: +49 621 1246 298 > Fax: +49 621 1246 100 > E-Mail: klaus.pforr@gesis.org > __________________________________ > > * > * 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/