Le 31/07/2021 à 17:05, [email protected] a écrit :
Thank you Jean for your answer !
I would be happy to know if
1) I can have a pentagram with notes, but without measure bars -> the
answer is yes, that is posssible
2) I can place those tick marks manually in the pentagram
3) I can put a number on top of those tick marks
Do you know the answer to 2) and 3) ?
Thanks,
Ariel//
Hi,
Please keep the list copied, this way everyone can
answer and others can benefit from searching the list
archives in the future.
Here's a start:
\version "2.22.1"
\layout {
\context {
\Score
\cadenzaOn
% Print all bar numbers. See
% http://lilypond.org/doc/v2.23/Documentation/notation/bars#bar-numbers
\override BarNumber.break-visibility = #begin-of-line-invisible
barNumberVisibility = #all-bar-numbers-visible
% First tick number is 1, not 2.
currentBarNumber = 0
% The tick marks.
\override BarLine.bar-extent = #'(2.5 . 3.5)
% Center bar number on the ticks.
\override BarNumber.self-alignment-X = \CENTER
}
}
% Bar numbers are not automatically incremented at
% manual bar lines.
incrementBarNumber =
\context Score \applyContext
#(lambda (context)
(set! (ly:context-property context 'currentBarNumber)
(1+ (ly:context-property context 'currentBarNumber))))
tick = {
\bar "|"
\incrementBarNumber
}
%%
\repeat unfold 10 {
c'4 \tick 8[ 16 32] \tick 16[ 32.] \tick
}
Best,
Jean