Skip to content

Quick Quiz layout update

Akira Yokosawa perfbook 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qqz: Add script to reorder lines in qqz.texutilities/qqzreorder.pl+88 -00 replies
2/3Makefile: Use qqzreorder.pl in qqz.tex targetMakefile+1 -10 replies
3/3qqz.sty: Tweak \vspace{} parameterqqz.sty+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Quick Quiz layout update

From 6da1b01ee71e53c559a73e20686eabe67ba23935 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
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

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
Signature · 1 line
2.7.4