Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

Re: [R] problems with Rd format

Prof Brian Ripley

2005-02-28

Replies:

On Mon, 28 Feb 2005, Renaud Lancelot wrote:

> Dear R-helpers,
>
> I have an Rd file with a section:
>
> \details{
> The model is:\cr
> \eqn{y | \lambda ~ Binomial(n, \lambda)},\cr
> [snip]
> }
>
> I would like the equation line to be indented, with a \tab character for
> example. How can I do that ?

Well, use markup that allows \tab: if you want a table, use \tabular.
But if you find yourself doing this, you are not in the spirit of layout
languages, and Rd is a layout language.

> Moreover, the panel of greek letters available in HTML files generated from
> Rd files looks very limited (e.g., \eqn{\phi} produces phi, not the
> corresponding greek letter). Is there a way to overcome this in HTML files ?

What HTML 4.0 _guarantees_ a browser can show is very limited, and does
not include phi (at least according to my HTML 4.0 book). So, not in
strict HTML.


--
Brian D. Ripley,            ripley@(protected)
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford,         Tel: +44 1865 272861 (self)
1 South Parks Road,              +44 1865 272866 (PA)
Oxford OX1 3TG, UK           Fax: +44 1865 272595

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
©2008 r-help.com - Jax Systems, LLC, U.S.A.