How can I create inline time signatures like those displayed in the above paragraph from Behind Bars inside a Lilypond \markup
block? Do I need to manually draw the time signature, like a simpler version of this answer, or can I use Lilypond's native time signature engraver in a markup context instead of a music expression?
Context & optional follow-ups
- I found the above excerpt in this answer to a different question while searching if someone else has already explained how to create inline time signatures. However, it's a scan of a book and not Lilypond output.
- The
\markup
is primarily meant to be used as a header to organize the snippets I wrote about in my previous question by time signature more so than running paragraph text. I do not expect that there is a real difference between the two use cases, other than throwing in a\large
for the headings. - For whatever reason, the Lilypond Scheme manual is ranked much lower on search engines than its notation or snippets manuals. This question feels like something that I've seen in the official documentation years ago when I first discovered Lilypond, but I can't seem to find the direct answer that my memory says should be there. The notation manual is clear that music expression can exist within markup blocks, but does not explain how to create an isolated musical object that is more complex than a single symbol/dynamic without putting an entire
\score
context within the markup. If this does exist like my memory says, where did I find it and (more importantly) what were the keywords you used to search?