Re: Frenched score and rehearsal marks.
On Wed, 12 Aug 2020 at 14:10, Hwaen Ch'uqi wrote: > > Greetings All, > > In preparing an orchestral score, I am running into a very practical > question that others surely must have encountered. I have removed > Mark_engraver from the score context and placed it in the appropriate > staff contexts - that is, in the uppermost staff of each instrument > family. Furthermore, in order to reduce space, I have invoked > \RemoveEmptyStaves in the staff context of the layout block. However, > there are then many occasions when rehearsal marks naturally do not > appear, because the relevant staff is appropriately hidden. In fact, I > have entire pages where no rehearsal marks appear, even though more > than one has actually occurred! Of course, I could get around this by > including Mark_engraver in all staves, but this sort of duplication is > precisely what I am trying to avoid. Has anyone a solution? This > question also applies to Metronome_mark_engraver. Could the answer lie > somehow in the StaffGroup context? Having trouble to wrap my head > around it! Hello, Exactly! Including Mark_engraver in the StaffGroup problem is the solution. Actually I was about to say that this is unfortunately a bug, but thanks to your message I learned that this bug was actually fixed in 2.21.0 ! Many thanks to Dan Eble for fixing this. https://gitlab.com/lilypond/lilypond/-/issues/2199 See the minimal example to show this in action. \version "2.21" music = \repeat unfold 5 { \repeat unfold 5 c'1 \mark \default } rests = \repeat unfold 5 { \repeat unfold 5 R1 \mark \default } \score { << \new Staff { s1*0^"Marks should NOT be above this Staff (i.e. above the Score)!" \music } \new StaffGroup { << \new Staff { s1*0^"Marks are above the StaffGroup (also when the first staff is removed)" \rests } \new Staff { \music } >> } >> \layout { \context { \Score \remove "Mark_engraver" \remove "Staff_collecting_engraver" } \context { \StaffGroup \consists "Mark_engraver" \consists "Staff_collecting_engraver" } \context { \Staff \RemoveEmptyStaves } } } Cheers, Xavier -- Xavier Scheuer
Re: Page number position
At 13:39 12/08/2020 +0200, Mario Moles wrote: How to move the page number from right to left? If you just want all page numbers on the left, it could be as easy as: oddHeaderMarkup = \evenHeaderMarkup Brian Barker
Re: Frenched score and rehearsal marks.
At 13:10 on 12 Aug 2020, Hwaen Ch'uqi wrote: > Greetings All, > > In preparing an orchestral score, I am running into a very practical > question that others surely must have encountered. I have removed > Mark_engraver from the score context and placed it in the appropriate > staff contexts - that is, in the uppermost staff of each instrument > family. Furthermore, in order to reduce space, I have invoked > \RemoveEmptyStaves in the staff context of the layout block. However, > there are then many occasions when rehearsal marks naturally do not > appear, because the relevant staff is appropriately hidden. In fact, I > have entire pages where no rehearsal marks appear, even though more > than one has actually occurred! Of course, I could get around this by > including Mark_engraver in all staves, but this sort of duplication is > precisely what I am trying to avoid. Has anyone a solution? This > question also applies to Metronome_mark_engraver. Could the answer lie > somehow in the StaffGroup context? Having trouble to wrap my head > around it! I needed to do this a few years ago and couldn't find a way without patching the Keep_alive_together_engraver. David K rightly rejected my patch (which was not fully worked through, although did enable this particular usage). I'm afraid I haven't had a chance to look at it again since then. Details here: https://gitlab.com/lilypond/lilypond/-/issues/4973 -- Mark Knoop
Re: Page number position
On 2020-08-12 4:39 am, Mario Moles wrote: Hi lilyponders! How to move the page number from right to left? You can customize the header markup to position elements how you prefer. See titling-init.ly for more details on the defaults, but here is the relevant excerpt: oddHeaderMarkup = \markup \fill-line { "" \on-the-fly #not-part-first-page \fromproperty #'header:instrument \on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string } %% evenHeaderMarkup would inherit the value of %% oddHeaderMarkup if it were not defined here evenHeaderMarkup = \markup \fill-line { \on-the-fly #print-page-number-check-first \fromproperty #'page:page-number-string \on-the-fly #not-part-first-page \fromproperty #'header:instrument "" } If you want all page numbers on the left, simply mimic evenHeaderMarkup's use of \fill-line within oddHeaderMarkup. -- Aaron Hill
Re: Page number position
Hello Mario, In the \paper block, you can make headers like this (just an example pulled fromi my code): oddHeaderMarkup = \markup \sans \fill-line { "" \abs-fontsize #28 \on-the-fly #print-page-number-check-first \sans \fromproperty #'page:page-number-string } evenHeaderMarkup = \markup \sans \fill-line { "" \abs-fontsize #28 \on-the-fly #print-page-number-check-first \sans \fromproperty #'page:page-number-string } You can search the NR for all the information on this. It's all there, Andrew
Frenched score and rehearsal marks.
Greetings All, In preparing an orchestral score, I am running into a very practical question that others surely must have encountered. I have removed Mark_engraver from the score context and placed it in the appropriate staff contexts - that is, in the uppermost staff of each instrument family. Furthermore, in order to reduce space, I have invoked \RemoveEmptyStaves in the staff context of the layout block. However, there are then many occasions when rehearsal marks naturally do not appear, because the relevant staff is appropriately hidden. In fact, I have entire pages where no rehearsal marks appear, even though more than one has actually occurred! Of course, I could get around this by including Mark_engraver in all staves, but this sort of duplication is precisely what I am trying to avoid. Has anyone a solution? This question also applies to Metronome_mark_engraver. Could the answer lie somehow in the StaffGroup context? Having trouble to wrap my head around it! Thank you for any help. Hwaen Ch'uqi
Page number position
Hi lilyponders! How to move the page number from right to left? Thanks!