[PATCH] qqz.sty: Permit column/page break in front of Quick Quiz heading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 2c4fd06827d075a04c157d150cf036db1615f268 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Sun, 1 Mar 2020 21:47:45 +0900
Subject: [PATCH] qqz.sty: Permit column/page break in front of Quick Quiz heading

It turned out that the definition of \QuickQuiz needs an explicit
hint (\goodbreak) for LaTeX to be able to break column/page in front
of it.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 qqz.sty | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qqz.sty b/qqz.sty
index eda6dc31..4dd411f6 100644
--- a/qqz.sty
+++ b/qqz.sty
@@ -34,7 +34,7 @@
 	}
 \newcommand{\QuickQuiz}[1]{
 	\refstepcounter{quickquizctr}
-	\QuickQHeading{QQ}{QQA}{\thechapter.\thequickquizctr}}
+	\goodbreak\QuickQHeading{QQ}{QQA}{\thechapter.\thequickquizctr}}
 \newcommand{\QuickQuizAnswer}[1]{%
 	\refstepcounter{quickquizctrE}%
 	\hyperref[QQA.\thechapter.\thequickquizctr]{\rule{7pt}{7pt}}%
-- 
2.17.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux