lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 2949 in lilypond: Patch: Allow (closed) scheme fun


From: lilypond
Subject: [Lilypond-auto] Issue 2949 in lilypond: Patch: Allow (closed) scheme function calls as text scripts.
Date: Mon, 05 Nov 2012 22:18:18 +0000

Status: Started
Owner: address@hidden
Labels: Type-Enhancement Patch-new

New issue 2949 by address@hidden: Patch: Allow (closed) scheme function calls as text scripts.
http://code.google.com/p/lilypond/issues/detail?id=2949

Allow (closed) scheme function calls as text scripts.

This allows, for example, things like

arrow = #(define-scheme-function (parser location arg) (pair?)
  #{ \markup { \line { \draw-line #arg \arrow-head #X #RIGHT ##t  } }
  #})

\score {
  \new Staff {
     c4_\arrow #'(10 . 0)
  }
}

which, as contrasted to markup commands, is more compact to use.

http://codereview.appspot.com/6812088




reply via email to

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