[texhax] Problem with \ref and \label

Lars Madsen daleif at imf.au.dk
Mon May 23 21:37:36 CEST 2005


Peter Flom :

> Hello again
>
> Using ProText on a Windows machine
>
> I am having some problem with crossreferncing.
>
> I have
>
>     The odds ratios and the confidence limits are
>    in table\ref{T:ordORest}. .MORE TEXT
>
>
>
>  \begin{table}\label{T:ordORest}
>  \begin{tabular}{|l|r|r|r|}\hline
>   Effect & Point estimate & \multicolumn{2}{c|}{95\% confidence
>   limits}\\\hline
>   Factor 1 & 0.269 & 0.209 & 0.345 \\\hline
>   Age      & 1.093 & 1.004 & 1.191 \\\hline
>   Female   & 0.248 & 0.172 & 0.359 \\\hline
>  \end{tabular}
>  \caption{Odds ratios and confidence limits: Ordinal model}
>  \end{table}
>
> when I typeset this, using pdfLaTeX (or Texify, or LaTeX) I do not get
> correct crossreferences. In pdfLaTeX and texify I get a thin red box.
> In
> Latex, I get a blank space.
>
> I have similar problems with other crossrefences to tables.....

have you tried placing the \label AFTER the \caption?

-- 

/daleif

``You cannot help men permanently by doing for them 
what they could and should do for themselves. ''
  -- Abraham Lincoln



More information about the texhax mailing list