\RequirePackage[l2tabu,orthodox]{nag} \documentclass[11pt,twoside]{book} \usepackage[total={6.25in,10in},left=1.25in,top=0.5in,includehead,includefoot]{geometry} \usepackage{graphicx} \usepackage{float} \begin{document} \begin{figure}[H] \includegraphics{example-image-a} \end{figure} \subsubsection{Title}\label{label} %<--- What the Hell? Test \end{document}
Here's the NAG warning:
Package nag Warning: \label in float, but not after \caption on input line 13.
So what is wrong with the line shown in the code above?
The trouble appears to be related with the picture.