Inside the float table box I add lyx:label but when inside the text and choose insert crossreference and choose the table label the text appears as ??

The reference to numbered equations appear normally , the problem is in table labels only.

I use elsarticle class

  • 1
    In my LyX the cross reference to tables works without problem with the elsarticle class. Please provide a minimal working example where you have this problem. – Fran Sep 11 '12 at 17:08
  • where to put the lable inside table? – mero Sep 11 '12 at 17:14

This MWE is the raw opuput of from complete source view in Lyx minus the comments. The label inside the caption is OK. Just after the caption also work, but inside the tabular environment is a wrong place.




A cross reference to table \ref{tab:one}
 This & is & a table \tabularnewline
\caption{\label{tab:one}The caption of table one}

  • thanks so much the problem was that label not inside the caption box of table or figure, thank you – mero Sep 11 '12 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.