On Mon, Jan 09, 2017 at 11:37:57PM +0900, Akira Yokosawa wrote: > >From 6da1b01ee71e53c559a73e20686eabe67ba23935 Mon Sep 17 00:00:00 2001 > From: Akira Yokosawa <akiyks@xxxxxxxxx> > Date: Mon, 9 Jan 2017 23:09:24 +0900 > Subject: [PATCH 0/3] Quick Quiz layout update > > Hi Paul, > > This patch set improves layout of Appendix "Answers to Quick Quizzes". > White boxes at the end of answers sometimes become "orphans". > This happens when an answer finishes with an "enumerate" or "figure" > environment. As an end of these environments is treated as a page/column > break candidate, a white box just after the end of an environment tends to > become an orphan (single symbol at the top of next page/column). > > To prevent this, white boxes can be moved to just after the final item > of "enumerate" environments. Or they can be moved to just after the final > paragraph before "figure" environments. > > I wrote a script to do this (Patch 1), and incorporated it into the rule of > target "qqz.tex" (Patch 2). Patch 3 tweaks vertical space parameters for > a better look of the Appendix I queued this and pushed it, let's see what people think. It does make the answers ending in a list look better, though I am wondering whether ending an answer with a list is the right thing for me to be doing. ;-) Thanx, Paul > Thanks, Akira > -- > Akira Yokosawa (3): > qqz: Add script to reorder lines in qqz.tex > Makefile: Use qqzreorder.pl in qqz.tex target > qqz.sty: Tweak \vspace{} parameter > > Makefile | 2 +- > qqz.sty | 6 ++-- > utilities/qqzreorder.pl | 88 +++++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 92 insertions(+), 4 deletions(-) > create mode 100644 utilities/qqzreorder.pl > > -- > 2.7.4 > -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html