# How to reference sections, equations, and figures in a separate document (e.g., supplemental information)?

I have a main document (manuscript) and a supplemental document.

I wonder if there is a way that I can "link" the two (make them recognize each other) so that section, equation, and figure references across documents are recognized?

The xr package is probably what you need.

• And also xr-hyper if hyperref is needed. Apr 25 '12 at 14:31

You can use the xr package with the following setup in the header of both files

 \usepackage{xr-hyper} \usepackage{hyperref} \externaldocument[]{name_of_other_file_without_extension} 

You can then just use regular \ref{fig:label name} like you would in the same document.

Placing this header info at the bottom on the header will likely reduce package conflicts regarding hyperref.