bug-lilypond
[Top][All Lists]

## 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:

> 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
> 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