[R] R-Logo in \LaTeX (Mag. Ferri Leberl)
Gabor Csardi
csardi at rmki.kfki.hu
Fri Mar 7 16:21:20 CET 2008
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
More information about the R-help
mailing list