[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Fw: Note markup in 2.2.0
From:       "Ruud van Silfhout" <Ruud.vanSilfhout () tiscali ! nl>
Date:       2004-04-24 13:54:44
Message-ID: 003101c42a03$b2e9ed00$2301a8c0 () silhouette1
[Download RAW message or body]

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" <Ruud.vanSilfhout@tiscali.nl>
To: "Lilypond user" <lilypond-user@gnu.org>
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
     }
  }





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic