A remoção do rótulo da legenda não está funcionando

A remoção do rótulo da legenda não está funcionando

Estou fazendo um pôster e tentando remover o rótulo - "Figura xx:" - de uma figurelegenda, conforme descrito emhttps://stackoverflow.com/questions/3162234/getting-rid-of-the-figure-1-bit.

A parte do código é a seguinte:

\documentclass{sciposter}
\usepackage{lipsum}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{multicol}
\usepackage{graphicx,url}
\usepackage{authblk}
\usepackage[portuges, brazil, english]{babel}   
\usepackage[utf8]{inputenc}
%\usepackage{fancybullets}
%\usepackage{caption}
\usepackage[labelformat=empty]{caption}

\newtheorem{Def}{Definition}



\title{Title1}


\author[1]{name1}
\affil[1]{Insti1}


\leftlogo[1]{Instilogo}
\rightlogo[1]{lablogo}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Begin of Document


\begin{document}

\conference{Famous conference}



\maketitle

%%% Begin of Multicols-Enviroment
\begin{multicols}{3}

% Other irrelavent sections not shown here


\section*{Simulation Set-up}

\begin{itemize}
        \item Approach is validated using DNS simulations.
        
    \begin{figure}[H]
        \centering
        \includegraphics[width = \columnwidth]{Simulation.png}
        \caption{Numerical Set-up}
        
        
        %\label{fig:enter-label}
    \end{figure}
    
    
        \item Pt 2
    
\end{itemize}

% Other irrelavent sections not shown here


\bibliographystyle{plain}\bibliography{poster}

\end{multicols}

\end{document}

Mas, surpreendentemente, estou recebendo o seguinte erro:insira a descrição da imagem aqui

Você pode sugerir o que pode ter dado errado?

Muito obrigado.

Responder1

A causa imediata do problema é que omulticola embalagem e seu multicolsambiente não permitem o uso de tableflutuadores figure. Largura total figure*etable* sãopermitido; no entanto, isso não é relevante para você, não é?

Num sentido mais profundo, porém, o erro residevocê: como você não tem intenção de deixar o gráfico flutuar em qualquer lugar, você não deveria usar um figureambiente para começar. (O fraco [H]especificador de posicionamento não pode ajudá-lo aqui.) Em vez disso, o que você deveria fazer é (a) empregar um centerambiente básico (dizendo ao LaTeX para inserir um pouco de espaço em branco acima e abaixo da combinação gráfico/legenda) e (b) usar \captionofem vez de \captioncompor a legenda não numerada.

Mais uma observação sobre o seu código: você deve usar a opção width=\linewidthem vez de width=\columnwidth, pois \includegraphicsocorre dentro de um itemizeambiente, o que reduz automaticamente o valor de \linewidth(mas não o de \columnwidth).

insira a descrição da imagem aqui

\documentclass[demo]{sciposter} % remove 'demo' option in real document

\usepackage{lipsum} % filler text

%%%\usepackage{epsfig} % is loaded automatically by 'graphixc'

\usepackage{amsmath,amssymb}
\usepackage{multicol} % for 'multicols' env.
\usepackage{graphicx,xurl} % use 'xurl', not 'url'
\usepackage{authblk}
\usepackage[portuges, brazil, english]{babel}  
 
%%%\usepackage[utf8]{inputenc} % that's the default nowadays
\usepackage[T1]{fontenc} % <-- new
\usepackage{enumitem} % <-- new

\usepackage{caption} % provides '\captionof' macro
\captionsetup{labelformat=empty, 
              skip=0.5\baselineskip} % <--- new

\title{Title1}
\author[1]{Name1}
\affil[1]{Insti1}

\leftlogo{Instilogo}
\rightlogo{lablogo}
\conference{Famous conference}

\begin{document}

\maketitle

\begin{multicols}{3}

% Other irrelevant sections not shown here

\section*{Simulation Set-up}

\begin{itemize}[left=0pt] % '[left=0pt]' is new

    \item Approach is validated using DNS simulations
        
    %%%\begin{figure}[H] % cannot use 'figure' float
    \begin{center}
        %%%\centering
        \includegraphics[width=\linewidth]{Simulation.png} % NOT '\columnwidth'
        %%%\caption{Numerical Set-up}
        \captionof{figure}{Numerical Setup}
        \label{fig:enter-label}
    %%%\end{figure}
    \end{center}

    \item Pt 2
    
    \item Pt 3
    
\end{itemize}

\lipsum[1-3] % filler text
    
% Other irrelevant sections not shown here

\end{multicols}

\end{document}

informação relacionada