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]
AW: st: different fonts
From
"Klaus Pforr" <[email protected]>
To
<[email protected]>
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: [email protected]
__________________________________
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Ryan Kessler
Gesendet: Dienstag, 30. Oktober 2012 15:47
An: [email protected]
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 <[email protected]> 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: [email protected]
> __________________________________
>
> *
> * 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/