# Wrapfig with sidecaption (floatrow) - How to get text wrapped around a sidecaption and image?

I'm writing my PhD thesis, and for my experimental setup page, I want to put a page-long image of my cryogenic insert. It's a figure with length of \textheight and width of approximately 0.1\textwidth. For the caption, I'd like to use sidecap, since my figure is too long and narrow for the caption to fit underneath it. However, if I just use \fcapside from the floatrow package, it will stretch out the caption to fit the entire text height, having only one word on each line and looking very ugly.

My idea is to let the picture span the entire height of the page, and to have the caption be a small box on the side containing the description, all the text wrapping around.

How do I do such a thing?

Here is a picture of roughly what I want:

• I would put the side image using minpages, and use wrapfig only for the caption. The only problem here is whether you have paragraphs breaking at the beginning and end of the page. – John Kormylo Oct 31 '17 at 14:34
• I tried to do this using minipages, but this shifted the figure to the following two pages, messing up everything with it. Furthermore, I do have these paragraphs breaking here. – Blokmeister Nov 1 '17 at 10:17

I came up with a solution using geometry and marginpar. I redefined the textwidth and marginparwidth. I then added the figure in a \marginpar environment and used a wrapfig environment for the caption.

\newgeometry{textwidth=10cm,marginparwidth=45pt}
\subsection{Remote operation and automation}

\marginpar{
\includegraphics[height=\textheight]{cutout.png}
}

\begin{wrapfigure}{L}{.4\textwidth}
\caption{Picture of the low noise insert used in this research.}
\label{fig:insertpicture}
\end{wrapfigure}


The only thing I didn't get right was to end the \newgeometry after the current page by using \afterpage{\restoregeometry}. I found some questions about it, and decided to just leave that alone. I now \restoregeometry after the section and use the extra space to add an extra picture.

• I would give a +1 if this were testable. Like an MWE, it should start with \documentclass and end with \end{document}. – John Kormylo Nov 1 '17 at 12:01