Displaying 5 results from an estimated 5 matches for "fcmri8a".
Did you mean:
fcmr8a
2009 Nov 17
3
CM Fonts in PDF output
...hey
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", width = 5, height = 4, family = "CM" )
plot(c(-1,0,1))
dev.off()
-----
which works fine except that R has problems with the minu...
2011 Feb 15
2
Sweave doesn't hand on width of special characters of Computer Modern fonts to LaTeX
...n 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 = false, include = true>>=
x <- c(1,2,3)...
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
> dev.off()
null device
1
> e...
2009 Aug 30
3
Computer Modern Fonts in R graphic
...t;- 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",
> "cmsyase.afm"))
> postscriptFonts(CM=CM)
> pdf("snxsm.pdf")
> par(family="CM")
> persp(sn,sm,z,xlab="SN", ylab="SM&quo...
2009 Sep 01
1
Logistic Politomic Regression in R
...t;- 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",
> "cmsyase.afm"))
> postscriptFonts(CM=CM)
> pdf("snxsm.pdf")
> par(family="CM")
> persp(sn,sm,z,xlab="SN", ylab="SM&quo...