>>>>> "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 "{" )
Martin

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

Reply via email to