I am currently writing my thesis and I am trying to properly structure the naming of labels. For instance, I use
\label{fig:abc:def:ghi}
for labeling a figure in my main chapter "abc", on some topic "def" with a certain name "ghi". I realize that this results in pretty long labels. On the other hand, I realize that I mostly reference figures only within a chapter.
Hence, I am wondering, how to simplify this.
Do you have suggestions on how I
- could automate adding the first part of the label (here: "fig") to the actual label based on the environment?
- could just use a reference to the type and the last part of the label (here: "fig:ghi") to reference things lying within my chapter and only have to use the long form ("fig:abc:def:ghi") if referencing outside the chapter
\label{my-cat}if it's a picture of a cat. Why the complication of structured labels, given that the system does not use that structure and just uses it as a string? – David Carlisle May 08 '17 at 15:42reftex-label-alist-entriesandreftex-insert-label-flags. Which editor are you using? – Andrew Swann May 08 '17 at 15:44fig:abc:def:ghifromdeftoxyzyou will go into trouble. BTW: Isn't this a primary option-based questions? – Schweinebacke May 08 '17 at 15:47:as special in any way inside a label string. – David Carlisle May 08 '17 at 16:05