changeset 738:69a7499817c8 build-default-284

On Nook and A5 prints, start a new page with each tune and centre vertically.. A5 mostly did, but ran into trouble with longer comments on a tune. This may give blank space after tunes where a long comment overflows onto another page, but I think for now it's better to have each tune at the top of the page. Or rather, and this is the other change, in the middle of the page. Centre the page content for A5 and Nook.
author Jim Hague <jim.hague@acm.org>
date Thu, 12 Oct 2017 14:50:51 +0100
parents 899803739400
children 8e18cc5ef48e
files docsetup.A4.tex docsetup.A5.tex docsetup.Nook.tex dottes.tex.tune
diffstat 4 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/docsetup.A4.tex	Thu Oct 12 14:48:26 2017 +0100
+++ b/docsetup.A4.tex	Thu Oct 12 14:50:51 2017 +0100
@@ -38,3 +38,5 @@
 
 % Page appearance.
 \newcommand*{\pagestylemod}{}
+\newcommand*{\tunestart}{}
+\newcommand*{\tuneend}{\vfill}
--- a/docsetup.A5.tex	Thu Oct 12 14:48:26 2017 +0100
+++ b/docsetup.A5.tex	Thu Oct 12 14:50:51 2017 +0100
@@ -36,3 +36,5 @@
 
 % Page appearance.
 \newcommand*{\pagestylemod}{}
+\newcommand*{\tunestart}{\newpage \topskip0pt \vspace*{\fill}}
+\newcommand*{\tuneend}{\vspace*{\fill}}
--- a/docsetup.Nook.tex	Thu Oct 12 14:48:26 2017 +0100
+++ b/docsetup.Nook.tex	Thu Oct 12 14:50:51 2017 +0100
@@ -24,3 +24,5 @@
 \newcommand*{\pagestylemod}{\begingroup
 \cfoot{}
 \endgroup}
+\newcommand*{\tunestart}{\newpage \topskip0pt \vspace*{\fill}}
+\newcommand*{\tuneend}{\vspace*{\fill}}
--- a/dottes.tex.tune	Thu Oct 12 14:48:26 2017 +0100
+++ b/dottes.tex.tune	Thu Oct 12 14:50:51 2017 +0100
@@ -1,5 +1,6 @@
+\tunestart
 \showtune{$name}{$title}{$subtitle}{$fulltitle}{$tradition}{$composer}{$parts}{$graphicsdir/$name}
 $notes
 
 $history
-\vfill
+\tuneend