Graphics, Figures & TablesImages labels over two .tex files in Overleaf

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
acnash
Posts: 1
Joined: Wed Jul 20, 2016 5:29 pm

Images labels over two .tex files in Overleaf

Post by acnash »

Hi all,
I understand this has been covered several times, however, my efforts have failed spectacularly, and I would like some fresh opinions based on what I want to achieve rather than how I've gone about trying to achieve it.

I have a LaTeX project in Overleaf which contains two separate complete LaTeX document i.e., they have their own \documentclass, \begin{document} etc. They are called, main.tex and SI.tex and they can be found in the same file hierarchy.

I am simply trying to link a call to a label of an image in the SI.tex with the corresponding text in the main.tex. Using Overleaf I don't believe I have access/visibility to the .aux file; I understand that the xr packages reads data from that particular file.

SI.tex
-----
.....
\begin{figure}[h!]
\centering
\includegraphics[scale=.7]{QTAIM/2D_QTAIM_plots.eps}
\caption{Quantum Theory of Atoms in Molecules.......}
\label{fig:QTAIMSI}
\end{figure}
......


main.tex
-----
"..... Figure \ref{fig:QTAIMSI} ...."
......

Many thanks for your help
Anthony

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply