[Tex/LaTex] Referencing a table vs. a figure in LyX, format


Currently, when I reference things using labels I have setup LyX simply inserts the table number. I would like it to insert Table N where N is the table number. Similarly, I would like it to insert Figure N for figures. Is this possible or is there no way for LyX to know that my label refers to a figure or table?

Best Answer

Load the cleveref package and use \cref (or \Cref at the beginning of a sentence) instead of \ref.

Related Question