LaTeX forum ⇒ Graphics, Figures & TablesTwocolumns and really centered images with text-wrap

Information and discussion about graphics, figures & tables in LaTeX documents.
Natan
Posts: 4
Joined: Fri Oct 23, 2020 2:53 pm

Twocolumns and really centered images with text-wrap

Postby Natan » Sun Jan 10, 2021 3:04 pm

Hey,
for a newspaper (also using newspaper package) I would like to center an image in the top or bottom of the page. It should be centered in a way that it overlaps with both columns and the text should wrap around it.

You can see something similar here:
https://creativepro.com/the-dual-text-wrap-dilemma/
but for my purpose it doesn't have to wrap perfectly around the image but wrapping around a rectangle and the image is placed within that rectangle would be enough.

I can't really give you a great minimal working example, since I don't really know where to start, but I can give you a starting point (showing some possibilities when working with images and multicols):
\documentclass[a4paper]{article}
\usepackage{multicol}
\usepackage[demo]{graphicx}
\usepackage{kantlipsum}
\newenvironment{Figure}
{\par\medskip\noindent\minipage{\linewidth}}
{\endminipage\par\medskip}
\begin{document}

\begin{multicols}{2}
\kant[1]
\begin{Figure}
\centering
\includegraphics[width=\linewidth]{foo}
\end{Figure}

\kant[2-3]
\begin{figure*}
\centering
\includegraphics[width=\linewidth]{foo}
\end{figure*}
\kant[4-5]
\end{multicols}

\end{document}


(I apologize for the ugly drawing)
Attachments
idea.png
Shows a very basic graphical example
idea.png (104.92 KiB) Viewed 80 times

Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 6 guests