cvpr-org/author-kit

Add auto-label functionality to template

taiya opened this issue · 0 comments

taiya commented

Requirements
\usepackage{currfile}

Usage:

\begin{figure}
\centering
\includegraphics[width=\linewidth]{fig/\currfilebase}
\caption{\textbf{Something} -- ...}
\label{fig:\currfilebase}
\end{figure}

Then a figure source fig/something.tex can be cited in text as \cref{fig:something}