LaTeX examples: How to reference a figure or table
LaTeX table/figure FAQ - How do I reference a table or figure in a LaTeX document?
Being able to automatically reference a figure within a LaTeX document is a very cool thing. This referencing capability lets you easily give readers the exact number of a figure, or tell them what page number a figure is located on with the use of a few simple commands (\label
, \ref
, and \pageref
). The same technique works for referencing other objects within a LaTeX document, including tables and equations.