[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    how to get y-extent for tuplet number
From:       Stefan Thomas <kontrapunktstefan () gmail ! com>
Date:       2018-08-22 10:37:58
Message-ID: CAH-WrMF62W3w5Si8DCbyQ7_M8fVz8R+TnECNDfgMhOfCMfmkQw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div dir="ltr">Dear community,<br>I have a problem with the spacing between the piano \
staff for the left hand and the violin staff.<br>I would like to increase the \
distance.<br>Off course, I could do it generally, but I would like to do it for just \
a few measures.<br>I tried it by changing the minimun-Y-extent for tupletnumber and \
tuplet bracket, but this didn&#39;t work.<br>Is there another way to get the desired \
output?<br>Thanks for Your help!<br>Stefan<br>  %%%%%%%%%%%%% SNUPPET<br>\version \
&quot;2.18.2&quot;<br>% \include&quot;<a \
href="http://bibliotheken.ly">bibliotheken.ly</a>&quot;<br>% \
definitions<br>\include&quot;<a href="http://deutsch.ly">deutsch.ly</a>&quot;<br>re = \
{ \change Staff = rechts }<br>li = { \change Staff = links }<br><br>rokt = \
#(define-music-function (parser location x) (ly:music?)<br>         #{ \re<br>       \
\context Voice &lt;&lt;               $x \transpose c c&#39; { $x } &gt;&gt;<br>      \
#})<br>lokt = #(define-music-function (parser location x) (ly:music?)<br>         #{ \
\li<br>       \context Voice &lt;&lt;               $x \transpose c c, { $x } \
&gt;&gt;<br>         #})<br><br>rechts = { \ottava #2 <br>  \tupletSpan 4 \tuplet 5/4 \
{ \rokt h&#39;&#39;&#39;16 \lokt   as&#39;&#39;&#39;8 g&#39;&#39;&#39;   \
fis&#39;&#39;&#39;16     \rokt b&#39;&#39;&#39; \li a&#39;&#39;&#39;   \rokt \
as&#39;&#39;&#39;8 <br>         \lokt   f&#39;&#39;&#39;16 <br>             \rokt \
b&#39;&#39;&#39;4 \rokt h&#39;&#39;&#39;16 \li fis&#39;&#39;&#39; g&#39;&#39;&#39; \
\rokt b&#39;&#39;&#39; \li a&#39;&#39;&#39; }<br>}<br><br>links = {   \ottava #1 s1 \
}<br>Violin = { \ottava #1 h&#39;&#39;&#39;8( as&#39;&#39;&#39;8   g&#39;&#39;&#39; \
b&#39;&#39;&#39; a&#39;&#39;&#39; as&#39;&#39;&#39; f&#39;&#39;&#39; h&#39;&#39;&#39; \
)}<br>\score { <br>&lt;&lt;<br>\new PianoStaff   = &quot;Klavier&quot;   <br>         \
&lt;&lt; <br>              \new Staff= &quot;rechts&quot; { \rechts }<br>             \
\new Staff = &quot;links&quot; { \links} &gt;&gt;       <br><br>\new Staff \
\Violin<br>&gt;&gt;<br>}<br>%%%%%%%%%%%%% ENDE SNIPPET<br></div>



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic