[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chords as markups?
From: |
David Kastrup |
Subject: |
Re: chords as markups? |
Date: |
Thu, 06 Sep 2012 07:59:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
"address@hidden" <address@hidden> writes:
> not pretty, but effective...
>
> #(define (kludge grob)
> (ly:grob-set-property! grob 'text "foo")
> (ly:text-interface::print grob))
>
> \new ChordNames \chordmode {
> a b c:7
> \once \override ChordNames . ChordName #'stencil =
> #(ly:make-unpure-pure-container kludge (lambda (grob b e) (kludge grob)))
> d
> }
>
> The reason we can't just override the text property is because it is
> junked and reset internally in LilyPond.
> The unpure-pure-container makes sure that the chord is taken into
> account in horizontal spacing calculations. Anytime you override a
> stencil, try to use an unpure-pure-container.
Where is this documented in the user manuals? Where in the code?
--
David Kastrup
- chords as markups?, luis jure, 2012/09/05
- Re: chords as markups?, address@hidden, 2012/09/06
- Re: chords as markups?,
David Kastrup <=
- Re: chords as markups?, Werner LEMBERG, 2012/09/06
- Re: chords as markups?, address@hidden, 2012/09/06
- Re: chords as markups?, Werner LEMBERG, 2012/09/06
- Re: chords as markups?, Werner LEMBERG, 2012/09/06
- Re: chords as markups?, address@hidden, 2012/09/06
- Re: chords as markups?, Werner LEMBERG, 2012/09/06
- Re: chords as markups?, Werner LEMBERG, 2012/09/06
- Re: chords as markups?, Werner LEMBERG, 2012/09/06
- Re: chords as markups?, address@hidden, 2012/09/06
- Re: chords as markups?, Werner LEMBERG, 2012/09/08