Re: Adding footnotes to \mark objects?

2025-02-20 Thread Knute Snortum
On Thu, Feb 20, 2025 at 8:12 AM N. Andrew Walsh 
wrote:

> Hi Knute,
>
> On Thursday, February 20th, 2025 at 16:41, Knute Snortum <
> ksnor...@gmail.com> wrote:
>
> I was able to get time-based footnotes working for Rehearsal Marks (
> https://lilypond.org/doc/v2.25/Documentation/notation/footnotes-in-music-expressions
> ):
>
> %%%
> global= {
> \time 4/8
> \footnote #'(1 . 1) "Casablanca" Score.RehearsalMark
> \mark \markup { \abs-fontsize #16 \bold "SECTION TITLE" }
> }
>
> This did indeed work. Thank you so much! Also, the footnote text
> ("Casablanca") can be enclosed in a \markup block, which gives me access to
> all of the formatting options I also need (multiple lines for giving both
> English and German text, in my case).
>

Thanks!  (Remember to CC the LilyPond users list or Reply-All.)

--
Knute Snortum


Re: Adding footnotes to \mark objects?

2025-02-20 Thread Knute Snortum
On Thu, Feb 20, 2025 at 5:32 AM N. Andrew Walsh via LilyPond user
discussion  wrote:

> Hi List,
>
> my (deep sigh) client really likes adding a lot of text annotations to
> parts of his pieces. In the present case, he wants to add a footnote to a
> section title to explain the movie reference the title makes. Since my
> section titles are done using \mark objects, I'm trying to figure out how
> to add footnotes to them.
>
> Here's an MWE:
> 
> \version "2.25.24"
>
> global= {
>  \time 4/8
>  \mark \markup { \abs-fontsize #16 \bold "SECTION TITLE" }
>   }
>
> oDAMusic =  \relative c'' {
> \key f \minor
> R2*12
>
> | %13
> r4 bes
> }
> \score {
> \new Staff = "Staff_oboeDA" <<
>   \global \oDAMusic
> >>
> }
> --
> What I want is for SECTION TITLE to have a footnote attached to it, with
> an auto-footnote placing a text string at the bottom of the page. But the
> syntax given at
> https://lilypond.org/doc/v2.25/Documentation/notation/footnotes-in-stand_002dalone-text
>  doesn't
> seem to work. Is there actually a way to do this?
>

I was able to get time-based footnotes working for Rehearsal Marks (
https://lilypond.org/doc/v2.25/Documentation/notation/footnotes-in-music-expressions
):

%%%
global= {
 \time 4/8
 \footnote #'(1 . 1) "Casablanca" Score.RehearsalMark
 \mark \markup { \abs-fontsize #16 \bold "SECTION TITLE" }
  }

oDAMusic =  \relative c'' {
\key f \minor
R2*12

| %13
r4 bes
}
\score {
\new Staff = "Staff_oboeDA" <<
\global \oDAMusic
>>
}
%%%

--
Knute Snortum


Adding footnotes to \mark objects?

2025-02-20 Thread N. Andrew Walsh
Hi List,

my (deep sigh) client really likes adding a lot of text annotations to parts of 
his pieces. In the present case, he wants to add a footnote to a section title 
to explain the movie reference the title makes. Since my section titles are 
done using \mark objects, I'm trying to figure out how to add footnotes to them.

Here's an MWE:

\version "2.25.24"

global= {
\time 4/8
\mark \markup { \abs-fontsize #16 \bold "SECTION TITLE" }
}

oDAMusic = \relative c'' {
\key f \minor
R2*12

| %13
r4 bes
}
\score {
\new Staff = "Staff_oboeDA" <<
\global \oDAMusic
>>}
--
What I want is for SECTION TITLE to have a footnote attached to it, with an 
auto-footnote placing a text string at the bottom of the page. But the syntax 
given at 
https://lilypond.org/doc/v2.25/Documentation/notation/footnotes-in-stand_002dalone-text
 doesn't seem to work. Is there actually a way to do this?

Thanks for the help,

N. Andrew Walsh
er/ihn/ihm/sein | he/him/his
Berlin
(neue Adresse | new address: n.andrew.wa...@proton.me)