From 3e66659618ed07f856c076306f63b39434b1e6f1 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Thu, 12 Oct 2017 14:50:51 +0100 Subject: [PATCH] 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. --- docsetup.A4.tex | 2 ++ docsetup.A5.tex | 2 ++ docsetup.Nook.tex | 2 ++ dottes.tex.tune | 3 ++- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docsetup.A4.tex b/docsetup.A4.tex index e2d1d22..1fde6c9 100644 --- a/docsetup.A4.tex +++ b/docsetup.A4.tex @@ -38,3 +38,5 @@ % Page appearance. \newcommand*{\pagestylemod}{} +\newcommand*{\tunestart}{} +\newcommand*{\tuneend}{\vfill} diff --git a/docsetup.A5.tex b/docsetup.A5.tex index 2b1bf6f..d4dd82c 100644 --- a/docsetup.A5.tex +++ b/docsetup.A5.tex @@ -36,3 +36,5 @@ % Page appearance. \newcommand*{\pagestylemod}{} +\newcommand*{\tunestart}{\newpage \topskip0pt \vspace*{\fill}} +\newcommand*{\tuneend}{\vspace*{\fill}} diff --git a/docsetup.Nook.tex b/docsetup.Nook.tex index 6e0d4a7..7c42eda 100644 --- a/docsetup.Nook.tex +++ b/docsetup.Nook.tex @@ -24,3 +24,5 @@ \newcommand*{\pagestylemod}{\begingroup \cfoot{} \endgroup} +\newcommand*{\tunestart}{\newpage \topskip0pt \vspace*{\fill}} +\newcommand*{\tuneend}{\vspace*{\fill}} diff --git a/dottes.tex.tune b/dottes.tex.tune index ea1ac6e..65631d2 100644 --- a/dottes.tex.tune +++ b/dottes.tex.tune @@ -1,5 +1,6 @@ +\tunestart \showtune{$name}{$title}{$subtitle}{$fulltitle}{$tradition}{$composer}{$parts}{$graphicsdir/$name} $notes $history -\vfill +\tuneend