How to Reference a Figure in LaTeX

After you've included a figure in a LaTeX document, you'll want to refer your readers to it. You can use the "/label" command in LaTeX to mark an object, including tables and figures. This allows you to reference them later in the text.

Instructions

    • 1

      Select a label for your figure that is simple for you to remember.

    • 2

      Add the "\label" command after the "\caption" command in the code block where you defined your figure:

      \begin{figure}
      \includegraphics{YourImageName.eps}
      \caption{This caption actually appears in your document.}
      \label{fig:ThisLabelDoesNot}
      \end{figure}

    • 3

      Place the "\ref" command in the text where you want to reference the figure:

      See Figure \ref{fig:ThisLabelDoesNot}.

    • 4

      Include a tilde character to create a non-breaking space between the word figure and the figure number you are referencing:

      See Figure~\ref{fig:ThisLabelDoesNot}.

Tips & Warnings

  • Make sure to place the "/label" command after the "/caption" command, or you won't end up with the correct figure number in your document.

Related Searches:

References

Comments

Related Ads

Featured