lilypond-user
[Top][All Lists]
Advanced

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

how to get y-extent for tuplet number


From: Stefan Thomas
Subject: how to get y-extent for tuplet number
Date: Wed, 22 Aug 2018 12:37:58 +0200

Dear community,
I have a problem with the spacing between the piano staff for the left hand and the violin staff.
I would like to increase the distance.
Off course, I could do it generally, but I would like to do it for just a few measures.
I tried it by changing the minimun-Y-extent for tupletnumber and tuplet bracket, but this didn't work.
Is there another way to get the desired output?
Thanks for Your help!
Stefan
 %%%%%%%%%%%%% SNUPPET
\version "2.18.2"
% \include"bibliotheken.ly"
% definitions
\include"deutsch.ly"
re = { \change Staff = rechts }
li = { \change Staff = links }

rokt = #(define-music-function (parser location x) (ly:music?)
     #{ \re
    \context Voice <<        $x \transpose c c' { $x } >>
     #})
lokt = #(define-music-function (parser location x) (ly:music?)
     #{ \li
    \context Voice <<        $x \transpose c c, { $x } >>
     #})

rechts = { \ottava #2
 \tupletSpan 4 \tuplet 5/4 { \rokt h'''16 \lokt  as'''8 g'''  fis'''16   \rokt b''' \li a'''  \rokt as'''8
     \lokt  f'''16
       \rokt b'''4 \rokt h'''16 \li fis''' g''' \rokt b''' \li a''' }
}

links = {  \ottava #1 s1 }
Violin = { \ottava #1 h'''8( as'''8  g''' b''' a''' as''' f''' h''' )}
\score {
<<
\new PianoStaff  = "Klavier" 
        <<
        \new Staff= "rechts" { \rechts }
           \new Staff = "links" { \links} >>   

\new Staff \Violin
>>
}
%%%%%%%%%%%%% ENDE SNIPPET

reply via email to

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