I want to redefine the \figureformat to customize the output of figure captions:
\renewcommand*{\figureformat}{\thefigure.\figurename}
However, it gives an error when I compile:
\figureformat undefined. \renewcommand*{\figureformat}
Here is the test tex:
\documentclass[10pt,letterpaper]{article}
\renewcommand*{\figureformat}{\thefigure. \figurename}
\begin{document}
\begin{figure}[h]
\caption{{test}
\label{fig1}
\end{figure}
\end{document}
I am using TeX Live 2013/W32TeX and TexStudio
figureformat
is only defined with KOMA-classes. With the standard classes, you can use packagecaption
to do it with a nice interface.