[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Aligning c1 |. with R1 |.
From: |
Thomas Morley |
Subject: |
Re: Aligning c1 |. with R1 |. |
Date: |
Sun, 2 Jun 2013 17:50:55 +0200 |
2013/6/2 Jean-Charles Malahieude <address@hidden>:
> Le 02/06/2013 14:14, Thomas Morley disait :
>
>> 2013/6/2 Jean-Charles Malahieude <address@hidden>:
>>>
>>> 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
center-note-column-14.ly
Description: Binary data
center-note-column-14.png
Description: PNG image