Graphics, Figures & Tables ⇒ Wrapfigures beneath section headings
Wrapfigures beneath section headings
As a partial solution I changed to floating figures (which are not really ideal for what I want), but now I have difficulty with LaTeX breaking pages between the section heading and the wrapfigure/text that ensues. I'd much rather a bad pagebreak than this... does anyone have a simple solution? I tried needspace and it works, but its very ad hoc since when I tried to preface every section heading with needspace{1in} (intending that needspace could just be a substitute for wrapfigures lack of space intuition) I learned that when the break isn't actually inserted, needspace inserts whitespace! Looking at the documentation there doesn't seem to be a way to stop this. I assume it happens because needspace doesn't contemplate a section heading being the following line? Not sure. In any event it's not a general solution, just one that if desperate I could use the day before I submit my thesis, for example, to fix all the bad breaks visible on that compile...
Any help would be greatly appreciated.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Wrapfigures beneath section headings
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Wrapfigures beneath section headings
Code: Select all
\documentclass{book}
\usepackage{color,graphicx}
\usepackage{float}
\usepackage{wrapfig}
\title{Thesis}
\author{}
\begin{document}
\chapter{Experimental}
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff.
\subsection{Toluenesulfonic acid 2-azidoethyl ester}
\begin{wrapfigure}{L}{0.18\textwidth}
\includegraphics[scale=0.65]{img.eps}
\end{wrapfigure}
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed. In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
\subsection{Toluenesulfonic acid 2-azidoethyl ester}
\begin{wrapfigure}{L}{0.18\textwidth}
\includegraphics[scale=0.65]{img.eps}
\end{wrapfigure}
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed. In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
\end{document}
Code: Select all
\documentclass{book}
\usepackage{color,graphicx}
\usepackage{float}
\usepackage{wrapfig}
\title{Thesis}
\author{}
\begin{document}
\chapter{Experimental}
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
\subsection{Toluenesulfonic acid 2-azidoethyl ester}
\begin{wrapfigure}{l}{0.18\textwidth}
\includegraphics[scale=0.65]{img.eps}
\end{wrapfigure}
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed. In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
\subsection{Toluenesulfonic acid 2-azidoethyl ester}
\begin{wrapfigure}{L}{0.18\textwidth}
\includegraphics[scale=0.65]{img.eps}
\end{wrapfigure}
In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed. In our previous papers, we reported the palladium-catalyzed cross-coupling reaction of stuff. The compounds are readily accessible by hydroboration of alkenes and alkynes, the stereochemistry of 1-alkenyl groups both on boron and halides are completely retained in the products, many functional groups including ester, ketone, and aldehyde are tolerated, and high turnovers of the palladium catalysts are observed.
\end{document}
I've had several private messages from people having the same problem so any help would be greatly appreciated.
- Attachments
-
- img.eps
- (14.6 KiB) Downloaded 346 times
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Wrapfigures beneath section headings
welcome to the board!
If you post a question to several boards or forums (crossposting), please always mention that with a link, to prevent double work such as if people still try to help and it's already been solved in another forum.
Here's that topic with an answer: Wrapfigures beneath section headings misbehave.
Stefan