]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4487/4: add Changes entry for \etc
authorDavid Kastrup <dak@gnu.org>
Sun, 12 Jul 2015 09:59:04 +0000 (11:59 +0200)
committerDavid Kastrup <dak@gnu.org>
Sat, 18 Jul 2015 04:42:13 +0000 (06:42 +0200)
Documentation/changes.tely

index 45fbb4f885ae1eddf00440c97e376e3a5a7c4924..f706653f3dafa4da28545e5e0ef5b15b3ef2af86 100644 (file)
@@ -61,6 +61,21 @@ which scares away people.
 
 @end ignore
 
+@item
+Music (and scheme and void) functions and markup commands that
+just supply the final parameters to a chain of music and function
+and markup command calls, respectively, can now be defined in the
+form of just writing the expression cut short with @code{\etc}.
+@lilypond[verbatim,quote]
+bold-red-markup = \markup \bold \with-color #red \etc
+highlight = \tweak font-size 3 \tweak color #red \etc
+
+\markup \bold-red "text"
+\markuplist \column-lines \bold-red { One Two }
+
+{ c' \highlight d' e'2-\highlight -! }
+@end lilypond
+
 @item
 LilyPond functions defined with @code{define-music-function},
 @code{define-event-function}, @code{define-scheme-function} and