Just wondering has anyone come up with this problem
I have many images and tables in a report. When the caption is displayed, it reads
Figure X.X.: Caption text
The fullstop (.) is undesired, but I cannot figure out how to get rid of it.
My images are included using
Code: Select all
\begin{figure}[!ht]\centering\includegraphics[width=\linewidth]{image.png}\caption[Caption for TOC]{Caption text}\label{fig:Label text}\end{figure}
Code: Select all
\begin{table}[!ht]\centering\caption[Caption for TOC]{Caption for text}\vspace{0.5cm}\label{tab:Table label}\begin{tabular}{lr}\topruleTable & text\\\bottomrule\end{tabular}\end{table}
Code: Select all
\usepackage{amsmaths}\usepackage{aliascnt}\newaliascnt{eqnfloat}{equation}\newfloat{eqnfloat}{h}{eqflts}\floatname{eqnfloat}{Equation}\newcommand*{\ORGeqnfloat}{}\let\ORGeqnfloat\eqnfloat\def\eqnfloat{%\let\ORIGINALcaption\caption\def\caption{%\addtocounter{equation}{-1}%\ORIGINALcaption}%\ORGeqnfloat}\begin{document}\begin{eqnfloat}[!htbp]\begin{equation}Eqiation\end{equation}\label{eq:Equation label}\caption{Caption text}\end{eqnfloat}\end{document}