When subfigures
are added using the package subcaption
, the labels generated in the pdf by the showlabels
packages are not readable.
The subcaption
package is included before showlabels
package. How can I correct this?
\usepackage{subcaption}
\usepackage{showlabels}
\begin{figure}
\centering
\begin{subfigure}[t]{0.48\linewidth}
\includegraphics[width=1\linewidth]{plots/membrane/error_H1_rel_1d_100_11_11.pdf}
\caption{Full RBs}
\label{fig:membrane_recon_error_full_RB}
\end{subfigure}
\begin{subfigure}[t]{0.48\linewidth}
\includegraphics[width=1\linewidth]{plots/membrane/error_H1_rel_1d_100_11_7.pdf}
\caption{Full primal RB and truncated dual RB}
\label{fig:membrane_recon_error_truncated_RB}
\end{subfigure}
\caption{Reconstruction error for points in and outside training set}
\label{fig:membrane_recon_error}
\end{figure}