キャプションからラベルビットを削除できません

キャプションからラベルビットを削除できません

私はポスターを作っていて、ラベル部分「図xx:」を削除しようとしています。figure私はポスターを作っていて、キャプションhttps://stackoverflow.com/questions/3162234/getting-rid-of-the-figure-1-bit

コードの部分は次のとおりです。

\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}

しかし驚いたことに、次のようなエラーが発生します。ここに画像の説明を入力してください

何が間違っていたのか教えていただけますか?

どうもありがとうございます。

答え1

問題の直接的な原因は、多段パッケージとその環境では、およびフロートのmulticols使用は許可されていません。全幅およびtablefigurefigure*table* 許可されていますが、それはあなたにとっては関係ありませんよね?

しかし、より深い意味では、誤りはあなた: グラフをどこにでも浮かべるつもりはないので、figureそもそも環境を使うべきではありません。(貧弱な[H]配置指定子はここでは役に立ちません。) 代わりに、(a) 基本的なcenter環境を使用し (LaTeX にグラフ/キャプションの組み合わせの上下に少しの空白を挿入するように指示する)、(b) の\captionof代わりにを使用して\caption番号なしのキャプションをタイプセットするようにしてください。

コードに関するもう 1 つの注意: は環境内で発生し、 の値が自動的に減少しますが、 の値は減少しないため、width=\linewidthの代わりにオプションを使用する必要があります。width=\columnwidth\includegraphicsitemize\linewidth\columnwidth

ここに画像の説明を入力してください

\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}

関連情報