Dear Mag. Ferri Leberl, I'm using something like: ----------------------- tex.tex --------------------------- \documentclass{article} \usepackage{graphicx} \usepackage{fancyvrb} \newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}} \newcommand{\myinput}[1] {\begin{scriptsize} \VerbatimInput[frame=single,label=#1]{#1} \end{scriptsize}} \title{The R logo, \Rlogo, in \LaTeX} \author{J.R. Lobry} \begin{document} \maketitle \section{Introduction to \Rlogo:} This is about the \Rlogo~sofware suite\footnote{ \Rlogo~is available at...}. % include source in final document \myinput{tex.tex} \end{document} ---------------------------------------------------------- with: unix$ pdflatex tex.tex this is what I get: http://pbil.univ-lyon1.fr/members/lobry/tmp/tex.pdf The PDF version of the R-Logo I'm using is here: http://pbil.univ-lyon1.fr/members/lobry/tmp/Rlogo.pdf HTH, Jean -- Jean R. Lobry (lobry at biomserv.univ-lyon1.fr) Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - LYON I, 43 Bd 11/11/1918, F-69622 VILLEURBANNE CEDEX, FRANCE allo : +33 472 43 27 56 fax : +33 472 43 13 88 http://pbil.univ-lyon1.fr/members/lobry/
Jean, this is nice, but 1) the logo is a bitmap, it is ugly if you resize it, 2) you don't need a pdf version for pdflatex, it handles jpg (and maybe also png as well), so you can just use the logos at the R developer site. It would be really nice to have a non-bitmap version, though. If it exists. Gabor On Fri, Mar 07, 2008 at 04:08:21PM +0100, Jean lobry wrote:> Dear Mag. Ferri Leberl, > > I'm using something like: > > ----------------------- tex.tex --------------------------- > \documentclass{article} > \usepackage{graphicx} > \usepackage{fancyvrb} > \newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}} > \newcommand{\myinput}[1] {\begin{scriptsize} > \VerbatimInput[frame=single,label=#1]{#1} > \end{scriptsize}} > \title{The R logo, \Rlogo, in \LaTeX} > \author{J.R. Lobry} > > \begin{document} > \maketitle > \section{Introduction to \Rlogo:} > This is about the \Rlogo~sofware suite\footnote{ > \Rlogo~is available at...}. > % include source in final document > \myinput{tex.tex} > \end{document} > ---------------------------------------------------------- > > with: > unix$ pdflatex tex.tex > this is what I get: > http://pbil.univ-lyon1.fr/members/lobry/tmp/tex.pdf > > The PDF version of the R-Logo I'm using is here: > http://pbil.univ-lyon1.fr/members/lobry/tmp/Rlogo.pdf > > HTH, > > Jean > -- > Jean R. Lobry (lobry at biomserv.univ-lyon1.fr) > Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - LYON I, > 43 Bd 11/11/1918, F-69622 VILLEURBANNE CEDEX, FRANCE > allo : +33 472 43 27 56 fax : +33 472 43 13 88 > http://pbil.univ-lyon1.fr/members/lobry/ > > ______________________________________________ > 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.-- Csardi Gabor <csardi at rmki.kfki.hu> UNIL DGM
[Think this is more R-devel than R-help now] Gabor Csardi wrote:> Jean, > > this is nice, but 1) the logo is a bitmap, it is ugly if you > resize it, 2) you don't need a pdf version for pdflatex, it > handles jpg (and maybe also png as well), so you can > just use the logos at the R developer site. > > It would be really nice to have a non-bitmap version, though. > If it exists.I was pondering this the other day, and decided to have a play at making a new R logo. Drawing inspiration from the original, and playing with the numbers 0, 1 and 2, I produced this: http://www.maths.lancs.ac.uk/~rowlings/Graphics/Logo/R/logos.svg [PNG version: http://www.maths.lancs.ac.uk/~rowlings/Graphics/Logo/R/logos.png ] - I think I've refined it a bit since then, but that has the basic idea and some examples of how it looks on different backgrounds. With a purely optional '3.0' power flash. As an SVG file it's purely vector and scalable. If the powers that be like it then I'll find my other versions (prob on my PC at home) and make them available. Barry
Jean, Thanks for this piece of Latex code. I did not have a pdf Rlogo and the tex command. AA. ----- Original Message ----- From: "Jean lobry" <lobry at biomserv.univ-lyon1.fr> To: <r-help at r-project.org> Sent: Friday, March 07, 2008 11:08 AM Subject: Re: [R] R-Logo in \LaTeX (Mag. Ferri Leberl)> Dear Mag. Ferri Leberl, > > I'm using something like: > > ----------------------- tex.tex --------------------------- > \documentclass{article} > \usepackage{graphicx} > \usepackage{fancyvrb} > \newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}} > \newcommand{\myinput}[1] {\begin{scriptsize} > \VerbatimInput[frame=single,label=#1]{#1} > \end{scriptsize}} > \title{The R logo, \Rlogo, in \LaTeX} > \author{J.R. Lobry} > > \begin{document} > \maketitle > \section{Introduction to \Rlogo:} > This is about the \Rlogo~sofware suite\footnote{ > \Rlogo~is available at...}. > % include source in final document > \myinput{tex.tex} > \end{document} > ---------------------------------------------------------- > > with: > unix$ pdflatex tex.tex > this is what I get: > http://pbil.univ-lyon1.fr/members/lobry/tmp/tex.pdf > > The PDF version of the R-Logo I'm using is here: > http://pbil.univ-lyon1.fr/members/lobry/tmp/Rlogo.pdf > > HTH, > > Jean > -- > Jean R. Lobry (lobry at biomserv.univ-lyon1.fr) > Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - LYON I, > 43 Bd 11/11/1918, F-69622 VILLEURBANNE CEDEX, FRANCE > allo : +33 472 43 27 56 fax : +33 472 43 13 88 > http://pbil.univ-lyon1.fr/members/lobry/ > > ______________________________________________ > 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.