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

figureformatis only defined with KOMA-classes. With the standard classes, you can use packagecaptionto do it with a nice interface. – Johannes_B Feb 17 '15 at 15:13