lilypond-user
[Top][All Lists]
Advanced

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

Re: two simultaneous marks


From: James E. Bailey
Subject: Re: two simultaneous marks
Date: Fri, 12 Dec 2008 14:34:38 +0100

Hmm, I don't know if it's the best way, but I decided to just put the marks on separate staves:
\version "2.10.0"
\layout {
   \context {
      \Score
      \remove "Mark_engraver"
      \remove "Staff_collecting_engraver"
   }
   \context {
      \Staff
      \consists "Mark_engraver"
      \consists "Staff_collecting_engraver"
   }
}
\score {
   <<
      \new Staff \relative c'{ c4 d e f
      \mark \default g f e d | c1 | }
      \new Staff \relative c' { c4 d e f g f e d c1 }
      \new Staff \relative c { \clef bass c2 a
      \once \override Staff.RehearsalMark #'direction = #-1
      \mark \markup \italic {Fine.}
      g h c1 }
   >>
}

Am 12.12.2008 um 11:11 schrieb Mats Bengtsson:

Just use \bold instead of \box in the example I sent.

  /Mats

James E. Bailey wrote:
Thanks, I'm pretty good with markup, but not good enough to come up with this on my own. Now, to the more important issue, is there somewhere listed what the font settings for the rehearsal marks are? I'd like this one to look like all the others.

Am 11.12.2008 um 17:36 schrieb Mats Bengtsson:

Well, one trick is to draw both marks as a single markup command with a sufficiently large vertical separation, and then move it downwards so that the upper mark appears above the
staff and the lower one below. Example:

\version "2.10.0"
\relative c'{ c d e f
 \once \override Score.RehearsalMark #'extra-offset = #'(0 . -9)
 \once \override Score.RehearsalMark #'baseline-skip = #9
 \mark \markup \column{\box A
                       \italic fine }
 g f e d | c1 |
}

  /Mats


james wrote:
Hello, I'd like to have two simultaneous marks, "fine" under the staff and a rehearsal letter above the staff. I've found http://lists.gnu.org/archive/html/lilypond-user/2008-04/ msg00492.html which suggests I split all of the music after the fine into a coda section with a \stopStaff \startStaff, and I'm not really fond of that idea. Is there another way of getting two marks to print at the same time?



--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================






reply via email to

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