## LaTeX forum ⇒ Page Layout ⇒ Figure Placement in Flow Frames Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Posts: 3
Joined: Wed Aug 28, 2013 11:16 pm

### Figure Placement in Flow Frames

I am trying to put a figure in a flow frame using the flowfram package. I do not want to use a static figure (I know about staticfigure, but I tried that and it created a different problem). I would like my first flow frame to contain just my figure and nothing else. Here is a minimum working example:
\documentclass{article}\usepackage[margin=.5in]{geometry}\geometry{letterpaper}\usepackage{graphicx}\usepackage{flowfram} \newflowframe*{4.5in}{4.5in}{3in}{5in}\newflowframe*{1.5in}{9.5in}{0in}{0in}\newflowframe*{1.5in}{9.5in}{1.5in}{0in}\newflowframe*{1.5in}{5in}{3in}{0in}\newflowframe*{1.5in}{5in}{4.5in}{0in}\newflowframe*{1.5in}{5in}{6in}{0in} \begin{document}   \setlength{\flowframesep}{0pt}    \begin{figure}     \centering     \includegraphics[width=4.45in, height=4.45in]{crossword_grid_cropped.pdf}   \end{figure} Here is the text that I want to appear in the frame in the upper left hand corner, which is the second frame defined. \end{document}

When I compile my document with just the figure, it appears in the correct frame. However, when I try to add text after the figure (which I intend to have flow to the next frame), the text appears in the first frame, and the figure gets displaced to a different frame (hard to tell which one since it doesn't fit properly in the other frames).
Last edited by Stefan Kottwitz on Thu Aug 29, 2013 12:08 am, edited 1 time in total.

Tags:

nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am
Figures are floats, so they're governed by certain rules, such as the proportion of text per float to a page. (Each flow frame is a "page" from TeX's point of view.) What problem are you having with staticfigure? If you just want the figure in the first frame, with no text the following works fine for me.

    \documentclass{article}     \usepackage[margin=.5in]{geometry}     \geometry{letterpaper}     \usepackage[demo]{graphicx}     \usepackage{flowfram}      \newflowframe*{4.5in}{4.5in}{3in}{5in}     \newflowframe*{1.5in}{9.5in}{0in}{0in}     \newflowframe*{1.5in}{9.5in}{1.5in}{0in}     \newflowframe*{1.5in}{5in}{3in}{0in}     \newflowframe*{1.5in}{5in}{4.5in}{0in}     \newflowframe*{1.5in}{5in}{6in}{0in}      \begin{document}       \setlength{\flowframesep}{0pt}        \begin{staticfigure}         \centering         \includegraphics[width=4.45in, height=4.45in]{crossword_grid_cropped.pdf}       \end{staticfigure}      \framebreak      Here is the text that I want to appear in the frame in the upperleft hand corner, which is the second frame defined.      \end{document}

In fact, since you don't have a caption, you can dispense with the environment altogether.

Regards
Nicola Talbot