I have been reading a lot of LaTeX source files recently and I noticed certain naming conventions like \label{fig:...} and \label{tab:...}.
It this used as some kind of scoping to avoid namespace pollution? Where does this come from and why is the colon used specifically (as it doesn't seem to make any difference to the underlying system whether a colon or, say, a dash is used)?
Asked
Active
Viewed 328 times
0
David Carlisle
- 757,742
apriori
- 953
labeljust treats the option as a string and givs no meaning to the colon at all, some ediors will suggest prefixed nams jus to make it easier for humans to remember what that\ref{tab:whatever}is referncing a table – David Carlisle Mar 21 '22 at 12:46