lilypond-user
[Top][All Lists]
Advanced

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

Re: Rest after/while cueDuring


From: Thomas Morley
Subject: Re: Rest after/while cueDuring
Date: Sun, 18 Dec 2011 22:42:59 +0100

Hi,

2011/12/18 C.Flothow <address@hidden>:
> The following turned up when I tried to print out the part of the first
> violin in a Christmas piece. I'm not shure whether the players can cope with
> that but it would be nice if everything looked "normal".
> I've tried a few things and did not succeed and I've found nothing in the
> docs. (And I need the thing tomorrow)
>
> How can I move the quarter rest for the violin to its normal place?
>
> % =======================================
>
> \version "2.14.0"
>
> Viola = \relative c' { \key g \major
>        s2 r4 d8. c16|
>        b4 b
>        a8. g16 a4|
>        g2| }
>
> \addQuote "Now"  {\Viola}
>
> violinMusic = \relative c'' { \key g \major
>       R1*2|
>       r4 g
>       d' d      }
>
> formatierung  = {
>        \new Voice { \set fontSize = #-4
>            \override Stem #'length-fraction = #(magstep -4)
>            \cueDuring #"Now" #DOWN { \skip 1*3} }    }
>
>
> \new Staff = "Staff_violinI" {
>        \set Staff.instrumentName = #"Violin"
> <<\violinMusic  \formatierung>>        }
>
> % =================================================
>
>
> Thanks for your help.
> Cheers
> Chris

this is quick and dirty (and I'm sure there is a better way):

\version "2.14.0"

Viola = \relative c' { \key g \major
       s2 r4 d8. c16|
       b4 b
       a8. g16 a4|
       g2| }

\addQuote "Now"  {\Viola}

violinMusic = \relative c'' { \key g \major
      R1*2|
      \once\override Voice.Rest #'staff-position = #0
      r4 g
      d' d      }

formatierung  = {
       \new Voice { \set fontSize = #-4
           \override Stem #'length-fraction = #(magstep -4)
           \cueDuring #"Now" #DOWN { \skip 1*3} }    }


\new Staff = "Staff_violinI" {
       \set Staff.instrumentName = #"Violin"
<<\violinMusic  \formatierung>>        }

HTH,
  Harm



reply via email to

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