[Fwd: Re: [texhax] Tabbing problem]

Luis A. Payan R. listas at alpanet.org
Wed Jun 30 16:55:29 CEST 2004


Hi Peter Flom

I have modified your document, I hope that it be useful:

\documentclass{article}
\begin{document}
\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))% ( instead {
                      \>\>\# Horizontal line at mean of weight\\
   abline(v=mean(height))
                       \>\>\# Vertical line at mean of height\\
\end{tabbing}
\end{document}

Best regards

Peter Flom wrote:

>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)
>
>
>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
>Mailing list archives: http://tug.org/pipermail/texhax/
>More links: http://tug.org/begin.html
>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax
>Human mailing list managers: postmaster at tug.org
>
>
>
>  
>

-- 
Luis Alfredo Payan Rodriguez
____________________________
listas at alpanet.org
http://www.alpanet.org




-- 
Luis Alfredo Payan Rodriguez
____________________________
listas at alpanet.org
http://www.alpanet.org





More information about the texhax mailing list