David Kastrup <d...@gnu.org> writes: > Thomas Morley <thomasmorle...@gmail.com> writes: > >> Am So., 8. Jan. 2023 um 10:21 Uhr schrieb Thomas Morley >> <thomasmorle...@gmail.com>: >>> >>> Hi, >>> >>> consider below >>> >>> \version "2.24.0" >>> >>> \score { >>> { g'1^\markup { My Rhythm \rhythm { 8[ 8] } } } >>> \layout { >>> \context { >>> \StandaloneRhythmStaff >>> fontSize = #6 >>> } >>> } >>> } >>> >>> I'll have numerous such markups combining straight text and \rhythm. >>> Thus I'd like to have a method to adjust the \rhythm-part in a >>> score-layout without affecting other parts of TextScripts. >>> Alas the setting fontSize takes no effect. >>> >>> How to? >>> >>> Cheers, >>> Harm >> >> Actually it works, if the \layout is placed toplevel. >> A bug? > > A likely consequence of > > commit 00e7e96f8393ad1fe86f57cf90f4567142bd4e72 > Author: David Kastrup <d...@gnu.org> > Date: Sat Feb 8 19:05:16 2014 +0100 > > Issue 3827: remove the necessity to have a \layout block in a > \markup \score ... > > It turns out that this is not really fixable in the backend since what > is called "layout" in the markup function definitions does not > actually correspond to \layout but rather to \paper. Very funny. > > So this is solved in the parser itself when reading a \score or > \score-lines to be used in a markup or markup list by cloning > $defaultlayout as necessary (which simulates \layout {}) whenever the > score is without an output definition. > > I suspect that the rationale in the first paragraph is wrong because we > may actually be talking about a layout block after all, just one that > historically inherited `is-paper' (among other paper variables) from the > paper block. > > Let me try again.
Huh. Or not so. Frankly, I don't get the "layout" parameter in markup. -- David Kastrup