How to make an image full width in the center of page IEEEtran

floatsieeetranincludegraphicsmulticolumnwide-image

I want to make it like this in LaTeX IEEEtran:

Enter image description here

I got this file at this link. I also tried to apply it in IEEEtran, but it didn't work.

I've tried using \twocolumn and \onecolum, but this command makes the image on a separate page separate from the text. Then the \multicols command will make it look like four columns for \multicols{2} and no changes to \multicols{1}.

The command works for files other than IEEEtran, but I've tried it on IEEEtran and it doesn't work.

Here is my code for the figure code

\begin{figure*} [!h]
\centering
\includegraphics[width=\linewidth]{imagename.png}
\caption{image caption}
  \label{Fig:image label}
\end{figure*}

Best Answer

If you intent to publish in some IEEE journal, don't do it. They don't allow to have images over two columns on the first page and allow on other pages as enable figure*.

If persisting to insert an image in your own way, then see if the package cuted works for you (and for the publisher too):

\documentclass{ieeetran}
\usepackage{graphicx}
\usepackage{capt-of}  % <---
\usepackage{cuted}    % <===

\usepackage{lipsum}

\begin{document}
\lipsum[1]
\begin{strip} % <--- defined in "cuted"
\includegraphics[width=\linewidth]{example-image-duck}
\captionof{figure}{image caption}
\label{Fig:image label}
\end{strip}
    
\lipsum[2-15]
\end{document}

Enter image description here

Related Question