How can I wrap text around images in my LaTeX articles?

  • Thread starter Thread starter ehrenfest
  • Start date Start date
  • Tags Tags
    Images Text
Click For Summary
SUMMARY

This discussion addresses the issue of wrapping text around images in LaTeX articles using the figure environment. The user employs the command \begin{figure}[htp] and \includegraphics to insert images but encounters problems with images being cut off when placed near the bottom of a page. A solution is referenced from a Wikibooks link that provides guidance on wrapping figures, which is essential for optimizing layout in LaTeX documents.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of the figure environment in LaTeX
  • Knowledge of the \includegraphics command from the graphicx package
  • Basic concepts of page layout and float management in LaTeX
NEXT STEPS
  • Research the use of the wrapfig package for advanced text wrapping around figures
  • Explore the LaTeX float package to manage figure placements more effectively
  • Learn about the \clearpage command to control page breaks and figure placements
  • Investigate the use of the \caption command for adding captions to wrapped figures
USEFUL FOR

LaTeX users, technical writers, and researchers looking to enhance the presentation of images within their documents while maintaining a professional layout.

ehrenfest
Messages
2,001
Reaction score
1
[SOLVED] wrapping text around images

\begin{figure}[htp]
\centering
\includegraphics[totalheight=0.2\textheight]{figure.jpg}
\end{figure}

I am using the above instructions to put images in my latex articles. However they take up a lot of space. How can I make the text wrap around them?
 
Computer science news on Phys.org
Yes that is what I was looking for. One problem though. When I insert a picture near the end of a page, the compiler apparently fails to recognize that places then the picture gets cut off at the bottom of the page and the lower part does not even appear at the top of the next page. Does anyone know how to fix that?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 7 ·
Replies
7
Views
9K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 11 ·
Replies
11
Views
16K
Replies
2
Views
9K