[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: Note markup in 2.2.0
From: |
Ruud van Silfhout |
Subject: |
Fw: Note markup in 2.2.0 |
Date: |
Sat, 24 Apr 2004 15:54:44 +0200 |
Hi,
I added a simple example (at the bottom), in case it is a bug.
Regards,
Ruud van Silfhout
----- Original Message -----
From: "Ruud van Silfhout" <address@hidden>
To: "Lilypond user" <address@hidden>
Sent: Saturday, April 24, 2004 3:36 PM
Subject: Note markup in 2.2.0
> Hi,
>
> Prior to version 2.2.0 (at least it worked in 2.1.18) special time
> signature indications, like 1/2 displayed as:
> 1
> o
> |
>
> coulde be made using text markup:
> noteMarkup = \markup \number {
> \column < "1" \translate #(cons 0 2) \small \note #"2" #-0.7 >
> }
> and replacing the time signature print functions using:
> \override Staff.TimeSignature #'print-function =
#Text_item::print
> \override Staff.TimeSignature #'text = #noteMarkup
>
> Note that the \translate in the markup was used to move the note two
> lines up, so the "1" is directly on top of the note.
> Somewhere between version 2.1.18 and version 2.2.0 this is changed,
> so now the \note does not move up two staff lines anymore.
> I tried the \raise markup command, as well as the \combine but they
> both failed.
> Is this a bug or is there another way of moving the note two lines up?
>
> Regards,
> Ruud van Silfhout
>
\version "2.2.0"
noteMarkup = \markup \number { \column < "1" \translate #(cons 0 2) \small
\note #"2" #-0.7 > }
\score {
\context Voice = one \notes \relative c'' {
\override Staff.TimeSignature #'print-function = #Text_item::print
\override Staff.TimeSignature #'text = #noteMarkup
c4
}
}