Displaying 20 results from an estimated 5000 matches similar to: "Proper way to typeset the symbol for R in LaTeX?"
2007 Nov 02
1
vignettes and papers
Hello everyone
Lots of my packages have been the subject of
journal articles either in JSS or Rnews or (in one
case) elsewhere.
I would like to add these articles
to my packages as vignettes.
Reproducing the papers exactly requires a number
of files [such as style files or PDFs] to be included in
the inst/doc directory to pass R CMD check.
A vanilla .Rnw file seems to be a good idea,
but
2019 Apr 22
2
how can i get consumer-typeset exe in debug mode
Hi All,
I have made some changes in AArch64LoadStoreOptimizer.cpp file and with check-llvm all tests are passing successfully.
But in llvm-test suite some tests are failing, like consumer-typeset tests are failing.
Now I want to debug with 'consumer-typeset' exe from SANDBOX. But it is release build.
How can I debug this issue in this case and how can I get 'consumer-typeset'
2008 Jun 13
4
Sweave: looping over mixed R/LaTeX code
Dear guRus,
I would like to loop over a medium amount of Sweave code, including both R and LaTeX chunks. Is there any way to do so? As an illustration, can I create a .tex file like this using a loop within a .Rnw file, where the "1,2,3" comes from some iteration variable in R?
################################################
\documentclass{article}
\usepackage{Sweave}
\begin{document}
2004 Oct 04
4
Off-Topic: LaTeX package listings
Hola!
I ask here since I learnt from this list that the LaTeX package listings
should be good
for typesetting R code. I encountered one problem:
\begin{lstlisting}
X %*% V
\end{lstlisting}
in the output the * in %*% disappears! same with %/%, etc, the /
disappears.
Any ideas?
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
--
2006 Feb 28
3
LaTeX in R graph
Hello,
I would like to know if it is possible to insert LaTeX typesetting in R output.
I want to obtain a graph with LaTeX label in order to incorporate it as
postscript or pdf,
x<-seq(0,1,length=100)
y<-x*x
plot(x,y,xlab="$X$",ylab="$X^2$")
2010 May 12
1
Input encoding problem when using sweave with xetex
Hello
Because I want to use different true type fonts with latex, I''m using the
XeTeX typesetting engine for my sweave-documents. I''m using Lyx with Sweave
on a Windows 7 PC and have set up LyX to work with XeTeX according to the
following instructions:
http://wiki.lyx.org/LyX/XeTeX
Because the input file for XeTeX is assumed to be in UTF-8 encoding, I set
the encoding
2007 Feb 04
4
Reading expressions from character vectors
Greetings,
I have a problem that I am sure is very straightforward, but I just
can't wrap my head around it. I've read the help pages on text,
plotmath, expression, substitute, but somehow I can't find the answer
to this simple question.
Basically consider the following example:
plot( NULL, xlim = c(0,2), ylim = c(0,2) )
expressions <- expression( -infinity, infinity )
2002 Nov 13
1
Package documentation and rd.sty
Hi all,
I've got a basic question regarding package documentation and rd.sty. I
wrote my first own package, and now I would like to place the documentation
into the appendix of another LaTex document. Seemingly I cannot simply
\usepackage{Rd}, as this will modify the page-settings of my document. Is
there a minimum style file which will just define the environments and
commands needed for
2009 Oct 01
2
Rd.sty question: LaTeX expert needed
The Rd.sty LaTeX package is used when building the R manuals, and by the
LaTeX pages produced from the man pages.
I have tracked down some problems G?bor Cs?rdi was having recently (see
"Re: [R] preformatted and '#' in manual pages" in R-help) to a LaTeX
problem, and am trying to work out how to fix it.
Specifically, the .Rd file he was using had a structure like
\dQuote{
2007 Nov 07
3
Indexing, and using an empty string as a name
Hello all,
I ran into the following, to me unexpected, behavior. I have (for
reasons that don't necessarily pertain to the question at hand, hence
I won't go into them) the need/desire to use an empty string for the
name of a vector entry. Perhaps I did not read ?"[" very carefully,
but it seems to me that he following lines should return "1" at the end:
2007 Sep 20
2
Plotmath issue superscript "-"
Dear List,
I'm trying to typeset some chemical ions in axis labels. These have both
super and subscript components, and for some, I need a superscript "-".
In LaTeX I might use $NO_3^-$ to do the typesetting, but I'm having a
problem getting the correct invocation for expression:
> expression(NO^{-}[3])
Error: syntax error, unexpected '}' in
2007 Jan 14
4
Controlling size of boxplot when it is added in a plot
Greetings,
I am trying to add a boxplot to the bottom of a histogram, right
between the histogram bars and the x axis. Here is the code I am
using at the moment (the par line is probably not relevant for our
discussion):
hs <- hist(x, breaks = 20, plot = F)
par(mar = c(3,3,2,1))
hist(x, breaks = 20, main = NULL, ylim = c(-2, max(hs$counts)))
boxplot(x, horizontal = T, axes = T, add =
2011 Mar 01
1
vignette typesetting issue
Hi
I am preparing a vignette, and I am finding that LaTeX ties (that is,
the tilde symbol, "~", used to tell LaTeX not to make a newline
in the output), are appearing as actual tildes. This is not desired behaviour
for me. Thus the PDF includes things like this:
". . . taken directly from~Oakley (1999)....".
[this typeset as "taken directly
2008 Feb 29
8
Running LaTeX dvi previewer on MacOS X
Several people have given great advice on how to successfully use X11 on
Mac to so we can use the dvi previewer to view latex() output from
Hmisc. Now after a version upgrade of X11 and X11sdk we are getting
lots of crashes. I noticed a Mac dvi previewer with an executable
stored as /Applications/TeX/TeXShop.app/Contents/MacOS/TeXShop
Can we bypass X11 problems and point Hmisc to this
2006 Dec 27
0
Formatting an arry to typeset as a table
I am writting some functions that return an array of coefficients
along with confidence intetervals for each coefficient. My intent is
to eventually typeset the coefficients and intervals into a table (or
tables) in a document. I would like to use existing tools such as the
'latex' function in the Hmisc package, the 'odfTable' function in
odfWeave package, or 'HTML' in
2007 Nov 02
2
correct wording and notation for R stuff in LaTex
Hi R Gurus:
I'm putting together an article about some R stuff in Latex.
I refer to packages and functions.
I think that I use {\em} for packages and {\tt} for functions.
Is that correct, please?
Thank you in advance!
Sincerely,
Edna Bell
2008 Mar 07
3
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,
2008 Mar 07
3
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,
2004 Apr 26
1
need settings for the listings package
Hi,
I am typesetting R code in TeX using the listings package. I have
experimented with various settings for the text, but all look a bit
ugly. This might be because I have no typographic experience ;-)
I would really appreciate if people sent me the settings they use for
the listings package (eg in the \usepackage line, or \lstset, I am
thinking about choices for basicstyle, ... etc). I
2005 Jul 19
1
translation with Rd.sty, Sweave and tex4th (PR#8016)
Full_Name: Paulo Ribeiro
Version: 2.1-1
OS: Debian Linux
Submission from: (NULL) (200.103.144.24)
I'm using Sweave with tex4th to generate xhtml documents
from documents created using Sweave which include \usepackage{Rd}
in the preamble
However there seems to be a problem with \Link defined in
Rd.sty, since this is also defined in tex4ht.sty
My workaround was to replace the lines with