Example usage:
\documetclass{article}
\begin{document}
\renewcommand*{\captionformat}{ -- }
\renewcommand{\captionformat}{ -- }
\end{document}
Example usage:
\documetclass{article}
\begin{document}
\renewcommand*{\captionformat}{ -- }
\renewcommand{\captionformat}{ -- }
\end{document}
\par. In your example, there is no difference, since\captionformattakes zero arguments. If, for example,\newcommand*{\captionformat}[1]{ -#1- }, then\captionformat{x\par x}would produce an error. – Steven B. Segletes Jul 14 '22 at 03:28