I am currently writing a paper where I mention the R programming language. I've seen some papers use a special symbol for R, but I can't figure out how to get it. Here's an example.
How do I get that symbol?
I am currently writing a paper where I mention the R programming language. I've seen some papers use a special symbol for R, but I can't figure out how to get it. Here's an example.
How do I get that symbol?
You can download the R logo from here and then include the following line in your preamble:
\newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.png}}
Then you can just write wherever you want:
\Rlogo
And the result should look like the following:
For additional info: here.
Good luck!
height, but the font size may change
– Alessandro Cuttin
May 07 '20 at 08:18
Another idea is to use the fontsawesome5 package with \faRProject.
A minimal example should be:
\documentclass{article}
\usepackage{fontawesome5}
\begin{document}
\faRProject
\end{document}
This link should be also interesting to revise if fontawesome5 package is not available
\faRProject command is documented page 30 of fontsawesome5.pdf.
– Paul Gaborit
Jul 15 '20 at 14:52
\newcommand{\R}{R}), but\textsf{R}is what I'm used to seeing. I don't think I have seen\textbf{\textsf{R}}anywhere, though. – Nagel Dec 20 '19 at 13:59