tabular environment for Rd files

Friedrich Leisch Friedrich.Leisch@ci.tuwien.ac.at
Wed, 7 Jan 1998 10:20:35 +0100


I have added a preliminary version of a tabular environment to Rdconv
and committed it to the current development sources.

Syntax:

\tabular{format}{
  aaa \tab bbb \tab ccc \cr
  xxx \tab yyy \tab zzz
}

i.e., the column seperator is \tab and the line seperator is \cr

format is a usual LaTeX tabular format string, e.g in the above
example it could be `lll' giving three left justified columns.

currently only l, r, and c identifiers are supported, all doing the
obvious.=20

I thought about using LaTeX's `&' and `\\' as seperatoirs but these
would be inconsistent with the Rd-philosophy of having no special
characters (we want to get rid of having to escape & a.s.a.p.).

If you don't like \tab and \cr, please feel free to make better
suggestions.

The latex and html conversions seem to work perfectly ... as usual I'm
not so sure about nroff (it seems to work fine for me).

As I said, it's preliminary: Don't use any formatting such as \eqn
inside a tabular ... there might be unexpected results.

Best,
Fritz

--=20
-------------------------------------------------------------------
                        Friedrich  Leisch                            =20
Institut f=FCr Statistik                      Tel: (+43 1) 58801 4541
Technische Universit=E4t Wien                 Fax: (+43 1)  504 14 98
Wiedner Hauptstra=DFe 8-10/1071      Friedrich.Leisch@ci.tuwien.ac.at
A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch
     PGP public key http://www.ci.tuwien.ac.at/~leisch/pgp.key
-------------------------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._