GeneralReferring to a particular table entry

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mgoldenbe
Posts: 3
Joined: Wed Dec 31, 2014 7:46 pm

Referring to a particular table entry

Post by mgoldenbe »

Frequently in my articles I have a table accompanied by a text that cites numbers from the table and presents an analysis of those numbers. I would like a number in the text be updated automatically when I change the corresponding number in the table. I guess that I am looking for something like \label and \ref that mark an individual table entry rather than the whole table. Is there such a thing or can it be achieved?

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

Referring to a particular table entry

Post by Stefan Kottwitz »

References are usually to labels, but not to the content. I understand that you would like to re-use the content. In this case, you could use macros or boxes.

For example, you could define values via \newcommand in the preamble and use it in the table and later.

Stefan
LaTeX.org admin
Post Reply