lilypond-user
[Top][All Lists]
Advanced

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

Re: how to get half-bar used in Bach Music?


From: Alexander Kobel
Subject: Re: how to get half-bar used in Bach Music?
Date: Mon, 22 Nov 2010 13:03:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

[ with cc to lilypond-user; please keep the discussions on the mailing list, others might have the same problems and can find the solutions in the mailing list archives ]

On 2010-11-22 12:38, Martin Kemp wrote:
I've just been struggling with this too. All else having failed, I faked
it by using an invisible bar line and adding:

\once \override TextScript #'extra-offset = #'(-1 . 3.5) c8_\markup {
\musicglyph #"rests.M2mensural" }

Woah, that's some ugly hack...
Again, I don't see the need for this - I just tested the following, and it works just perfect for me (use \halfBar to make a "real" bar line at the end of a measure appear smaller, and \halfAddBar to insert a "fake" barline of half the usual extent). If it doesn't in your setting, could you give a small compiling example to show the problem?

halfBar = \once \override Staff . BarLine #'bar-size = #2
halfAddBar = { \halfBar \bar "|" }

\relative c' {
  c4 c \halfAddBar c c \halfBar |
  c c c c |
}


Cheers,
Alexander



reply via email to

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