lilypond-user
[Top][All Lists]
Advanced

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

Re: Ugly volta brackets


From: Stan Sanderson
Subject: Re: Ugly volta brackets
Date: Thu, 12 Jul 2007 14:26:09 -0500

Dominic-

My apologies for not having seen the previous thread, but
the following  changes to your code appear (to me) to resolve
the clash...

Stan

On Jul 12, 2007, at 2:02 PM, Dominic Neumann wrote:

Hi again,

I´m still searching for a way to solve this problem. Is there anyone
who has an idea how to tweak lilypond?

Dominic

2007/3/15, Dominic Neumann <address@hidden>:
okay, sorry for not posting an example. It´s not that easy to find a
simple one, because in the simple situations there´s no problem with
the brackets. I already included the tipp for question 3 and it works
good.

There´s a problem with the collision of the bracket numbers and the chordnames.

%%% BEGIN OF CODE %%%

\version "2.10.19"

harmonies = {
   \chordmode { \set majorSevenSymbol = \markup { "maj7" }
       b1:7 c:maj7 d c:maj7 c:maj7 d d
   }
}

\score {
   {
       <<
       \new ChordNames \with {
           chordChanges = ##t
           voltaOnThisStaff = ##t
           \consists Bar_engraver
%%%
%%           \override VoltaBracket #'minimum-space = #0
%%%
       } \harmonies
       \new Staff \with {
           voltaOnThisStaff = ##f
       }
       \relative c'' {
%%% Added: #5.0 is the default; adjust as needed.
\override Staff.VoltaBracket #'minimum-space = #5.5
%%%

           \repeat volta 2 {
               a4. g4. fis4
           }
           \alternative {
               {
                   % first ending
                   g4 r8 g4 r8 g4
                   a4 r4 r2
               }
               {
\set Score.repeatCommands = #'((volta "2.-3.") end-repeat)
                   % 2nd and 3rd ending
                   g1~
                   g2 r4. g8
                   g a a r8 r2
                   r1
               }
           }
           \bar ":|"
       }

       >>
   }
}

%%% END OF CODE %%%

hope, anyone can help ...

Dominic




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user



Stan






reply via email to

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