From 6ffa74b41b47cbe3f51cdba057670e40af22488a Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@tutamail.com>
Date: Sun, 28 Feb 2021 21:29:36 +0100
Subject: [PATCH] increase \needspace in \pics

---
 bind.sty | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bind.sty b/bind.sty
index 3b1a88c9..ee2f5864 100644
--- a/bind.sty
+++ b/bind.sty
@@ -217,6 +217,7 @@ bookmarks=true]%
 \newcommand{\headingtype}{CHAPTER}
 
 \newcommand{\pic}[1]{
+	\needspace{4cm}
 	\noindent%
 	\IfFileExists{images/#1.svg}{%
 		\noindent\includesvg[width=\linewidth]{images/#1}
@@ -227,7 +228,8 @@ bookmarks=true]%
 }
 
 \newcommand{\sidepic}[3][5]{
-	\needspace{2cm}\begin{wrapfigure}{R}{.#1\linewidth}
+	\needspace{4cm}
+	\begin{wrapfigure}{R}{.#1\linewidth}
 	\noindent%
 	\IfFileExists{images/#2.svg}{%
 		\includesvg[width=\linewidth]{images/#2}
-- 
GitLab