lilypond-user
[Top][All Lists]
Advanced

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

Re: Setting the number for \mark \default


From: Malte Meyn
Subject: Re: Setting the number for \mark \default
Date: Mon, 14 Nov 2016 19:58:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0



Am 14.11.2016 um 09:52 schrieb Mojca Miklavec:
I'm using \markDefault from the following code for marking parts of music:

stdMarkFormat = {
  \set Score.markFormatter = #format-mark-box-letters
}
markDefault = {
  \stdMarkFormat
  \mark \default
}

Why do you use these functions? A \set is effective until the end of the score unless it is preceded by \once.

So you don’t have to set the markFormatter every time you use \mark #8 or \mark \default and there is no need for extra functions like \markDefault:

\relative {
  \set Score.markFormatter = #format-mark-box-letters
  c'4 d e f \mark \default
  g a b c \mark #8
  b a g f \mark \default
  e d c2
}



reply via email to

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