On Mon, 30 Jul 2001, Prof Brian D Ripley wrote:
On Mon, 30 Jul 2001, Chris Wild wrote:
Putting a space between the commas makes no difference when I try it.
\code{x[ind, , ]}
does work for me, and furthermore it is how R itself formats the code:
options(keep.source=F)
foo <- function() { x[ind,,] }
foo
function ()
{
x[ind, , ]
}
so it's not ugly, it is correct. I do wish posters to R-help would
make use of spaces in the way R itself does.
That's not to say that Rd.sty does not need to protect against this.
It's a quirk of using ae.sty, and \code not being a proper verbatim
environment.
,, is the notation for a quotation mark for a European language. As that
does not exist in typewriter font, it is mapped to a black square by the ae
package.
A TeX workaround is needed ....