similar to: R (Bold font) and Latex

Displaying 20 results from an estimated 9000 matches similar to: "R (Bold font) and Latex"

2010 Aug 09
3
package names in Latex
Dear R People: When putting R package names in Latex, do we use \it or \em, please? Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
2007 Feb 24
1
mtext bold font problem
Hi everyone, I suspect this is an easy task however I've not been able to accomplish it. I'd like to create an mtext title which has certain words bold, the rest not bold. So far I've been able to create one which is all bold, one which is all not bold and one which has bold and not bold superimposed on one another. Any suggestion would be appreciated. Many thanks, Joe Retzer # Not
2007 Oct 30
3
strwidth of bold font
Hi! Is there a way to get the string width of the bold typefaces? like: strwidth("text", family = "serif", font = 2). Thanks Roland
2009 Aug 12
2
Using bold font with bquote
I'm trying to annotate a density plot and I'm using bquote to paste the sigma symbol next to the numeric text of the standard deviation calculation that I am performing. I have been able to successfully turn the sigma symbol and numeric output the color blue, but when I try to change the font of the text to bold, R doesn't seem to recognize the "font=" command in the same way
2003 Jul 21
2
bold AND italic as font in text()
Dear all, Is it possible to somshow plot text as italic AND bold. I tried font=c(2,3) in text(), but it doesn't work. It seems like the latter value is used. Thanks in advance! Sincerely, Tord ----------------------------------------------------------------------- Tord Sn?ll Avd. f v?xtekologi, Evolutionsbiologiskt centrum, Uppsala universitet Dept. of Plant Ecology, Evolutionary Biology
2013 May 17
2
formatting column names of data frame
Is there any way to format the headers of data frames, for printing? I am using Sweave to generate formatted reports. In Sweave, I read in a data.frame: result <- read.table(path.to.table); then display it: print.data.frame(result); This gives me what I expect in the eventual final output: Record Average Maximum 1 34
2011 Aug 21
1
Multiple R linear models into one Latex table
Dear community, I had been looking for an easy way to produce latex tables from R output. xtable() and the package apsrtable produce good outputs but they are not exactly what I was looking for. I wrote this code that generates regression tables from multiple R linear models. I want to share it because it might be useful for someone else, and because I would appreciate comments on how to
2006 Dec 25
1
Hmisc - some latex problems
If I use latex with describe: (faithful is the Old faithful data) latex(describe(faithful),file="describe.tex") then the first few lines of describe.tex are \begin{spacing}{0.7} \begin{center} \bf faithful \\ 2 Variables~~~~~ 272 ~Observations \end{center} I have two problems. First, I don't know what package the environment "spacing" comes from. (There is also a
2006 Sep 20
2
Sweave processes \Sexpr in commented LaTeX source (2.3.1patched and 2.4.0)
Hi all, On FC5, using: Version 2.3.1 Patched (2006-08-06 r38829) and today's R version 2.4.0 alpha (2006-09-19 r39397) with the following .Rnw file: \documentclass[10pt]{article} \begin{document} This line should print '2': \Sexpr{1 + 1} %% This line should NOT print '2': \Sexpr{1 + 1} \end{document} The \Sexpr in the second line is processed even though the
2006 Sep 20
2
Sweave processes \Sexpr in commented LaTeX source (2.3.1patched and 2.4.0)
Hi all, On FC5, using: Version 2.3.1 Patched (2006-08-06 r38829) and today's R version 2.4.0 alpha (2006-09-19 r39397) with the following .Rnw file: \documentclass[10pt]{article} \begin{document} This line should print '2': \Sexpr{1 + 1} %% This line should NOT print '2': \Sexpr{1 + 1} \end{document} The \Sexpr in the second line is processed even though the
2006 Sep 21
2
Sweave processes \Sexpr in commented LaTeX source
Marc, >I have a large .Rnw file and was in the process of doing some debugging. >I had set some R chunks to 'eval=false' in the process. This resulted in >some R objects not being created that were in turn used in the >subsequent \Sexpr's. I have often the same problem, I'm using a construct like : <<eval=F>>= x <- rnorm(100) @ I have
2007 Sep 28
6
Graphics and LaTeX documents with the same font
Dear All, I know how to export graphics as pdf files and then how to include them in LaTeX documents. However, I do not know how to do in order to have the text of the graphics written with the font selected for the LaTeX document. Is that possible? Thanks in advance, Paul
2002 Nov 13
1
Package documentation and rd.sty
Hi all, I've got a basic question regarding package documentation and rd.sty. I wrote my first own package, and now I would like to place the documentation into the appendix of another LaTex document. Seemingly I cannot simply \usepackage{Rd}, as this will modify the page-settings of my document. Is there a minimum style file which will just define the environments and commands needed for
2007 Feb 24
1
Bold Substring in mtext (newbie question)
Hi everyone, I suspect this is an easy task however I've not been able to accomplish it. I'd like to create an mtext title which has certain words bold, the rest not bold. So far I've been able to create one which is all bold, one which is all not bold and one which has bold and not bold superimposed on one another. Any suggestion would be appreciated. Many thanks, Joe Retzer # Not
2011 Aug 25
2
Bold in expression in Y label
Hi all: I need to put bold font in the y label, which is an expression at the same time When putting font.lab=2 in plot, it only puts bold font for the x axis label.. what should I do? Thanks very much plot(jitter(c(1, 4, 7, 9, 11, 13), a=0.1), y = Bllim.m, xlab = "Week", ylab = expression(paste("B removal rate", " (mg/m"^{3}, "-d)")),font.lab=2, ylim =
2010 Mar 23
1
Bold greek letters using plotmath
I'm trying to annotate some graphics using plotmath and finding out that the code I'm using isn't bolding the greek letters - it bolds the rest (once I adjusted the numerics to characters), it's just failing on the greek characters. Any suggestions welcomed. Jim Price. Cardiome Pharma Corp. Test code: plot(1:5, type = 'n') # The not bold version text(2, 2:4, cex =
2006 Aug 04
2
Sweave special token \\ from R to latex
Dear helpeRs, I would like to specify a newline command in R and pass it to latex via Sweave such that it corresponds to latex' \\ command. But that doesn't seem to be possible. If I Sweave the \n character, it just makes a new line in latex but not the \\ command. Is there a way such that the following code would result in latex in blablabla \\ blablabla on different line
2010 Nov 18
3
Bold plot axis
Dear UseRs, I'd like to make the lines that the axes of my plot run on bold. I know "axis(side=1,lwd=3)" will make 0-max value on the axis bold, but I want the whole thing, from corner to corner (actually all the way around) and tick marks and the accompanying values for the ticks bold. In the default values, it's hard to see the plot when I put it into a powerpoint.
2009 Jan 06
2
Sweave in LATEX
Hello I have been setting up my computer to run Sweave. I have got the whole thing working on example files, except that my MikTex returns an "Undefined Control Sequence" error for \Sexpr and my output file contains verbatim code sequences at the apropriate point in the text rather than the R output. The rest of the output file is fine with tables, R code sequences and figures in the
2005 Jan 17
1
bold face labelling/expression
Dear colleagues, I have a great problem in using "expression" for axes labels. I want the labels in bold face (i.e.: par(font.lab=2)). When typing boxplot(y ~ groups, names = "" , xlab = "", ylab = "", axes = F) axis(side=1, at=c(1,2), xlab=c(expression(H[2]*O),"others")), I do not get a bold face labelling. Does anyone know, how I could