lilypond-user
[Top][All Lists]
Advanced

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

Odd Behaviour: \break after \repeat


From: sir.teddy.the.first
Subject: Odd Behaviour: \break after \repeat
Date: Thu, 23 Jan 2020 21:03:40 +0100

Hi everyone,

please consider the following snippet:

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.19.83"

 

melody = \relative c'' {

    r2. r4. e  |       %T69

    a,4. fis4.~ fis a |           %T70

    g1. }

 

words = \lyricmode {

  Test Test, Test, Te -- st }

 

struct = {

  \time 12/8

  \key d \major

  \repeat volta 2 { s1. | }\break

  s\break |

  s1. |

}

 

\score {

  <<

    \new Staff \with { instrumentName = #"Melody" shortInstrumentName = #"Mel."} \new Voice = "melody" { << \struct \melody >> }

    \new Lyrics \lyricsto "melody" { \words }

  >>

}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

When I compile this, Lilypond outputs this weird double-hyphen as if it actually inserts an empty syllable where there should be none.

Strangely, if I remove the “\break” after the “\repeat”-command, it outputs a single hyphen like it should.

 

Is this a bug or what am I doing wrong?

 

Thanks for your help.


reply via email to

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