lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Staff Centre Vertical Alignment on page?


From: Stefano Antonelli
Subject: Re: Staff Centre Vertical Alignment on page?
Date: Wed, 20 Dec 2023 01:46:04 +0000
User-agent: Evolution 3.36.5-0ubuntu1

On Tue, 2023-12-19 at 19:28 -0500, Kieren MacMillan wrote:
> It would really help if you provided a minimal working example (MWE),
> so those of us with an impulse to try to assist you don’t have to try
> to invent one ourselves…

Many apologies.  I didn't think an MWE was required to address the
question.  See below and also attached.  Run with:

$ lilypond --png -dresolution=300 mwe.ly

and 'flip' through the resulting pngs.

There are two commented lines in the \paper block.  One to annotate the
spacing, the other to line up the middle staff line to the centre of
the page.

\header {
    tagline = ##f
}

music = {
  \relative c'' \repeat unfold 3 {
    c4 c c c \break
  }
}

\score {
    \new Staff \music
    \layout { }
}

#(set! paper-alist (cons '("vid-line" .
    (cons (* 90 mm) (* 26 mm))) paper-alist))

\paper {
    #(set-paper-size "vid-line")
    print-page-number = ##f
    indent = 0.0
    short-indent = 0.0
%    top-system-spacing.basic-distance = #6
    top-margin = 0.0
    bottom-margin = 0.0
%    annotate-spacing = ##t 
}

Attachment: mwe.ly
Description: mwe.ly


reply via email to

[Prev in Thread] Current Thread [Next in Thread]