Bugzilla from n...@jonasstein.de wrote: > > Hi, > > i use Sweave to put plots in my .tex Documents. (pdflatex) > Is there a nice solution for this: > > a) get a real LaTeX formula in the plot area. > I have only found very complicate solutions. Is there sth. like > \formula{x^2 = \oint f} > > b) how can i format axis and legend to get exact the same font that is > used in the TeX-document? > > Thank you for any help. > >
baptiste auguie-2 wrote: > > Perhaps try the pgfSweave package on r-forge? > > http://r-forge.r-project.org/projects/pgfsweave/ > > HTH, > > baptiste > > Aye- the aim of the pgfSweave package is to make the integration of R and TeX more seamless. Right now it does a great job with respect to fonts by passing the actual typesetting and printing of figures off to LaTeX. This is accomplished using the java utility eps2pgf and requires the PGF/TiKZ package for LaTeX: http://sourceforge.net/projects/pgf/ The default behavior is to pass text directly to LaTeX unfiltered- this means that things like percent signs and dollar signs will need to be escaped by backslashes. -Charlie ----- Charlie Sharpsteen Undergraduate Environmental Resources Engineering Humboldt State University -- View this message in context: http://www.nabble.com/Sweave%3A-Howto-write-real-TeX-formula-in-plot-tp23127536p23130478.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.