Skip to contentSkip to conversation

howto: Fix uneven space due to uncommented line break in \IfQqzChpEnd

PATCH Applied Akira Yokosawa 2 participants 2 messages Mar 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 howto: Fix uneven space due to uncommented line break in \IfQqzChpEnd

These line breaks cause extra space at

"... found in the final"
^^

in -nq build and

"... found in Appendix E"
^^

in the other builds.

Fix them by commenting line breaks within the macro.

---
 howto/howto.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
howto/howto.tex +2 -2
index 8f06d3f3..ad63a586 100644
@@ -148,12 +148,12 @@ the next section.
 
 ``Quick quizzes'' appear throughout this book, and the answers may
 be found in
-\IfQqzChpEnd{
+\IfQqzChpEnd{%
 the final section of each chapter.\footnote{
 	In the official release/edition of this book, all the answers are
 	gathered in an Appendix.
 }
-}{
+}{%
 \cref{chp:Answers to Quick Quizzes} starting on
 \cpageref{chp:Answers to Quick Quizzes}.
 }
Signature · 1 line
2.17.1
#1 lore raw
Quoted 7 lines · Akira Yokosawa

These line breaks cause extra space at

"... found in the final"
^^

in -nq build and

Quoted 8 lines

"... found in Appendix E"
^^

in the other builds.

Fix them by commenting line breaks within the macro.

Queued and pushed, thank you!

Thanx, Paul

Quoted 26 lines
---
 howto/howto.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
howto/howto.tex +2 -2
index 8f06d3f3..ad63a586 100644
@@ -148,12 +148,12 @@ the next section.
 
 ``Quick quizzes'' appear throughout this book, and the answers may
 be found in
-\IfQqzChpEnd{
+\IfQqzChpEnd{%
 the final section of each chapter.\footnote{
 	In the official release/edition of this book, all the answers are
 	gathered in an Appendix.
 }
-}{
+}{%
 \cref{chp:Answers to Quick Quizzes} starting on
 \cpageref{chp:Answers to Quick Quizzes}.
 }
Signature · 1 line
2.17.1