Cross references

You will, and should, most likely use cross references in your text like referring to a table, image, chapter or section somewhere else in the text. For this you need to make a label, and then refer to it.

The steps

  1. Open the .tex file containing the part you want to refer to.
  2. Insert:
    \label{someLabel}
    
    inside the text. Examples:
    \chapter{Conclusion \label{conclusion}}
    \section{Microsoft sucks \label{MSsucks}}
    \figcaption{Image showing how they suck. \label{MSsucksImage}}
    
  3. Open the .tex file containing the text that wants to refer to the above parts.
  4. Insert:
    \ref{someLabel}
    
    inside the text. Examples:
    In the Conclusion, see Chapter \ref{conclusion}, we showed in Section \ref{MSsucks}
    quite visually in Figure \ref{MSsucksImage} how much Microsoft suck.
    

Troubleshooting

Problem Possible solution
LaTeX Warning: There were undefined references. You might have misspelled a references. Look at the pdflatex output for something like: LaTeX Warning: Reference `xxxxx' on page xx undefined on input line xx