Message-ID: <458FF330.606@vanderbilt.edu>
Date: 2006-12-25T15:50:08Z
From: Frank E Harrell Jr
Subject: Hmisc - some latex problems
In-Reply-To: <emoqak$6di$1@sea.gmane.org>
steve wrote:
> 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.)
The latex object created by latex.describe lists the necessary styles -
setspace and relsize - but I'll make that clear in the documentation.
Note for debian linux users - these styles are included in the package
tetex-extra.
>
> 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}
Thanks - will fix in next release
Frank
>
> thank you,
>
> Steve