visual-studio-codetexdefined

Label `overflow' multiply defined when compiling tex


I'm trying to compile my tex file, but it keeps giving me this error.

Label `overflow' multiply defined.

Could someone help me out?


Solution

  • Labels are used to create cross-references to sections, figures, and such. The warning suggests that when you search your tex file for \label{overflow}, you will find more than one. Rename them so that they are unique. They need to be in order to be referenced properly using \ref{...}.