lilypond-user
[Top][All Lists]
Advanced

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

Re: Broken brackets for annotations


From: Marc Hohl
Subject: Re: Broken brackets for annotations
Date: Thu, 14 Nov 2013 11:53:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Am 14.11.2013 09:50, schrieb David Kastrup:
Marc Hohl <address@hidden> writes:

Here is what I coded:

Not really.  You are mixing note languages in here; this would never
have worked.  Please test your examples before posting.

Now the last f,, should be marked with a broken bracket to be connected
with the first fis,, linke in the attached picture (which is done with
Gimp).

How can I achieve that without having to use Gimp, inkscape or similar
external tools?

Ligatures?  Seems like the tool to use here.

Thanks, that works better, but there is no way to code broken
ligatures out-of-the-box, as shown in the picture.

Fortunately, a quick glimpse into the internals reference helps to find
the following solution:

\language "english"

UebungZwei = {
  \key fs \major
  \time 4/4
  \once \override LigatureBracket.edge-height = #'(0.0 . 0.7)
  \once \override LigatureBracket.shorten-pair = #'(-3.0 . -0.2)
  \[ fs,,4 \] r r \[ c, |\break cs,?4 \] r r2 | gs,,4 r r2 |
  \override LigatureBracket.edge-height = #'(0.7 . 0.0)
  \override LigatureBracket.shorten-pair = #'(-0.2 . -3.0)
   b,,4 r r \[ f,, \]
  \bar ":|."
}

\score {
  <<
    \new Staff {
      \new Voice \with {
        \remove "Forbid_line_break_engraver"
        \override Beam #'breakable = ##t
      }
      {
      \clef "bass_8"
      \UebungZwei
    }
    }
    \new TabStaff {
      \set TabStaff.stringTunings = #bass-tuning
      \clef "moderntab"
      \UebungZwei
    }
  >>
}

Thanks,

Marc




reply via email to

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