Hi Paul,
You can use:
\tempo \markup {\fontsize #2 "mark" }
To obtain the correct size.
I faced a similar problem and was thinking that it would be great if I
could write a markup function that would return the current rehearsal
mark as a markup object but that challenge was to big for me. Maybe
someone else can?
Greetings, Ed
Op 09-05-11 18:53, Paul Scott schreef:
On 05/09/2011 01:33 AM, James Lowe wrote:
Paul
________________________________________
From: lilypond-user-bounces+james.lowe=datacore....@gnu.org
[lilypond-user-bounces+james.lowe=datacore....@gnu.org] on behalf of
Paul Scott [waterho...@ultrasw.com]
Sent: 09 May 2011 02:49
To: lilypond-user@gnu.org
Subject: 2.13.61 2 rehearsal marks
Hi,
I need to to place a fermata over a bar line at the end of a line and
have a rehearsal mark at the beginning of the next line. I would
normally use \mark to place the fermata over the bar line but then I
don't know how to reuse \mark for the rehearsal mark.
As a workaround I would consider not having the fermata bar line at the
end of a line and do everything with one \mark but haven't seen a way to
get the fermata exactly centered over the bar line.
----
http://lsr.dsi.unimi.it/LSR/Item?id=1
:)
However to get what you want is tricky as you want 'effectively' two
\mark glyphs at the same time (the fact that it is on the next line
rather than the end of the line is irrelevant to LilyPond - it is as
if you were trying to place them on the same spot) and you cannot do
this easily.
That's why I asked. :)
There are some machinations that you can do to get two 'marks' on the
same bar line but above and below thus:
http://lsr.dsi.unimi.it/LSR/Item?id=735
and
http://lsr.dsi.unimi.it/LSR/Item?id=736
I'm aware of those but I really want them both on top.
However what you could also do is use the first method to put the
fermata at the end of the line then use a 'new' \mark in a new bar
line on the next line and a break-align it
http://lilypond.org/doc/v2.13/Documentation/notation/aligning-objects#index-break_002dalign_002dsymbols
Actually in answering you I thought about trying \tempo \markup and it
worked!
I have been faking rehearsal marks which are followed by tempo
indications with
\mark \markup{ to get around another question I never got a workable
answer to which is how to
get a left justified tempo indication *when the tempo indication is
over a multimeasure rest*. (I don't want those centered).
This seems to solve both problems leaving me with a much smaller problem:
getting the fonts for the faked rehearsal marks the exact same size as
for normal rehearsal marks.
and move it 'back' towards the start of the new line (if you see what
I mean).
You can even (I do this sometimes) use a normal markup to a note and
then tweak it so it shifts 'left'.
But I want to do all this in a global and the music differs for each
instrument.
If we can solve the font size problem I will submit something to the LSR.
Thanks,
Paul
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user