|
From: | gruen . weinbach |
Subject: | RE: How to fix markup horizontal position relative to edge of page |
Date: | Tue, 11 Apr 2023 03:35:02 GMT |
User-agent: | freenet-api2 |
Hello, maybe %%%%%%%%%%%%%%%%% \version "2.24.0" paperWidth = 180.0 lineWidth = 140 ind = #(/ (- paperWidth lineWidth) 2) \paper { paper-width = \paperWidth } \score { \layout { line-width = \lineWidth indent = \ind short-indent = \ind } \repeat unfold 20 \relative c { c' d e f g a b } } \markup \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." %%%%%%%%%%%% btw: make a tiny example even more tiny with ' \repeat unfold #n' ;-) Juergen.
-----ursprüngliche Nachricht----- Von: benjamin@koine.gr Gesendet: 10.04.2023 23:25 Uhr An: lilypond-user@gnu.org Betreff: How to fix markup horizontal position relative to edge of page
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!
-----ursprüngliche Nachricht Ende-----
[Prev in Thread] | Current Thread | [Next in Thread] |