[R] R documentation, how to force Rcmd Rd2pdf to automatically break an overfull line in examples R-like section?

2013-02-26 Thread Ehsan Masoudi
Hi all, My package passed Rcmd check successfully. but in constructed PDF format of R documentation, within the examples section, half of the line (R code) is out of the paper. I also found another CRAN submitted package, ftsa , that suffer from overfulling in a line too, see ftsa Reference m

[R] R documentation, how to set a character in bold font within math mode, within eqn or deqn?

2013-02-26 Thread Ehsan Masoudi
Hello all,  I want to set (x_1, x_2, \dots, x_n) in a bold font within R documentation. I wrote \deqn(\bold{x}_1, \bold{x}_2, \ldots, \bold{x}_n), but when Rstudio shows HTML preview of the documentation, x is not bold and \bold{x} is illustrated instead. The other latex math bold producer su