[Top][All Lists]

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

Re: Variables

From: Timothy Lanfear
Subject: Re: Variables
Date: Sun, 2 Jun 2019 18:57:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 02/06/2019 14:36, Euler wrote:

I'm looking for a way to get some markup in variables.
in parts i would like to get the markup printed, but only once in scores.

here is attached an example in score mode where i would like "Menuetto da
Capo" printed only in the lower voice.

Use a mark in this situation, which is printed only once in a score

\version "2.19.83"

dacapo =
#(define-music-function (dc) (string?)
  \once \override Score.RehearsalMark.break-visibility = #end-of-line-visible
  \once \override Score.RehearsalMark.self-alignment-X = #RIGHT
  \once \override Score.RehearsalMark.direction = #DOWN
  \once \override Score.RehearsalMark.Y-offset = -6
  \mark \markup \italic #dc

  \new Staff { \time 3/4 R2.*3 \appoggiatura e''4 d''2 r4\dacapo "Menuetto da capo" }
  \new Staff { \time 3/4 R2.*3 d'2 r4\dacapo "Menuetto da capo" }

Timothy Lanfear, Bristol, UK.

reply via email to

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