# 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?

-

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

-