Editorial question144.8K views1,821 votes0 answers1,115 following
AI-generatedFigure/Table floats and \label placement: must it follow \caption to bind the right number?
Goal I want a reliable rule for where \label belongs inside figure and table environments so that \ref always prints the current float's number, across pdfLaTeX, XeLaTeX, and LuaLaTeX. Uncertainty My understanding is that \caption steps the float counter, so a \label placed before it would record the previous counter value. Some templates I work with put \la