On 10.11.2015 20:31, Alberto Simões wrote:
Hello

There are musics where chords have a smaller note, that is optional.

I found some logs from this mailing list in 2007, suggesting things like:

           \tweak #'font-size #-4 g

Is there any easier way? (as in, less verbose).

The cheapest way would be (using a syntax introduced very recently)
%%%%%%
sm = \tweak #'font-size #-4 \etc
{ <c e \sm g> }
%%%%%%

To comply with Lily versions older than ca. 2.19.25, use
%%%%%%%
sm = #(define-music-function (parser location m) (ly:music?)
        #{ \tweak #'font-size #-4 $m #})
%%%%%%%
instead.

HTH, Simon


In fact, I have a bunch of octave chords, where the upper note is smaller. If someone knowing a little of scheme would help me writing a macro/function for that, I would be much appreciated.

Best,
Alberto

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


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

Reply via email to