# [R] Hmisc - some latex problems

From: steve <fisk_at_bowdoin.edu>
Date: Mon 25 Dec 2006 - 15:21:55 GMT

If I use latex with describe:
(faithful is the Old faithful data)

latex(describe(faithful),file="describe.tex")

then the first few lines of describe.tex are

\begin{spacing}{0.7}
\begin{center} \bf faithful \\ 2 Variables~~~~~ 272 ~Observations
\end{center}

I have two problems. First, I don't know what package the environment "spacing" comes from. (There is also a command \smaller, but that is from the relsize package. Perhaps the latex man page could list the latex packages that are necessary to create correct output.)

Second, I use the memoir class, and it flags \bf as an error -
\textbf should be used instead. A correct version would be

\begin{center}\textbf{ faithful \\ 2 Variables~~~~~ 272
~Observations}\end{center}

thank you,

Steve

R-help@stat.math.ethz.ch 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. Received on Tue Dec 26 04:36:27 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 25 Dec 2006 - 18:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.