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

Yihui Xie xie at yihui.name
Fri Apr 8 00:04:20 CEST 2011


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:
> Very nice!
>
> Cheers,
>
> Marius
>
> On 2011-04-07, at 04:38 , Dennis Murphy wrote:
>
>> Here are a couple more possibilities:
>>
>> plot(0, 0, main = expression(italic(X)[1]^bold(scriptscriptstyle("/"))))
>> plot(0, 0, main = expression(italic(X)[1]^bolditalic(scriptscriptstyle("/"))))
>>
>> The latter increases the angle a tad.
>>
>> HTH,
>> Dennis
>>
>> On Wed, Apr 6, 2011 at 3:49 PM, Peter Ehlers <ehlers at ucalgary.ca> wrote:
>> On 2011-04-06 15:21, Marius Hofert wrote:
>> Haha, I found a hack (using the letter "l"):
>>
>> plot(0,0,main=expression(italic(X)[1]^bolditalic("l")))
>>
>> To my eye, this is a bit neater:
>>
>>  expression(italic(X)[1]^bold("/"))
>>
>> Peter
>>
>>
>>
>> Cheers,
>>
>> Marius
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list