See the section on writing Mathematics in Rd file in the manual Writing
R Extensions. This will show how to produce high quality formulas in
LaTeX generated output and ASCII versions otherwise.
If you want to provide an excellent HTML version as well, the section on
"Conditional text" is also worth reading.
Uwe Ligges
On 18.05.2011 10:55, Javi Hidalgo wrote:>
> Dear All,
>
> I am documenting a R package. That means writing the *.Rd files inside the
\man folder of the package structure
> I was wondering how to write the symbol for an integral function in a
formula.
> Similar to this one in LaTeX:
>
> \int_{0}^{10} \Omega(t)dt
>
> I already tried
>
> \deqn{\int_{0}^{10} \Omega(t)dt}
>
> but it does not work. Any idea? Which math symbols does R-help recognise?
>
> Regards,
>
> Javier Hidalgo Carrio
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.