bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Six problems


From: Alan Stern
Subject: Re: Six problems
Date: Mon, 13 Jun 2005 10:22:55 -0400 (EDT)

On Mon, 13 Jun 2005, Mats Bengtsson wrote:

> I think you have already received answers to most of your questions.
> Here comes some more hints for your last question.
> 
> Alan Stern wrote:
> >      6.     In the second measure after the change to 2/2 time, the word
> >     "Andante" spills out both before and after the measure.  The
> >     measure should expand so that the word can fit.
> 
> The relevant code from your example was:
>       \fatText R1^\markup { \bold "Andante" } |
> The reason that \fatText doesn't make any difference here is that
> this macro is a shorthand for
> \override TextScript  #'no-spacing-rods = ##f
> which only applies to ordinary text scripts, i.e. that you attach the
> markup to an ordinary note. When you instead attach it to a full bar
> rest, then it will be typeset by a layout object called
> MultiMeasureRestText instead. It might help to do
> \override MultiMeasureRestText  #'no-spacing-rods = ##f
> (unfortunately, I don't have access to a running LilyPond here
> for the moment). If that doesn't help, then you could attach the text
> to a spacing note instead:
> << R1 {\fatText s1^\markup { \bold "Andante" } } >> |

Thanks for the suggestions.  The first one did not work (the output 
remained unchanged) but the second one did the trick.

I suspect the first suggestion failed because MultiMeasureRestText refers 
to the automatically-generated text box that contains the number of 
measures, not to any additional user-supplied markup.

Alan Stern





reply via email to

[Prev in Thread] Current Thread [Next in Thread]