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.

  • Try \figureshortname. – cfr Oct 29 '15 at 0: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 0:56
  • Yes, \tableshortname works as well. – Chester Oct 29 '15 at 0:58
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.