Displaying 20 results from an estimated 1100 matches similar to: "Mixed italic and non-italic in text"
2012 Apr 03
1
Italicize journal article in mid text
Hi,
I need to italicize the journal in a citation but have thus far failed. How
can I make 'Journal of Something' below italic but leave the rest plain?
mtext( "See Author1 and Author2 (2007) , \"Title\", Journal of Something ,
pp. 1-50.", side = 3, outer = T, line=-0.75, cex = 0.7, at= 0.04, adj = 0,
font = 1, family = "Times")
Thanks
--
View this
2004 Feb 16
1
Binary logistic model using lrm function
Hello all,
Could someone tell me what I am doing wrong here?
I am trying to fit a binary logistic model using the lrm function in Design.
The dataset I am using has a dichotomous response variable, 'covered'
(1-yes, 0-no) with explanatory variables, 'nepall', 'title', 'abstract',
'series', and 'author1.'
I am running the following script and
2011 Feb 20
3
Partial italic in graph titles when looping
Dear all,
I have a rather complicated problem. I am trying to loop through making graphs,
so that the graph-making process is fully automated. For each graph, I'd like to
make sure the corresponding title is formatted properly. The titles will be a
combination of a gene name and numerical position within the gene. The gene name
should be italic-bold, whereas the gene position should be
2011 Jun 30
1
Italicized greek symbols in PDF plots
I know that this has been asked before in other variations but I just can't
seem to figure out my particular application from previous posts. My
apologies if I have missed the answer to this question somewhere in the
archives. I have indeed looked.
I am running Ubuntu 11.04, with R 2.12.1 and ESS+Emacs.
For journal formatting requirements, I need to italicize all the greek
letters in any
2005 Jun 11
2
italic (PR#7932)
Full_Name: G. Grothendieck
Version: R version 2.1.0, 2005-05-14
OS: Windows XP
Submission from: (NULL) (216.59.254.207)
This code:
> plot(1:10)
> text(5,5,lab=expression(italic(22*"33")))
has the effect of italicizing 33 (which is a character string) but not 22
(which is not). I would have thought that both, not just 33, would be
italicized.
I had previously posted about this
2011 Mar 31
1
Italicized title from index
Hi all!
I've written a handy script that uses a for loop to allow me to generate a
large number of figures and statistical outputs for a large dataset.
I am using indexing to retrieve a species name for the title of my graphs-
which worked fine. However, I need to italicize these species names.
I originally used the paste function, and had no problems with indexing:
*main=paste("Yield
2011 Jun 21
2
Italicize Greek symbols in axis
Hello there,
Is there any way to italicize Greek symbols such as mu in axis? From the help
files of mathematical anotations: "Note that bold, italic and bolditalic do not
apply to symbols, and hence not to the Greek symbols such as mu which are
displayed in the symbol font. They also do not apply to numeric constants.", it
seems that it cannot be done.
Thanks,
Bingzhang Chen
2006 Apr 28
6
Emphasis or Italic?
What's the difference between:
<em>emphasis</em> and <i>italicized</i>
and
<strong>strong</strong> and <b>bold</b>
It seems to subtle for my browsers.
The only "difference" I've been able to find is that according to the
O'Reilly book <strong> and <emphasis> are semantic tags, while <b> and <i>
2010 Jan 23
1
Failure to produce italics in jpeg
Colleagues,
Using R 2.10.1 in OS X (Snow Leopard), I created JPEG documents that
were intended to include italicized text. In the JPEG versions, the
italics appear in bold-face. The identical code (except for the call
to the device) yields italics in PDF. A minimal example is:
PDF version:
> pdf("plot.pdf")
> plot(1,1)
> mtext(bquote(italic(P) < .(0.005)))
>
2006 May 04
1
plot greek letter in italic
Hi,
Could someone please let me know how to plot greek letters in italic.
text(0,14,expression(italic(rho)[italic(f)])) only plots the f in italic and
text(37,40,expression(italic(rho))) doesn't plot rho in italic.
I have checked demo(plotmath), ?plotmath, FAQ, and the archives
2004-2006 without finding the answer.
I'm using R 2.1.1. and Windows XP.
Thanks!
Tord
--
Tord Sn?ll
2010 Nov 26
1
How to use expression(italic()) in a "vectorized" way (within a function)?
Dear expeRts,
I would like to use expression() for creating labels in a splom, as shown in the
first minimal example below. Is there any way I can simplify having to write
"expression(italic(...))" several times?
The second example is what I tried so far, but I can't manage to get italic() to
work. Moreover, it still seems bulky...
Cheers,
Marius
## minimal example (working but
2017 Jul 07
0
[Rd] italic font on cairo devices in R 3.4
Interesting. I did not have the package installed, but I did at some
point extract Helvetica from some MacOSX font files and R was using that
just fine until 3.3. This is how the plot looks in 3.4 (still using
Helvetica): https://ptpb.pw/HikX.pdf . After removing Helvetica,
installing the ttf-mscorefonts-installer package, and running fc-cache
--force the plot looks like this:
2017 Jul 07
0
[Rd] italic font on cairo devices in R 3.4
On Fri, Jul 07, 2017 at 07:08:52PM +0200, Ilia Kats wrote:
> Interesting. I did not have the package installed, but I did at some point
> extract Helvetica from some MacOSX font files and R was using that just fine
> until 3.3. This is how the plot looks in 3.4 (still using Helvetica):
> https://ptpb.pw/HikX.pdf . After removing Helvetica, installing the
> ttf-mscorefonts-installer
2007 Nov 18
2
Getting theta in italic in a plot
Dear All,
Consider the following code:
plot(0,0)
text(0,0.5,expression(italic(theta)))
I would like to get theta in italic, but I always get it upright. Any
suggestions?
Thanks in advance,
Paul
2013 Jan 23
1
italic font for legend text when using expression function for symbols
Hello,
I'm trying to add a symbol (Delta) to plot legend with text using
"expression(paste())" but this disables the text.font that allows to use
bold or italic text.
as follows:
x=c(1:10)
y=c(1:10)
plot(x,y)
legend(1,10,legend=c("A","B","C",expression(paste(Delta, D))),
pch=c(24,18,17,16),cex=2,text.font=3,bty="n")
Any suggestion to
2011 Jun 26
2
Only one strip with italic font.
Hi R users:
How can I obtain an italic font only
for one of the two strips in a xyplot?
library(lattice)
t<-rep(seq(0,10,5),4)
logCFU<-c(2,2.5,3,4,4.5,1.5,2,2.5,3,3.4,2,2.5)
microorg<-factor(rep(c("E. coli","L. monocytogenes"),each=6))
tratam<-factor(rep(c("t1","t2"),6))
xyplot(logCFU~t|microorg+tratam,type="p",
2010 Apr 19
1
How to embed italic Greek letters in a eps file?
Hi,
I need to add on a plot text containing italic Greek characters using
the function mtext (i.e. I cannot use Hershey vectors). The characters
are nicely displayed when the file is saved as png but not when saved as
eps. See code below as example:
#postscript('test.eps')
png('test.png')
plot(1,1, type = 'n')
mtext(side = 3, line = 2,
2017 Jul 04
2
italic font on cairo devices in R 3.4
Hi all,
I have the following problem: Since R 3.4.0, italic fonts rendered on
Cairo devices appear pixelated. Here's a minimal example:
cairo_pdf('test.pdf')
plot(1:10, ylab=expression(italic(test)))
dev.off()
The same problem occurs with bolditalic, but not bold. I am using Debian
Stretch. Several friends tried the same on their machines, another
Debian machine has the same
2017 Jul 04
2
italic font on cairo devices in R 3.4
Hi all,
I have the following problem: Since R 3.4.0, italic fonts rendered on
Cairo devices appear pixelated. Here's a minimal example:
cairo_pdf('test.pdf')
plot(1:10, ylab=expression(italic(test)))
dev.off()
The same problem occurs with bolditalic, but not bold. I am using Debian
Stretch. Several friends tried the same on their machines, another
Debian machine has the same
2017 Jul 07
2
italic font on cairo devices in R 3.4
Hi Ilia,
I'm running Arch Linux, R 3.4.0.
Here's my test.pdf from your minimal example: https://ptpb.pw/HxsA.pdf
It doesn't look pixelated to me...
Here's a post that I wrote when I solved my last font problem in R,
almost 2 years ago:
https://stackoverflow.com/a/40940331/5087283
I had to install some Microsoft font packages, which is sad, because
there are some perfectly