2013/6/2 Jean-Charles Malahieude <lily...@orange.fr>:
> Le 02/06/2013 14:14, Thomas Morley disait :
>
>> 2013/6/2 Jean-Charles Malahieude <lily...@orange.fr>:
>>>
>>> Le 31/05/2013 22:02, Thomas Morley disait :
>>>>
>>>>
>>>>
>>>> maybe of interest for you:
>>>> http://lilypond.1069038.n5.nabble.com/center-NoteColumn-td34436.html
>>>>
>>>> Attaching the most recent version of the code, your example included.
>>>> Many thanks to David Nalesnik.
>>>>
>>>> HTH,
>>>>     Harm
>>>>
>>>
>>> It helps, but I cannot find a way to deal with bass-figures.
>>> I've tried to add them to (let* ((sys (ly:grob-system grob)) with a
>>> (??? (ly:grob-object grob '???)) line between Rest and  Grobs to center
>>> between, but whatever combination of bass and figure(s/d) I put instead
>>> of
>>> ??? doesn't do anything neither spits a warning.
>>> I don't see that figures have no NoteColumn property.
>>>
>>> TIA,
>>> Jean-Charles
>>>
>>
>> Hi Jean-Charles,
>>
>> could you provide a small example?
>>

> [...]
>       ;; Rest
>             (rest (ly:grob-object grob 'rest))

AFAIK, there's no direct pointer from NoteColumn to BassFigure.
So it's a bit more complicated. :(

>       ;; Figuredbass (any combination of "bass" and "figure" <---
>             (figures (ly:grob-object grob 'figures)) ;; <---
>       ;; Grobs to center between
> [...]

Thanks, for the example.

> \score { <<
>   \new Staff  { \relative c'' {
>     c4 c c c R1 }}
>   \new Staff <<
>     \new Voice \relative c'' { c1 \centerNoteColumnOn c1 }
>     \new  FiguredBass \figuremode { <7>1 \centerNoteColumnOn <7> } >> >>
>   \layout { }
> }

In the attached code I tried to affect BassFigure. Not sure whether
it's the best way, though it works.
In addition I added code to affect ChordName and FretBoard, too, and
reworked the definition for `read-out'.

HTH,
  Harm

Attachment: center-note-column-14.ly
Description: Binary data

<<attachment: center-note-column-14.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to