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: Martin Kemp
Subject: Re: how to get half-bar used in Bach Music?
Date: Wed, 24 Nov 2010 08:59:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.6

Much neater, thank you.

M



On 11/22/2010 12:03 PM, Alexander Kobel wrote:
[ 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]