On Thu, 2017-07-13 at 12:47 +0100, James wrote:
> > I am not top posting
>
> This 'patch' does not apply to current master so I could not test it
> even if I wanted to
Ah, yes, sorry, I looked into what parameters git uses for its diff but
didn't think about the directory you would want to run patch from.
I've made a git clone of the repository and used git diff now to get the
attached patch.
Richard
diff --git a/scm/translation-functions.scm b/scm/translation-functions.scm
index 0ed0def..cd78d83 100644
--- a/scm/translation-functions.scm
+++ b/scm/translation-functions.scm
@@ -184,13 +184,10 @@ way the transposition number is displayed."
(set! alt-markup #f)))
- ;; hmm, how to get figures centered between note, and
- ;; lone accidentals too?
-
- ;; (if (markup? fig-markup)
- ;; (set!
- ;; fig-markup (markup #:translate (cons 1.0 0)
- ;; #:center-align fig-markup)))
+ (if (and (>= 0 (ly:duration-log (ly:event-property event 'duration))) (markup? fig-markup))
+ (set!
+ fig-markup (markup #:translate (cons 1.0 0)
+ #:center-align fig-markup)))
(if alt-markup
(set! fig-markup
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel