On 13 Oct 2003 at 8:45, Martin Maechler wrote:

> >>>>> "kjetil" == kjetil halvorsen <[EMAIL PROTECTED]>
> >>>>>     on Sun, 12 Oct 2003 09:55:00 -0400 writes:
> 
>     kjetil> Hola!  I have the following in a .Rd file:
> 
>     kjetil> \eqn{\mbox{coef} = c(\mbox{coef}[1],\ldots, \mbox{coef}[n]) }
>     kjetil>       {coef = c(coef[1], coef[2], \dots, coef[n])}
> 
>     kjetil> However, both arguments come out in the latex file!
> 
>     kjetil> Whats happening?
> 
> \eqn comes in a 1-argument and 2-argument version.
> If you want the 2-argument version, you cannot put spaces
> between the ending "}" of the 1st arg and the starting "{" of
> the 2nd one.
> 
> Instead of the above, 
> use
>        \eqn{\mbox{coef} = c(\mbox{coef}[1],\ldots, \mbox{coef}[n]) }{%
>               coef = c(coef[1], coef[2], \dots, coef[n])}
> 
> (note the comment "%" after the opening "{" )

Thanks!, but I did'nt get this to work with the % trick, I had to put 
everything on one line as Brian Ripley said. By the way , 
\deqn{}
        {}
works fine.

Kjetil Halvorsen


> Martin

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to