Re: ragged-right and \rhythm

2022-08-18 Thread Jean Abou Samra
Le 18/08/2022 à 10:58, Lukas-Fabian Moser a écrit : Hi Jean, Am 17.08.22 um 15:14 schrieb Jean Abou Samra: Looking at the Constrained_breaking class, I think just setting ragged-right = ##t in \rhythm should be OK. Alternatively, if you feel like it, introduce a variant of Paper_score

Re: ragged-right and \rhythm

2022-08-18 Thread Lukas-Fabian Moser
I can try this. Is it necessary to first create an issue (I assume for keeping track of the "motivation" for the MR)? But if I am to take the route of messing with get_paper_systems etc. I'm probably going to need some help or at least bother everybody with questions. ... and here we go

Re: ragged-right and \rhythm

2022-08-18 Thread Lukas-Fabian Moser
Hi Jean, Am 17.08.22 um 15:14 schrieb Jean Abou Samra: Looking at the Constrained_breaking class, I think just setting ragged-right = ##t in \rhythm should be OK. Alternatively, if you feel like it, introduce a variant of Paper_score::get_paper_systems / ly:paper-score-paper-systems

Re: ragged-right and \rhythm

2022-08-17 Thread Jean Abou Samra
\score doesn't use the page-breaking variable anyway, Paper_score::calc_breaking () runs only line breaking and no page breaking, which makes a lot of sense. Looking at the Constrained_breaking class, I think just setting ragged-right = ##t in \rhythm should be OK. Alternatively, if you feel like

Re: ragged-right and \rhythm

2022-08-17 Thread Lukas-Fabian Moser
That said, there aren’t that many paper/layout variables. Setting selected ones manually like you suggest could be OK. Maybe also check what happens with very long rhythms, do they get broken? Maybe try ly:one-line-auto-height-breaking? I didn’t test anything (vacation). I'm probably only

Re: ragged-right and \rhythm

2022-08-17 Thread Jean Abou Samra
> Le 17 août 2022 à 10:18, Lukas-Fabian Moser a écrit : > > Hi all, > >> Am 17.08.22 um 01:23 schrieb Daniel Tobias Johansen Langhoff: >> How can I have ragged-right = ##f not apply to \rhythm? >> >> -- >> \version "2.23.11" >> \score { >> { >> \tempo \markup { \rhythm { 8[ 8] } =

Re: ragged-right and \rhythm

2022-08-17 Thread Lukas-Fabian Moser
Hi all, Am 17.08.22 um 01:23 schrieb Daniel Tobias Johansen Langhoff: How can I have ragged-right = ##f not apply to \rhythm? -- \version "2.23.11" \score { { \tempo \markup { \rhythm { 8[ 8] } = \rhythm { \tuplet 3/2 { 4 8 } } } \repeat unfold 8 { a'8[ 8] } } \layout {

ragged-right and \rhythm

2022-08-16 Thread Daniel Tobias Johansen Langhoff
Hi, How can I have ragged-right = ##f not apply to \rhythm? -- \version "2.23.11" \score { { \tempo \markup { \rhythm { 8[ 8] } = \rhythm { \tuplet 3/2 { 4 8 } } } \repeat unfold 8 { a'8[ 8] } } \layout { ragged-right = ##f } } -- Kind regards, Daniel Tobias