lilypond-user
[Top][All Lists]
Advanced

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

Re: A notice about \mark when Mark_engraver is moved


From: Toine Schreurs
Subject: Re: A notice about \mark when Mark_engraver is moved
Date: Thu, 23 Mar 2017 14:28:11 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

> I had need of printing marks on several staves, so I moved the 
> Mark_engraver to the Staff context, all according to LilyPond NR, see 
> snippet below. Then I noticed, that I could not control the contents of 
> Rehearsal marks any more, except for the first one. All successors were 
> follow in sequence from the start id just as  were they all defined as 
> \default. Hence the hash mark has no influence contrary to when the 
> Mark_engraver resides in Score. The only possibility to get another id 
> is to define it as a text mark.

Try:

A = { 
  \mark #3 a'4 a' |
  \set Staff.rehearsalMark = #6
  \mark \default a' a'
} %etc....

> |\version "2.18.2" A = { \mark #3 a'4 a' | \mark #6 a' a' | \mark 
> \markup "Z" a' \mark \default a' | a' } \score { << \new Staff \with { 
> \consists "Mark_engraver" \consists "Staff_collecting_engraver" } { 
> \time 2/4 \new Voice { \A } } >> \layout { indent = #0 \context { \Score 
> \remove "Mark_engraver" \remove "Staff_collecting_engraver" } } }|

Toine Schreurs



reply via email to

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