lilypond-user
[Top][All Lists]
Advanced

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

Re: repeat percent and chords


From: Robin Bannister
Subject: Re: repeat percent and chords
Date: Sun, 29 Mar 2009 21:55:00 +0200

Kees Serier wrote:
Looks good, but how to use it, I'm only a beginning Lilypond user :-(

I have a vague feeling you may not have received my reply diagnosing your arabic percent problem:
Kees Serier wrote:
I get Guile errors GUILE signaled an error for expression started here:
markup #
       :bold #:fontsize 1 #:char #x066A

Well, it works at my end. Something is corrupted. My best theory is that your version now ends
#'stencil = markup #:bold #:fontsize 1 #:char #x066A)))
i.e. that the middle bit has disappeared.

If it's not that, try this version with less Scheme in it:

%%%%%%%%%%%%%%%%%%%%
simile = \markup { \bold \fontsize #1 \char ##x066A }
percentCN = \once \override ChordNames.ChordName #'stencil = #(lambda (grob) (grob-interpret-markup grob simile)) %%%%%%%%%%%%%%%%%%%%


This third version replaces just the simile markup in the above first line, so you should end up with:
%%%%%%%%%%%%%%%%%%%%
simile = \markup {
\combine \translate #'(0.3 . 1.5) \draw-circle #0.2 #0 ##t \combine \translate #'(1.7 . 0.5) \draw-circle #0.2 #0 ##t \rotate #90 \translate #'(0 . 2) \beam #2 #-1 #0.5 } percentCN = \once \override ChordNames.ChordName #'stencil = #(lambda (grob) (grob-interpret-markup grob simile)) %%%%%%%%%%%%%%%%%%%%


Cheers,
Robin




reply via email to

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