search for: computermodern

Displaying 14 results from an estimated 14 matches for "computermodern".

2004 Mar 16
1
Changing ComputerModern in postscript(...): A first attempt at contributing....
...Also I'm by no means an R,TeX/LaTeX, or typesetting expert, I have largely stumbled my way to this point. Objective: I'd like to get R postscript(...) to generate output that has the TeX italic font when I use italic(...) in an R graphic. I found out that the R postscript(..font="ComputerModern") outputs slanted text when the R function italic(..) is used in a graphic. I think the text should use the italic font. For a quick overview of italic vs. slant vs. oblique see http://www.eyewire.com/magazine/columns/robin/italic/ A response from Brian Ripley pointed me to the src/main/devP...
2007 Nov 18
1
Exporting a plot with the LaTeX font lmodern
Dear All, I would like to export, as a pdf file, a plot with the LaTeX font lmodern as the font of my graph. Could somebody please help me? Thanks in advance, Paul
2004 Mar 15
1
Correct Computer Modern font in postscript(..) output
...expression(paste("hi ", italic(LM[1]))), expression(italic(d[n])), expression(italic(LM[1])), expression(italic(LM[2]))) The postscript command: postscript(file = "Rplots.ps", onefile = F, height=6,width=10, paper="a4", family="ComputerModern",bg="transparent", horizontal=F, pointsize=10, print.it=F) Is this the best currently available, or is there some way to get the correct font used when using italics? TIA Mark
2004 Mar 11
1
Difficulties in interaction between R and latex (prosper)
...s that will go into prosper slideshows. I wrote this fragment, from the R manual, into a file demo.R: x=seq(-3,3,0.1) postscript("cm_test.eps", width = 4.0, height = 3.0, horizontal = FALSE, onefile = FALSE, paper = "special", family = "ComputerModern") plot(x, sin(x), type="l") I fed this into a simplest-possible tex file, named sl_demo.tex, which uses prosper: \documentclass[pdf,serpaggi,slideColor,colorBG]{prosper} \usepackage[latin1]{inputenc} \usepackage{graphicx} \begin{document} \begin{slide}{Demo}...
2009 May 12
1
times family unavailable in postscript device (Ubuntu Linux)
...hic" [13] "URWBookman" "NimbusMon" "NimbusSan" [16] "URWHelvetica" "NimbusSanCond" "CenturySch" [19] "URWPalladio" "NimbusRom" "URWTimes" [22] "ComputerModern" "ComputerModernItalic" "Japan1" [25] "Japan1HeiMin" "Japan1GothicBBB" "Japan1Ryumin" [28] "Korea1" "Korea1deb" "CNS1" [31] "GB1" > example(postscriptFonts)...
2008 Jan 15
1
using LaTeX-fonts with R
Hi, I try to use the sfrm1000.pfb Type-1 font with my postscript plots. When I add family=CM to the postscript() command the output is empty. What am I doing wrong? # define font CM <- Type1Font('ComputerModern', # font ID c(file.path(getwd(), c('sfrm1000.afm', '', '', ''))), # font metrics encoding='AdobeStd'); # font encoding postscript('sin.ps', family=CM); dev.off(); I have the two fil...
2007 May 09
1
Error in plot.new() : figure margins too large
Yes, I already had a look on previous posts but nothing is really helpful to me. The code is: postscript(filename, horizontal=FALSE, onefile=FALSE, paper="special", bg="white", family="ComputerModern", pointsize=10); par(mar=c(5, 4, 0, 0) + 0.1); plot(x.nor, y.nor, xlim=c(3,6), ylim=c(20,90), pch=normal.mark); gives error Error in plot.new() : figure margins too large plotting on the screen without calling postscript works just fine . Any clues? Thanks. [[alternative HTML version dele...
2010 Nov 29
1
Troubles in plotting to a postscript file (not to png)
Dear R users, I am trying to produce some plots in a postscript file, but I am experiencing some issues. I open the device with ----------------------------- setPS() postscript (file='gs_mcmc_dust.ps',width=5*3,height=5*3,horizontal = FALSE, paper = "special",family = "ComputerModern",encoding="TeXtext.enc")#, onefile = FALSE ----------------------------- (it's a 9x9 multiplot) and I close it with ----------------------------- dev.off() ----------------------------- Here are my problems: -) xlab=expression(paste(lambda,"(",~mu,m,")"...
2009 Jul 02
2
Computer Modern
...type="l" , lwd=2 ) ) setwd("C:\\R_folder\\CMtests") postscript("cm_test.eps", width = 4.0, height = 3.0, horizontal = FALSE, onefile = FALSE, paper = "special", family = "ComputerModern", encoding = "TeXtext.enc") print(testPlot) dev.off() This produces a plot with courier. I am using R 2.9.0 on a windows XP machine. I did manage to produce one plot with CM as the font so I know it's possible with my set up. I can't get back to that. Pl...
2006 Sep 18
2
problem in font
...work anymore. I have this message: Error in matchFont(postscriptFonts(family)[[1]], old$encoding) : unknown font I try to change the font family in my .Rprofile: setHook(packageEvent("graphics", "onLoad"), function(...) { grDevices::ps.options(family="ComputerModern") } ) But it no fix the error. How to fix it? Thanks ROnaldo -- I've been on this lonely road so long, Does anybody know where it goes, I remember last time the signs pointed home, A month ago. -- Carpenters, "Road Ode" -- > Prof. Ronaldo Reis J?nior | .'...
2007 Feb 25
0
dev.print and postscript device problem
..."URWBookman" "NimbusMon" [16] "NimbusSan" "URWHelvetica" "NimbusSanCond" [19] "CenturySch" "URWPalladio" "NimbusRom" [22] "URWTimes" "ComputerModern" "ComputerModernItalic" [25] "Japan1" "Japan1HeiMin" "Japan1GothicBBB" [28] "Japan1Ryumin" "Korea1" "Korea1deb" [31] "CNS1" "GB1" The pro...
2005 Nov 10
0
Fonts, Plus
Dear R Wizards: sorry, I need more help. hopefully, it will help others in the future. I am using R 2.2.0 Patched (2005-11-07 r36217). [a] # copy from the postscriptFont documentation CMitalic <- postscriptFont("ComputerModern", c("CM_regular_10.afm", "CM_boldx_10.afm", "cmti10.afm", "cmbxti10.afm", "CM_symbol_10.afm")) postscriptFonts(CMitalic=CMitalic) # trying this one out. I copied the syntax that worked for luci...
2008 Nov 15
1
PostScript File Dimensions
Hi List, here I go again. Well I need to save plotted objects as .eps using the postscript() function, well I can do that but all resulting object are perfect squared dimensions (x = y). I need a rectangular output something like x = 2y dimension. Is it possible? The I’m new to R and postscript image format! I’m doing this…
2003 Mar 17
1
postscript and ps.option metrics
...X. P.S. The specific axis measurements (in inches) should be: height=5.4, width=8.1 in a landscape format. # TODO: #win.graph(width=8.6,height=11.5) postscript("C:/Data/xxxx.ps", width = 11.6, height = 7.5, horizontal = TRUE, onefile = TRUE, paper = "letter", family = "ComputerModern") # Import Sample Data: Movies IMDB) movies <- read.table('xxxxx', header=T, row.names=NULL) attach(movies) # cases <- read.table('xxxxx', header=T, row.names=NULL) # attach(cases) # Set up the chart yticks <- c(1,2,3,4,5,6,7,8,9, 10,20,30,40,50,60,70...