Or maybe a closer look:
.....
%% the note
\combine
\my-staff
\translate #'(2 . 4)
\combine
\note-by-number #5 #0 #DOWN
\translate #'(0 . 0)
\stencil #(make-path-stencil
'(M -0.3 0 L 1.6 0
M -0.3 -1 L 1.6 -1)
0.15 1 1 #f)
....
2015-12-27 17:19 GMT+01:00 Pierre Perol-Schneider <
[email protected]>:
> 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 <[email protected]>:
>
>> 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
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user