Skip to content

Quiz: Who finds the nicest form of X_1^\prime?

6 messages · Marius Hofert, Peter Ehlers, Dennis Murphy +2 more

#
Haha, I found a hack (using the letter "l"): 

plot(0,0,main=expression(italic(X)[1]^bolditalic("l")))

Cheers,

Marius
#
On 2011-04-06 15:21, Marius Hofert wrote:
To my eye, this is a bit neater:

  expression(italic(X)[1]^bold("/"))

Peter
#
Very nice!

Cheers,

Marius
On 2011-04-07, at 04:38 , Dennis Murphy wrote:

            
#
the tikzDevice package has offered a way to write native LaTeX
expressions in R plots, so no tricks are really needed there

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Thu, Apr 7, 2011 at 12:01 AM, Marius Hofert <m_hofert at web.de> wrote:
5 days later
#
Marius Hofert wrote:

            
Why cheat when you can use a *real* prime character:

  plot(0, 0, main=expression(paste(italic(X)[1],"\u2032")))