lilypond-user
[Top][All Lists]
Advanced

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

Re: Markup over last barline


From: Mats Bengtsson
Subject: Re: Markup over last barline
Date: Mon, 15 Aug 2005 16:19:03 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

How do I get it printed under the barline?


First of all, note that \mark is handled at the score level, so
you can only use it to print things above or below the full system,
not above/below each stave. So, if you want to printed below the
system, just set the 'direction' property:
\override Score.RehearsalMard #'direction = #DOWN


Could this be used to generate a new command \markbelow, that works as \mark, except that it puts the stuff below?

You can define your own functions, see
http://lilypond.org/doc/v2.6/Documentation/user/out-www/lilypond/Using-LilyPond-syntax-inside-Scheme.html
and other sections of that chapter.

One epossible implementation is the following:

markbelow = #(def-music-function (parser location text) (markup?)
#{\once \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible
\once \override Score.RehearsalMark #'direction = #DOWN
       \mark  #$text #}
)

\score{
\relative c'{ c1 \markbelow \markup "below" \bar "|."}
\layout{raggedright=##t}
}

  /Mats




reply via email to

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