[texhax] Tabbing problem
Peter Flom
flom at ndri.org
Wed Jun 30 16:06:25 CEST 2004
Hello again
Using TeXlive and Winedt on a Windows machine....
When I try to typeset
PREAMBLE OMITTED
\begin{tabbing}
model1\=\hspace{3in}\=\kill
model1\= $\leftarrow$ lm(weight$\sim$height)\\
\>\# Linear model to be used later\\
plot(weight$\sim$height) \>\# Basic scatterplot\\
abline{h=mean(weight))\\
\>\>\# Horizontal line at mean of weight\\
abline(v=mean(height))\\
\>\>\# Vertical line at mean of height\\
\end{tabbing}
using the pdflatex button, I get an error that 'something is missing,
perhaps a missing \item'
When I try to typeset just this bit with 'compile selected block',
everything after the second line is overprinted onto the same line.
I have a feeling I'm missing something simple, but I've been looking at
this for 30 minutes, and trying to find help in several books, to no
avail....
Any help is, as always, appreciated
Peter
Peter L. Flom, PhD
Assistant Director, Statistics and Data Analysis Core
Center for Drug Use and HIV Research
National Development and Research Institutes
71 W. 23rd St
www.peterflom.com
New York, NY 10010
(212) 845-4485 (voice)
(917) 438-0894 (fax)
More information about the texhax
mailing list