Math & ScienceUsing last label number in another document

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
rgaelzer
Posts: 2
Joined: Thu Aug 06, 2020 2:52 pm

Using last label number in another document

Post by rgaelzer »

Is there any automatic way to have access to the counter of the last label (perhaps using prettyref) in another document?
It seems that the package xr does not provide this functionality.
That would be interesting, e.g., if I want to continue the equation numbering from one document to another one, even if they are not part of the same parent/children structure.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Using last label number in another document

Post by rais »

That should be possible with the totcount package.

KR
Rainer
rgaelzer
Posts: 2
Joined: Thu Aug 06, 2020 2:52 pm

Using last label number in another document

Post by rgaelzer »

rais wrote:That should be possible with the totcount package.

KR
Rainer
Yes, that works. Thanks.
Post Reply