lilypond-devel
[Top][All Lists]
Advanced

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

Re: Some newbie troubles, especially with text


From: Stephen
Subject: Re: Some newbie troubles, especially with text
Date: Tue, 21 Mar 2006 12:53:09 -0600

From: "Graham Percival" <address@hidden>
To: "Mats Bengtsson" <address@hidden>
Cc: "lily-devel" <address@hidden>
Sent: Tuesday, March 21, 2006 12:08 PM
Subject: Re: Some newbie troubles, especially with text



On 21-Mar-06, at 7:45 AM, Mats Bengtsson wrote:

Rehearsal marks _are_ just \markup that is aligned to barlines. See "Text marks" (particularly in the 2.7 docs)

Except that they only are typeset above the topmost stave,
not above every stave in scores with multiples staves.

Continuing my own comment:

This can of course be customized, by adding the corresponding
engraver to the Staff context. A more serious limitation might
be that you cannot simultaneously typeset a \mark both above
and below the system (or stave), in contrast to text scripts
where you easily can do ^"above"_"below". Another problem is
that you cannot easily specify two different marks to appear
at the end of a line and at the beginning of the next line.

Very true, sorry.

I'd like to add an example of moving the engraver around, but the below code doesn't work -- it still only prints the mark above the topmost stave.

That is because you put the mark on the topmost stave.

 Any ideas?

\version "2.7.40"
{
  \new Score \with {
    \remove "Mark_engraver"
  }
  <<
    \new Staff \with {
      \consists "Mark_engraver"
    }
    { c''1 \mark "foo" c'' }
    \new Staff \with {
      \consists "Mark_engraver"
    }
    { c'1 c' }
  >>
}



Try this instead:

\version "2.7.40"
{
  \new Score \with {
    \remove "Mark_engraver"
  }
  <<
    \new Staff \with {
      \consists "Mark_engraver"
    }
    { c''1 c'' }
    \new Staff \with {
      \consists "Mark_engraver"
    }
    { c'1 \mark "foo" c' }
  >>
}

Stephen


_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel




reply via email to

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