Displaying 5 results from an estimated 5 matches for "fcmr8a".
2009 Nov 17
3
CM Fonts in PDF output
Hi!
On Linux I try to produce pdf graphs with computer modern fonts so that they
look nice in LaTeX documents. I run for example:
------
CM <- Type1Font( "CM",
c("/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmr8a.afm",
"/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmb8a.afm",
"/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmri8a.afm",
"/usr/share/texmf-texlive/fonts/afm/public/cm-lgc/fcmbi8a.afm",
"./cmsyase.afm" ) )
pdfFonts(CM=CM)
pdf( "test.pdf&...
2011 Feb 15
2
Sweave doesn't hand on width of special characters of Computer Modern fonts to LaTeX
...luding R figures with text in the Computer Modern Fonts:
\documentclass{article}
\usepackage{Sweave}
\begin{document}
<<echo = false, results = hide>>=
CM <- Type1Font("CM",
c(file.path("C:/texlive/2009/texmf-dist/fonts/afm/public/cm-lgc",
c("fcmr8a.afm", "fcmb8a.afm", "fcmri8a.afm", "fcmbi8a.afm")),
"./cmsyase.afm"))
pdfFonts(CM = CM)
postscriptFonts(CM = CM)
pdf.options(family = "CM", pointsize = 11)
ps.options(family = "CM", pointsize = 11)
@
<<fig = true, echo =...
2010 Sep 11
2
Latex fonts in R graphics
Hello, R users.
I am trying to embed Computer modern fonts to an R plot and I get the
following error.
CM <- Type1Font("CM",
+ c(paste("cm-lgc/fonts/afm/public/cm-lgc/",
+ c("fcmr8a.afm", "fcmb8a.afm", "fcmri8a.afm", "fcmbi8a.afm"), sep=""),
+ "./cmsyase.afm"))
> pdf("cm.pdf", width=3, height=3, family="CM")
> plot(1:length(y), y, xlab="ss", ylab=expression(x[2])) ## for any
vector y...
2009 Aug 30
3
Computer Modern Fonts in R graphic
..., "red") )
> nbcol <- 100
> color <- jet.colors(nbcol)
> zfacet <- z[-1, -1] + z[-1, -ncz] + z[-nrz, -1] + z[-nrz, -ncz]
> facetcol <- cut(zfacet, nbcol)
>
> CM <- Type1Font("CM",
> c("cm-lgc/fonts/afm/public/cm-lgc/fcmr8a.afm",
> "cm-lgc/fonts/afm/public/cm-lgc/fcmb8a.afm",
> "cm-lgc/fonts/afm/public/cm-lgc/fcmri8a.afm",
> "cm-lgc/fonts/afm/public/cm-lgc/fcmbi8a.afm",
> "cms...
2009 Sep 01
1
Logistic Politomic Regression in R
..., "red") )
> nbcol <- 100
> color <- jet.colors(nbcol)
> zfacet <- z[-1, -1] + z[-1, -ncz] + z[-nrz, -1] + z[-nrz, -ncz]
> facetcol <- cut(zfacet, nbcol)
>
> CM <- Type1Font("CM",
> c("cm-lgc/fonts/afm/public/cm-lgc/fcmr8a.afm",
> "cm-lgc/fonts/afm/public/cm-lgc/fcmb8a.afm",
> "cm-lgc/fonts/afm/public/cm-lgc/fcmri8a.afm",
> "cm-lgc/fonts/afm/public/cm-lgc/fcmbi8a.afm",
> "cms...