1

I am using overleaf.com for writing a paper in IEEE trans template. I use the following code for figure:

\begin{figure}[h]

\centering

\includegraphics[scale=0.1]{ABC}

\caption{ABC}

\label{fig_sim} 

\end{figure}

The problem I am facing is, after compiling it, the caption is like "Fig. 1 : ABC". But what I need is "Fig. 1. ABC". That is replacing the full colon with a full stop. I used the command \figurename{ABC} instead of \caption but it didn't solve my problem as the figure number is not shown after I compile.

Can anyone help in this regard?

closed as off-topic by user31729, Stefan Pinnow, TeXnician, Phelype Oleinik, Sebastiano Jan 5 at 12:58

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Welcome to TeX.SE \figurename is just printing Figure and has no argument. \figurename{ABC} is printing Figure followed by the non-argument ABC. You need the caption package for example, with \captionsetup[figure]{labelsep=period} – user31729 Jan 4 at 8:12
  • 4
    I'm voting to close this question as off-topic because the issue could be solved in comments – user31729 Jan 5 at 11:34

Browse other questions tagged or ask your own question.