3

I am looking to change the figure name and table name for captions in the paper environment. In particular, I'd like to change both Fig. and Tab. to Figure and Table. The question answered here does not work in the for the paper document class.

For example:

\documentclass[11pt]{article}
\renewcommand{\figurename}{hello}
\begin{document}

\begin{figure}
    \caption{there}
\end{figure}

\end{document}

works succesfully. However,

\documentclass[11pt]{paper}
\renewcommand{\figurename}{hello}
\begin{document}

\begin{figure}
    \caption{there}
\end{figure}

\end{document}

does not.

Chester
  • 391
  • Try \figureshortname. – cfr Oct 29 '15 at 00:51
  • Done. I guess the class probably has documentation but there are some 'non-standard' names like this listed in the class and signalled with % <-- paper so they are relatively easy to find should you need more. \tableshortname is probably the most likely. – cfr Oct 29 '15 at 00:56
  • Yes, \tableshortname works as well. – Chester Oct 29 '15 at 00:58

1 Answers1

2

The class uses \figureshortname for the abbreviation Fig., so you need to redefine this:

\documentclass[11pt]{paper}
\renewcommand*\figurename{hello}
\renewcommand*\figureshortname{hi}
\begin{document}

\begin{figure}
    \caption{there}
\end{figure}

\end{document}

short figure name

cfr
  • 198,882