lilypond-user
[Top][All Lists]
Advanced

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

Re: footnote and rests/rehearsal marks


From: David Kastrup
Subject: Re: footnote and rests/rehearsal marks
Date: Sun, 10 Jun 2012 13:14:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Federico Bruni <address@hidden> writes:

> I'm trying to use \footnote for the first time.
> Can I attach a footnote to a rest or a rehearsal mark?
>
> I've made some tries with no success:
>
> \relative c' {
>   \footnote #'(0.5 . -2)
>   \markup { This works }
>   a'2 b
>
>   \footnote #'(0.5 . 1)
>   \markup { doesn't work }
>   R1
>
>   \footnote #'(0.5 . 1) #'RehearsalMark
>   \markup { doesn't work either }
>   \mark \markup { Note 2 }
>   c1
>
> }

You need to use time-based footnotes here:

\relative c' {
  \footnote #'(0.5 . -2)
  \markup { This works }
  a'2 b

  \footnote #'(0.5 . 1) #'MultiMeasureRest
  \markup { doesn't work } \default
  R1

 \footnote #'(0.5 . 1) #'RehearsalMark
  \markup { works again } \default
  \mark \markup { Note 2 }
  c1

}

I am not sure how the multi-measure rest manages bypassing the footnote
mechanism.  Removing the specification "#'MultiMeasureRest" makes
footnotes attach to every grob emitted at that time step, but still does
not catch the multimeasure rest.

-- 
David Kastrup




reply via email to

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