lilypond-user
[Top][All Lists]
Advanced

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

Re: Notation snippets


From: Pierre Perol-Schneider
Subject: Re: Notation snippets
Date: Sun, 27 Dec 2015 17:19:48 +0100

Hi Andrea,

How about:

\version "2.19.34"

my-staff = \markup\stencil
 #(make-path-stencil
    '(M  0  2 L     5  2
      M  0  1 L     5  1
      M  0  0 L     5  0
      M  0 -1 L     5 -1
      M  0 -2 L     5 -2)
    0.1 1 1 #f)
 
 
\markup {
  %% clef G
  \combine
  \my-staff
  \translate #'(1 . -1)
  \musicglyph #"clefs.G"
 
  %% put some space here:
  \hspace #3
 
  %% clef F
  \combine
  \my-staff
  \translate #'(1 . 1)
  \musicglyph #"clefs.F"
 
  %% put some space here:
  \hspace #3
 
  %% clef C
  \combine
  \my-staff
  \translate #'(1 . 0)
  \musicglyph #"clefs.C"
 
  %% put some space here:
  \hspace #3
 
  %% note
  \combine
  \my-staff
  \translate #'(2 . 4)
  \combine
  \note-by-number #5 #0 #DOWN
  \translate #'(0 . 0)
  \stencil #(make-path-stencil
              '(M  -0.5  0 L  1.8  0
                M  -0.5 -1 L  1.8 -1)
              0.15 1 1 #f)
}


Cheers,
Pierre

2015-12-27 16:32 GMT+01:00 Jayaratna <address@hidden>:
I'm downloading the newest version. Hope I can keep both versions on my
system.

In any case, is it possible to center the last notes with the staff lines?

Thank you,
A



--
View this message in context: http://lilypond.1069038.n5.nabble.com/Notation-snippets-tp185122p185128.html
Sent from the User mailing list archive at Nabble.com.

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


reply via email to

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