How to remove a caption when using figure
. I need to have a figure with no captions or the word Fig
\Figure[!t]()[width=1\textwidth]{figures/loc.pdf}
{certain caption. }
You can locally redefine \caption
to ignore its argument.
\documentclass{ieeeaccess}
\usepackage{graphicx}
\begin{document}
\begingroup\renewcommand{\caption}[1]{}%
\Figure[!t]()[width=1\textwidth]{example-image}{}
\endgroup
\EOD
\end{document}
in preamble
%set empty label
\usepackage[labelformat=empty]{caption}
in env
\begin{figure}[h]
\centering
\includegraphics[scale=0.2]{vipers-fradi.jpg}
% set caption here
\captionsetup{labelformat=simple,name=MyFig,labelfont=bf,textfont=it}
\caption{"Vipers Kristiansand - Ferencvaros"}
\end{figure}
\caption
, then no caption will appear.\Figure
instead of a single line of code. I don't think\Figure
is a standard command and the usage shown in the code does not quite seem to be the same as the\Figure
command fromeasyfig
, so it is not clear what\Figure
does. The short example document would show us where or how\Figure
is defined (which package you load for it).\begin{figure}[t] \includegraphics[width=1\textwidth]{figures/loc.pdf}\end{figure}
to get a floating figure without caption (that is, you simply don't use\caption
in the normal setup). If you just say\includegraphics[width=1\textwidth]{figures/loc.pdf}
without the\begin{figure}...\end{figure}
the image will not float (which might be useful for title pages or other situations where the image position is fixed.) If and how something like this is possible with\Figure
depends on its definition.ieeeaccess.cls
.