LateX: text mixed with image

Bylos -  
 Torkomani21 -
Hello,

I am currently getting started with LaTeX, and I am encountering a problem when inserting images into the text, a problem that I cannot seem to shake off:
My text takes the form of an article written in two columns per page, and I would like to insert an image at some points that takes up the entire width of the page.
In the first column, no problem, the text “wraps” around the image, but in the second column, it seems that LaTeX does not take into account the fact that there is an image in the middle, so the text of the article overlaps with the image.

How can I prevent the text from being displayed over the area of the image?

Thank you in advance for your responses.

Best regards,
Bylos

3 answers

  1. sebyazid
     
    Hello;
    You just need to replace figure with figure* as below.

    \begin{figure*}[tbph]
    \begin{center}
    \includegraphics[width=7.5cm,height=3.5cm]{figure.eps}
    \end{center}
    \caption{Figure name}
    \label{figure1}
    \end{figure*}
    1
    1. momo
       
      Indeed, I had the same issue and it works very well with "figure*". I am actually surprised to have never seen this in the LaTeX guides...
      Thanks anyway!
      0
  2. Torkomani21
     
    Hello

    when I use this code the image spans across both columns but on a new page at the end of the document

    how can I fix this

    Thank you
    0
  3. sebyazid
     
    Here is an example

    \usepackage{graphicx}
    \usepackage{float}

    \begin{figure*}[H]
    \centering
    \includegraphics[width=0.6\textwidth]{Figures/FormatResolutionH264.eps}
    \caption{CIF format, defined by ITU, and its derived formats}
    \label{Fig.ResolutionIUT}
    \end{figure*}

    Yazid
    0
    1. Torkomani21
       
      It doesn't work with this code, my image is no longer displaying.
      I'm using: \documentclass[a4paper,twocolumn]{article}
      0