|
From: | Bertalan Fodor (LilyPondTool) |
Subject: | Re: Anchoring markups |
Date: | Fri, 30 Jan 2009 11:03:43 +0100 |
User-agent: | Thunderbird 2.0.0.19 (Windows/20081209) |
Then you must:- change the formatting of the RehearsalMark object (because it is typeset in a larger font than a markup) - remove the Staff_collecting_engraver from the Score (this should not be mandatory, as I just want to align a text markup to a grob).
Also, to align the markup to the left of the key signature, you must override a property of Score.KeySignature, so that's again not flexible.
Bert James E. Bailey wrote:
Am 30.01.2009 um 10:29 schrieb Bertalan Fodor (LilyPondTool):I think there is a general problem in LilyPond with the positioning of things. You can easily attach a markup (that now actually can contain anything) to a note. But can't attach it to a clef, a stem, a bar line etc.It would be very good, if you could attach a markup to any grob.I suppose it wouldn't be very hard, but I wonder if more experienced users could tell me what to do.I'm thinking about something like this: \clef c ^\markup { }Syntax-wise it may be difficult. But wouldn't it be possible to create music function that takes a grob name, and changes the drawing function in a way that you can put a markup above, below, left or right to it?BertThe selected snippets section of 1.8.1 Writing text - Text Marks has exactly how to align a \mark (which can contain a \markup) to various other notation elements, clef is the first one.
[Prev in Thread] | Current Thread | [Next in Thread] |