I am using the tufte-handout class in LaTeX and I want to refer to R using the "correct" sans-serif font. I am currently using
\newcommand{\R}{ {\bf \sffamily R } }
used as ...
... function in the \verb|spatstat| \R package ...
What LaTeX "command" / incantation would you use?
\newcommand{\R}{\textbf{\textsf{R}}}. Never use the two letter commands\bf,\sfor\it, they are obsolete. – egreg Sep 28 '12 at 10:02\newcommand{\R}{\textup{R}}might be better. – egreg Sep 28 '12 at 11:37