Hi,
On Tue, Feb 3, 2015 at 10:30 PM, Kieren MacMillan <
[email protected]> wrote:
> Hello all,
>
> I have a single chord in the last measure of my piece — unfortunately, it
> isn’t centered by default:
>
> \version "2.19.15"
> testing = { c''4 c'' c'' c'' | c''1 \bar "|." }
> \layout { ragged-right = ##f }
> \score { \testing }
>
> 1. How can I fix this?
For the sake of completeness: full-measure-extra-space is a useful property
which you can override for situations when a single note fills a measure.
Note the seemingly early placement: it has to be before the paper column
(think barline) before the note you want to give a lead-off. Any centering
would be trial-and-error, so there's a need for something automatic. (The
numbers needed for your snippet are a bit ridiculous.) It also works with
\offset, in case you don't want to look up the default of 1.0.
\version "2.19.15"
testing = {
c''4 c'' c''
\override Score.NonMusicalPaperColumn.full-measure-extra-space = 18
%\offset full-measure-extra-space 17 Score.NonMusicalPaperColumn
c'' |
c''1 \bar "|."
}
\layout { ragged-right = ##f }
\score { \testing }
--David
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user