Re: Right justifying text between systems
Thank you very much: the use of "\fill-line" and "\null" works perfectly. I was in fact trying to see how to use fill-line, and I didn't know about "null". I'll explore the padding as well, but right at the moment even without it, it seems that fill-line is working very well. Again - thank you! Alasdair On Tuesday 08 February 2022 19:47:41 (+11:00), Aaron Hill wrote: > On 2022-02-07 11:04 pm, Alasdair McAndrew wrote: > > \markup {\hspace #70 \fontsize #2 {\italic {Au Rondeau puis au premier}}} > > For right-alignment, you should use \fill-line: > > > \markup \fill-line { \null \italic "Lorem ipsum..." } > > > > > I could do this by adding the text as a markup to one of the notes in > > the bottom staff of Rondeau II, but then it's too close to the score > > block. > > You could use a RehearsalMark at the very end with appropriate padding: > > > \paper { #(set-paper-size "a5") } > > Rondeau.I = { R1*13 \bar "||" } > Rondeau.II = { R1*13 \bar "||" } > Bourree.I = { R1*13 \bar "|." } > > \score { \header { piece = "Rondeau I" } { \Rondeau.I } } > \score { \header { piece = "Rondeau II" } > { \Rondeau.II > \tweak break-visibility #end-of-line-visible > \tweak direction #DOWN > \tweak font-size #0 > \tweak padding #2 > \tweak self-alignment-X #RIGHT > \mark \markup \italic "Repeat Rondeau I" } > } > \score { \header { piece = "Bourree I" } { \Bourree.I } } > > > > -- Aaron Hill > -- 0432 854 858 https://numbersandshapes.net
Re: Right justifying text between systems
Dear Rémy, Many thanks - that works perfectly. I didn't know about "null", which makes "fill-line" work just the way I want. Alasdair On Tuesday 08 February 2022 19:53:18 (+11:00), Remy CLAVERIE wrote: Hi Alaisdair, What about : \markup\fill-line{ \null \fontsize #2 \italic "Au Rondeau puis au premier"} ?? Rémy envoyé : 8 février 2022 à 08:04 de : Alasdair McAndrew à : lilypond-user@gnu.org objet : Right justifying text between systems Hello, I'm typesetting some French late baroque music, which starts with the three movements Rondeau I, Rondeau II, Bourree I. After Rondeau II I need to include the text direction to repeat Rondeau I. In order to try to get the "feel" of the original, I want to have this text right justified on the page. The best I can find so far is to manually put some space before it and put this between two \score blocks: \markup {\hspace #70 \fontsize #2 {\italic {Au Rondeau puis au premier}}} This works, except for the vertical spacing - it's too far from the Rondeau II score block, and too close to the next score block for Bourree I. I want this text to be somehow "anchored" to Rondeau II, and let the page layout algorithm put as much space as it needs before Bourree I. I could do this by adding the text as a markup to one of the notes in the bottom staff of Rondeau II, but then it's too close to the score block. Does this make sense? What I want is: Rondeau I Rondeau II "repeat Rondeau I" (and right justified) Bourree I and with the text closer to Rondeau II than to Bourree I. I would have thought this would be trivial - and maybe it is - but I still can't work out how to do it. Thank you all! Alasdair -- 0432 854 858 https://numbersandshapes.net
Re: Right justifying text between systems
Hi Alaisdair,What about : \markup\fill-line{ \null \fontsize #2 \italic "Au Rondeau puis au premier"} ??Rémyenvoyé : 8 février 2022 à 08:04de : Alasdair McAndrew à : lilypond-user@gnu.orgobjet : Right justifying text between systemsHello,I'm typesetting some French late baroque music, which starts with the three movements Rondeau I, Rondeau II, Bourree I. After Rondeau II I need to include the text direction to repeat Rondeau I. In order to try to get the "feel" of the original, I want to have this text right justified on the page. The best I can find so far is to manually put some space before it and put this between two \score blocks:\markup {\hspace #70 \fontsize #2 {\italic {Au Rondeau puis au premier}}}This works, except for the vertical spacing - it's too far from the Rondeau II score block, and too close to the next score block for Bourree I. I want this text to be somehow "anchored" to Rondeau II, and let the page layout algorithm put as much space as it needs before Bourree I. I could do this by adding the text as a markup to one of the notes in the bottom staff of Rondeau II, but then it's too close to the score block. Does this make sense? What I want is:Rondeau IRondeau II"repeat Rondeau I" (and right justified)Bourree Iand with the text closer to Rondeau II than to Bourree I. I would have thought this would be trivial - and maybe it is - but I still can't work out how to do it. Thank you all!Alasdair-- https://numbersandshapes.net
Re: Right justifying text between systems
On 2022-02-07 11:04 pm, Alasdair McAndrew wrote: \markup {\hspace #70 \fontsize #2 {\italic {Au Rondeau puis au premier}}} For right-alignment, you should use \fill-line: \markup \fill-line { \null \italic "Lorem ipsum..." } I could do this by adding the text as a markup to one of the notes in the bottom staff of Rondeau II, but then it's too close to the score block. You could use a RehearsalMark at the very end with appropriate padding: \paper { #(set-paper-size "a5") } Rondeau.I = { R1*13 \bar "||" } Rondeau.II = { R1*13 \bar "||" } Bourree.I = { R1*13 \bar "|." } \score { \header { piece = "Rondeau I" } { \Rondeau.I } } \score { \header { piece = "Rondeau II" } { \Rondeau.II \tweak break-visibility #end-of-line-visible \tweak direction #DOWN \tweak font-size #0 \tweak padding #2 \tweak self-alignment-X #RIGHT \mark \markup \italic "Repeat Rondeau I" } } \score { \header { piece = "Bourree I" } { \Bourree.I } } -- Aaron Hill
Right justifying text between systems
Hello, I'm typesetting some French late baroque music, which starts with the three movements Rondeau I, Rondeau II, Bourree I. After Rondeau II I need to include the text direction to repeat Rondeau I. In order to try to get the "feel" of the original, I want to have this text right justified on the page. The best I can find so far is to manually put some space before it and put this between two \score blocks: \markup {\hspace #70 \fontsize #2 {\italic {Au Rondeau puis au premier}}} This works, except for the vertical spacing - it's too far from the Rondeau II score block, and too close to the next score block for Bourree I. I want this text to be somehow "anchored" to Rondeau II, and let the page layout algorithm put as much space as it needs before Bourree I. I could do this by adding the text as a markup to one of the notes in the bottom staff of Rondeau II, but then it's too close to the score block. Does this make sense? What I want is: Rondeau I Rondeau II "repeat Rondeau I" (and right justified) Bourree I and with the text closer to Rondeau II than to Bourree I. I would have thought this would be trivial - and maybe it is - but I still can't work out how to do it. Thank you all! Alasdair -- https://numbersandshapes.net