# How to label equations effectively and efficiently? [closed]

I am writing a thesis containing a lot of equations. One problem I am facing is how to label them well enough so that it is easier to refer to them later on. Currently, I tried to name every equation. This method works fine, but it is cumbersome and inefficient. I am wondering whether anyone has a good way to label things. In particular, I am curious how editors label tons of equations in math books. Thank you!

## closed as too broad by Andrew Swann, Mensch, TeXnician, Bobyandbob, barbara beetonNov 14 '17 at 18:22

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• You only have to \label those that you want to \ref. But that's not the question, correct? – Werner Mar 30 '15 at 23:26
• You can use \label{eq:bla:foo:bar} which is an abbreviation of first it refers to an equation then roughly the topic name, the approximate location in terms of section so on – percusse Mar 30 '15 at 23:26
• @Werner I do have a lot of cross-reference to do. But you just reminded me that maybe I should try to use less cross-reference. – LaTeXFan Mar 30 '15 at 23:46
• I label all of my equations (theorems, lemmas, ...) with labels of the form E:desciption, (T:description, L:description,...) where description describes the equation/theorem/lemma/.... My editor (vim), expands these labels via tab-completion, this makes it easy to find the right label. You may also find it helpful to use the showkeys package. I also recommend using \autoref from the hyperref package and the technique in How to get correct autoref for theorems – Andrew Mar 31 '15 at 10:07
• @LaTeXfan You can set up vim so that the tab key causes partially typed text to expand into various commands, macros or even environments. Look for expandtab, listchars in the vim documentation. The latex ftplugins for vim implement explicit latex-style tab completions but you can do this "by hand" by throwing what you want (\alpha, \beta, ...) into a custom dictionary. For tab completion, I highly recommend the vim supertab and snipMate plugins. – Andrew Apr 24 '15 at 8:00