I tried that, but the markup position is still set relative to the paper 
line-width, so if I change the paper line-width, the markup moves with it.

𐑪𐑯 2023-04-10 𐑨𐑑 15:35, Ya Gloops <[email protected]> 𐑮𐑴𐑑:
> Hello 
>
> Maybe
>
> \version "2.24.1"
> \paper { 
>   line-width = 180 
>   indent = 0 
> } 
> \score { 
>   \layout { 
>     line-width = 125 % score is always left-aligned if this is set
>   } 
>   \relative c { c' d e f g a b c, d e f g a b c, d e f g a b c, d e f g 
> a b c, d e f g a b c, d e f g a b c, d e f g a b c, d e f g a b }
> }
> \markup \override #'(line-width . 74) \wordwrap-string "Bacon ipsum 
> dolor amet hamburger aliqua incididunt sunt in. Excepteur consequat ad 
> laboris anim flank jowl. Irure drumstick shoulder dolor. Cupim tri-tip 
> meatloaf prosciutto leberkas."
>
>
>
>
>
>
>
>
> Le lundi 10 avril 2023 à 23:27:11 UTC+2, Benjamin Bruce 
> <[email protected]> a écrit : 
>
>
>
>
>
> Hello all,
> I am trying to layout some documents where the score is centered on the 
> page, and underneath it is some markup text that is aligned left, 
> relative to the edge of the page. In some documents the score will be 
> wider, in some it will be narrower, but the text below it should always 
> be in the same horizontal position relative to the page.
>
> If I set line-width in the \paper block, it will be applied to 
> everything, and the markup will be aligned relative to the line-width. 
> If I set line-width in the \layout block, the markup is independent, 
> but the score is now left-aligned, not centered.
>
> I am attaching my (somewhat) tiny example in case this doesn't make 
> sense. Is there a way to accomplish what I'm trying to do, even if it's 
> hacky? Thanks for your help!

Reply via email to