. First of all, `make-XXX-stencil' seems to be completely
undocumented. At least I can't find those functions in the
reference (except some unsystematic usage here and there).
I'm not sure who made them or when they made it into LilyPond, but
you're certainly welcome to post a patch
on 2012-09-06 at 07:41 m...@mikesolomon.org wrote:
not pretty, but effective...
thanks mike and robin for your suggestions, i need to study them to
properly understand how (and why) they work.
the truth is that, for the time being, i had solved my problem with
lots of \halign, \lower,
m...@mikesolomon.org m...@mikesolomon.org 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 =
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.
On 6 sept. 2012, at 08:06, Werner LEMBERG w...@gnu.org wrote:
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
The kludge I used is not documented anywhere -
Aaah :-)
I looked in define-grobs.scm, saw that it was using
ly:text-interface::print but that there was no callback for text,
which means that it must be set in the code. So the stencil
function (or a number of other ones) could be hijacked
unpure-pure stuff is:
http://lilypond.org/doc/v2.16/Documentation/notation/unpure_002dpure-containers
Looking more closely at this page, I don't fully understand how it
works. It is stated that the unpure-pure stuff affects y-axis
calculations, but the given example adjusts the *width*:
In
On 6 sept. 2012, at 08:49, Werner LEMBERG w...@gnu.org wrote:
unpure-pure stuff is:
http://lilypond.org/doc/v2.16/Documentation/notation/unpure_002dpure-containers
Looking more closely at this page, I don't fully understand how it
works. It is stated that the unpure-pure stuff affects
How comes? I think this deserves some more explanation.
You can check out the CG link for info about how the lilypond
spacing engine works with unpure-pure-containers.
Will do. Maybe it is sufficient to simply add a link to
You can check out the CG link for info about how the lilypond
spacing engine works with unpure-pure-containers.
BTW, why the heck is this central part of LilyPond's layout engine
located in the Contributor's Guide? This certainly belongs to the
`notation' or `extending' guide, I reckon.
After reading the CG stuff, If you feel any info should be brought
over to the users manual, post a patch and we can discuss it. And,
of course, if after reading the CG stuff is still unclear on how
they work, lemme know.
OK, I've read it, and the concept of purity is explained well,
luis jure wrote:
... chords with some non-standard notation
...
i'd be very grateful for any pointers.
This an old annoyance [1].
You could try using my besideCN and replaceCN.
See stencilCN.ly for recent code and a demo.
Make sure you update it to your lilypond version. [2]
Two
On 6 sept. 2012, at 09:49, Werner LEMBERG w...@gnu.org wrote:
After reading the CG stuff, If you feel any info should be brought
over to the users manual, post a patch and we can discuss it. And,
of course, if after reading the CG stuff is still unclear on how
they work, lemme know.
OK,
i've been asked to typeset in lilypond a couple of chords with some
non-standard notation (please see the attached image).
i wouldn't know how to tweak the chord mode in lilypond to achieve
this, so i was thinking of using \markup's. but elsewhere i'm using
\chords, and the results are very
On 6 sept. 2012, at 00:11, luis jure l...@internet.com.uy wrote:
i've been asked to typeset in lilypond a couple of chords with some
non-standard notation (please see the attached image).
i wouldn't know how to tweak the chord mode in lilypond to achieve
this, so i was thinking of using
15 matches
Mail list logo