Changing/Adding the Caption label

captions

I wanted to have a new caption label "Plate 1", "Plate 2"…. and so on.
In addition, the same document should have figure and table captions also.
That means I need "Plate 1", "Plate 2"…., "Figure 1", "Figure 2"…., "Table 1", "Table 2"….

Best Answer

Here's a solution with two packages: caption to provide the ability to switch between two 'sorts" of caption labels, and newfloat to provide the ability to create a custom caption label.

\documentclass{article}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{newfloat}

\DeclareFloatingEnvironment{plate}

\begin{document}

\begin{figure}[!htb]
\centering
\includegraphics[width=5cm]{example-image-a}
\caption{\label{fig:image}An image.}
\end{figure}

\begin{figure}[!htb]
\centering
\includegraphics[width=5cm]{example-image-a}
\captionsetup{type=plate}
\caption{\label{fig:plate}A plate.}
\end{figure}
    
\end{document}

Result