Probably the best way to do this is by using the tikzDevice package to create 
your graphs.  This creates TeX commands to create the graph using the same 
fonts and settings as the rest of the document.  The pgfSweave package may also 
be of interest (it uses tikzDevice to do sweaving).

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Kwok, Heemun
> Sent: Thursday, March 03, 2011 12:00 PM
> To: r-help@r-project.org
> Subject: [R] embed latex beamer sans serif default font into R plot
> 
> Hello,
> I have seen instructions on how to embed Latex Computer Modern fonts
> into R, but these are the default serif fonts. I am trying to embed the
> default font used for Latex beamer (theme Warsaw), which is a sans
> serif font and may be the default LateX Computer Modern sans serif
> font.    Does anyone know the names of the font files?
> 
> Thanks
> Heemun
> 
> 
> -------------------------------------------------
> Heemun Kwok, M.D.
> Research Fellow
> Harbor-UCLA Department of Emergency Medicine
> 1000 West Carson Street, Box 21
> Torrance, CA 90509-2910
> office 310-222-3501, fax 310-212-6101
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to