lilypond-user
[Top][All Lists]
Advanced

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

Re: laying out plainsong chant


From: Noeck
Subject: Re: laying out plainsong chant
Date: Sat, 12 Oct 2013 22:12:31 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0

Hi Gabe,

please always reply to the list, because others might also be interested
and in this case I can't help much.

Here is a parametrized version of \longbar which puts it on the line
number pos. However with odd numbers, ledger lines are drawn for the
rest and it looks different. I don't know how to handle this.

The optimal function could be used in this way:
  a\longbar instead of \longbar -2
But I don't know how to do that.

Cheers,
Joram


\version "2.17.26"


longbar = #(define-music-function (parser location pos) (number?)
  #{
  \override Rest #'font-size = #4
  \override Rest #'staff-position = #pos
  r2*1/4
  \once \override Rest #'extra-offset = #'(-1.3 . 0)
  r2*1/4
  \revert Rest #'font-size
  \revert Rest #'staff-position
  #})


%usage (example)
{
  \cadenzaOn
  r4 \longbar -2 \longbar 2 \longbar 1 r4
}




reply via email to

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