lilypond-user
[Top][All Lists]
Advanced

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

Re: Jazz chords layout question


From: Robin Bannister
Subject: Re: Jazz chords layout question
Date: Sat, 13 Jul 2019 12:33:59 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Jacques Menu wrote:

        - how can I ‘push’ the beginning of the seconda volta to the middle of 
the line?

You could try a recent hack of mine.

%%%%%%%%%%%%%%%%%%%%%%%%%%
% cheap alternative to \new Score;  fragile wrt. Y positioning
pseudoIndent =
#(define-music-function (parser location indent) (number?)
#{
   %    \once \override Score.BarNumber.X-offset = #(- indent 2)
   \once \override Score.LeftEdge.X-extent = #(cons 0 indent)
   \once \override Score.LeftEdge.Y-offset = 0
   \once \override Score.LeftEdge.stencil =
   #(lambda (grob) (stencil-whiteout-box
   (ly:make-stencil empty-stencil  (cons 0 indent) (cons -3 3))))
#})
%%%%%%%%%%%%%%%%%%%%%%%%%%

Apply at the line break  eg  \break \pseudoIndent #77



Cheers,
Robin




reply via email to

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