2016-01-26 17:49 GMT+01:00 Caio Giovaneti de Barros <caio.bar...@gmail.com>:

> So far the only way I could think of is to add the rest as a markup, but (1)
> this doesn't write the rest in the middle and (2) there is no way to
> differentiate a whole note rest and a half note rest:

For the record, we have a rest-markup-command.

https://sourceforge.net/p/testlilyissues/issues/2966/

commit ffa21bb1a55d2436bb432c4dff7ec04df95dc6f0
Author: Thomas Morley <thomasmorle...@googlemail.com>
Date:   Wed Dec 5 01:56:11 2012 +0100

    markup-commands rest-by-number and rest

    Introduces two new markup-commands:
    rest-by-number and rest
    similiar to the existing note-by-number and note.
    Two regression-tests for them are added.


See output of:

\markup
  \override #'(word-space . 2)
  \line { \rest #"1" \rest #"2" \rest #"1." \rest #"2." }



Best,
  Harm

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

Reply via email to