I note that in one solution one uses \remove and in the other \omit to
achieve the same thing.
Is there any prospect of moving to a situation where only one operator
is used to achieve a result, possibly by having a preferred and
deprecated options first? This is a general point, not just restricted
to this one case.
On 12/04/2024 14:07, Kieren MacMillan wrote:
Hi Gian Paolo,
how to write a score without time signature and bars placed on request?
Just remove the Time_signature_engraver:
\version "2.25.11"
\language "english"
\layout {
indent = 0
ragged-right = ##f
\context {
\Staff
\remove Time_signature_engraver
}
}
{
\key d \major
\time 5/2
d'2 d' cs' d'1
\time 7/2
b2 d' d' d' cs' d'1
\time 9/2
b2 d' d' d' d' e'1 ~ 1
}
I read the manual but didn't find a solution.
https://lilypond.org/doc/v2.23/Documentation/notation/visibility-of-objects#removing-the-stencil
That should have led you to the equivalent solution:
\version "2.25.11"
\language "english"
\layout {
indent = 0
ragged-right = ##f
}
{
\omit Staff.TimeSignature
\key d \major
\time 5/2
d'2 d' cs' d'1
\time 7/2
b2 d' d' d' cs' d'1
\time 9/2
b2 d' d' d' d' e'1 ~ 1
}
Hope that helps,
Kieren.
______________________________________________
My work day may look different than your work day. Please do not feel obligated
to read or respond to this email outside of your normal working hours.
--
https://saturday-october-seven.com/