lilypond-user
[Top][All Lists]
Advanced

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

Re: Problem with \slashedGrace and \partial


From: Thomas Morley
Subject: Re: Problem with \slashedGrace and \partial
Date: Tue, 18 Apr 2017 18:36:55 +0200

2017-04-18 17:51 GMT+02:00 Pieter Terpstra <address@hidden>:
> Dear Readers,
> Have some issues here.
>
> Stem goes down here (even if i try a \stemUp)

This is a bug with 2.18.2, already cured in devel-versions.

> and get double crosses and time signature.

This is issue 34.

> What goes wrong here?
>
> Thank you again so much!
>
> Peter
>
> score:
> \version "2.18.2"
>
> global = {
>   \key a \major
>   %\defaultTimeSignature
>   \time 2/4
> }
>
> CGVoiceOne = \relative c' {
>   \global
>   \partial 8 \slashedGrace fis8 e16. dis32\p |
>   e8 a a \slashedGrace fis8 e16. dis 32 |
> }
> CGVoiceTwo = \relative c {
>   \global
>   \partial 8

%% to cure issue 34 add:
  \grace s8
%% for more see NR

> r8 |
>   r a [a] r |
> }
> \score {
>    \new Staff \with {
>     midiInstrument = "acoustic guitar (nylon)"
>   } { \clef "treble_8" << \CGVoiceOne
>                           \\ \CGVoiceTwo >>
> }}



I'd recommend to upgrade to a recent devel-version.
For 2.18.2 you may try:

global = {
  \clef "treble_8"
  \key a \major
  \time 2/4
}

CGVoiceOne =
\new Voice \with { \voiceOne }
  \relative c' {
    \global
    \partial 8 \slashedGrace fis8 e16. dis32\p |
    e8 a a \slashedGrace fis8 e16. dis 32 |
  }
CGVoiceTwo =
\new Voice \with { \voiceTwo }
  \relative c {
    \global
    \partial 8 \grace s8 r8 |
    r a [a] r |
  }
\score {
  \new Staff \with { midiInstrument = "acoustic guitar (nylon)" }
  << \CGVoiceOne \CGVoiceTwo >>
}


HTH,
  Harm



reply via email to

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