I try to set up the label of caption, and expect to modify the text
of label. I apply the following code:
Code: Select all
\begin{table}
\renewcommand{\captionlabel}{test}
\end{table}
Code: Select all
\begin{table}
\renewcommand{\captionlabel}{test}
\end{table}
NEW: TikZ book now 40% off at Amazon.com for a short time.
\captionlabel is coming from which package? From the caption or the ccaption package or the memoir document class or...?clement wrote:I try to set up the label of caption, and expect to modify the text of label. I apply the following code:
I do not see a \caption here where the redefinition could take affect.Code: Select all
\begin{table} \renewcommand{\captionlabel}{test} \end{table}
Code: Select all
\documentclass{article}
\usepackage{caption}
\DeclareCaptionLabelFormat{test}{test}
\captionsetup{labelformat=test}
\begin{document}
\begin{figure}
\caption{No picture}
\end{figure}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.