From 724b8035685a803d61cbddb8be67d88e65adce34 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@tutamail.com>
Date: Thu, 31 Dec 2020 14:55:51 +0100
Subject: [PATCH] make sidejpg give better placement

---
 config/bind.sty | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/config/bind.sty b/config/bind.sty
index 10e6525c..e25ec871 100644
--- a/config/bind.sty
+++ b/config/bind.sty
@@ -138,11 +138,13 @@ bookmarks=true]%
 
 \newcommand{\sidejpg}[3][5]{
 	\iftoggle{verbose}{
-		\begin{wrapfigure}{O}{.#1\linewidth}
-			\noindent\includegraphics[width=\linewidth]{images/#2}
+		\needspace{8em}
+		\begin{wrapfigure}{R}{.#1\linewidth}
+			\includegraphics[width=\linewidth]{images/#2}
 		#3
 	\end{wrapfigure}
 }
+\noindent
 }
 
 \colorlet{chapnumcol}{black!55}
-- 
GitLab